S390: Optimize wmemcmp.
[glibc.git] / ChangeLog
blobc1cefbc5e55c75abcf0281eeef21e2290fd224fe
1 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
4         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
5         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6         * sysdeps/s390/multiarch/Makefile
7         (sysdep_routines): Add wmemcmp functions.
8         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
10         * benchtests/bench-wmemcmp.c: New File.
11         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
17         * sysdeps/s390/multiarch/wmemset.c: Likewise.
18         * sysdeps/s390/multiarch/Makefile
19         (sysdep_routines): Add wmemset functions.
20         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
22         * wcsmbs/wmemset.c: Use WMEMSET if defined.
23         * string/test-memset.c: Add wmemset support.
24         * wcsmbs/test-wmemset.c: New File.
25         * wcsmbs/Makefile (strop-tests): Add wmemset.
26         * benchtests/bench-memset.c: Add wmemset support.
27         * benchtests/bench-wmemset.c: New File.
28         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
30 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32         * sysdeps/s390/multiarch/memccpy-c.c: New File.
33         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
34         * sysdeps/s390/multiarch/memccpy.c: Likewise.
35         * sysdeps/s390/multiarch/Makefile
36         (sysdep_routines): Add memccpy functions.
37         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
38         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
39         * string/memccpy.c: Use MEMCCPY if defined.
41 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
43         * sysdeps/s390/multiarch/memchr-vx.S: New File.
44         * sysdeps/s390/multiarch/memchr.c: Likewise.
45         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
46         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
47         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
48         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
49         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
50         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
51         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
52         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
53         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
54         and rawmemchr functions.
55         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
56         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
57         and wmemchr.
58         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
59         * string/test-memchr.c: Add wmemchr support.
60         * wcsmbs/test-wmemchr.c: New File.
61         * wcsmbs/Makefile (strop-tests): Add wmemchr.
62         * benchtests/bench-memchr.c: Add wmemchr support.
63         * benchtests/bench-wmemchr.c: New File.
64         * benchtests/Makefile (wcsmbs-bench): wmemchr.
66 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
68         * sysdeps/s390/multiarch/strcspn-c.c: New File.
69         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
70         * sysdeps/s390/multiarch/strcspn.c: Likewise.
71         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
72         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
73         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
74         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
75         wcscspn functions.
76         * sysdeps/s390/multiarch/ifunc-impl-list.c
77         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
78         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
79         * string/test-strcspn.c: Add wcscspn support.
80         * wcsmbs/test-wcscspn.c: New File.
81         * wcsmbs/Makefile (strop-tests): Add wcscspn.
82         * benchtests/bench-strcspn.c: Add wcscspn support.
83         * benchtests/bench-wcscspn.c: New File.
84         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
86 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
88         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
89         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
90         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
91         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
92         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
93         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
94         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
95         wcspbrk functions.
96         * sysdeps/s390/multiarch/ifunc-impl-list.c
97         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
98         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
99         * string/test-strpbrk.c: Add wcspbrk support.
100         * wcsmbs/test-wcspbrk.c: New File.
101         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
102         * benchtests/bench-strpbrk.c: Add wcspbrk support.
103         * benchtests/bench-wcspbrk.c: New File.
104         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
106 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
108         * sysdeps/s390/multiarch/strspn-c.c: New File.
109         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
110         * sysdeps/s390/multiarch/strspn.c: Likewise.
111         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
112         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
113         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
114         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
115         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
116         wcsspn functions.
117         * sysdeps/s390/multiarch/ifunc-impl-list.c
118         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
119         * string/test-strspn.c: Add wcsspn support.
120         * wcsmbs/test-wcsspn.c: New File.
121         * wcsmbs/Makefile (strop-tests): Add wcsspn.
122         * benchtests/bench-strspn.c: Add wcsspn support.
123         * benchtests/bench-wcsspn.c: New File.
124         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
126 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
128         * sysdeps/s390/multiarch/strrchr-c.c: New File.
129         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
130         * sysdeps/s390/multiarch/strrchr.c: Likewise.
131         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
132         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
133         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
134         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
135         wcsrchr functions.
136         * sysdeps/s390/multiarch/ifunc-impl-list.c
137         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
138         * benchtests/bench-wcsrchr.c: New File.
139         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
141 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
143         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
144         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
145         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
146         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
147         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
148         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
149         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
150         wcschrnul functions.
151         * sysdeps/s390/multiarch/ifunc-impl-list.c
152         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
153         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
154         * string/test-strchr.c: Add wcschrnul support.
155         * wcsmbs/test-wcschrnul.c: New File.
156         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
157         * benchtests/bench-strchr.c: Add wcschrnul support.
158         * benchtests/bench-wcschrnul.c: New File.
159         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
161 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
163         * sysdeps/s390/multiarch/strchr-c.c: New File.
164         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
165         * sysdeps/s390/multiarch/strchr.c: Likewise.
166         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
167         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
168         * sysdeps/s390/multiarch/wcschr.c: Likewise.
169         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
170         wcschr functions.
171         * sysdeps/s390/multiarch/ifunc-impl-list.c
172         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
173         * string/strchr.c (STRCHR): Define and use macro.
174         * benchtests/bench-wcschr.c: New File.
175         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
177 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
179         * sysdeps/s390/multiarch/strncmp-c.c: New File.
180         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
181         * sysdeps/s390/multiarch/strncmp.c: Likewise.
182         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
183         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
184         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
185         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
186         wcsncmp functions.
187         * sysdeps/s390/multiarch/ifunc-impl-list.c
188         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
189         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
190         * benchtests/bench-strncmp.c: Add wcsncmp support.
191         * benchtests/bench-wcsncmp.c: New File.
192         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
194 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
196         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
197         * sysdeps/s390/multiarch/strcmp.c: Likewise.
198         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
199         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
200         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
201         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
202         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
203         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
204         wcscmp functions.
205         * sysdeps/s390/multiarch/ifunc-impl-list.c
206         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
207         * string/strcmp.c (STRCMP): Define and use macro.
208         * benchtests/bench-wcscmp.c: New File.
209         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
210         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
211         instead of _HAVE_STRING_ARCH_memchr.
213 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
215         * sysdeps/s390/multiarch/strncat-c.c: New File.
216         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
217         * sysdeps/s390/multiarch/strncat.c: Likewise.
218         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
219         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
220         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
221         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
222         wcsncat functions.
223         * sysdeps/s390/multiarch/ifunc-impl-list.c
224         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
225         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
226         * string/test-strncat.c: Add wcsncat support.
227         * wcsmbs/test-wcsncat.c: New File.
228         * wcsmbs/Makefile (strop-tests): Add wcsncat.
229         * benchtests/bench-strncat.c: Add wcsncat support.
230         * benchtests/bench-wcsncat.c: New File.
231         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
233 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
235         * sysdeps/s390/multiarch/strcat-c.c: New File.
236         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
237         * sysdeps/s390/multiarch/strcat.c: Likewise.
238         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
239         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
240         * sysdeps/s390/multiarch/wcscat.c: Likewise.
241         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
242         wcscat functions.
243         * sysdeps/s390/multiarch/ifunc-impl-list.c
244         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
245         * string/strcat.c (STRCAT): Define and use macro.
246         * wcsmbs/wcscat.c: Use WCSCAT if defined.
247         * string/test-strcat.c: Add wcscat support.
248         * wcsmbs/test-wcscat.c: New File.
249         * wcsmbs/Makefile (strop-tests): Add wcscat.
250         * benchtests/bench-strcat.c: Add wcscat support.
251         * benchtests/bench-wcscat.c: New File.
252         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
254 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
256         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
257         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
258         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
259         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
260         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
261         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
262         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
263         wcpncpy functions.
264         * sysdeps/s390/multiarch/ifunc-impl-list.c
265         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
266         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
267         * string/test-stpncpy.c: Add wcpncpy support.
268         * wcsmbs/test-wcpncpy.c: New File.
269         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
270         * benchtests/bench-stpncpy.c: Add wcpncpy support.
271         * benchtests/bench-wcpncpy.c: New File.
272         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
274 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
276         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
277         * sysdeps/s390/multiarch/strncpy.c: Likewise.
278         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
279         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
280         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
281         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
282         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
283         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
284         wcsncpy functions.
285         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
286         * sysdeps/s390/multiarch/ifunc-impl-list.c
287         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
288         * string/test-strncpy.c: Add wcsncpy support.
289         * wcsmbs/test-wcsncpy.c: New File.
290         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
291         * benchtests/bench-strncpy.c: Add wcsncpy support.
292         * benchtests/bench-wcsncpy.c: New File.
293         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
295 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
297         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
298         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
299         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
300         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
301         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
302         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
303         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
304         wcpcpy functions.
305         * string/stpcpy.c: Use STPCPY if defined.
306         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
307         * sysdeps/s390/multiarch/ifunc-impl-list.c
308         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
309         * string/test-stpcpy.c: Add wcpcpy support.
310         * wcsmbs/test-wcpcpy.c: New File.
311         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
312         * benchtests/bench-stpcpy.c: Add wcpcpy support.
313         * benchtests/bench-wcpcpy.c: New File.
314         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
316 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
318         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
319         * sysdeps/s390/multiarch/strcpy.c: Likewise.
320         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
321         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
322         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
323         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
324         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
325         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
326         wcscpy functions.
327         * sysdeps/s390/multiarch/ifunc-impl-list.c
328         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
329         * benchtests/bench-wcscpy.c: New File.
330         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
332 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
334         * sysdeps/s390/multiarch/strnlen-c.c: New File.
335         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
336         * sysdeps/s390/multiarch/strnlen.c: Likewise.
337         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
338         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
339         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
340         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
341         wcsnlen functions.
342         * sysdeps/s390/multiarch/ifunc-impl-list.c
343         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
344         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
345         * string/test-strnlen.c: Add wcsnlen support.
346         * wcsmbs/test-wcsnlen.c: New File.
347         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
348         * benchtests/bench-strnlen.c: Add wcsnlen support.
349         * benchtests/bench-wcsnlen.c: New File.
350         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
352 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
354         * sysdeps/s390/multiarch/Makefile: New File.
355         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
356         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
357         * sysdeps/s390/multiarch/strlen.c: Likewise.
358         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
359         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
360         * sysdeps/s390/multiarch/wcslen.c: Likewise.
361         * string/strlen.c (STRLEN): Define and use macro.
362         * sysdeps/s390/multiarch/ifunc-impl-list.c
363         (IFUNC_VX_IMPL): New macro function.
364         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
365         * benchtests/Makefile (wcsmbs-bench): New variable.
366         (string-bench-all): Added wcsmbs-bench.
367         * benchtests/bench-wcslen.c: New File.
369 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
371         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
372         s390_vx_libc_ifunc2): New macro function.
374 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
376         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
377         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
378         assembler support.
379         * sysdeps/s390/configure: Regenerated.
381 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
383         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
384         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
386 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
388         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
389         * sysdeps/s390/dl-procinfo.h: Add vector capability.
390         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
392 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
394         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
395         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
396         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
397         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
398         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
399         (memcmp, bcmp): Use __memcmp_default as alias source.
400         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
401         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
402         Rename to __memcmp_default.
403         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
404         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
405         (memcpy): Use __memcpy_default as alias source.
406         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
407         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
408         Rename to __memcpy_default.
409         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
410         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
411         (memset): Use __memset_default as alias source.
412         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
413         * sysdeps/s390/s390-32/memset.S (__memset_g5):
414         Rename to __memset_default.
415         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
416         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
417         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
418         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
419         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
420         (memcmp, bcmp): Use __memcmp_default as alias source.
421         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
422         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
423         Rename to __memcmp_default.
424         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
425         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
426         (memcpy): Use __memcpy_default as alias source.
427         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
428         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
429         Rename to __memcpy_default.
430         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
431         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
432         (memset): Use __memset_default as alias source.
433         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
434         * sysdeps/s390/s390-64/memset.S (__memset_z900):
435         Rename to __memset_default.
436         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
437         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
439 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
441         [BZ #18610]
442         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
443         __ieee_instruction_pointer to __unused.
444         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
445         __ieee_instruction_pointer.
446         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
447         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
448         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
449         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
450         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
451         Mark dxc-field as reserved.
453 2015-08-25  Roland McGrath  <roland@hack.frob.com>
455         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
456         if the weak reference is not null.
458 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
460         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
462 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
464         [BZ #11214]
465         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
467 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
469         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
470         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
471         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
472         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
473         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
474         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
475         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
476         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
477         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
478         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
479         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
480         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
481         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
482         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
483         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
484         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
485         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
486         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
488 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
490         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
491         register other than r0 for tabort, it has special meaning.
492         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
493         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
494         transaction before starting syscall.
496 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
498         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
500 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
502         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
504 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
506         * sysdeps/x86_64/rtld-memcmp.c: Removed.
507         * sysdeps/x86_64/rtld-memset.S: Likewise.
508         * sysdeps/x86_64/rtld-strchr.S: Likewise.
509         * sysdeps/x86_64/rtld-strlen.S: Likewise.
510         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
511         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
513 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
515         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
517 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
519         * debug/strcpy_chk.c: Improve performance.
520         * debug/stpcpy_chk.c: Likewise.
521         * sysdeps/x86_64/strcpy_chk.S: Remove.
522         * sysdeps/x86_64/stpcpy_chk.S: Remove.
524         [BZ #18240]
525         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
527 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
529         [BZ #15128]
530         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
531         ifuncmain8.
532         (modules-names): Add ifuncmod8.
533         ($(objpfx)ifuncmain8): New rule.
534         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
535         <cpuid.h>.
536         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
537         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
538         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
539         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
540         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
541         * sysdeps/x86_64/dl-trampoline.h: Likewise.
542         * sysdeps/x86_64/ifuncmain8.c: New file.
543         * sysdeps/x86_64/ifuncmod8.c: Likewise.
544         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
545         Removed.
546         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
547         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
548         Change rtld_savespace_sse to __glibc_unused2.
549         (RTLD_CHECK_FOREIGN_CALL): Removed.
550         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
551         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
552         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
554 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
556         * sysdeps/aarch64/bzero.S (__bzero): Remove.
558 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
560         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
561         Unconditionally set __fpcr to avoid uninialized warning.
562         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
564 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
566         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
567         is corrupt.
569         * malloc/arena.c (arena_get2): Drop unused argument.
570         (arena_lock): Adjust.
571         (arena_get_retry): Likewise.
573 2015-08-24  Andreas Schwab  <schwab@suse.de>
575         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
576         Don't define.
577         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
578         (__ASSUME_IPC64): Don't undef.
579         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
580         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
581         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
582         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
583         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
584         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
585         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
586         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
587         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
588         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
589         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
590         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
591         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
592         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
593         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
594         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
595         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
596         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
597         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
598         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
599         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
601 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
603         * manual/Makefile (install): Only build manual when perl is available.
605 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
607         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
608         '#undef memcpy' by '#undef memchr'.
610 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
612         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
613         memchr not point to the internal __GI_memchr implementation.
615 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
617         * timezone/Makefile (CFLAGS-zdump.c): Remove
618         -Wno-strict-prototypes.
619         (CFLAGS-zic.c): Likewise.
620         (CFLAGS-ialloc.c): Likewise.
621         (CFLAGS-scheck.c): Likewise.
623         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
624         -Wno-error=undef.
626 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
628         * i386/i686/multiarch/strcasestr-c.c: Removed.
629         * x86_64/multiarch/strcasestr.c: Likewise.
630         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
631         Remove strcasestr.
633 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
635         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
637         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
638         variables for high and low parts before possibly modifying them.
640 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
642         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
643         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
644         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
645         of "multiarch/init-arch.h".
646         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
647         * sysdeps/x86/init-arch.h: This.
649 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
651         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
652         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
654 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
656         [BZ #17787]
657         * manual/macros.texi: Add twoexp macro.
658         * manual/filesys.texi: Fix exponents.
659         * manual/llio.texi: Likewise.
660         * manual/stdio.texi: Likewise.
662 2015-08-20  Florian Weimer  <fweimer@redhat.com>
664         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
665         incorrect use.
667 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
669         [BZ #18370]
670         * math/s_csqrt.c (__csqrt): Force underflow exception for results
671         whose real or imaginary part has small absolute value.
672         * math/s_csqrtf.c (__csqrtf): Likewise.
673         * math/s_csqrtl.c (__csqrtl): Likewise.
674         * math/auto-libm-test-in: Add more tests of csqrt.
675         * math/auto-libm-test-out: Regenerated.
676         * sysdeps/i386/fpu/libm-test-ulps: Update.
678 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
680         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
681         __ppc_set_ppr_very_low): New functions.
682         * manual/platform.texi: Add documentation about
683         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
685 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
687         * string/stpncpy.c (stpncpy): Improve performance using
688         __strnlen/memcpy/memset.
690 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
692         [BZ #18796]
693         * scripts/test-installation.pl: Don't add -lmvec to build options if
694         libmvec wasn't built.
696 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
698         [BZ #14341]
699         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
700         case when there is a gap between DT_REL and DT_JMPREL sections.
701         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
702         (LDFLAGS-tst-split-dynreloc): New.
703         (tst-split-dynreloc-ENV): Likewise.
704         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
705         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
707 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
709         [BZ #18822]
710         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
711         attribute_hidden.
712         (__xstat64_conv): Likewise.
713         (__xstat32_conv): Likewise.
715 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
717         [BZ #18822]
718         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
719         Don't load %ebx when calling __setcontext.  Call __setcontext
720         with HIDDEN_JUMPTARGET.
721         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
722         libc_hidden_def.
724 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
726         * sysdeps/i386/i686/Makefile
727         [$(subdir) == string] (sysdep_routines): Moved to ...
728         * sysdeps/i386/Makefile: Here.
729         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
730         * sysdeps/i386/cacheinfo.c: Here.
731         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
732         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
733         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
734         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
736 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
738         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
739         __i586__ is defined.
740         (HAS_I686): Defined to 1 if __i686__ is defined.
742 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
744         * elf/Makefile [$(have-z-execstack) = yes]
745         (CPPFLAGS-tst-execstack.c): New variable.
747         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
748         conditional to [defined UTMPX || _HAVE_UT_TYPE].
749         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
750         UTMPX || _HAVE_UT_TV].
751         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
752         UTMPX || _HAVE_UT_TV - 0].
754 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
756         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
757         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
758         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
760 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
762         * sysdeps/powerpc/dl-procinfo.c:
763         (_dl_powerpc_cap_flags): Added missing strings for some
764         hwcap features.
765         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
767 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
769         Port the 0x7efe...feff pattern to GCC 6.
770         See Steve Ellcey's bug report in:
771         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
772         * string/memrchr.c (MEMRCHR):
773         * string/rawmemchr.c (RAWMEMCHR):
774         * string/strchr.c (strchr):
775         * string/strchrnul.c (STRCHRNUL):
776         Rewrite code to avoid issues with signed shift overflow.
778 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
780         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
781         whether cpuid is available only if HAS_CPUID is 0.
782         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
783         (HAS_I586): Likewise.
784         (HAS_I686): Likewise.
786 2015-08-18  Zack Weinberg  <zackw@panix.com>
788         * misc/Versions (libc): Add GLIBC_2.23.
790 2015-08-18  Alan Modra  <amodra@gmail.com>
792         [BZ #18421]
793         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
794         .Lp__global.
795         (_start): Load %dp via .Lp__global.
796         [!SHARED]: Use .section .rodata.
798 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
800         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
801         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
803 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
805         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
806         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
808 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
810         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
811         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
813 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
815         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
816         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
818 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
820         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
821         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
823 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
825         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
826         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
828 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
830         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
832 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
834         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
835         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
836         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
837         (__ASSUME_LWS_CAS): Delete.
839 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
841         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
842         * sysdeps/hppa/configure: Regenerated.
843         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
844         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
845         * sysdeps/hppa/nptl/tls.h: Likewise.
847 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
849         [BZ #18823]
850         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
851         for scaling up small arguments.
852         * math/s_csqrtf.c (__csqrtf): Likewise.
853         * math/s_csqrtl.c (__csqrtl): Likewise.
854         * math/auto-libm-test-in: Add more tests of csqrt.
855         * math/auto-libm-test-out: Regenerated.
857 2015-08-17  Andreas Schwab  <schwab@suse.de>
859         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
860         version set GLIBC_2.19.
862 2015-08-16  Zack Weinberg  <zackw@panix.com>
864         [BZ #18681]
865         * misc/regexp.h: This interface is no longer supported.
866         Remove all contents, leaving only an #error directive.
867         * misc/regexp.c (loc1, loc2, locs, step, advance):
868         Demote to compatibility symbols.
870 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
872         [BZ #18084]
873         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
874         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
875         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
876         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
877         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
878         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
879         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
880         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
881         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
883 2015-08-15  Zack Weinberg  <zackw@panix.com>
885         [BZ #18795]
886         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
887         buffer length is known to be too large, not if it's known to be
888         small enough.
889         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
890         overflow at runtime, involving a length parameter, twice: once
891         with a compile-time constant length parameter, once without.
893 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
895         [BZ #18824]
896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
897         scaling x * y up instead of down.
898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
899         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
900         * math/auto-libm-test-in: Add more tests of fma.
901         * math/auto-libm-test-out: Regenerated.
903 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
905         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
907 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
909         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
910         unnecessary movq.
911         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
912         Likewise.
914 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
916         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
917         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
918         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
919         and tgamma.
920         * math/auto-libm-test-out: Regenerated.
921         * sysdeps/i386/fpu/libm-test-ulps: Update.
922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
924         [BZ #16520]
925         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
926         (__tanh): Force underflow exception for arguments with small
927         absolute value.
928         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
929         (__tanhf): Force underflow exception for arguments with small
930         absolute value.
931         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
932         (__tanhl): Force underflow exception for arguments with small
933         absolute value.
934         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
935         (__tanhl): Force underflow exception for arguments with small
936         absolute value.
937         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
938         (__tanhl): Force underflow exception for arguments with small
939         absolute value.
940         * math/auto-libm-test-in: Add more tests of tanh.
941         * math/auto-libm-test-out: Regenerated.
942         * sysdeps/i386/fpu/libm-test-ulps: Update.
944 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
946         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
947         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
949 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
951         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
952         <cpuid.h>.
954 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
956         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
957         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
959 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
961         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
962         Remove $(objpfx)init-arch.o.
963         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
964         init-arch.
965         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
966         (INIT_ARCH_EXT): Defined as empty.
967         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
968         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
969         __init_cpu_features call.  Replace HAS_XXX with
970         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
971         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
972         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
973         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
974         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
975         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
976         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
977         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
978         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
979         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
980         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
981         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
982         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
983         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
984         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
985         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
986         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
987         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
988         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
989         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
990         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
991         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
992         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
993         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
994         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
995         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
996         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
997         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
998         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
999         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1000         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1001         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1002         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1003         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1004         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1005         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1007 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1009         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1010         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1011         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1012         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1013         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1014         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1015         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1016         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1017         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1018         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1019         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1020         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1021         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1022         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1023         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1024         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1025         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1026         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1027         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1028         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1029         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1030         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1031         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1032         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1033         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1034         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1035         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1036         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1037         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1038         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1039         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1040         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1041         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1042         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1043         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1044         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1045         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1046         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1047         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1048         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1049         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1050         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1051         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1053 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1055         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1056         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1057         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1058         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1059         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1060         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1061         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1062         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1063         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1064         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1065         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1066         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1067         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1068         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1069         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1070         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1071         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1072         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1073         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1074         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1076         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1077         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1078         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1079         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1080         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1081         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1082         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1083         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1084         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1085         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1086         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1087         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1088         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1089         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1090         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1091         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1092         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1093         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1094         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1095         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1096         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1097         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1099 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1101         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1102         (dl_platform_init): Call init_cpu_features.
1103         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1104         * sysdeps/i386/i686/cacheinfo.c
1105         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1106         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1107         * sysdeps/i386/i686/multiarch/Versions: Removed.
1108         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1109         Removed.
1110         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1111         * sysdeps/unix/sysv/linux/x86/Makefile
1112         (libpthread-sysdep_routines): Remove init-arch.
1113         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1114         <sysdeps/x86_64/dl-procinfo.c> instead of
1115         sysdeps/generic/dl-procinfo.c>.
1116         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1117         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1118         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1119         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1120         [$(subdir) == elf] (tests-static): Add
1121         tst-get-cpu-features-static.
1122         * sysdeps/x86/Versions: New file.
1123         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1124         * sysdeps/x86/cpu-features.c: Likewise.
1125         * sysdeps/x86/cpu-features.h: Likewise.
1126         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1127         * sysdeps/x86/libc-start.c: Likewise.
1128         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1129         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1130         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1131         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1132         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1133         Assume USE_MULTIARCH is defined and don't check it.
1134         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1135         (is_amd): Likewise.
1136         (max_cpuid): Likewise.
1137         (intel_check_word): Likewise.
1138         (__cache_sysconf): Don't call __init_cpu_features.
1139         (__x86_preferred_memory_instruction): Removed.
1140         (init_cacheinfo): Don't call __init_cpu_features. Replace
1141         __cpu_features with GLRO(dl_x86_cpu_features).
1142         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1143         (dl_platform_init): Call init_cpu_features.
1144         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1145         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1146         * sysdeps/x86_64/multiarch/Versions: Removed.
1147         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1148         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1149         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1150         Removed.
1151         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1153 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1155         [BZ #18820]
1156         * libio/Makefile (test-fmemopen-mem): New test.
1157         * libio/test-fmemopen.c (do_bz18820): New test.
1158         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1159         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1161 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1163         [BZ #16734]
1164         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1165         (FREE_BUF): Delete.
1166         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1167         * libio/genops.c (_IO_setb): Use malloc and free directly.
1168         (_IO_default_doallocate, _IO_default_finish): Likewise.
1169         ( _IO_unbuffer_all): Likewise.
1170         ( libc_freeres_fn): Likewise.
1171         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1172         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1173         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1174         (_IO_wdefault_doallocate): Likewise.
1176 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1178         [BZ #18086]
1179         * sysdeps/posix/nice.c (nice): Restore old errno.
1180         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1182 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1184         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1186 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1188         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1189         __bcopy and add a weak_alias to bcopy.
1190         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1191         for static build.
1193         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1194         cleanup macro usage.
1195         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1196         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1197         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1198         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1199         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1200         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1201         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1202         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1203         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1204         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1205         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1206         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1207         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1208         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1209         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1210         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1211         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1212         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1213         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1215         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1216         libc_hidden_def.
1217         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1219         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1220         (sysdep_routines): Add strstr-ppc64.
1221         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1223 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1225         [BZ #18778]
1226         * elf/Makefile (tests): Add Add tst-nodelete2.
1227         (modules-names): Add tst-nodelete2mod.
1228         (tst-nodelete2mod.so-no-z-defs): New.
1229         ($(objpfx)tst-nodelete2): Likewise.
1230         ($(objpfx)tst-nodelete2.out): Likewise.
1231         (LDFLAGS-tst-nodelete2): Likewise.
1232         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1233         out of loop through all loaded libraries.
1234         * elf/tst-nodelete2.c: New file.
1235         * elf/tst-nodelete2mod.c: Likewise.
1237 2015-08-11  Andreas Schwab  <schwab@suse.de>
1239         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1240         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1241         (__openat64_nocancel): Likewise.
1243 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1245         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1246         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1247         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1248         * math/auto-libm-test-out: Regenerated.
1249         * sysdeps/i386/fpu/libm-test-ulps: Update.
1250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1252 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1254         [BZ #18790]
1255         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1256         threshold for returning +/- 1.
1257         * math/auto-libm-test-in: Add more tests of tanh.
1258         * math/auto-libm-test-out: Regenerated.
1259         * sysdeps/i386/fpu/libm-test-ulps: Update.
1261 2015-08-10  Andreas Schwab  <schwab@suse.de>
1263         [BZ #18781]
1264         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1265         MORE_OFLAGS to oflag.
1266         * io/test-lfs.c (do_test): Test openat64.
1268 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1270         [BZ #18789]
1271         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1272         smaller threshold for returning the argument.
1273         * math/auto-libm-test-in: Add more tests of sinh.
1274         * math/auto-libm-test-out: Regenerated.
1275         * sysdeps/i386/fpu/libm-test-ulps: Update.
1277 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1279         [BZ #18674]
1280         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1281         break.
1283 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1285         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1286         (generated): Don't add $(addprefix z.,$(tzfiles)).
1288 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1290         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1291         * scripts/sysd-rules.awk: Likewise.
1293 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1295         * iconvdata/tst-tables.sh: Change echo -n to printf.
1296         * nss/db-Makefile: Likewise.
1297         * posix/tst-getconf.sh: Likewise.
1298         * stdio-common/tst-unbputc.sh: Likewise.
1300 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1302         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1303         MADV_*_PAGES defines behind this feature check.
1305 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1307         [BZ #18480]
1308         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1309         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1310         Define.
1311         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1312         LOAD_REGS_5, LOAD_REGS_6): Update.
1313         (INTERNAL_SYSCALL): Update using new LOAD defines.
1314         (INTERNAL_SYSCALL_NCS): Likewise.
1315         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1317 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1319         [BZ #16734]
1320         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1322 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1324         [BZ #17905]
1325         * catgets/Makefile (tst-catgets-mem): New test.
1326         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1327         * catgets/open_catalog.c (__open_catalog): Likewise.
1328         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1330 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1332         [BZ #18787]
1333         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1334         clobber registers.
1335         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1336         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1337         Cast return to __typeof (oldval).
1339 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1341         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1342         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1343         and delete sys/syscall.h include.
1345 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1347         [BZ #16517]
1348         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1349         (tan): Force underflow exception for arguments with small absolute
1350         value.
1351         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1352         (__kernel_tanf): Force underflow exception for arguments with
1353         small absolute value.
1354         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1355         (__kernel_tanl): Force underflow exception for arguments with
1356         small absolute value.
1357         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1358         (__kernel_tanl): Force underflow exception for arguments with
1359         small absolute value.
1360         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1361         (__kernel_tanl): Force underflow exception for arguments with
1362         small absolute value.
1363         * math/auto-libm-test-in: Add more tests of tan.
1364         * math/auto-libm-test-out: Regenerated.
1366 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1368         Fix sysdeps/i386/fpu/s_scalbn.S build
1370         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1372 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1374         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1376 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1378         Fix gcrt0.o compilation
1380         When static-start-installed-name is different from
1381         start-installed-name, we must not use the shared objects.
1383         * csu/Makefile
1384         (extra-objs): Add gmon-start.o when building shared library and
1385         $(static-start-installed-name) is different from
1386         $(start-installed-name).
1387         $(objpfx)g$(static-start-installed-name): When building shared
1388         library and $(static-start-installed-name) is different from
1389         $(static-start-installed-name), revert to non-shared rule,
1390         i.e. using $(objpfx)% and gmon-start.o.
1392 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1394         [BZ #16519]
1395         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1396         (__ieee754_sinh): Force underflow exception for arguments with
1397         small absolute value.
1398         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1399         (__ieee754_sinhf): Force underflow exception for arguments with
1400         small absolute value.
1401         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1402         (__ieee754_sinhl): Force underflow exception for arguments with
1403         small absolute value.
1404         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1405         (__ieee754_sinhl): Force underflow exception for arguments with
1406         small absolute value.
1407         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1408         (__ieee754_sinhl): Force underflow exception for arguments with
1409         small absolute value.
1410         * math/auto-libm-test-in: Add more tests of sinh.
1411         * math/auto-libm-test-out: Regenerated.
1412         * sysdeps/i386/fpu/libm-test-ulps: Update.
1414 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1416         * libio/oldfileops.c: Include unistd.h.
1418 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1420         * stdlib/isomac.c: Include ctype.h.
1422 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1424         * dirent/tst-seekdir.c (main): Converted to ...
1425         (do_test): ... this.
1426         (TEST_FUNCTION): New macro.
1427         Include test-skeleton.c.
1428         * elf/tst-dlmodcount.c (main): Converted to ...
1429         (do_test): ... this.
1430         (TEST_FUNCTION): New macro.
1431         Include test-skeleton.c.
1432         * elf/tst-order-main.c (main): Converted to ...
1433         (do_test): ... this.
1434         (TEST_FUNCTION): New macro.
1435         Include test-skeleton.c.
1436         * elf/tst-pie2.c (main): Converted to ...
1437         (do_test): ... this.
1438         (TEST_FUNCTION): New macro.
1439         Include test-skeleton.c.
1440         * inet/tst-ether_aton.c (main): Converted to ...
1441         (do_test): ... this.
1442         (TEST_FUNCTION): New macro.
1443         Include test-skeleton.c.
1444         * misc/tst-mntent.c (main): Converted to ...
1445         (do_test): ... this.
1446         (TEST_FUNCTION): New macro.
1447         Include test-skeleton.c.
1448         * misc/tst-tsearch.c (main): Converted to ...
1449         (do_test): ... this.
1450         (TEST_FUNCTION): New macro.
1451         Include test-skeleton.c.
1452         * posix/tst-regexloc.c (main): Converted to ...
1453         (do_test): ... this.
1454         (TEST_FUNCTION): New macro.
1455         Include test-skeleton.c.
1456         * resolv/tst-aton.c (main): Converted to ...
1457         (do_test): ... this.
1458         (TEST_FUNCTION): New macro.
1459         Include test-skeleton.c.
1460         * stdio-common/test-fwrite.c (main): Converted to ...
1461         (do_test): ... this.
1462         (TEST_FUNCTION): New macro.
1463         Include test-skeleton.c.
1464         * stdio-common/tst-ferror.c (main): Converted to ...
1465         (do_test): ... this.
1466         (TEST_FUNCTION): New macro.
1467         Include test-skeleton.c.
1468         * stdio-common/tst-printf.c (main): Converted to ...
1469         (do_test): ... this.
1470         (TEST_FUNCTION): New macro.
1471         Include test-skeleton.c.
1472         * stdio-common/tst-printfsz.c (main): Converted to ...
1473         (do_test): ... this.
1474         (TEST_FUNCTION): New macro.
1475         Include test-skeleton.c.
1476         * stdlib/tst-strtod.c (main): Converted to ...
1477         (do_test): ... this.
1478         (TEST_FUNCTION): New macro.
1479         Include test-skeleton.c.
1480         * string/tst-strlen.c (main): Converted to ...
1481         (do_test): ... this.
1482         (TEST_FUNCTION): New macro.
1483         Include test-skeleton.c.
1484         * string/tst-svc.c (main): Converted to ...
1485         (do_test): ... this.
1486         (TEST_FUNCTION): New macro.
1487         Include test-skeleton.c.
1488         * time/tst-strptime.c (main): Converted to ...
1489         (do_test): ... this.
1490         (TEST_FUNCTION): New macro.
1491         Include test-skeleton.c.
1492         * timezone/tst-timezone.c (main): Converted to ...
1493         (do_test): ... this.
1494         (TEST_FUNCTION): New macro.
1495         Include test-skeleton.c.
1497 2015-08-05  Zack Weinberg  <zackw@panix.com>
1499         * misc/regexp.h: Update comments.
1501 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1503         [BZ #18635]
1504         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1505         before return label.
1507 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1509         [BZ #18661]
1510         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1511         when calling __errno_location.
1512         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1513         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1515 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1517         [BZ #18661]
1518         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1519         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1520         __gettimeofday.
1522 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1524         [BZ #18661]
1525         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1526         (__start_context): Don't use pop to restore %rdi so that stack
1527         is aligned to 16 bytes when calling __setcontext.
1529 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1531         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1532         only for libc.
1533         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1535 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1537         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1538         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1539         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1541 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1543         * string/memccpy.c (memccpy):
1544         Improve performance by using memchr/memcpy/__mempcpy.
1546 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1548         * string/strncpy.c (strncpy):
1549         Improve performance by using __strnlen/memcpy.
1551 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1553         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1554         Optimize to avoid an unnecessary FPCR read.
1556 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1558         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1559         Optimize to reduce FPCR/FPSR accesses.
1561 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1563         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1564         dead->data[category] != NULL.
1566 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1568         [BZ #18647]
1569         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1570         and |x| close to 1, use absolute value of x when computing log.
1571         * math/auto-libm-test-in: Add more tests of pow.
1572         * math/auto-libm-test-out: Regenerated.
1574 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1576         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1577         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1578         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1580 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1582         [BZ #18525]
1583         * locales/km_KH: Remove timezone definition.
1584         * locales/lo_LA: Likewise.
1585         * locales/my_MM: Likewise.
1586         * locales/nan_TW@latin: Likewise.
1587         * locales/th_TH: Likewise.
1588         * locales/uk_UA: Likewise.
1590 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1592         [BZ #18265]
1593         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1594         (wcsncat): Likewise.
1595         (wcscmp): Likewise.
1596         (wcsncmp): Likewise.
1598 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1600         * test-skeleton.c (usage): New function.
1601         (main): Call usage when opt is '?'.
1603 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1605         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1606         before first use.
1608 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1610         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1611         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1612         in there too.
1614 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1616         * version.h (RELEASE): Set to "development".
1617         (VERSION): Set to "2.22.90"
1619         * version.h (RELEASE): Set to "stable".
1620         (VERSION): Set to "2.22"
1621         * include/features.h (__GLIBC_MINOR__): Set to 22.
1623 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1625         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1626         Restructure macro to avoid "value computed is not used" warning.
1627         (atomic_compare_and_exchange_val_acq): Likewise.
1629 2015-08-04  Andreas Schwab  <schwab@suse.de>
1631         [BZ #18635]
1632         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1633         ret.
1634         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1636 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1638         * po/pl.po: Updated translation.
1639         * po/uk.po: Likewise.
1640         * po/fi.po: Likewise.
1641         * po/ko.po: Likewise.
1642         * po/ru.po: Likewise.
1643         * po/vi.po: Likewise.
1645 2015-07-31  Zack Weinberg  <zackw@panix.com>
1647         [BZ #18681]
1648         * regexp.h: Add unconditional #warning stating that this header
1649         will be removed soon.  Revise banner comment to match.
1650         (compile): Consistently use ERROR instead of RETURN to report
1651         errors (partial fix for bz#18681).
1652         * regexp.c: Don't include regexp.h. Remove some unnecessary
1653         declarations.
1655 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1657         * po/libc.pot: Regenerated.
1659 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1661         [BZ #18740]
1662         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1663         float-vlen4-arch-ext-cflags): Removed.
1664         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1665         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1667 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1669         [BZ #14113]
1670         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1671         aligned to __aligned__.
1672         (pthread_cond_t, pthread_rwlock_t): Likewise.
1674 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1676         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1678 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1680         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1681         (struct sigaction): Change sa_flags from a long to an int, and add
1682         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1684 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1686         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1687         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1688         sysdeps/generic/sysdep.h include.
1689         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1690         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1691         sysdeps/hppa/sysdep.h.
1692         (ENTRY, PSEUDO): Undefine before defining.
1694 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1696         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1697         from scratch to use INTERNAL_SYSCALL.
1699 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1701         [BZ #18078]
1702         * scripts/check-localplt.awk: Support alternate relocations.
1703         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1704         sections.
1705         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1706         malloc entries with + REL R_386_GLOB_DAT.
1707         * sysdeps/x86_64/localplt.data: New file.
1709 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1711         [BZ #18731]
1712         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1713         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1714         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1716 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1718         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1720 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1722         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1723         directly in terms of __sync_fetch_and_add and delete (int) cast.
1725 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1727         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1728         the -D_ASM_IA64_CURRENT_H flag.
1730 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1732         [BZ #18641]
1733         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1735 2015-07-27  Andreas Schwab  <schwab@suse.de>
1737         * conform/conformtest.pl (checknamespace): Filter out string
1738         literals while tokenizing.
1740 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1742         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1743         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1744         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1746 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1748         * nptl/tst-join7mod.c: Add #include <string.h>.
1750 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1752         * sysdeps/nios2/libm-test-ulps: Update.
1754 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1756         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1757         Fix order of arguments to the rt_sigprocmask syscall.
1758         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1759         Likewise.
1761 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1763         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1765 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1767         [BZ #18457]
1768         * nptl/Makefile (tests): New test case tst-join7.
1769         (modules-names): New test case module tst-join7mod.
1770         * nptl/tst-join7.c: New file.
1771         * nptl/tst-join7mod.c: New file.
1772         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1773         all translation units in libc.so, libpthread.so and rtld.
1775 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1779 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1781         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1782         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1783         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1784         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1785         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1786         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1787         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1788         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1789         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1790         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1791         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1792         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1793         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1794         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1795         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1796         implementation.
1798 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1800         [BZ #17711]
1801         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1802         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1803         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1804         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1805         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1806         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1808 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1810         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1811         instead of just saying load lock in the comments.
1813 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1815         * sysdeps/unix/Subdirs: Moved ...
1816         * sysdeps/posix/Subdirs: ... here.
1817         * login/pty.h (struct termios, struct winsize): Add forward decls.
1818         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1819         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1820         * sysdeps/arm/nacl/libc.abilist: Updated.
1821         * sysdeps/nacl/libutil.abilist: New file.
1823         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1824         (SIGWINCH): New macro.
1826         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1827         * sysdeps/arm/nacl/libc.abilist: Add it.
1829 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1831         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1833 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1835         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1836         Swap __glibc_reserved0 and sa_flags order.
1838 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1840         [BZ #18657]
1841         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1842         are pending TLS destructor calls.
1843         * include/link.h (struct link_map): Add concurrency note for
1844         L_TLS_DTOR_COUNT.
1845         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1846         Don't touch the link map flag.  Atomically increment
1847         l_tls_dtor_count.
1848         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1849         Avoid taking the load lock and don't touch the link map flag.
1850         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1851         * stdlib/Makefile (tests): Use it.
1852         * stdlib/tst-tls-atexit.c (do_test): dlopen
1853         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1854         to allow tst-tls-atexit-nodelete test case to use it.
1856 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1858         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1859         to bits/types.h.
1860         (msgqnum_t): New typedef.
1861         (msglen_t): Likewise.
1862         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1863         and msg_qbytes type to msglen_t.
1865 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1867         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1868         pad0 to __glibc_reserved0.
1869         (struct stat64): Likewise.
1871 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1873         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1874         Change sa_flags from a long to an int and add __glibc_reserved0 before
1875         it for padding.
1877 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1879         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1880         anonymous by deleting "siginfo" name.
1882 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1884         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1885         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1886         rather than __nacl_irt_filename.
1887         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1889         * NEWS: New item for arm-nacl port.
1890         * sysdeps/arm/nacl/libc.abilist: New file.
1891         * sysdeps/nacl/ld.abilist: New file.
1892         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1893         * sysdeps/nacl/libanl.abilist: New file.
1894         * sysdeps/nacl/libcrypt.abilist: New file.
1895         * sysdeps/nacl/libdl.abilist: New file.
1896         * sysdeps/nacl/libm.abilist: New file.
1897         * sysdeps/nacl/libpthread.abilist: New file.
1898         * sysdeps/nacl/libresolv.abilist: New file.
1899         * sysdeps/nacl/librt.abilist: New file.
1901 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1903         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1904         __startcontext to initialize the new context.
1905         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1906         up CFI directive to forbid further backtracing.
1908 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1910         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1911         reference.
1912         * charmaps/ANSI_X3.4-1968: Likewise.
1913         * charmaps/BS_4730: Likewise.
1914         * charmaps/BS_VIEWDATA: Likewise.
1915         * charmaps/CP1250: Likewise.
1916         * charmaps/CP1251: Likewise.
1917         * charmaps/CP1252: Likewise.
1918         * charmaps/CP1253: Likewise.
1919         * charmaps/CP1254: Likewise.
1920         * charmaps/CP1255: Likewise.
1921         * charmaps/CP1256: Likewise.
1922         * charmaps/CSN_369103: Likewise.
1923         * charmaps/EBCDIC-DK-NO: Likewise.
1924         * charmaps/GB_1988-80: Likewise.
1925         * charmaps/GREEK-CCITT: Likewise.
1926         * charmaps/GREEK7: Likewise.
1927         * charmaps/INIS-8: Likewise.
1928         * charmaps/ISIRI-3342: Likewise.
1929         * charmaps/ISO_2033-1983: Likewise.
1930         * charmaps/ISO_5427-EXT: Likewise.
1931         * locales/POSIX: Likewise.
1932         * locales/ar_SA: Likewise.
1933         * locales/be_BY: Likewise.
1934         * locales/be_BY@latin: Likewise.
1935         * locales/ca_ES: Likewise.
1936         * locales/cs_CZ: Likewise.
1937         * locales/da_DK: Likewise.
1938         * locales/de_BE: Likewise.
1939         * locales/de_CH: Likewise.
1940         * locales/de_LU: Likewise.
1941         * locales/en_AU: Likewise.
1942         * locales/en_BW: Likewise.
1943         * locales/en_CA: Likewise.
1944         * locales/en_DK: Likewise.
1945         * locales/en_GB: Likewise.
1946         * locales/en_IE: Likewise.
1947         * locales/en_NZ: Likewise.
1948         * locales/en_ZA: Likewise.
1949         * locales/en_ZW: Likewise.
1950         * locales/es_AR: Likewise.
1951         * locales/es_BO: Likewise.
1952         * locales/es_CL: Likewise.
1953         * locales/es_CO: Likewise.
1954         * locales/es_DO: Likewise.
1955         * locales/es_EC: Likewise.
1956         * locales/es_ES: Likewise.
1957         * locales/es_HN: Likewise.
1958         * locales/es_MX: Likewise.
1959         * locales/es_PA: Likewise.
1960         * locales/es_PE: Likewise.
1961         * locales/es_PY: Likewise.
1962         * locales/es_SV: Likewise.
1963         * locales/es_US: Likewise.
1964         * locales/es_UY: Likewise.
1965         * locales/es_VE: Likewise.
1966         * locales/et_EE: Likewise.
1967         * locales/fa_IR: Likewise.
1968         * locales/fo_FO: Likewise.
1969         * locales/fr_CA: Likewise.
1970         * locales/fr_CH: Likewise.
1971         * locales/gv_GB: Likewise.
1972         * locales/he_IL: Likewise.
1973         * locales/hr_HR: Likewise.
1974         * locales/id_ID: Likewise.
1975         * locales/is_IS: Likewise.
1976         * locales/it_CH: Likewise.
1977         * locales/iw_IL: Likewise.
1978         * locales/kl_GL: Likewise.
1979         * locales/ko_KR: Likewise.
1980         * locales/kw_GB: Likewise.
1981         * locales/lg_UG: Likewise.
1982         * locales/lt_LT: Likewise.
1983         * locales/lv_LV: Likewise.
1984         * locales/mi_NZ: Likewise.
1985         * locales/nhn_MX: Likewise.
1986         * locales/nl_BE: Likewise.
1987         * locales/pl_PL: Likewise.
1988         * locales/sk_SK: Likewise.
1989         * locales/sl_SI: Likewise.
1990         * locales/sv_FI: Likewise.
1991         * locales/tl_PH: Likewise.
1992         * locales/tr_TR: Likewise.
1993         * locales/vi_VN: Likewise.
1995 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1997         [BZ #17475]
1998         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1999         of tu_IN and bh_IN.
2001 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2003         [BZ #18694]
2004         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2005         bits/wordsize.h.
2006         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2008 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2010         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2011         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2012         (spawn_thread): New function.
2013         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2014         (do_test): ... here.  Use IS_LOADED to test for its
2015         availability.
2017 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2019         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2021 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2023         [BZ #18696]
2024         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2025         si_addr_bnd.
2026         (si_lower): New.
2027         (si_upper): Likewise.
2029 2015-07-16  David S. Miller  <davem@davemloft.net>
2031         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2033 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2035         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2036         buffer.
2037         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2038         fail output information.
2040 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2043         and strstr-ppc64..
2044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2045         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2046         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2047         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2048         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2050 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2052         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2053         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2054         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2055         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2057 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2059         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2060         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2061         rtld_hidden_proto.
2062         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2064 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2066         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2067         the test can fail.
2069         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2071         [BZ #18676]
2072         * elf/tst-nodelete-opened.c: New test case.
2073         * elf/tst-nodelete-opened-lib.c: New test case module.
2074         * elf/Makefile (tests, modules-names): Use them.
2075         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2076         early.
2078 2015-07-15  David S. Miller  <davem@davemloft.net>
2080         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2081         futex-intenal.h
2082         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2083         * sysdeps/sparc/sparc64/Makefile: Likewise.
2084         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2085         Remove space from macro define.
2086         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2088 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2090         [BZ #17475]
2091         * locale/iso-639.def: Update Bhili and Tulu language codes as
2092         per iso639-3.
2094 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2096         * elf/tst-leaks1.c (main): Converted to ...
2097         (do_test): ... this.
2098         (TEST_FUNCTION): New macro.
2099         Include test-skeleton.c.
2100         * localedata/tst-langinfo.c (main): Converted to ...
2101         (do_test): ... this.
2102         (TEST_FUNCTION): New macro.
2103         Include test-skeleton.c.
2104         * math/test-fpucw.c (main): Converted to ...
2105         (do_test): ... this.
2106         (TEST_FUNCTION): New macro.
2107         Include test-skeleton.c.
2108         * math/test-tgmath.c (main): Converted to ...
2109         (do_test): ... this.
2110         (TEST_FUNCTION): New macro.
2111         Include test-skeleton.c.
2112         * math/test-tgmath2.c (main): Converted to ...
2113         (do_test): ... this.
2114         (TEST_FUNCTION): New macro.
2115         Include test-skeleton.c.
2116         * setjmp/tst-setjmp.c (main): Converted to ...
2117         (do_test): ... this.
2118         (TEST_FUNCTION): New macro.
2119         Include test-skeleton.c.
2120         * stdio-common/tst-sscanf.c (main): Converted to ...
2121         (do_test): ... this.
2122         (TEST_FUNCTION): New macro.
2123         Include test-skeleton.c.
2124         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2125         (do_test): ... this.
2126         (TEST_FUNCTION): New macro.
2127         Include test-skeleton.c.
2129         * elf/tst-audit9.c (main): Converted to ...
2130         (do_test): ... this.
2131         (TEST_FUNCTION): New macro.
2132         Include test-skeleton.c.
2134 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2136         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2138 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2140         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2141         New variable.
2143 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2145         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2147 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2149         * sysdeps/generic/dl-fileid.h: New file.
2150         * sysdeps/posix/dl-fileid.h: New file.
2151         * sysdeps/nacl/dl-fileid.h: New file.
2152         * include/link.h: Include <dl-fileid.h>.
2153         (struct link_map): Replace l_dev and l_ino with l_file_id.
2154         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2155         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2156         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2158 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2160         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2162 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2164         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2165         Add iff $CXX is set.
2166         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2167         Likewise.
2168         (tst-nodelete-zmodiff): Likewise.
2169         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2171 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2173         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2175 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2177         * sysdeps/aarch64/fpu/math_private.h
2178         (define math_opt_barrier): Add AArch64 version.
2179         (math_force_eval): Likewise.
2181 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2183         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2185 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2187         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2188         %ld with %jd and cast to intmax_t.
2189         (do_test_length_zero): Likewise.
2191 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2193         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2195 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2197         * sysdeps/tile/libm-test-ulps: Regenerated.
2199         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2200         Comment out the whole function, not just its body.
2202 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2204         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2205         locks.
2207         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2209 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2211         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2212         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2214 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2216         * sysdeps/nptl/futex-internal.h: New file.
2217         * sysdeps/nacl/futex-internal.h: New file.
2218         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2219         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2220         error checking.
2221         (setxid_unmark_thread): Likewise.
2222         (__nptl_setxid): Likewise.
2223         (__wait_lookup_done): Likewise.
2224         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2225         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2226         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2227         * nptl/pthread_once.c (clear_once_control): Likewise.
2228         (__pthread_once_slow): Likewise.
2229         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2230         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2231         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2232         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2233         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2234         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2235         Likewise.
2236         (__pthread_rwlock_rdlock): Likewise.
2237         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2238         Likewise.
2239         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2240         Likewise.
2241         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2242         Likewise.
2243         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2244         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2245         Likewise.
2246         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2247         __ASSUME_PRIVATE_FUTEX check.
2248         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2249         Check that shared futexes are supported.
2250         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2251         wrappers with error checking.
2252         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2253         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2254         * nptl/pthread_barrierattr_setpshared.c
2255         (pthread_barrierattr_setpshared): Check that shared futexes are
2256         supported.
2257         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2258         Likewise.
2259         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2260         Likewise.
2261         * nptl/sem_init.c (futex_private_if_supported): Remove.
2262         (__new_sem_init): Adapt and check that shared futexes are supported.
2263         * nptl/sem_open.c (sem_open): Likewise.
2264         * nptl/sem_post.c (futex_wake): Remove.
2265         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2266         (do_futex_wait): Use futex wrappers with error checking.
2267         * nptl/sem_wait.c: Include lowlevellock.h.
2268         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2269         Use futex_supports_pshared.
2270         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2271         Use futex wrappers with error checking.
2272         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2273         Likewise.
2274         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2275         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2276         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2277         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2278         (futex_wake): Likewise.
2279         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2280         (do_futex_wait): Use futex wrappers with error checking.
2281         (__new_sem_wait_slow): Update EINTR handling.
2282         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2284 2015-07-09  Martin Sebor  <msebor@redhat.com>
2286         [BZ #18435]
2287         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2288         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2289         * nptl/Makefile (test-xfail-tst-once5): Define.
2291 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2293         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2294         * elf/dl-minimal.c: For readability, reorder some definitions and
2295         introduce more page breaks.  Include <stdio.h>.
2296         (__libc_fatal): New function.
2298         * include/unistd.h: Add rtld_hidden_proto for _exit.
2299         * posix/_exit.c: Add rtld_hidden_def.
2300         * sysdeps/mach/hurd/_exit.c: Likewise.
2301         * sysdeps/nacl/_exit.c: Likewise.
2302         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2303         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2305 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2307         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2308         bndmov encoding with zero displacement.
2310 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2311             H.J. Lu  <hongjiu.lu@intel.com>
2313         [BZ #18134]
2314         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2315         * sysdeps/i386/configure: Regenerated.
2316         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2317         (_dl_runtime_profile): Save and restore Intel MPX return bound
2318         registers when calling _dl_call_pltexit.  Add
2319         PRESERVE_BND_REGS_PREFIX before return.
2320         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2321         (LRV_BND1_OFFSET): Likewise.
2322         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2323         lrv_bnd1.
2324         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2325         typo in bndmov encoding.
2326         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2327         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2328         branch instructions to preserve bounds.
2330 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2333         [GLIBC_2.22]: Add fmemopen.
2335 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2337         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2338         returns an error, also try to use host port from __mach_host_self for
2339         the __vm_wire call.
2340         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2342 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2344         [BZ #18400]
2345         [BZ #18648]
2346         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2347         Fix pr_uid and pr_gid members.
2348         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2349         definition to elf_greg_t.
2351 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2353         [BZ #18383]
2354         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2355         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2356         * sysdeps/arm/configure: Regenerated.
2357         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2358         (test-xfail-tst-tlsalign-static): Variable removed.
2360         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2361         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2362         rather than explicit 'ln -s'.
2364         * resolv/rpc/netdb.h: New file.
2365         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2367 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2369         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2370         length buffers.
2371         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2372         test-skeleton.c.
2374         [BZ #6544]
2375         [BZ #11216]
2376         [BZ #12836]
2377         [BZ #13151]
2378         [BZ #13152]
2379         [BZ #14292]
2380         * include/stdio.h (fmemopen): Remove hidden prototype.
2381         (__fmemopen): Add new hidden prototype.
2382         * libio/Makefile: Add oldfmemopen object.
2383         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2384         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2385         compliance.
2386         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2387         symbol compatibility.
2388         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2389         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2390         fmemopen.
2391         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2392         on append and read mode.
2393         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2394         fmemopen.
2395         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2396         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2397         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2398         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2399         Likewise.
2400         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2401         [GLIBC_2.22]: Likewise.
2402         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2403         Likewise.
2404         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2405         Likewise.
2406         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2407         [GLIBC_2.22]: Likewise.
2408         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2409         [GLIBC_2.22]: Likewise.
2410         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2411         [GLIBC_2.22]: Likewise.
2412         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2413         [GLIBC_2.22]: Likewise.
2414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2415         [GLIBC_2.22]: Likewise.
2416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2417         [GLIBC_2.22]: Likewise.
2418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2419         [GLIBC_2.22]: Likewise.
2420         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2421         Likewise.
2422         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2423         Likewise.
2424         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2425         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2426         [GLIBC_2.22]: Likewise.
2427         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2428         [GLIBC_2.22]: Likewise.
2429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2430         [GLIBC_2.22]: Likewise.
2431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2432         [GLIBC_2.22]: Likewise.
2433         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2434         Likewise.
2435         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2436         Likewise.
2437         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2438         Likewise.
2439         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2440         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2442 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2444         [BZ #18643]
2445         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2446         IPV6_PATHMTU, and IPV6_DONTFRAG.
2448 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2450         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2451         and _IO_UNBUFFERED.
2452         * libio/oldfileops.c: Likewise.
2453         * libio/wfileops.c: Likewise.
2455 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2457         * nscd/selinux.c: Delete selinux/flask.h include.
2459 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2461         [BZ #18641]
2462         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2463         (putpwent): Likewise.
2464         (getpwnam): Likewise.
2465         (getpwent_r): Likewise.
2466         (getpwuid_r): Likewise.
2467         (getpwnam_r): Likewise.
2468         (fgetpwent_r): Likewise.
2470 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2472         [BZ #18557]
2473         * inet/rcmd.c (__validuser2_sa): Check user first to
2474         short-circuit host check.
2476 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2477             Mikhail Ilin  <m.ilin@samsung.com>
2479         [BZ #17833]
2480         * elf/Makefile (tests): Add tst-nodelete.
2481         (modules-names): Add tst-nodelete-uniquemod.
2482         (tst-nodelete-uniquemod.so-no-z-defs): New.
2483         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2484         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2485         ($(objpfx)tst-nodelete): Likewise.
2486         ($(objpfx)tst-nodelete.out): Likewise.
2487         (LDFLAGS-tst-nodelete): Likewise.
2488         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2489         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2490         implement forced object deletion.
2491         (_dl_close): Pass false to _dl_close_worker.
2492         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2493         * elf/tst-nodelete.cc: New file.
2494         * elf/tst-nodeletelib.cc: Likewise.
2495         * elf/tst-znodeletelib.cc: Likewise.
2496         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2498 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2500         [BZ #18508]
2501         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2502         Depend on $(libdl).
2503         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2504         is not called infinitely times.
2505         (backtrace_helper): New function.
2506         (trace_arg): New struct.
2507         (st1): Enlarge stack size.
2508         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2509         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2510         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2511         Likewise.
2513 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2515         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2517 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2519         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2520         Include sys/types.h instead of bits/types.h.
2521         Remove inclusion of bits/wordsize.h.
2523 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2525         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2526         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2527         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2528         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2529         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2530         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2532 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2534         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2535         link-defines.sym.
2536         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2537         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2538         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2539         and LR_SIZE.
2540         * sysdeps/i386/link-defines.sym: New file.
2542 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2544         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2545         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2546         ($(objpfx)tst-audit3): New rule.
2547         ($(objpfx)tst-audit3.out): Likewise.
2548         * sysdeps/i386/tst-audit3.c: New file.
2549         * sysdeps/i386/tst-audit3.h: Likewise.
2550         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2551         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2553 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2555         [BZ #18633]
2556         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2557         pointer in C code.
2558         (__strcat_c): Likewise.
2559         (__strcat_g): Likewise.
2561 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2563         [BZ #18592]
2564         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2566 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2568         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2569         New function.  (__ieee754_sqrtf): New function.
2570         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2571         New function.
2572         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2573         New function.
2575 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2577         * sysdeps/ieee754/support.c: Remove unused file.
2579 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2581         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2582         registers instead of d ones so the layout is kernel abi compatible.
2583         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2584         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2585         Likewise.
2587 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2589         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2591 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2593         [BZ #18619]
2594         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2595         and return argument in case of subnormal argument.
2597 2015-07-01  Martin Sebor  <msebor@redhat.com>
2599         [BZ #18435]
2600         * nptl/Makefile: Add tst-once5.cc.
2601         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2602         Remove macro redefinitions.
2603         * nptl/tst-once5.cc: New test.
2605 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2607         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2609         * sysdeps/arm/libm-test-ulps: Regenerated.
2611         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2612         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2614 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2616         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2617         lll_lock_wait_private and lll_futex_wake probes.
2619         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2620         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2621         Likewise.
2622         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2623         atomic_spin_nop.
2624         * sysdeps/x86_64/bits/atomic.h: Likewise.
2625         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2626         to atomic_spin_nop and move ...
2627         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2628         ... here and ...
2629         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2630         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2631         atomic_spin_nop instead of BUSY_WAIT_NOP.
2632         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2633         Likewise.
2634         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2635         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2636         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2637         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2638         instead of atomic_delay.
2640 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2642         [BZ #18613]
2643         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2644         X_ADJ not X when adjusting exponent.
2645         (__ieee754_gamma_r): Do intermediate computations in
2646         round-to-nearest then adjust overflowing and underflowing results
2647         as needed.
2648         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2649         of X_ADJ not X when adjusting exponent.
2650         (__ieee754_gammaf_r): Do intermediate computations in
2651         round-to-nearest then adjust overflowing and underflowing results
2652         as needed.
2653         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2654         log of X_ADJ not X when adjusting exponent.
2655         (__ieee754_gammal_r): Do intermediate computations in
2656         round-to-nearest then adjust overflowing and underflowing results
2657         as needed.  Use 1.0L not 1.0f as numerator of division.
2658         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2659         log of X_ADJ not X when adjusting exponent.
2660         (__ieee754_gammal_r): Do intermediate computations in
2661         round-to-nearest then adjust overflowing and underflowing results
2662         as needed.  Use 1.0L not 1.0f as numerator of division.
2663         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2664         of X_ADJ not X when adjusting exponent.
2665         (__ieee754_gammal_r): Do intermediate computations in
2666         round-to-nearest then adjust overflowing and underflowing results
2667         as needed.  Use 1.0L not 1.0f as numerator of division.
2668         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2669         to auto-libm-test-in.
2670         (tgamma_test): Use ALL_RM_TEST.
2671         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2672         tests of tgamma with spurious-overflow.
2673         * math/auto-libm-test-out: Regenerated.
2674         * math/gen-libm-have-vector-test.sh: Do not check for START.
2675         * sysdeps/i386/fpu/libm-test-ulps: Update.
2676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2678         [BZ #18612]
2679         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2680         arguments, just return 0.5 times the argument, with underflow
2681         forced as needed.
2682         * math/auto-libm-test-in: Add more tests of j1.
2683         * math/auto-libm-test-out: Regenerated.
2685         [BZ #16559]
2686         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2687         (__ieee754_j1): Force underflow exception for small results.
2688         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2689         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2690         (__ieee754_j1f): Force underflow exception for small results.
2691         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2692         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2693         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2694         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2695         (__ieee754_j1l): Force underflow exception for small results.
2696         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2697         * math/auto-libm-test-in: Add more tests of j1 and jn.
2698         * math/auto-libm-test-out: Regenerated.
2700         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2701         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2702         (PF_MPLS): Likewise.
2703         (AF_IB): Likewise.
2704         (AF_MPLS): Likewise.
2705         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2706         value and macro.
2707         (MS_RMT_MASK): Include MS_LAZYTIME.
2709 2015-06-26  Mel Gorman  <mgorman@suse.de>
2711         [BZ #18502]
2712         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2713         already minimal.
2715 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2717         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2718         (DT_MIPS_NUM): Update.
2719         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2720         DT_MIPS_RLD_MAP_REL.
2722 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2724         [BZ #16559]
2725         [BZ #18602]
2726         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2727         round-to-nearest internally then recompute results that
2728         underflowed to zero in the original rounding mode.
2729         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2730         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2731         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2732         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2733         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2734         * sysdeps/i386/fpu/libm-test-ulps: Update.
2735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2737 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2739         * NEWS: Fixed description of link with vector math library.
2741 2015-06-25  Andreas Schwab  <schwab@suse.de>
2743         [BZ #18549]
2744         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2745         * libio/test-fmemopen.c (do_test): Add test for it.
2747 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2749         [BZ #17841]
2750         * Makeconfig (no-pie-ldflag): New.
2751         (+link): Set to $(+link-pie) if default to PIE.
2752         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2753         * config.make.in (build-pie-default): New.
2754         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2755         is default.  AC_SUBST.
2756         * configure: Regenerated.
2757         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2759 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2761         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2762         to 'unsigned int'.
2764         * resolv/gai_misc.h (struct waitlist): Change type of field
2765         counterp to 'volatile unsigned int *'.
2766         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2767         FUTEXADDR and OLDVAL.
2768         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2769         Give local variable TOTAL type 'volatile unsigned int'.
2770         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2771         * resolv/gai_suspend.c (gai_suspend):
2772         Give local variable CNTR type 'unsigned int'.
2774         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2775         counterp to 'volatile unsigned int *'.
2776         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2777         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2778         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2779         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2780         Give local variable TOTAL type 'volatile unsigned int'.
2781         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2783 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2785         [BZ #18383]
2786         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2787         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2788         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2789         comment for i386/x86-64.
2790         (test-xfail-tst-tlsalign-extern-static): Removed.
2792 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2794         * math/test-double.h: New file.
2795         * math/test-float.h: Likewise.
2796         * math/test-ldouble.h: Likewise.
2797         * math/test-math-inline.h: Likewise.
2798         * math/test-math-no-inline.h: Likewise.
2799         * math/test-math-scalar.h: Likewise.
2800         * math/test-math-vector.h: Likewise.
2801         * math/test-vec-loop.h: Remove file.  Contents moved into
2802         test-math-vector.h.
2803         * math/libm-test.inc (MATHCONST): Do not document macro.
2804         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2805         and test-math-scalar.h.
2806         (FUNC): Remove macro.
2807         (FUNC_TEST): Likewise.
2808         (FLOAT): Likewise.
2809         (MATHCONST): Likewise.
2810         (PRINTF_EXPR): Likewise.
2811         (PRINTF_XEXPR): Likewise.
2812         (PRINTF_NEXPR): Likewise.
2813         (TEST_DOUBLE): Likewise.
2814         (TEST_MATHVEC): Likewise.
2815         (__NO_MATH_INLINES): Likewise.
2816         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2817         and test-math-scalar.h.
2818         (FUNC): Remove macro.
2819         (FUNC_TEST): Likewise.
2820         (FLOAT): Likewise.
2821         (MATHCONST): Likewise.
2822         (PRINTF_EXPR): Likewise.
2823         (PRINTF_XEXPR): Likewise.
2824         (PRINTF_NEXPR): Likewise.
2825         (TEST_FLOAT): Likewise.
2826         (TEST_MATHVEC): Likewise.
2827         (__NO_MATH_INLINES): Likewise.
2828         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2829         and test-math-scalar.h.
2830         (FUNC): Remove macro.
2831         (FUNC_TEST): Likewise.
2832         (FLOAT): Likewise.
2833         (MATHCONST): Likewise.
2834         (PRINTF_EXPR): Likewise.
2835         (PRINTF_XEXPR): Likewise.
2836         (PRINTF_NEXPR): Likewise.
2837         (TEST_DOUBLE): Likewise.
2838         (TEST_MATHVEC): Likewise.
2839         (TEST_INLINE): Likewise.
2840         (__NO_MATH_INLINES): Likewise.
2841         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2842         test-math-scalar.h.
2843         (FUNC): Remove macro.
2844         (FUNC_TEST): Likewise.
2845         (FLOAT): Likewise.
2846         (MATHCONST): Likewise.
2847         (PRINTF_EXPR): Likewise.
2848         (PRINTF_XEXPR): Likewise.
2849         (PRINTF_NEXPR): Likewise.
2850         (TEST_FLOAT): Likewise.
2851         (TEST_MATHVEC): Likewise.
2852         (TEST_INLINE): Likewise.
2853         (__NO_MATH_INLINES): Likewise.
2854         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2855         and test-math-scalar.h.
2856         (FUNC): Remove macro.
2857         (FUNC_TEST): Likewise.
2858         (FLOAT): Likewise.
2859         (MATHCONST): Likewise.
2860         (PRINTF_EXPR): Likewise.
2861         (PRINTF_XEXPR): Likewise.
2862         (PRINTF_NEXPR): Likewise.
2863         (TEST_LDOUBLE): Likewise.
2864         (TEST_MATHVEC): Likewise.
2865         (TEST_INLINE): Likewise.
2866         (__NO_MATH_INLINES): Likewise.
2867         * math/test-ldouble.c: Include test-ldouble.h,
2868         test-math-no-inline.h and test-math-scalar.h.
2869         (FUNC): Remove macro.
2870         (FUNC_TEST): Likewise.
2871         (FLOAT): Likewise.
2872         (MATHCONST): Likewise.
2873         (PRINTF_EXPR): Likewise.
2874         (PRINTF_XEXPR): Likewise.
2875         (PRINTF_NEXPR): Likewise.
2876         (TEST_LDOUBLE): Likewise.
2877         (TEST_MATHVEC): Likewise.
2878         (__NO_MATH_INLINES): Likewise.
2879         * math/test-double-vlen2.h: Include test-double.h,
2880         test-math-no-inline.h and test-math-vector.h.
2881         (FLOAT): Remove macro.
2882         (FUNC): Likewise.
2883         (MATHCONST): Likewise.
2884         (PRINTF_EXPR): Likewise.
2885         (PRINTF_XEXPR): Likewise.
2886         (PRINTF_NEXPR): Likewise.
2887         (TEST_DOUBLE): Likewise.
2888         (TEST_MATHVEC): Likewise.
2889         (__NO_MATH_INLINES): Likewise.
2890         (CNCT): Likewise.
2891         (CONCAT): Likewise.
2892         (WRAPPER_NAME): Likewise.
2893         (WRAPPER_DECL): Likewise.
2894         (WRAPPER_DECL_ff): Likewise.
2895         (WRAPPER_DECL_fFF): Likewise.
2896         (VECTOR_WRAPPER): Likewise.
2897         (VECTOR_WRAPPER_ff): Likewise.
2898         (VECTOR_WRAPPER_fFF): Likewise.
2899         (VEC_LEN): New macro.
2900         * math/test-double-vlen4.h: Include test-double.h,
2901         test-math-no-inline.h and test-math-vector.h.
2902         (FLOAT): Remove macro.
2903         (FUNC): Likewise.
2904         (MATHCONST): Likewise.
2905         (PRINTF_EXPR): Likewise.
2906         (PRINTF_XEXPR): Likewise.
2907         (PRINTF_NEXPR): Likewise.
2908         (TEST_DOUBLE): Likewise.
2909         (TEST_MATHVEC): Likewise.
2910         (__NO_MATH_INLINES): Likewise.
2911         (CNCT): Likewise.
2912         (CONCAT): Likewise.
2913         (WRAPPER_NAME): Likewise.
2914         (WRAPPER_DECL): Likewise.
2915         (WRAPPER_DECL_ff): Likewise.
2916         (WRAPPER_DECL_fFF): Likewise.
2917         (VECTOR_WRAPPER): Likewise.
2918         (VECTOR_WRAPPER_ff): Likewise.
2919         (VECTOR_WRAPPER_fFF): Likewise.
2920         (VEC_LEN): New macro.
2921         * math/test-double-vlen8.h: Include test-double.h,
2922         test-math-no-inline.h and test-math-vector.h.
2923         (FLOAT): Remove macro.
2924         (FUNC): Likewise.
2925         (MATHCONST): Likewise.
2926         (PRINTF_EXPR): Likewise.
2927         (PRINTF_XEXPR): Likewise.
2928         (PRINTF_NEXPR): Likewise.
2929         (TEST_DOUBLE): Likewise.
2930         (TEST_MATHVEC): Likewise.
2931         (__NO_MATH_INLINES): Likewise.
2932         (CNCT): Likewise.
2933         (CONCAT): Likewise.
2934         (WRAPPER_NAME): Likewise.
2935         (WRAPPER_DECL): Likewise.
2936         (WRAPPER_DECL_ff): Likewise.
2937         (WRAPPER_DECL_fFF): Likewise.
2938         (VECTOR_WRAPPER): Likewise.
2939         (VECTOR_WRAPPER_ff): Likewise.
2940         (VECTOR_WRAPPER_fFF): Likewise.
2941         (VEC_LEN): New macro.
2942         * math/test-float-vlen4.h: Include test-float.h,
2943         test-math-no-inline.h and test-math-vector.h.
2944         (FLOAT): Remove macro.
2945         (FUNC): Likewise.
2946         (MATHCONST): Likewise.
2947         (PRINTF_EXPR): Likewise.
2948         (PRINTF_XEXPR): Likewise.
2949         (PRINTF_NEXPR): Likewise.
2950         (TEST_FLOAT): Likewise.
2951         (TEST_MATHVEC): Likewise.
2952         (__NO_MATH_INLINES): Likewise.
2953         (CNCT): Likewise.
2954         (CONCAT): Likewise.
2955         (WRAPPER_NAME): Likewise.
2956         (WRAPPER_DECL): Likewise.
2957         (WRAPPER_DECL_ff): Likewise.
2958         (WRAPPER_DECL_fFF): Likewise.
2959         (VECTOR_WRAPPER): Likewise.
2960         (VECTOR_WRAPPER_ff): Likewise.
2961         (VECTOR_WRAPPER_fFF): Likewise.
2962         (VEC_LEN): New macro.
2963         * math/test-float-vlen8.h: Include test-float.h,
2964         test-math-no-inline.h and test-math-vector.h.
2965         (FLOAT): Remove macro.
2966         (FUNC): Likewise.
2967         (MATHCONST): Likewise.
2968         (PRINTF_EXPR): Likewise.
2969         (PRINTF_XEXPR): Likewise.
2970         (PRINTF_NEXPR): Likewise.
2971         (TEST_FLOAT): Likewise.
2972         (TEST_MATHVEC): Likewise.
2973         (__NO_MATH_INLINES): Likewise.
2974         (CNCT): Likewise.
2975         (CONCAT): Likewise.
2976         (WRAPPER_NAME): Likewise.
2977         (WRAPPER_DECL): Likewise.
2978         (WRAPPER_DECL_ff): Likewise.
2979         (WRAPPER_DECL_fFF): Likewise.
2980         (VECTOR_WRAPPER): Likewise.
2981         (VECTOR_WRAPPER_ff): Likewise.
2982         (VECTOR_WRAPPER_fFF): Likewise.
2983         (VEC_LEN): New macro.
2984         * math/test-float-vlen16.h: Include test-float.h,
2985         test-math-no-inline.h and test-math-vector.h.
2986         (FLOAT): Remove macro.
2987         (FUNC): Likewise.
2988         (MATHCONST): Likewise.
2989         (PRINTF_EXPR): Likewise.
2990         (PRINTF_XEXPR): Likewise.
2991         (PRINTF_NEXPR): Likewise.
2992         (TEST_FLOAT): Likewise.
2993         (TEST_MATHVEC): Likewise.
2994         (__NO_MATH_INLINES): Likewise.
2995         (CNCT): Likewise.
2996         (CONCAT): Likewise.
2997         (WRAPPER_NAME): Likewise.
2998         (WRAPPER_DECL): Likewise.
2999         (WRAPPER_DECL_ff): Likewise.
3000         (WRAPPER_DECL_fFF): Likewise.
3001         (VECTOR_WRAPPER): Likewise.
3002         (VECTOR_WRAPPER_ff): Likewise.
3003         (VECTOR_WRAPPER_fFF): Likewise.
3004         (VEC_LEN): New macro.
3005         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3006         test-vec-loop.h.
3007         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3008         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3009         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3010         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3011         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3012         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3013         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3015 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3017         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3018         (__getlogin_r): ... this.
3020 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3022         [BZ #18594]
3023         * math/s_ccosh.c (__ccosh): Compare with least normal value
3024         instead of comparing class with FP_SUBNORMAL.
3025         * math/s_ccoshf.c (__ccoshf): Likewise.
3026         * math/s_ccoshl.c (__ccoshl): Likewise.
3027         * math/s_cexp.c (__cexp): Likewise.
3028         * math/s_cexpf.c (__cexpf): Likewise.
3029         * math/s_cexpl.c (__cexpl): Likewise.
3030         * math/s_csin.c (__csin): Likewise.
3031         * math/s_csinf.c (__csinf): Likewise.
3032         * math/s_csinh.c (__csinh): Likewise.
3033         * math/s_csinhf.c (__csinhf): Likewise.
3034         * math/s_csinhl.c (__csinhl): Likewise.
3035         * math/s_csinl.c (__csinl): Likewise.
3036         * math/s_ctan.c (__ctan): Likewise.
3037         * math/s_ctanf.c (__ctanf): Likewise.
3038         * math/s_ctanh.c (__ctanh): Likewise.
3039         * math/s_ctanhf.c (__ctanhf): Likewise.
3040         * math/s_ctanhl.c (__ctanhl): Likewise.
3041         * math/s_ctanl.c (__ctanl): Likewise.
3042         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3043         csin, csinh, ctan and ctanh.
3044         * math/auto-libm-test-out: Regenerated.
3045         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3046         * sysdeps/i386/fpu/libm-test-ulps: Update.
3047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3049 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3051         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3052         return value is wrong, print the expected value too.
3054 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3056         [BZ #18585]
3057         * elf/readlib.c (is_gdb_python_file): New.
3058         (process_file): Don't issue errors on filenames with -gdb.py
3059         suffix.
3061 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3063         * math/auto-libm-test-in: Add more tests of csin and csinh.
3064         * math/auto-libm-test-out: Regenerated.
3065         * math/libm-test.inc (csin_test_data): Remove tests moved to
3066         auto-libm-test-in.
3067         (csinh_test_data): Likewise.
3069         [BZ #18593]
3070         * math/s_csin.c (__csin): Negate before rather than after possibly
3071         overflowing multiplication.
3072         * math/s_csinf.c (__csinf): Likewise.
3073         * math/s_csinh.c (__csinh): Likewise.
3074         * math/s_csinhf.c (__csinhf): Likewise.
3075         * math/s_csinhl.c (__csinhl): Likewise.
3076         * math/s_csinl.c (__csinl): Likewise.
3077         * math/auto-libm-test-in: Add some tests of csin and csinh.
3078         * math/auto-libm-test-out: Regenerated.
3079         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3080         (csinh_test_data): Likewise.
3081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3083         [BZ #18586]
3084         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3085         underflow exception for small results.
3087 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3089         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3090         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3091         variable and included header.
3092         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3093         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3094         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3095         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3096         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3097         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3098         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3099         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3100         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3101         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3102         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3103         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3104         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3105         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3106         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3107         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3109 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3111         [BZ #16526]
3112         [BZ #16538]
3113         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3114         (__sin): Force underflow exception for arguments with small
3115         absolute value.
3116         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3117         (__kernel_sinf): Force underflow exception for arguments with
3118         small absolute value.
3119         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3120         (__kernel_sincosl): Force underflow exception for arguments with
3121         small absolute value.
3122         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3123         (__kernel_sinl): Force underflow exception for arguments with
3124         small absolute value.
3125         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3126         (__kernel_sincosl): Force underflow exception for arguments with
3127         small absolute value.
3128         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3129         (__kernel_sinl): Force underflow exception for arguments with
3130         small absolute value.
3131         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3132         (__kernel_sinl): Force underflow exception for arguments with
3133         small absolute value.
3134         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3135         (__kernel_sinf): Force underflow exception for arguments with
3136         small absolute value.
3137         * math/auto-libm-test-in: Add more tests of sin and sincos.
3138         * math/auto-libm-test-out: Regenerated.
3140         [BZ #18245]
3141         [BZ #18583]
3142         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3143         (__kernel_standard_l): Use feholdexcept and fesetenv around
3144         conversion to double instead of special-casing overflow and
3145         underflow.
3146         * math/libm-test.inc (fmod_test_data): Add more tests.
3147         (remainder_test_data): Likewise.
3148         (sqrt_test_data): Likewise.
3150 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3152         [BZ #17403]
3153         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3154         atomic_read_barrier, atomic_write_barrier): Define.
3155         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3156         atomic_read_barrier, atomic_write_barrier): Define.
3158 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3160         * math/Makefile [$(PERL) != no]
3161         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3162         dependency on libm-test.stmp below the inclusion of Rules.
3164 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3166         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3167         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3168         and included header.
3169         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3170         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3171         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3172         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3173         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3174         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3175         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3176         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3177         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3178         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3179         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3180         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3181         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3182         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3183         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3184         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3185         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3186         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3187         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3189 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3191         [BZ #18371]
3192         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3193         intermediate but not final result might underflow.
3194         * math/s_csqrtf.c (__csqrtf): Likewise.
3195         * math/s_csqrtl.c (__csqrtl): Likewise.
3196         * math/auto-libm-test-in: Add more tests of csqrt.
3197         * math/auto-libm-test-out: Regenerated.
3198         * sysdeps/i386/fpu/libm-test-ulps: Update.
3200         [BZ #18219]
3201         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3202         threshold on absolute value of exponent for which scaling is used.
3203         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3204         * math/auto-libm-test-in: Add more tests of exp2.
3205         * math/auto-libm-test-out: Regenerated.
3207 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3209         [BZ #17977]
3210         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3211         when initializing interface list, based on the bug analysis
3212         and the patch proposed by Eric Newton.
3213         * resolv/tst-res_hconf_reorder.c: New test.
3214         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3215         tst-res_hconf_reorder.
3216         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3217         and $(shared-thread-library).
3218         (tst-res_hconf_reorder-ENV): New variable.
3220         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3221         in comment.
3223 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3225         [BZ #16353]
3226         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3227         (__expm1): Force underflow exception for arguments with small
3228         absolute value.
3229         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3230         (__expm1f): Force underflow exception for arguments with small
3231         absolute value.
3232         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3233         (__expm1): Force underflow exception for arguments with small
3234         absolute value.
3235         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3236         (__expm1f): Force underflow exception for arguments with small
3237         absolute value.
3238         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3239         Check for small arguments before calling __expm1.
3240         * math/auto-libm-test-in: Do not mark underflow exceptions as
3241         possibly missing for bug 16353.
3242         * math/auto-libm-test-out: Regenerated.
3244 2015-06-22  Andreas Schwab  <schwab@suse.de>
3246         [BZ #18513]
3247         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3248         PTR queries.
3250 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3252         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3254         * string/strcoll_l.c: Remove unused struct element idxnow.
3256 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3258         [BZ #18569]
3259         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3260         underflow and return argument in case of subnormal argument.
3261         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3262         Likewise.
3263         * math/auto-libm-test-in: Add more tests of expm1.
3264         * math/auto-libm-test-out: Regenerated.
3266         [BZ #16361]
3267         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3268         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3269         tiny results.
3270         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3271         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3272         tiny results.
3273         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3274         mark underflow exceptions as possibly missing for bug 16361.
3275         * math/auto-libm-test-out: Regenerated.
3277 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3279         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3280         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3281         Remove variable.
3282         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3283         (test-xfail-XOPEN2K8/utmpx.h/conform).
3285         * conform/conformtest.pl ($xerrors): New variable.
3286         (note_error): New function.
3287         (compiletest): New argument $xfail.  Use not_error.
3288         (runtest): Likewise.
3289         (top level): Handle xfail- lines.  Update calls to compiletest and
3290         runtest.  Handle xfail- and optional- in headers listed with
3291         allow-header.
3292         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3293         (O_EXEC): Likewise.
3294         (O_SEARCH): Likewise.
3295         * conform/data/stropts.h-data (ioctl): Likewise.
3296         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3297         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3298         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3299         (msghdr.msg_controllen): Likewise.
3300         (cmsghdr.cmsg_len): Likewise.
3301         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3302         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3303         variable.
3304         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3305         (test-xfail-XPG4/stropts.h/conform): Likewise.
3306         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3307         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3308         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3309         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3310         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3311         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3312         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3313         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3314         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3315         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3316         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3317         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3318         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3319         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3320         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3321         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3322         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3323         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3324         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3326 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3328         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3329         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3330         definitions for proper unfolding of __MATHDECL_VEC.
3332 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3334         * benchtests/bench-strcoll.c:
3335         Include string.h.
3336         (main): Remove unused variable res.
3338 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3340         * timezone/Makefile (%/UTC %/Universal):
3341         Generate test-result files for UTC and Universal.
3343 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3345         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3347 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3349         [BZ #16350]
3350         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3351         for arguments with small absolute value.
3352         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3353         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3354         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3355         (__asinh): Force underflow exception for arguments with small
3356         absolute value.
3357         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3358         (__asinhf): Force underflow exception for arguments with small
3359         absolute value.
3360         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3361         (__asinhl): Force underflow exception for arguments with small
3362         absolute value.
3363         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3364         (__asinhl): Force underflow exception for arguments with small
3365         absolute value.
3366         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3367         (__asinhl): Force underflow exception for arguments with small
3368         absolute value.
3369         * math/auto-libm-test-in: Do not mark underflow exceptions as
3370         possibly missing for bug 16350.
3371         * math/auto-libm-test-out: Regenerated.
3373         * include/bits/ipc.h: Remove file.
3374         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3375         variable.
3376         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3377         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3378         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3379         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3380         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3381         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3382         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3383         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3384         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3386         * math/auto-libm-test-in: Remove spurious underflow allowance for
3387         tests of cexp.
3388         * math/auto-libm-test-out: Regenerated.
3390         [BZ #18558]
3391         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3392         unconditional definition.
3393         (MCAST_BLOCK_SOURCE): Likewise.
3394         (MCAST_UNBLOCK_SOURCE): Likewise.
3395         (MCAST_LEAVE_GROUP): Likewise.
3396         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3397         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3398         (MCAST_MSFILTER): Likewise.
3399         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3400         Remove variable.
3401         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3402         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3403         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3404         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3405         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3407 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3409         * NEWS: Mention addition of x86_64 vector sincosf.
3410         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3411         * math/test-float-vlen4.h: Likewise.
3412         * math/test-float-vlen8.h: Likewise.
3413         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3414         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3415         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3416         * sysdeps/x86_64/fpu/Versions: New versions added.
3417         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3418         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3419         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3420         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3421         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3422         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3423         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3424         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3425         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3426         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3427         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3428         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3429         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3430         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3431         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3432         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3433         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3434         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3435         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3436         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3437         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3438         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3439         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3440         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3442         * NEWS: Mention addition of x86_64 vector sincos.
3443         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3444         * math/math.h (__MATHDECL_VEC): New macro.
3445         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3446         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3447         declaration under condition.
3448         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3449         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3450         TEST_VEC_LOOP change.
3451         * math/test-double-vlen4.h: Likewise.
3452         * math/test-double-vlen8.h: Likewise.
3453         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3454         * math/test-float-vlen4.h: Likewise.
3455         * math/test-float-vlen8.h: Likewise.
3456         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3457         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3458         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3459         * sysdeps/x86_64/fpu/Versions: New versions added.
3460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3461         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3462         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3463         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3464         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3465         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3466         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3467         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3468         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3469         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3470         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3471         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3472         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3473         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3474         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3475         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3476         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3477         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3478         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3479         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3480         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3481         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3482         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3483         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3485         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3486         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3487         redirections for powf.
3488         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3489         * sysdeps/x86_64/fpu/Versions: New versions added.
3490         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3491         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3492         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3493         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3494         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3495         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3496         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3497         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3498         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3499         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3500         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3501         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3502         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3503         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3504         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3505         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3506         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3507         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3508         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3509         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3510         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3511         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3512         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3513         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3514         * math/test-float-vlen16.h: Fixed 2 argument macro.
3515         * math/test-float-vlen4.h: Likewise.
3516         * math/test-float-vlen8.h: Likewise.
3517         * NEWS: Mention addition of x86_64 vector powf.
3519 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3521         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3522         and redefine.
3523         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3524         and redefine.
3525         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3526         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3527         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3529         [BZ #18553]
3530         * resource/getpriority.c (getpriority): Rename to __getpriority
3531         and define as weak alias of __getpriority.
3532         * resource/setpriority.c (setpriority): Rename to __setpriority
3533         and define as weak alias of __setpriority.
3534         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3535         __getpriority and define as weak alias of __getpriority.
3536         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3537         __setpriority and define as weak alias of __setpriority.
3538         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3539         strong name.
3540         (setpriority): Use __setpriority as strong name.
3541         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3542         __getpriority and define as weak alias of __getpriority.
3543         * include/sys/resource.h (__getpriority): Declare.  Use
3544         libc_hidden_proto.
3545         (__setpriority): Likewise.
3546         (getpriority): Don't use libc_hidden_proto.
3547         (setpriority): Likewise.
3548         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3549         getpriority.  Call __setpriority instead of setpriority.
3550         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3551         Remove variable.
3553         [BZ #18547]
3554         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3555         as weak alias of __getttynam.  Use prototype function definition.
3556         Call __setttyent, __getttyent and __endttyent instead of
3557         setttyent, getttyent and endttyent.
3558         (getttyent): Rename to __getttyent and define as weak alias of
3559         __getttyent.  Call __setttyent instead of setttyent.  Call
3560         __fgets_unlocked instead of fgets_unlocked.
3561         (setttyent): Rename to __setttyent and define as weak alias of
3562         __setttyent.
3563         (endttyent): Rename to __endttyent and define as weak alias of
3564         __endttyent.
3565         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3566         (__setttyent): Likewise.
3567         (__endttyent): Likewise.
3568         (getttyent): Don't use libc_hidden_proto.
3569         (setttyent): Likewise.
3570         (endttyent): Likewise.
3571         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3572         __endttyent instead of setttyent, getttyent and endttyent.
3573         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3574         Remove variable.
3576         [BZ #18546]
3577         * socket/recv.c (__recv): Use libc_hidden_def.
3578         * socket/socket.c (__socket): Likewise.
3579         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3580         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3581         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3582         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3583         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3584         libc_hidden_def.
3585         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3586         libc_hidden_weak.
3587         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3588         Use libc_hidden_proto.
3589         (__recv): Likewise.
3590         * socket/Versions (libc): Export __recv and __socket at version
3591         GLIBC_PRIVATE.
3592         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3593         instead of recv.
3594         (init_mq_netlink): Call __socket instead of socket.
3595         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3596         Remove variable.
3598         [BZ #18545]
3599         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3600         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3601         hidden_weak.
3602         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3603         define as alias of __mq_timedsend.  Use hidden_weak.
3604         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3605         __mq_timedsend as strong name.
3606         (mq_timedreceive): Use __mq_timedreceive as strong name.
3607         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3608         (__mq_timedreceive): Likewise.
3609         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3610         __mq_timedreceive instead of mq_timedreceive.
3611         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3612         instead of mq_timedsend.
3613         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3614         Remove variable.
3616         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3617         hidden_def and hidden_weak instead of libc_hidden_def and
3618         libc_hidden_weak.
3619         (top level): Refer to hidden_def in comment.
3620         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3621         macro.  Use it instead of libc_hidden_def.
3622         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3623         specify __GI_* name explicitly.
3624         (mq_timedreceive): Likewise.
3625         (mq_setattr): Likewise.
3627         [BZ #18544]
3628         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3629         __pthread_barrier_init and define as weak alias of
3630         __pthread_barrier_init.
3631         * sysdeps/sparc/nptl/pthread_barrier_init.c
3632         (pthread_barrier_init): Likewise.
3633         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3634         __pthread_barrier_wait and define as weak alias of
3635         __pthread_barrier_wait.
3636         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3637         (pthread_barrier_wait): Likewise.
3638         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3639         (pthread_barrier_wait): Likewise.
3640         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3641         (pthread_barrier_wait): Likewise.
3642         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3643         (pthread_barrier_wait): Likewise.
3644         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3645         __pthread_barrier_wait at version GLIBC_PRIVATE.
3646         * include/pthread.h (__pthread_barrier_init): Declare.
3647         (__pthread_barrier_wait): Likewise.
3648         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3649         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3650         (helper_thread): Likewise.
3651         (init_mq_netlink): Call __pthread_barrier_init instead of
3652         pthread_barrier_init.
3654         [BZ #18542]
3655         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3656         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3657         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3658         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3659         vswscanf.
3660         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3661         Remove variable.
3663         [BZ #18540]
3664         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3665         strong alias of _IO_fflush.  Use libc_hidden_def.
3666         * libio/iofflush_u.c (fflush_unlocked): Rename to
3667         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3668         Use libc_hidden_weak.
3669         * include/stdio.h (__fflush_unlocked): Declare.  Use
3670         libc_hidden_proto.
3671         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3672         fflush_unlocked.
3673         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3674         Remove variable.
3676         [BZ #18539]
3677         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3678         define as weak alias of __addseverity.
3679         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3680         Remove variable.
3681         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3682         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3683         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3685         [BZ #18536]
3686         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3687         (__tfind): Likewise.
3688         (__tdelete): Likewise.
3689         (__twalk): Likewise.
3690         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3691         __twalk to GLIBC_PRIVATE.
3692         * include/search.h (__tsearch): Use libc_hidden_proto.
3693         (__tfind): Likewise.
3694         (__tdelete): Likewise.
3695         (__twalk): Likewise.
3696         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3697         Call __tdelete instead of tdelete.
3698         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3699         tfind.  Call __tsearch instead of tsearch.
3700         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3701         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3702         Remove variable.
3703         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3705         [BZ #18534]
3706         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3707         (dprintf): Define as a weak alias of __dprintf, not a strong
3708         alias.
3709         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3710         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3711         dprintf.
3712         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3713         Remove variable.
3714         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3715         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3717         [BZ #18533]
3718         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3719         not a strong alias.
3720         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3721         Remove variable.
3723         [BZ #18532]
3724         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3725         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3726         (in6addr_loopback): Rename to __in6addr_loopback and define as
3727         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3728         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3729         libc_hidden_proto.
3730         (__in6addr_any): Likewise.
3731         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3732         in6addr_any.
3733         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3734         variable.
3735         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3737 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3739         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3740         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3741         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3742         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3743         redirections for pow.
3744         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3745         * sysdeps/x86_64/fpu/Versions: New versions added.
3746         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3747         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3748         build of SSE, AVX2 and AVX512 IFUNC versions.
3749         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3750         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3751         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3752         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3753         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3754         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3755         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3756         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3757         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3758         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3759         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3760         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3761         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3762         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3763         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3764         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3765         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3766         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3767         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3768         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3769         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3770         * NEWS: Mention addition of x86_64 vector pow.
3772         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3773         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3774         redirections for expf.
3775         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3776         * sysdeps/x86_64/fpu/Versions: New versions added.
3777         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3778         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3779         build of SSE, AVX2 and AVX512 IFUNC versions.
3780         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3781         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3782         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3783         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3784         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3785         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3786         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3787         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3788         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3789         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3790         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3791         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3792         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3793         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3794         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3795         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3796         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3797         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3798         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3799         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3800         * NEWS: Mention addition of x86_64 vector expf.
3802         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3803         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3804         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3805         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3806         redirections for exp.
3807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3808         * sysdeps/x86_64/fpu/Versions: New versions added.
3809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3810         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3811         build of SSE, AVX2 and AVX512 IFUNC versions.
3812         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3813         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3814         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3815         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3816         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3817         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3818         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3819         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3820         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3821         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3822         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3823         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3824         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3825         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3826         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3827         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3828         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3829         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3830         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3831         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3832         * NEWS: Mention addition of x86_64 vector exp.
3834         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3835         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3836         redirections for logf.
3837         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3838         * sysdeps/x86_64/fpu/Versions: New versions added.
3839         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3840         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3841         build of SSE, AVX2 and AVX512 IFUNC versions.
3842         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3843         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3844         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3845         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3846         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3847         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3848         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3849         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3850         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3851         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3852         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3853         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3854         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3855         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3856         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3857         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3858         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3859         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3860         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3861         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3862         * NEWS: Mention addition of x86_64 vector logf.
3864         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3865         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3866         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3867         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3868         redirections for log.
3869         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3870         * sysdeps/x86_64/fpu/Versions: New versions added.
3871         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3872         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3873         build of SSE, AVX2 and AVX512 IFUNC versions.
3874         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3875         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3876         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3877         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3878         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3879         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3880         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3881         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3882         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3883         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3884         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3885         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3886         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3887         test.
3888         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3889         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3890         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3891         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3892         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3893         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3894         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3895         * NEWS: Mention addition of x86_64 vector log.
3897 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3899         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3900         cfi_adjust_cfa_offset argument.
3901         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3902         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3904         [BZ #18034]
3905         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3906         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3907         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3908         ordering using ldar.
3909         (_dl_tlsdesc_dynamic): Likewise.
3910         (_dl_tlsdesc_return_lazy): Likewise.
3911         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3912         relaxed atomics instead of volatile and synchronize with release store.
3913         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3914         volatile.
3915         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3917 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3919         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3920         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3921         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3922         * sysdeps/x86_64/fpu/Versions: New versions added.
3923         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3924         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3925         build of SSE, AVX2 and AVX512 IFUNC versions.
3926         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3927         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3928         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3929         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3930         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3931         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3932         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3933         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3934         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3935         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3936         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3937         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3938         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3939         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3940         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3941         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3942         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3943         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3944         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3945         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3946         * NEWS: Mention addition of x86_64 vector sinf.
3948 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3950         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3951         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3952         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3953         Remove variable.
3954         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3955         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3957 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3959         [BZ #18530]
3960         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3961         strong alias of _IO_fputs.  Use libc_hidden_def.
3962         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3963         and define as weak alias of __fputs_unlocked.  Use
3964         libc_hidden_weak.
3965         * include/stdio.h (__fputs_unlocked): Declare.  Use
3966         libc_hidden_proto.
3967         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3968         fputs_unlocked.
3970         [BZ #18529]
3971         * resolv/netdb.h [__USE_POSIX]: Change condition to
3972         [__USE_XOPEN2K].
3973         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3974         not expect.
3975         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3976         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3977         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3978         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3979         [XPG4 || UNIX98] (AI_ALL): Likewise.
3980         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3981         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3982         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3983         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3984         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3985         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3986         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3987         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3988         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3989         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3990         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3991         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3992         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3993         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3994         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3995         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3996         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3997         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3998         [XPG4 || UNIX98] (gai_strerror): Likewise.
3999         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4000         [XPG4 || UNIX98] (getnameinfo): Likewise.
4002         [BZ #18528]
4003         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4004         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4005         __USE_XOPEN2K8].
4006         (getgrent): Likewise.
4007         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4008         expect.
4009         [XPG3 || POSIX2008] (endgrent): Likewise.
4010         [XPG3] (setgrent): Likewise.
4011         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4012         variable.
4013         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4015         [BZ #18527]
4016         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4017         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4018         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4019         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4020         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4021         * include/unistd.h (__getlogin_r): Declare.  Use
4022         libc_hidden_proto.
4023         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4024         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4025         variable.
4026         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4027         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4028         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4030 2015-06-12  Martin Sebor  <msebor@redhat.com>
4032         [BZ #18512]
4033         * Makerules (check-install-supported): New target.
4034         (install): Add check-install-supported as a dependency.
4035         * manual/install.texi (Installing the C Library): Document
4036         that overriding prefix and exec_prefix is not supported.
4037         Mention DESTDIR.
4038         * INSTALL: Regenerate from the above.
4040 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4042         [BZ #18519]
4043         * posix/Versions (libc): Export __libc_pread at version
4044         GLIBC_PRIVATE.
4045         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4046         instead of pread.
4047         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4048         variable.
4050         [BZ #18522]
4051         * misc/efgcvt_r.c
4052         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4053         (cvt_symbol): Use weak_alias instead of strong_alias.
4054         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4055         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4056         Remove variable.
4057         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4058         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4060         [BZ #18520]
4061         * inet/herrno.c (h_errno): Rename to __h_errno.
4062         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4063         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4064         to __h_errno instead of h_errno.
4065         * nptl/herrno.c (h_errno): Rename to __h_errno.
4066         (__h_errno_location): Refer to __h_errno not h_errno.
4067         * resolv/Versions (h_errno): Rename to __h_errno.
4068         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4069         Remove variable.
4070         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4072 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4074         * configure.ac: More strict check for AVX512 assembler support.
4075         * configure: Regenerated.
4077         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4078         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4079         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4080         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4081         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4082         * sysdeps/x86_64/fpu/Versions: New versions added.
4083         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4084         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4085         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4086         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4087         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4088         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4089         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4090         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4091         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4092         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4093         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4094         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4095         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4096         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4097         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4098         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4099         test.
4100         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4101         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4102         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4103         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4104         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4105         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4106         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4107         * NEWS: Mention addition of x86_64 vector sin.
4109 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4111         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4112         comment.
4114 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4116         [BZ #18479]
4117         * nptl/pt-interp.c: New file.
4118         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4119         Add pt-interp.
4120         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4121         $(common-objpfx)runtime-linker.h.
4123 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4125         * Makeconfig (+interp): Remove unused variable.
4126         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4127         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4128         $(elf-objpfx)runtime-linker.h.
4129         ($(elf-objpfx)runtime-linker.h): Rename to
4130         $(common-objpfx)runtime-linker.h and move ...
4131         * Makerules [$(build-shared) = yes]: ... here.
4132         * elf/interp.c: Include <runtime-linker.h> instead of
4133         <elf/runtime-linker.h>.
4135 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4137         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4138         (__gettimeofday_syscall): Remove vsyscall fallback.
4139         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4140         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4141         Add syscall fallback function.
4142         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4143         if vDSO is not present.
4144         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4145         fallback function.
4146         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4147         present.
4148         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4149         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4151 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4153         [BZ #18497]
4154         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4155         of wcscmp.
4156         (wcscmp): Define as weak alias of WCSCMP.
4157         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4158         wcscoll.
4159         (USE_HIDDEN_DEF): Define.
4160         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4161         __wcscoll.  Don't use libc_hidden_weak.
4162         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4163         wcscmp.
4164         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4165         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4166         __GI_wcscmp.
4167         (weak_alias): Undefine and redefine.
4168         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4169         __wcscmp and define as weak alias of __wcscmp.
4170         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4171         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4172         (__wcscoll): Likewise.
4173         (wcscmp): Don't use libc_hidden_proto.
4174         (wcscoll): Likewise.
4175         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4176         wcscoll.
4177         * posix/regexec.c (check_node_accept_bytes): Likewise.
4178         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4179         variable.
4180         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4181         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4183         [BZ #18507]
4184         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4185         __fstatvfs and define as weak alias of __fstatvfs.  Use
4186         libc_hidden_weak.
4187         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4188         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4189         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4190         Define as alias of __fstatvfs, not fstatvfs.
4191         (fstatvfs64): Likewise.
4192         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4193         Define as alias of __statvfs, not statvfs.
4194         (statvfs64): Likewise.
4195         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4196         Remove variable.
4198 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4201         (HAVE_GETCPU_VSYSCALL): Define.
4202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4203         (HAVE_GETCPU_VSYSCALL): Likewise.
4204         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4205         * sysdeps/unix/sysv/linux/sched_getcpu.c
4206         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4207         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4208         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4209         prototype.
4210         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4211         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4212         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4214         Define.
4215         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4216         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4217         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4218         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4220 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4222         * sysdeps/x86_64/fpu/Makefile: New file.
4223         * sysdeps/x86_64/fpu/Versions: New file.
4224         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4225         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4226         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4227         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4228         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4229         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4230         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4231         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4232         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4233         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4234         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4235         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4236         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4237         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4238         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4239         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4240         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4241         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4242         * sysdeps/x86_64/configure: Regenerated.
4243         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4244         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4245         * manual/install.texi (Configuring and compiling): Document
4246         --disable-mathvec.
4247         * INSTALL: Regenerated.
4248         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4250         * math/Makefile: Added rules for vector tests.
4251         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4252         declaration under condition.
4253         * math/test-double-vlen2.h: New file.
4254         * math/test-double-vlen4.h: New file.
4255         * math/test-double-vlen8.h: New file.
4256         * math/test-vec-loop.h: Added initialization macro.
4257         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4258         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4259         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4260         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4261         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4262         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4263         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4264         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4265         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4266         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4267         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4270         * sysdeps/x86_64/fpu/Versions: New versions added.
4271         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4272         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4273         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4274         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4275         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4276         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4277         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4278         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4279         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4280         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4281         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4282         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4283         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4284         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4285         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4286         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4287         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4288         * NEWS: Mention addition of x86_64 vector cosf.
4290         * math/Makefile: Added CFLAGS for new tests.
4291         * math/test-float-vlen16.h: New file.
4292         * math/test-float-vlen4.h: New file.
4293         * math/test-float-vlen8.h: New file.
4294         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4295         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4296         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4297         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4298         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4299         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4300         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4301         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4302         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4303         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4304         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4306 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4308         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4309         * locale/programs/ld-ctype.c: Likewise.
4311 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4313         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4314         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4315         bit_ZMM16_31_state): New macro.
4316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4317         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4319 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4321         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4323 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4325         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4327 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4329         [BZ #18498]
4330         * libio/memstream.c (open_memstream): Rename to __open_memstream
4331         and define as weak alias of __open_memstream.
4332         * include/stdio.h (__open_memstream): Declare.  Use
4333         libc_hidden_proto.
4334         (open_memstream): Don't use libc_hidden_proto.
4335         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4336         open_memstream.
4337         * posix/getopt.c (_getopt_internal_r): Likewise.
4338         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4339         variable.
4340         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4341         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4342         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4344         [BZ #18496]
4345         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4346         instead of wcrtomb.
4348         [BZ #18483]
4349         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4350         [__USE_XOPEN2K8].  Remove redundant #endif.
4351         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4352         Remove redundant #if.
4353         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4354         Remove variable.
4355         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4356         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4358         [BZ #18495]
4359         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4360         (__iswlower): Likewise.
4361         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4362         (__iswlower): Likewise.
4363         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4364         instead of towlower.
4365         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4366         instead of iswlower.  Call __towupper instead of towupper.
4367         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4368         instead of iswalnum.
4370 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4372         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4373         errors to stderr.
4375 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4377         [BZ #15661]
4378         [BZ #17322]
4379         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4380         Check for overflow properly.  Check for O_APPEND.  Ignore large
4381         file system block sizes.  Add comments about problems.
4382         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4383         * manual/filesys.texi (Storage Allocation): New node.
4385 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4387         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4388         cancellable syscalls.
4389         (SYS_ify): Add guard to no redefine it.
4390         (INLINE_SYSCALL): Likewise.
4391         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4392         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4393         SYSCALL_CANCEL instead.
4394         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4395         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4396         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4397         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4398         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4399         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4400         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4401         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4402         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4403         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4404         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4405         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4406         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4407         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4408         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4409         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4410         Likewise.
4411         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4412         (__libc_pread64): Likewise.
4413         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4414         (__libc_preadv): Likewise.
4415         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4416         (__libc_readv64): Likewise.
4417         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4418         (__libc_pwrite): Likewise.
4419         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4420         (__libc_pwrite64): Likewise.
4421         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4422         (__libc_pwritev): Likewise.
4423         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4424         (__libc_pwritev64): Likewise.
4425         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4426         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4427         (sync_file_range): Likewise.
4428         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4429         Likewise.
4430         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4431         Likewise.
4432         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4433         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4434         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4435         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4436         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4437         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4438         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4439         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4441         Likewise.
4442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4443         (__libc_read64): Likewise.
4444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4445         Likewise.
4446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4447         Likewise.
4448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4449         Likewise.
4450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4451         Likewise.
4452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4453         (__libc_pread64): Likewise.
4454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4455         Likewise.
4456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4457         (__libc_pwrite64): Likewise.
4458         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4459         (sync_file_range): Likewise.
4460         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4461         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4462         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4463         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4464         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4465         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4466         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4467         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4468         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4469         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4470         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4471         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4472         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4473         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4474         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4475         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4476         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4477         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4478         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4479         Likewise.
4480         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4481         Likewise.
4482         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4483         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4484         Likewise.
4485         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4486         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4487         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4488         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4489         Likewise.
4490         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4491         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4492         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4493         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4494         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4496 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4498         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4499         Include dl-vdso.
4500         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4501         Use VDSO routines for gettimeofday, clock_gettime if
4502         available.
4503         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4504         Declare VDSO symbols.
4505         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4506         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4507         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4508         * sysdeps/unix/sysv/linux/arm/Versions: Add
4509         __vdso_clock_gettime.
4511 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4513         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4514         be an inline implementation regardless of library is built within.
4515         (open_not_cancel_2): Likewise.
4516         (__read_nocancel): Likewise.
4517         (__write_nocancel): Likewise.
4518         (openat_not_cancel): Likewise.
4519         (openat_not_cancel_3): Likewise.
4520         (openat64_not_cancel): Likewise.
4521         (openat64_not_cancel_3): Likewise.
4522         (__close_nocancel): Likewise.
4523         (pause_not_cancel): Likewise.
4524         (nanosleep_not_cancel): Likewise.
4525         (sigsuspend_not_cancel): Likewise.
4527 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4529         [BZ #14958]
4530         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4531         wake-up.
4532         (__pthread_rwlock_rdlock_slow): Likewise.
4533         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4534         Likewise.
4535         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4536         Likewise.
4537         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4538         * nptl/tst-rwlock16.c: New file.
4539         * nptl/Makefile (tests): Add new test.
4541 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4543         [BZ #18324]
4544         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4545         missing wake-up of readers.
4546         * nptl/tst-rwlock15.c: New file.
4547         * nptl/Makefile (tests): Add new test.
4549 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4551         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4552         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4553         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4554         and __nacl_supply_interface_rtld.
4555         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4556         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4557         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4558         Add __nacl_supply_interface_rtld.
4559         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4561 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4563         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4564         isfinite.
4565         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4566         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4568 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4570         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4571         __signbit* with standard C99 macros.
4572         * math/e_exp10l.c: Likewise.
4573         * math/e_exp2l.c: Likewise.
4574         * math/e_scalb.c: Likewise.
4575         * math/e_scalbf.c: Likewise.
4576         * math/e_scalbl.c: Likewise.
4577         * math/s_ldexp.c: Likewise.
4578         * math/s_ldexpf.c: Likewise.
4579         * math/s_ldexpl.c: Likewise.
4580         * math/w_atan2.c: Likewise.
4581         * math/w_atan2f.c: Likewise.
4582         * math/w_atan2l.c: Likewise.
4583         * math/w_cosh.c: Likewise.
4584         * math/w_coshf.c: Likewise.
4585         * math/w_coshl.c: Likewise.
4586         * math/w_exp10.c: Likewise.
4587         * math/w_exp10f.c: Likewise.
4588         * math/w_exp10l.c: Likewise.
4589         * math/w_exp2.c: Likewise.
4590         * math/w_exp2f.c: Likewise.
4591         * math/w_exp2l.c: Likewise.
4592         * math/w_fmod.c: Likewise.
4593         * math/w_fmodf.c: Likewise.
4594         * math/w_fmodl.c: Likewise.
4595         * math/w_hypot.c: Likewise.
4596         * math/w_hypotf.c: Likewise.
4597         * math/w_hypotl.c: Likewise.
4598         * math/w_jnl.c: Likewise.
4599         * math/w_lgamma.c: Likewise.
4600         * math/w_lgamma_r.c: Likewise.
4601         * math/w_lgammaf.c: Likewise.
4602         * math/w_lgammaf_r.c: Likewise.
4603         * math/w_lgammal.c: Likewise.
4604         * math/w_lgammal_r.c: Likewise.
4605         * math/w_pow.c: Likewise.
4606         * math/w_powf.c: Likewise.
4607         * math/w_powl.c: Likewise.
4608         * math/w_remainder.c: Likewise.
4609         * math/w_remainderf.c: Likewise.
4610         * math/w_remainderl.c: Likewise.
4611         * math/w_scalb.c: Likewise.
4612         * math/w_scalbf.c: Likewise.
4613         * math/w_scalbl.c: Likewise.
4614         * math/w_scalbln.c: Likewise.
4615         * math/w_scalblnf.c: Likewise.
4616         * math/w_scalblnl.c: Likewise.
4617         * math/w_sinh.c: Likewise.
4618         * math/w_sinhf.c: Likewise.
4619         * math/w_sinhl.c: Likewise.
4620         * math/w_tgamma.c: Likewise.
4621         * math/w_tgammaf.c: Likewise.
4622         * math/w_tgammal.c: Likewise.
4623         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4624         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4625         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4626         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4627         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4628         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4629         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4630         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4631         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4632         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4633         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4634         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4635         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4636         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4637         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4638         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4639         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4640         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4641         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4642         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4643         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4644         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4645         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4646         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4647         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4648         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4649         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4650         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4651         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4652         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4653         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4654         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4655         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4656         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4657         * stdio-common/printf_fp.c: Likewise.
4658         * stdio-common/printf_fphex.c: Likewise.
4659         * stdio-common/printf_size.c: Likewise.
4661 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4663         [BZ #18470]
4664         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4665         strnlen.
4666         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4667         Remove variable.
4668         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4669         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4670         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4671         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4672         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4673         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4674         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4675         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4676         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4677         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4679         [BZ #18468]
4680         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4681         weak alias of __wmemchr.  Use libc_hidden_weak.
4682         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4683         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4684         instead of wmemchr.
4686 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4688         [BZ #18383]
4689         * elf/tst-tlsalign-extern.c: New file.
4690         * elf/tst-tlsalign-extern-static.c: New file.
4691         * elf/tst-tlsalign-vars.c: New file.
4692         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4693         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4694         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4695         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4696         (test-xfail-tst-tlsalign-extern-static): New variable.
4698 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4700         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4701         Use variable name _sc_err instead of err.
4702         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4703         instead of ret.
4704         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4705         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4706         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4707         (INLINE_SYSCALL): Likewise.
4709         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4710         * include/string.h (__strnlen): Use libc_hidden_proto.
4711         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4712         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4713         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4714         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4715         (libc_hidden_def): Undefine and redefine.
4716         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4717         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4718         __GI_strnlen.
4719         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4720         libc_hidden_def.
4721         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4723         [BZ #18469]
4724         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4725         weak alias of __towlower.  Use libc_hidden_weak.
4726         (towupper): Rename to __towupper and define as weak alias of
4727         __towupper.  Use libc_hidden_weak.
4728         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4729         (__towupper): Likewise.
4730         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4731         __towlower instead of towlower.
4733 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4735         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4736         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4738 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4740         * sysdeps/aarch64/libm-test-ulps: Update.
4742 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4744         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4745         Define.
4746         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4748         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4749         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4750         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4751         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4752         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4754 2015-06-01  Martin Sebor  <msebor@redhat.com>
4756         [BZ #18116]
4757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4758         (__setcontext): Use extended four-operand version of mtsf whenever
4759         possible.
4760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4761         (__novec_swapcontext): Likewise.
4763 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4765         * benchtests/scripts/compare_bench.py: New file.
4766         * benchtests/scripts/import_bench.py (mean): New function.
4767         (split_list): Likewise.
4768         (do_for_all_timings): Likewise.
4769         (compress_timings): Likewise.
4771         * benchtests/scripts/import_bench.py: New file.
4772         * benchtests/scripts/validate_benchout.py: Import import_bench
4773         instead of jsonschema.
4774         (validate_bench): Remove function.
4775         (main): Use import_bench.
4777 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4779         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4780         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4782 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4786 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4788         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4789         set THREAD_SELF->tid to a magic value and futex-wake it.
4790         Pass its address to the thread_exit system call.
4791         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4792         bit is clear.
4793         * sysdeps/nacl/lowlevellock.h: New file.
4794         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4796         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4797         Add TIMEOUT to current time, don't subtract it.
4799 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4801         [BZ #2981]
4802         [BZ #18422]
4803         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4804         ($(objpfx)tst-audit2.out): Also depend on
4805         $(objpfx)tst-auditmod9b.so.
4806         * elf/tst-audit2.c: Include <dlfcn.h>.
4807         (calloc_called): New.
4808         (calloc): Allow to be called more than once.
4809         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4811 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4813         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4814         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4816 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4818         * stdlib/monetary.h: Fix comment.
4820 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4822         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4823         Avoid using variables in #defines that might cause shadowing.
4824         (INTERNAL_VSYSCALL_CALL): Likewise.
4826 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4828         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4830         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4831         * nptl/lll_timedlock_wait.c: ... to this new file.
4832         * nptl/Makefile (libpthread-routines): Add it.
4833         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4834         * nptl/lll_timedwait_tid.c: ... to this new file.
4835         * nptl/Makefile (libpthread-routines): Add it.
4836         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4837         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4838         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4839         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4840         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4841         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4842         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4843         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4844         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4845         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4847 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4849         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4850         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4851         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4852         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4853         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4854         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4855         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4857         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4858         * sysdeps/unix/sysv/linux/tile/sysdep.h
4859         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4860         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4861         using vDSO syscall macro.
4863 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4865         [BZ #17293]
4866         * uk_UA: Fix sorting order for Ukrainian locale
4868 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4870         * stdlib/monetary.h: Fix comment.
4872 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4874         [BZ #18234]
4875         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4876         st_mtim and st_ctim members.
4877         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4878         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4879         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4880         (struct stat64): Likewise.
4881         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4882         (struct stat64): Likewise.
4883         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4884         (struct stat64): Likewise.
4886 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4888         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4889         Define and include sysdep-vdso.h.
4890         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4891         Likewise.
4892         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4893         Likewise.
4894         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4895         Define with VDSO_SYMBOL and use PTR_MANGLE.
4896         (__vdso_clock_gettime): Likewise.
4897         (__vdso_clock_getres): Likewise.
4898         (_libc_vdso_platform_setup): Likewise.
4899         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4900         Likewise.
4901         (_libc_vdso_platform_setup): Likewise.
4902         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4903         Likewise.
4904         (__vdso_clock_gettime): Likewise.
4905         (__vdso_clock_getres): Likewise.
4906         (__vdso_get_tbfreq): Likewise.
4907         (__vdso_getcpu): Likewise.
4908         (__vdso_time): Likewise.
4909         (__vdso_sigtramp_rt64): Likewise.
4910         (__vdso_signtramp32): Likewise.
4911         (__vdso_sigtramp_rt32): Likewise.
4912         (_libc_vdso_platform_setup): Likewise.
4913         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4914         Likewise.
4915         (__vdso_clock_gettime): Likewise.
4916         (__vdso_clock_getres): Likewise.
4917         (_libc_vdso_platform_setup): Likewise.
4918         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4919         Likewise.
4920         (__vdso_clock_gettime): Likewise.
4921         (_libc_vdso_platform_setup): Likewise.
4922         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4923         Likewise.
4924         (__vdso_getcpu): Likewise.
4925         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4926         Use VDSO_SYMBOL macro to define.
4927         (__vdso_clock_gettime): Likewise.
4928         (__vdso_clock_getres): Likewise.
4929         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4930         Likewise.
4931         (__vdso_clock_gettime): Likewise.
4932         (__vdso_clock_getres): Likewise.
4933         (__vdso_get_tbfreq): Likewise.
4934         (__vdso_getcpu): Likewise.
4935         (__vdso_time): Likewise.
4936         (__vdso_sigtramp_rt64): Likewise.
4937         (__vdso_signtramp32): Likewise.
4938         (__vdso_sigtramp_rt32): Likewise.
4939         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4940         Likewise.
4941         (__vdso_clock_gettime): Likewise.
4942         (__vdso_clock_getres): Likewise.
4943         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4944         Likewise.
4945         (__vdso_clock_gettime): Likewise.
4946         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4947         Likewise.
4948         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4949         macro.
4950         (INTERNAL_VSYSCALL): Likewise.
4951         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4952         Remove macro.
4953         (INTERNAL_VSYSCALL): Likewise.
4954         (INTERNAL_VSYSCALL_NCS): Likewise.
4955         (INTERNAL_VSYSCALL_CALL): New macro.
4956         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4957         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4958         Likewise.
4959         (INTERNAL_VSYSCALL): Likewise.
4960         (INTERNAL_VSYSCALL_NCS): Likewise.
4961         (INTERNAL_VSYSCALL_CALL): New macro.
4962         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4964         (INLINE_VSYSCALL): Remove macro.
4965         (INTERNAL_VSYSCALL): Remove macro.
4966         (INTERNAL_VSYSCALL_NCS): Remove macro.
4967         (INTERNAL_VSYSCALL_CALL): New macro.
4968         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4969         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4970         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4971         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4972         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4974         (INLINE_VSYSCALL): Remove macro.
4975         (INTERNAL_VSYSCALL): Likewise.
4976         (INTERNAL_VSYSCALL_NCS): Likewise.
4977         (INTERNAL_VSYSCALL_CALL): New macro.
4978         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4979         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4980         PTR_DEMANGLE on vDSO pointer.
4981         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4982         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4983         macro.
4984         (INTERNAL_SYSCALL): Likewise.
4985         (INTERNAL_VSYSCALL_NCS): Remove macro.
4986         (INTERNAL_VSYSCALL_CALL): New macro.
4987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4988         Remove macro.
4989         (INTERNAL_VSYSCALL): Likewise.
4990         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4991         sysdep-vdso.h instead of libc-vdso.h.
4992         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4993         definition.
4994         (INLINE_VSYSCALL): Likewise.
4995         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4996         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4997         definition.
4998         (INLINE_VSYSCALL): Likewise.
4999         (INTERNAL_VSYSCALL): Likewise.
5000         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5001         * sysdeps/unix/sysv/linux/timespec_get.c
5002         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5003         (timespec_get): Use ANSI prototype.
5004         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5005         and definition for Linux.
5007 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5009         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5010         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5012 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5014         [BZ #2981]
5015         [BZ #18410]
5016         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5017         for missing DT_PLTRELSZ.
5019 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5021         Remove obsolete aliases that broke 'locale -a'
5022         [BZ #18412]
5023         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5024         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5025         breaking some applications that use 'locale -a' output.
5026         Change the encoding of this file from Latin-1 to ASCII to avoid
5027         other potential problems with people grepping this file.
5029 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5031         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5032         -fasynchronous-unwind-tables.
5033         (CFLAGS-sendto.c): Likewise.
5034         (CFLAGS-sendmsg.c): Likewise.
5035         (CFLAGS-connect.c): Likewise.
5036         (CFLAGS-recvmsg.c): Likewise.
5037         (CFLAGS-recvfrom.c): Likewise.
5038         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5039         (SOCKETCALL): New macro: non-cancellable socketcall.
5040         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5041         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5042         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5043         * sysdeps/unix/sysv/linux/accept.c: New file.
5044         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5045         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5046         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5047         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5048         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5049         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5050         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5051         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5052         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5053         * sysdeps/unix/sysv/linux/send.c: Likewise.
5054         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5055         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5056         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5057         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5058         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5059         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5060         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5061         prototype.
5062         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5063         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5064         instead of __internal_xxx function.
5065         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5066         prototype.
5067         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5068         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5069         instead of __internal_xxx function.
5070         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5071         prototype.
5072         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5073         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5074         instead of __internal_xxx function.
5075         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5076         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5077         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5078         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5079         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5080         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5081         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5082         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5083         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5084         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5085         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5086         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5087         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5088         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5089         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5090         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5091         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5092         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5093         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5094         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5097         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5098         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5099         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5100         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5101         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5102         * sysdeps/unix/sysv/linux/send.S: Likewise.
5103         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5104         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5105         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5106         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5107         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5108         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5109         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5110         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5111         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5112         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5113         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5114         socketcall is implemented in GLIBC.
5116 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5118         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5119         (__fma): Ignore uninitialized warnings around packing.
5120         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5121         (__fmaf): Ignore uninitialized warnings around packing.
5122         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5123         (__fmal): Ignore uninitialized warnings around packing.
5125         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5126         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5127         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5128         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5130         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5131         switch statement into default case.
5132         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5134         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5135         a conditional in forcing "inexact".
5136         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5137         Likewise.
5139 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5141         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5142         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5143         for each INTERNAL_SYSCALL use.
5145 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5147         [BZ #438]
5148         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5149         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5150         variable.
5152         [BZ #18444]
5153         * string/basename.c (basename): Rename to __basename and define as
5154         weak alias of __basename.  Use libc_hidden_weak.
5155         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5156         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5157         __basename instead of basename.
5158         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5159         Remove variable.
5160         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5162 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5164         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5165         (_IO_JUMPS_FILE_plus): New.
5166         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5167         _IO_CAST_FIELD_ACCESS.
5168         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5169         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5170         * libio/freopen.c (freopen): Likewise.
5171         * libio/freopen64.c (freopen64): Likewise.
5172         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5173         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5174         * libio/iofwide.c (_IO_fwide): Likewise.
5175         * libio/memstream.c (open_memstream): Likewise.
5176         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5177         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5178         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5180 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5182         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5183         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5184         NADJ.
5185         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5186         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5187         NADJ.
5188         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5189         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5190         NADJ.
5192         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5193         (p == 4) case.
5195         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5196         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5197         Remove variable.
5198         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5199         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5200         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5202 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5204         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5205         Adjust jump table label generation macros.
5207 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5209         * stdio-common/vfprintf.c (vfprintf): Move local variables
5210         args_malloced, specs, specs_malloced, and the code after
5211         do_positional to the printf_positional function.
5212         (printf_positional): New function.
5214 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5216         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5217         function.
5218         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5219         STEP4_TABLE, process_arg): Move macro definitions
5220         out of the vfprintf function.  (Cosmetic change only.)
5222 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5224         * benchtests/Makefile (stdio-common-bench): Define.
5225         (benchset): Add stdio-common-bench.
5226         * sprintf-inputs: New file.
5227         * sprintf-source.c: New file.
5229 2015-05-21  Andreas Schwab  <schwab@suse.de>
5231         [BZ #13028]
5232         [BZ #17053]
5233         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5234         of struct __res_state.
5235         * resolv/res_send.c (__libc_res_nsend): Likewise.
5236         (get_nsaddr): New function.
5237         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5238         statp directly.
5240 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5242         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5243         -D_POSIX_C_SOURCE=199506L.
5245         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5247         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5248         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5249         Do not mention otherwise.
5250         [POSIX] (_XOPEN_VERSION): Do not expect.
5251         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5252         [POSIX] (_POSIX2_C_BIND): Likewise.
5253         [POSIX] (_POSIX2_VERSION): Likewise.
5254         [POSIX] (_XOPEN_XPG2): Likewise.
5255         [POSIX] (_XOPEN_XPG3): Likewise.
5256         [POSIX] (_XOPEN_XPG4): Likewise.
5257         [POSIX] (_XOPEN_UNIX): Likewise.
5258         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5259         [POSIX] (_POSIX_BARRIERS): Likewise.
5260         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5261         [POSIX] (_POSIX_CPUTIME): Likewise.
5262         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5263         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5264         [POSIX] (_POSIX_SHELL): Likewise.
5265         [POSIX] (_POSIX_SPAWN): Likewise.
5266         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5267         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5268         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5269         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5270         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5271         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5272         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5273         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5274         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5275         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5276         [POSIX] (_POSIX2_PBS): Likewise.
5277         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5278         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5279         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5280         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5281         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5282         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5283         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5284         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5285         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5286         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5287         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5288         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5289         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5290         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5291         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5292         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5293         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5294         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5295         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5296         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5297         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5298         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5299         [POSIX] (_SC_2_C_BIND): Likewise.
5300         [POSIX] (_SC_2_C_VERSION): Likewise.
5301         [POSIX] (_SC_2_PBS): Likewise.
5302         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5303         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5304         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5305         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5306         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5307         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5308         [POSIX] (_SC_BARRIERS): Likewise.
5309         [POSIX] (_SC_BASE): Likewise.
5310         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5311         [POSIX] (_SC_DEVICE_IO): Likewise.
5312         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5313         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5314         [POSIX] (_SC_FD_MGMT): Likewise.
5315         [POSIX] (_SC_FIFO): Likewise.
5316         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5317         [POSIX] (_SC_FILE_LOCKING): Likewise.
5318         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5319         [POSIX] (_SC_IOV_MAX): Likewise.
5320         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5321         [POSIX] (_SC_NETWORKING): Likewise.
5322         [POSIX] (_SC_PAGE_SIZE): Likewise.
5323         [POSIX] (_SC_PASS_MAX): Likewise.
5324         [POSIX] (_SC_PIPE): Likewise.
5325         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5326         [POSIX] (_SC_REGEXP): Likewise.
5327         [POSIX] (_SC_SHELL): Likewise.
5328         [POSIX] (_SC_SIGNALS): Likewise.
5329         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5330         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5331         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5332         [POSIX] (_SC_USER_GROUPS): Likewise.
5333         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5334         [POSIX] (_SC_STREAMS): Likewise.
5335         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5336         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5337         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5338         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5339         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5340         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5341         [POSIX] (_PC_FILESIZEBITS): Likewise.
5342         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5343         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5344         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5345         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5346         [POSIX] (uid_t): Likewise.
5347         [POSIX] (gid_t): Likewise.
5348         [POSIX] (off_t): Likewise.
5349         [POSIX] (pid_t): Likewise.
5350         [POSIX] (cuserid): Allow.
5351         (_SC_2_CHAR_TERM): Require constant.
5352         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5353         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5354         variable.
5356 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5358         * sysdeps/nacl/pthread-pids.h: New file.
5359         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5360         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5362         * nptl/pthread-pids.h: New file.
5363         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5364         * nptl/nptl-init.c: Include <pthread-pids.h>.
5365         (__pthread_initialize_minimal_internal):
5366         Call __pthread_initialize_pids instead of set_tid_address syscall.
5368         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5369         * sysdeps/posix/usleep.c: ... here.
5371 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5373         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5374         call_pselect6 object.
5375         [$(subdir) = io]: Remove call_sync_file_range object.
5376         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5377         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5378         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5379         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5381 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5383         * math/s_cproj.c: Add include "math_private.h".
5384         * math/s_cprojf.c: Likewise.
5385         * math/s_cprojl.c: Likewise.
5387 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5389         [BZ #18244]
5390         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5391         high mantissa bit when testing whether P is a NaN.
5392         * math/libm-test.inc (remainder_test_data): Add more tests.
5393         (remquo_test_data): Likewise.
5395         [BZ #18049]
5396         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5397         below -32, return the argument, with underflow if subnormal.
5398         * math/auto-libm-test-in: Add more tests of atanh.
5399         * math/auto-libm-test-out: Regenerated.
5401 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5403         [BZ #18434]
5404         * nptl/tst-sem15.c: New file.
5405         * nptl/Makefile (tests): Add it.
5406         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5407         s/<</>>/ to fix typo in EOVERFLOW check.
5408         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5410 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5412         * manual/strings.texi (envz_remove): Fix typo in safety
5413         annotations.
5415 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5416             Steve Ellcey  <sellcey@imgtec.com>
5418         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5419         in order to avoid strict alias warnings.
5420         (iruserok_af): Ditto for ra.
5422 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5424         [BZ #17581]
5425         * malloc/hooks.c
5426         (magicbyte): Convert to a function and avoid returning 0x01.
5427         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5428         (mem2chunk_check): Fix unsigned comparisons to zero.
5429         Hoist defs of sz and magic.
5431 2015-05-19  Richard Henderson  <rth@redhat.com>
5433         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5435         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5437 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5439         [BZ #16159]
5440         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5441         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5442         (reused_arena): Find a non-corrupt arena.
5443         (heap_trim): Pass arena to unlink.
5444         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5445         malloc_printerr.
5446         (top_check): Likewise.
5447         (free_check): Likewise.
5448         (realloc_check): Likewise.
5449         * malloc/malloc.c (malloc_printerr): Add arena argument.
5450         (unlink): Likewise.
5451         (munmap_chunk): Adjust.
5452         (ARENA_CORRUPTION_BIT): New macro.
5453         (arena_is_corrupt): Likewise.
5454         (set_arena_corrupt): Likewise.
5455         (sysmalloc): Use mmap if there are no usable arenas.
5456         (_int_malloc): Likewise.
5457         (__libc_malloc): Don't fail if arena_get returns NULL.
5458         (_mid_memalign): Likewise.
5459         (__libc_calloc): Likewise.
5460         (__libc_realloc): Adjust for additional argument to
5461         malloc_printerr.
5462         (_int_free): Likewise.
5463         (malloc_consolidate): Likewise.
5464         (_int_realloc): Likewise.
5465         (_int_memalign): Don't touch corrupt arenas.
5466         * malloc/tst-malloc-backtrace.c: New test case.
5468         * Makefile (summarize-tests): Fix return value on success.
5470         * manual/string.texi (Envz Functions): Add envz_remove.
5472 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5474         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5475         (invalid_name): New function, broken out of ...
5476         (__opendirat): ... here.  Call it.
5477         (need_isdir_precheck): New function, broken out of ...
5478         (__opendirat): ... here.  Call it.
5479         Use __fxstatat64, not __xstatat64.
5480         (opendir_oflags): New function, broken out of ...
5481         (__opendirat): ... here.  Call it.
5482         (opendir_tail): New function, broken out of ...
5483         (__opendirat): ... here.  Call it.
5484         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5485         opendir_tail, rather than punting to __opendirat.
5486         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5488 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5490         * .gitignore: Ignore generated *.pyc.
5492 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5494         * include/stdio.h: Define __need_wint_t.
5495         * test-skeleton.c: Avoid `for' loop initial declaration.
5496         * nptl/tst-initializers1.c: Use test-skeleton.c.
5498 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5500         [BZ #18418]
5501         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5503 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5505         [BZ #16352]
5506         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5507         (__ieee754_atanh): Force underflow exception for results with
5508         small absolute value.
5509         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5510         (__ieee754_atanhf): Force underflow exception for results with
5511         small absolute value.
5512         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5513         (__ieee754_atanh): Force underflow exception for results with
5514         small absolute value.
5515         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5516         (__ieee754_atanhf): Force underflow exception for results with
5517         small absolute value.
5518         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5519         (__ieee754_atanhl): Force underflow exception for results with
5520         small absolute value.
5521         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5522         (__ieee754_atanhl): Force underflow exception for results with
5523         small absolute value.
5524         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5525         (__ieee754_atanhl): Force underflow exception for results with
5526         small absolute value.
5527         * math/auto-libm-test-in: Do not allow missing underflow
5528         exceptions from atanh.
5529         * math/auto-libm-test-out: Regenerated.
5531         [BZ #18221]
5532         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5533         2**-28 as threshold for returning x or +/- 1/x.
5534         * math/auto-libm-test-in: Add more tests of tan.
5535         * math/auto-libm-test-out: Regenerated.
5537         [BZ #18220]
5538         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5539         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5540         * math/auto-libm-test-in: Add another test of lgamma.
5541         * math/auto-libm-test-out: Regenerated.
5543 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5545         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5546         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5547         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5548         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5549         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5550         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5551         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5552         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5553         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5554         (log1): Use fabs.  (my_log2): Use fabs.
5555         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5556         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5557         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5558         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5559         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5560         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5561         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5562         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5563         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5564         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5565         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5567 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5569         [BZ #18217]
5570         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5571         as threshold for returning 1 - x.
5572         * math/auto-libm-test-in: Add more tests of erfc.
5573         * math/auto-libm-test-out: Regenerated.
5575 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5577         [BZ #18196]
5578         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5579         threshold for large arguments.
5580         * math/auto-libm-test-in: Add another test of atan.
5581         * math/auto-libm-test-out: Regenerated.
5583         [BZ #16339]
5584         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5585         (__log1p): Force underflow exception for results with small
5586         absolute value.
5587         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5588         (__log1pf): Force underflow exception for results with small
5589         absolute value.
5590         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5591         (__log1p): Force underflow exception for results with small
5592         absolute value.
5593         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5594         (__log1pf): Force underflow exception for results with small
5595         absolute value.
5596         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5597         (__log1pl): Force underflow exception for results with small
5598         absolute value.
5599         * math/auto-libm-test-in: Do not allow missing underflow
5600         exceptions from log1p.
5601         * math/auto-libm-test-out: Regenerated.
5603 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5604             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5606         [BZ #16704]
5607         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5609 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5611         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5612         (libmvec): New variable.
5613         * configure.ac: Added option for mathvec build.
5614         * configure: Regenerated.
5615         * mathvec/Depend: New file.
5616         * mathvec/Makefile: New file.
5617         * shlib-versions: Added libmvec.
5618         * math/Makefile: Added rule for libm.so installation.
5620         * bits/math-vector.h: New file.
5621         * bits/libm-simd-decl-stubs.h: New header.
5622         * math/Makefile (headers): Added new header
5623         libm-simd-decl-stubs.h.
5624         * math/math.h (__MATHCALL_VEC): New macro.
5626         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5627         for conditions in testing functions.
5628         * math/Makefile: Added call of libm-have-vector-test.sh.
5629         * math/libm-test.inc (HAVE_VECTOR): New macros.
5631         * math/libm-test.inc: START refactored.
5632         * math/test-double.c (TEST_MATHVEC): Add define.
5633         * math/test-float.c: Likewise.
5634         * math/test-idouble.c: Likewise.
5635         * math/test-ifloat.c: Likewise.
5636         * math/test-ildoubl.c: Likewise.
5637         * math/test-ldouble.c: Likewise.
5638         * sysdeps/generic/math-tests-arch.h
5639         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5640         architecture check.
5642         * math/test-double.c (FUNC_TEST): New macro.
5643         * math/test-float.c: Likewise.
5644         * math/test-idouble.c: Likewise.
5645         * math/test-ifloat.c: Likewise.
5646         * math/test-ildoubl.c: Likewise.
5647         * math/test-ldouble.c: Likewise.
5648         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5650 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5652         * sysdeps/nacl/fdopendir.c: New file.
5654         * dirent/scandir-tail.c: New file.
5655         * dirent/scandir64-tail.c: New file.
5656         * dirent/Makefile (routines): Add them.
5657         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5658         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5659         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5660         [!SCANDIR] (SCANDIR_TAIL): New macro.
5661         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5662         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5663         (SCANDIRAT): Macro removed.
5664         (SCANDIR_TAIL): New macro.
5665         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5666         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5667         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5668         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5669         (READDIR): Macro removed.
5670         (SCANDIR_TAIL): New macro.
5671         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5672         (SCANDIR_TAIL): New macro.
5674         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5675         * dirent/scandir-cancel.c: ... to this new file.
5676         * dirent/Makefile (routines): Add it.
5677         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5678         * sysdeps/unix/sysv/linux/i386/scandir64.c
5679         (SKIP_SCANDIR_CANCEL): Macro removed.
5680         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5682         * dirent/tst-scandir.c: New file.
5683         * dirent/tst-scandir64.c: New file.
5684         * dirent/Makefile (tests): Add them.
5686 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5688         [BZ #18409]
5689         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5691 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5693         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5694         list.
5696 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5698         * benchtests/bench-strcoll.c: New benchmark.
5699         * benchtests/Makefile: Generate locales and run benchmark.
5700         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5701         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5702         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5703         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5704         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5705         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5706         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5707         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5708         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5709         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5710         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5711         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5712         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5713         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5714         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5715         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5716         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5717         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5718         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5719         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5720         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5721         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5722         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5723         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5725 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5727         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5728         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5730 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5732         * posix/uname-values.h: New file.
5733         * posix/uname.c: Include that instead of <config-name.h>.
5734         * sysdeps/nacl/uname-values.h: New file.
5735         * sysdeps/arm/nacl/uname-values.h: New file.
5737 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5739         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5740         splitting into fields.
5742 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5744         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5745         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5746         * locale/localeinfo.h: Add enum collation_encoding_type.
5747         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5748         * programs/ld-collate.c (collate_output): Add encoding type info.
5749         * string/strcoll_l.c (STRDIFF): New function.
5750         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5751         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5753 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5755         [BZ #18397]
5756         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5757         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5758         <fpu_control.h> instead of <math/fpu_control.c>.
5759         * sysdeps/mips/mips32/fpu/Makefile: New file.
5761 2015-05-11  Andreas Schwab  <schwab@suse.de>
5763         [BZ #18007]
5764         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5765         nss_endgrent.
5766         (_nss_compat_endgrent): Call nss_endgrent.
5767         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5768         nss_endpwent.
5769         (_nss_compat_endpwent): Call nss_endpwent.
5770         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5771         needent, call nss_setspent only if non-zero.
5772         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5773         (internal_endspent): Don't call nss_endspent.
5774         (_nss_compat_endspent): Call nss_endspent.
5775         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5776         Remove.  All uses removed.
5777         (internal_setent): Remove parameter stayopen, add parameter
5778         stream.  Use it instead of global variable.
5779         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5780         (internal_endent, internal_getent): Add parameter stream.  Use it
5781         instead of global variable.
5782         (CONCAT(_nss_files_end,ENTNAME))
5783         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5784         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5785         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5786         uses removed.
5787         (internal_setent, internal_endent): Add parameter stream.  Use it
5788         instead of global variable.
5789         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5790         stream.
5791         (get_next_alias): Add parameter stream.
5792         (_nss_files_getaliasent_r): Pass global stream.
5793         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5794         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5795         (_nss_files_gethostbyname4_r): Pass local stream to
5796         internal_setent, internal_getent and internal_endent.  Remove
5797         locking.
5799 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5801         * tst-strfmon1.c (tests): Update expected currency symbol.
5803 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5805         * sysdeps/nacl/gethostname.c: New file.
5807 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5809         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5810         and sinh.
5811         * math/auto-libm-test-out: Regenerated.
5812         * sysdeps/i386/fpu/libm-test-ulps: Update.
5813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5815 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5817         [BZ #18125]
5818         * stdlib/tst-setcontext3.c: New file.
5819         * stdlib/tst-setcontext3.sh: New file.
5820         * stdlib/Makefile (tests): Add tst-setcontext3.
5821         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5822         to verify test program created output file.
5823         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5824         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5825         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5826         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5828 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5830         [BZ #18383]
5831         * elf/tst-tlsalign.c: New file.
5832         * elf/tst-tlsalign-static.c: New file.
5833         * elf/tst-tlsalign-lib.c: New file.
5834         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5835         (tests-static): Add tst-tlsalign-static.
5836         (modules-names): Add tst-tlsalign-lib.
5837         (test-xfail-tst-tlsalign): New variable.
5838         (test-xfail-tst-tlsalign-static): New variable.
5840         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5841         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5843 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5845         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5846         csqrt, erfc, sin and sincos.
5847         * math/auto-libm-test-out: Regenerated.
5848         * sysdeps/i386/fpu/libm-test-ulps: Update.
5849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5851 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5853         * sysdeps/aarch64/libm-test-ulps: Update.
5855 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5857         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5858         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5859         * math/auto-libm-test-out: Regenerated.
5860         * sysdeps/i386/fpu/libm-test-ulps: Update.
5861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5863 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5865         [BZ #18265]
5866         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5867         (wcsncpy): Likewise.
5869 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5871         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5872         Assume __ASSUME_FALLOCATE is always true.
5873         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5874         (__posix_fallocate64_l64): Likweise.
5875         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5876         (posix_fallocate): Likewise.
5877         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5878         (__posix_fallocate64_l64): Likewise.
5879         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5880         [!__ASSUME_FALLOCATE]: Add comment.
5882 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5884         * sysdeps/unix/sysv/linux/i386/Makefile
5885         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5886         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5887         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5888         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5889         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5890         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5891         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5893 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5895         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5896         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5897         tgamma.
5898         * math/auto-libm-test-out: Regenerated.
5899         * sysdeps/i386/fpu/libm-test-ulps: Update.
5900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5902 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5904         * math/auto-libm-test-in: Add more tests of tgamma.
5905         * math/auto-libm-test-out: Regenerated.
5906         * sysdeps/i386/fpu/libm-test-ulps: Update.
5907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5909         * math/auto-libm-test-in: Add more tests of tanh.
5910         * math/auto-libm-test-out: Regenerated.
5911         * sysdeps/i386/fpu/libm-test-ulps: Update.
5912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5914         * math/auto-libm-test-in: Add more tests of tan.
5915         * math/auto-libm-test-out: Regenerated.
5916         * sysdeps/i386/fpu/libm-test-ulps: Update.
5917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5919         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5920         * math/auto-libm-test-out: Regenerated.
5921         * sysdeps/i386/fpu/libm-test-ulps: Update.
5922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5924         * math/auto-libm-test-in: Add another test of pow.
5925         * math/auto-libm-test-out: Regenerated.
5926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5928         * math/auto-libm-test-in: Add more tests of lgamma.
5929         * math/auto-libm-test-out: Regenerated.
5930         * sysdeps/i386/fpu/libm-test-ulps: Update.
5931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5933         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5934         log1p.
5935         * math/auto-libm-test-out: Regenerated.
5936         * sysdeps/i386/fpu/libm-test-ulps: Update.
5937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5939 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5941         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5942         Elf64_Chdr structs and ELFCOMPRESS constants.
5944 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5946         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5947         expm1.
5948         * math/auto-libm-test-out: Regenerated.
5949         * sysdeps/i386/fpu/libm-test-ulps: Update.
5950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5952         * math/auto-libm-test-in: Add more tests of erf and erfc.
5953         * math/auto-libm-test-out: Regenerated.
5954         * sysdeps/i386/fpu/libm-test-ulps: Update.
5955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5957 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5959         * config.h.in (HAVE_AARCH64_BE): Add.
5961 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5963         * math/auto-libm-test-in: Add more tests of csqrt.
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         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5969         * math/auto-libm-test-out: Regenerated.
5970         * sysdeps/i386/fpu/libm-test-ulps: Update.
5971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5973         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5975 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5977         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5978         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5980         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5981         (euidaccess, eaccess): Define as weak aliases.
5983         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5984         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5985         but __suseconds_t is often 'long int' so some sources assume that
5986         type is being used (e.g. they use %ld to print tv_usec).
5988 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5990         [BZ #18007]
5991         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5992         (CVE-2014-8121)
5993         * nss/tst-nss-getpwent.c: New file.
5994         * nss/Makefile (tests): Add new test.
5996 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5998         [BZ #18346]
5999         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6000         exponents less than 48 as cases where high part of mantissa needs
6001         examining to determine whether argument is integral.
6002         * math/libm-test.inc (round_test_data): Add more tests.
6004 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6006         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6008 2015-04-27  David S. Miller  <davem@davemloft.net>
6010         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6011         __tls_get_addr.
6012         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6014 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6016         [BZ#18333]
6017         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6019 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6021         [BZ#18333]
6022         * time/tzset.c (parse_tzname): Return error on memory allocation
6023         failure.
6024         * test-skeleton.c (struct temp_name_list): Change type of name
6025         member to non-const.
6026         (add_temp_file): Create a copy of the file name.
6027         (delete_temp_files): Deallocate memory.
6028         (create_temp_file): Add comment.
6030 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6032         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6033         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6035 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6037         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6038         * sysdeps/arm/configure: Regenerated.
6040 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6042         [BZ #17715]
6043         * time/tzfile.c (__tzfile_read): Check for large values of
6044         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6045         * time/tzset.c (__tzstring_len): New function, based on the old
6046         __tzstring function.
6047         (__tzstring): Call __tzstring_len.
6048         (parse_tzname): New helper function extracted from
6049         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6050         the input string.
6051         (parse_offset): New helper function extracted from
6052         __tzset_parse_tz.  Replace switch with fallthrough with
6053         initialization before sscanf.
6054         (parse_rule): Likewise.
6055         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6056         new-style function definition.
6057         * timezone/Makefile (tests): Add tst-tzset.
6058         (tst-tzset.out): Dependencies on time zone files.
6059         (tst-tzset-ENV): Set TZDIR.
6060         (testdata/XT%): Copy crafted time zone files.
6061         * timezone/README: Mention crafted time zone files.
6062         * timezone/testdata/XT1, timezone/testdata/XT2,
6063         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6064         files.
6065         * timezone/tst-tzset.c: New test.
6067 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6069         * Makeconfig (+gccwarn): Remove -Winline.
6071 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6073         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6075 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6077         * NEWS: Mention sysconf() cache information support for s390.
6078         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6080 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6082         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6083         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6084         (__nearbyint): Likewise.
6085         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6086         (copysignl): Likewise.
6088 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6090         [BZ #18287]
6091         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6092         based on padding.  (CVE-2015-1781)
6094 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6096         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6097         libc-vdso.h.
6098         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6099         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6100         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6101         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6102         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6103         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6104         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6105         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6106         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6107         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6108         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6109         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6110         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6111         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6112         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6113         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6114         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6115         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6116         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6117         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6118         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6119         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6120         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6122 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6124         * stdlib/setenv.c (__add_to_environ):
6125         Dump core quickly if setenv (..., NULL, ...) is called.
6126         This time, do it the right way, and pacify GCC with a pragma.
6128 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6130         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6131         IMAP->l_prev cannot be null, and #if out the code for the contrary
6132         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6133         believe that NS (&_dl_ns[NSID]) could point outside the array.
6135         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6136         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6137         before using NSID as an index.
6139 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6141         [BZ #17825]
6142         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6143         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6144         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6146 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6148         Add preliminary port to Google Native Client on ARM.
6149         * abi-tags (.*-.*-nacl.*): New entry.
6150         * sysdeps/arm/nacl: New directory.
6151         * sysdeps/nacl: New directory.
6153 2015-04-16  David S. Miller  <davem@davemloft.net>
6155         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6156         lowlevellock-futex.h
6158 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6160         * sysdeps/tile/configure.ac: New file.
6161         * sysdeps/tile/configure: Regenerated.
6163 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6165         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6166         conditionals for weak_alias and libc_hidden_weak.
6167         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6168         libc_hidden_weak and weak_alias.
6169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6170         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6171         and weak_alias for static one.
6173 2015-04-15  David S. Miller  <davem@davemloft.net>
6175         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6177 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6179         [BZ #18206]
6180         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6181           Use signed comparision instead of substraction to avoid
6182           overflow bug.
6183         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6184           Take the sign of ret.
6185         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6186           Do not expect precise return values. Only the sign matters.
6187         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6188         * wcsmbs/test-wcsncmp.c: New File.
6189         * string/test-strncmp.c: Add wcsncmp support.
6191 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6193         [BZ #6792]
6194         * math/w_log1p.c: New file.
6195         * math/w_log1pf.c: Likewise.
6196         * math/w_log1pl.c: Likewise.
6197         * math/Makefile (libm-calls): Add w_log1p.
6198         * math/s_log1pl.c (log1pl): Remove weak_alias.
6199         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6200         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6201         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6202         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6203         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6204         [NO_LONG_DOUBLE] (log1pl): Likewise.
6205         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6206         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6207         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6208         (log1p): Remove long_double_symbol.
6209         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6210         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6211         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6212         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6213         remove weak_alias for corresponding log1p function.
6214         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6215         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6216         * sysdeps/ia64/fpu/w_log1p.c: New file.
6217         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6218         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6219         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6221 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6223         [BZ #18247]
6224         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6225         decimal exponent by 1.
6226         * stdlib/tst-strtod-round-data: Add more tests.
6227         * stdlib/tst-strtod-round.c (tests): Regenerated.
6229 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6231         * math/auto-libm-test-in: Add more tests of clog and clog10.
6232         * math/auto-libm-test-out: Regenerated.
6233         * sysdeps/i386/fpu/libm-test-ulps: Update.
6234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6236 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6238         * Makeconfig (module-cppflags): Exclude all .v.i files.
6239         (skip-module-cppflags): Variable removed.
6241         * configure.ac (libc_config_ok): Initialize before reading
6242         preconfigure scripts, not after.
6243         * configure: Regenerated.
6245         * test-skeleton.c (TIMEOUT): Move #define to top level.
6246         (main): Grok environment variable TEST_DIRECT.  If set, print
6247         test expectation details into that file and then behave as if
6248         given --direct.
6250 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6252         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6253         warning on 32-bit.
6255 2015-04-08  David S. Miller  <davem@davemloft.net>
6257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6259 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6261         * math/auto-libm-test-in: Add more tests of atanh.
6262         * math/auto-libm-test-out: Regenerated.
6263         * sysdeps/i386/fpu/libm-test-ulps: Update.
6264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6266         * math/auto-libm-test-in: Add more tests of atan.
6267         * math/auto-libm-test-out: Regenerated.
6268         * sysdeps/i386/fpu/libm-test-ulps: Update.
6269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6271 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6273         * elf/pldd.c (main): Rewrite to use struct
6274         scratch_buffer instead of extend_alloca.
6275         * elf/pldd-xx.c (find_maps): Likewise.
6276         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6277         <alloca.h>.
6278         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6279         scratch_buffer instead of extend_alloca.
6280         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6281         grp/compat-initgroups.c.
6282         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6283         Rewrite to use struct scratch_buffer instead of extend_alloca.
6284         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6285         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6287 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6289         * math/auto-libm-test-in: Add more tests of cbrt.
6290         * math/auto-libm-test-out: Regenerated.
6291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6293         * math/auto-libm-test-in: Add more tests of cabs.
6294         * math/auto-libm-test-out: Regenerated.
6295         * sysdeps/i386/fpu/libm-test-ulps: Update.
6296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6298         [BZ #18210]
6299         [BZ #18211]
6300         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6301         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6302         computations.
6303         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6304         clog10.
6305         * math/auto-libm-test-out: Regenerated.
6306         * sysdeps/i386/fpu/libm-test-ulps: Update.
6307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6309         [BZ #18197]
6310         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6311         (atan): Set FE_TONEAREST mode for internal computations.
6312         * math/auto-libm-test-in: Add more tests of atan.
6313         * math/auto-libm-test-out: Regenerated.
6315 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6317         [BZ #17930]
6318         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6320 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6322         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6324 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6326         * include/scratch_buffer.h: New file.
6327         * malloc/scratch_buffer_grow.c: Likewise.
6328         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6329         * malloc/scratch_buffer_set_array_size.c: Likewise.
6330         * malloc/tst-scratch_buffer.c: Likewise.
6331         * malloc/Makefile (routines): Add scratch_buffer_grow.
6332         (tests): Add test case.
6333         * malloc/Versions (GLIBC_PRIVATE): Export
6334         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6335         __libc_scratch_buffer_set_array_size.
6337 2015-04-06  Richard Henderson  <rth@redhat.com>
6339         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6340         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6342         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6343         unsigned int before printing.
6345 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6347         [BZ #17596]
6348         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6349         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6351 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6353         * include/libc-internal.h (libc_max_align_t): Define.
6355 2015-04-02  Andreas Schwab  <schwab@suse.de>
6357         [BZ #16850]
6358         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6360 2015-04-02  Mel Gorman  <mgorman@suse.de>
6362         [BZ #17195]
6363         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6364         as well as the main arena.
6366 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6368         [BZ #18185]
6369         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6370         sharing L2 cache to 2 for Silvermont/Knights Landing.
6372 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6374         [BZ #17711]
6375         * config.make.in (have-protected-data): New.
6376         * configure.ac: Check linker support for protected data symbol.
6377         * configure: Regenerated.
6378         * elf/Makefile (modules-names): Add tst-protected1moda and
6379         tst-protected1modb if $(have-protected-data) is yes.
6380         (tests): Add tst-protected1a and tst-protected1b if
6381         $(have-protected-data) is yes.
6382         ($(objpfx)tst-protected1a): New.
6383         ($(objpfx)tst-protected1b): Likewise.
6384         (tst-protected1modb.so-no-z-defs): Likewise.
6385         * elf/tst-protected1a.c: New file.
6386         * elf/tst-protected1b.c: Likewise.
6387         * elf/tst-protected1mod.h: Likewise.
6388         * elf/tst-protected1moda.c: Likewise.
6389         * elf/tst-protected1modb.c: Likewise.
6391 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6393         [BZ #17711]
6394         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6395         indicates it is called from do_lookup_x on relocation against
6396         protected data, skip the data definion in the executable from
6397         copy reloc.
6398         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6399         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6400         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6401         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6402         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6403         otherwise to 0.
6404         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6405         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6406         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6407         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6408         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6409         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6411 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6413         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6414         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6416 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6418         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6419         THREAD_SETMEM_NC.
6420         * sysdeps/x86_64/nptl/tls.h: Ditto.
6422 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6424         * dlfcn/tststatic.c (main): Converted to ...
6425         (do_test): ... this.
6426         (TEST_FUNCTION): New macro.
6427         Include test-skeleton.c.
6429 2015-03-26  Alan Modra  <amodra@gmail.com>
6431         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6432         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6433         zero for undefined weak.
6434         (elf_machine_plt_conflict): Similarly.
6436 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6438         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6439         atanh.
6440         * math/auto-libm-test-out: Regenerated.
6441         * sysdeps/i386/fpu/libm-test-ulps: Update.
6442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6444         * math/auto-libm-test-in: Add another test of asin.
6445         * math/auto-libm-test-out: Regenerated.
6446         * sysdeps/i386/fpu/libm-test-ulps: Update.
6447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6449         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6450         Remove macro.
6451         (LLL_EBX_REG): Likewise.
6452         (LLL_ENTER_KERNEL): Likewise.
6454         * math/auto-libm-test-in: Add more tests of asin.
6455         * math/auto-libm-test-out: Regenerated.
6456         * sysdeps/i386/fpu/libm-test-ulps: Update.
6457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6459         [BZ #18138]
6460         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6461         libc_do_syscall_args): New structure.
6462         (INTERNAL_SYSCALL_MAIN_0): New macro.
6463         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6464         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6465         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6466         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6467         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6468         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6469         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6470         Replace conditional definitions by conditional definitions of ....
6471         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6472         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6473         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6474         (libpthread-sysdep_routines): Add libc-do-syscall.
6475         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6476         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6477         to __NR_futex not 240.
6479 2015-03-25  Alan Modra  <amodra@gmail.com>
6481         * NEWS: Advertise TLS optimization.
6482         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6483         (DT_PPC_NUM): Increment.
6484         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6485         (CHECK_STATIC_TLS): Use here.
6486         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6487         TLS descriptors.
6488         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6489         * sysdeps/powerpc/dl-tls.c: New file.
6490         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6491         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6492         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6493         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6498 2015-03-25  Alan Modra  <amodra@gmail.com>
6500         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6501         for overlapping .opd entries" to "support...".
6502         * sysdeps/powerpc/powerpc64/configure: Regenerate
6504 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6506         * math/auto-libm-test-in: Add more tests of acos.
6507         * math/auto-libm-test-out: Regenerated.
6508         * sysdeps/i386/fpu/libm-test-ulps: Update.
6509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6511         * math/auto-libm-test-in: Add more tests of expm1.
6512         * math/auto-libm-test-out: Regenerated.
6513         * sysdeps/i386/fpu/libm-test-ulps: Update.
6514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6516 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6518         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6519         * math/auto-libm-test-out: Regenerated.
6520         * sysdeps/i386/fpu/libm-test-ulps: Update.
6521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6523         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6526         * math/auto-libm-test-in: Add more tests of log2.
6527         * math/auto-libm-test-out: Regenerated.
6528         * sysdeps/i386/fpu/libm-test-ulps: Update.
6529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6531 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6533         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6534         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6535         _IO_IS_APPENDING bit in READ_WRITE instead.
6537 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6539         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6540         (__determine_cpumask_size): Replace extend_alloca with a
6541         variable-length array.  Do not treat res == 0 as an error.
6543 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6545         [BZ #18100]
6546         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6547         and integer overflow.
6548         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6549         (main): Add integer overflow tests.
6550         * manual/pattern.texi (Calling Wordexp): Document additional use
6551         for WRDE_SYNTAX.
6553 2015-03-23  Alan Modra  <amodra@gmail.com>
6555         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6556         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6557         and false branch of conditional.
6558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6559         Likewise.
6561 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6563         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6564         libc-modules.h
6565         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6566         unused declaration of _hurd_intr_rpc_msg_in_trap.
6567         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6568         defined instead of whether it is non-zero.
6569         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6570         input constraint instead of both input and output constraint.  Use ecx
6571         clobber instead of %ecx.
6572         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6573         mutex_unlock): Use a statement expression instead of an expression list.
6574         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6575         type to vm_size_t instead of vm_address_t.
6576         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6577         defined instead of whether it is non-zero.
6578         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6579         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6580         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6581         comparisons with mapaddr.
6582         * nscd/nscd-client.h: Include <time.h>.
6583         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6584         9th parameter to __vm_region instead of int.
6585         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6586         * scripts/check-local-headers.sh (exclude): Add device/,
6587         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6588         cthreads.h.
6590 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6592         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6593         to account for alignment padding.
6594         * sysdeps/arm/memmove.S: Likewise.
6596 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6598         * sysdeps/unix/sysv/linux/generic/README: New file.
6600 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6602         [BZ #18138]
6603         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6604         (futex_abstimed_wait)
6605         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6606         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6607         of lll_futex_timed_wait.
6609 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6611         [BZ #17542]
6612         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6614 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6616         [BZ #17090]
6617         [BZ #17620]
6618         [BZ #17621]
6619         [BZ #17628]
6620         * NEWS: Update.
6621         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6622         entries with Static TLS too.  Skip entries past the end of the
6623         allocated DTV, from Alan Modra.
6624         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6625         Static TLS DTV entry set up from...
6626         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6627         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6628         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6629         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6630         for Static TLS.
6631         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6632         that the slot we find is associated with the given map before
6633         using its generation count.
6634         * nptl_db/db_info.c: Include ldsodefs.h.
6635         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6636         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6637         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6638         (link_map::l_tls_offset): New struct field.
6639         (dtv_t::counter): Likewise.
6640         (rtld_global): New struct.
6641         (_rtld_global): New rtld variable.
6642         (dl_tls_dtv_slotinfo_list): New rtld global field.
6643         (dtv_slotinfo_list): New struct.
6644         (dtv_slotinfo): Likewise.
6645         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6646         (td_lookup): Rename to...
6647         (td_mod_lookup): ... this.  Use new mod parameter instead of
6648         LIBPTHREAD_SO.
6649         * nptl_db/td_thr_tlsbase.c: Include link.h.
6650         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6651         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6652         addresses even if the DTV is out of date or missing them.
6653         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6654         index zero-length arrays.
6655         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6656         (td_lookup): Make it a macro implemented in terms of...
6657         (td_mod_lookup): ... this declaration.
6658         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6659         (DB_MAIN_VARIABLE): Likewise.
6661 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6663         [BZ #18134]
6664         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6666 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6668         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6670 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6672         [BZ #18128]
6673         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6674         (atomic_add, atomic_increment_and_test)
6675         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6677 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6679         * stdlib/setenv.c (__add_to_environ):
6680         Dump core quickly if setenv (..., NULL, ...) is called.
6682 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6684         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6685         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6686         all the necessary asm magic in one place.
6687         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6688         using those.
6690 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6692         [BZ #14906]
6693         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6694         traced file mtime. Use consistent log message.
6695         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6696         (register_traced_file): Call install_watches. Always set mtime.
6697         (invalidate_cache): Iterate over all trace files. Call install_watches.
6698         (inotify_check_files): Don't inline. Handle watching parent
6699         directories and configuration file movement in and out.
6700         (handle_inotify_events): New function.
6701         (main_loop_poll): Call handle_inotify_events.
6702         (main_loop_epoll): Likewise.
6703         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6704         (struct traced_file): Use array of inotify fds. Add parent directory,
6705         and basename.
6706         (struct database_dyn): Remove unused file_mtime.
6707         (init_traced_file): New inline function.
6708         (define_traced_file): New macro.
6709         * nss/nss_db/db-init.c: Use define_traced_file.
6710         (_nss_db_init): Use init_traced_file.
6711         * nss/nss_files/files-init.c: Use define_traced_file.
6712         (_nss_files_init): Use init_traced_file.
6714 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6716         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6717         [_LIBC]: Do not include <stdlib.h>.
6718         [!_LIBC] (abort): Remove declaration.
6719         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6720         _FP_STATIC_ASSERT instead of conditionally calling abort.
6721         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6722         (_FP_EXTEND_CNAN): Likewise.
6723         (FP_TRUNC): Likewise.
6724         (__FP_CLZ): Likewise.
6725         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6727 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6729         * manual/string.texi (XPG basename): Fix prototype.
6731 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6733         [BZ #18080]
6734         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6735         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6736         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6737         (__setcontext): Likewise.
6738         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6739         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6740         Call rt_sigprocmask syscall one time to set new signal mask
6741         and retrieve the current signal mask instead of two calls.
6742         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6743         (__swapcontext): Likewise.
6744         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6745         * stdlib/tst-setcontext2.c: New file.
6747 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6749         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6751 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6753         [BZ #18093]
6754         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6755         the wrong size.
6757 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6759         [BZ #18043]
6760         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6762 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6764         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6765         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6766         Remove define.
6767         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6768         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6769         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6770         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6771         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6772         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6773         define.
6774         * nptl_db/td_symbol_list.c (td_lookup): Remove
6775         HAVE_ASM_GLOBAL_DOT_NAME code.
6776         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6777         HAVE_ASM_GLOBAL_DOT_NAME check.
6778         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6779         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6780         (DOT_LABEL): Remove define.
6781         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6782         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6783         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6784         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6785         (__TLS_GET_ADDR): Likewise.
6786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6787         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6789 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6791         [BZ #18111]
6792         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6793         (_FPU_SETCW): Initialize cw from fpsr before storing.
6794         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6795         (fesetexceptflag): Rewrite using fpu_control.h.
6796         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6798 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6800         [BZ #18110]
6801         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6802         asms.
6803         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6805 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6807         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6808         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6809         abort.
6810         (_FP_FMA): Likewise.
6811         (_FP_DIV): Likewise.
6813 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6815         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6816         with 0 in that case.
6817         * Makefile (summarize-tests): New canned sequence, factored out of
6818         commands for targets tests and xtests.  Display summary lines that
6819         don't start with PASS: or XFAIL: rather than ones that do start with
6820         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6821         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6822         do start with ERROR: or FAIL:.
6823         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6824         (except for [$(build-shared) = yes]).
6825         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6826         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6827         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6828         * nptl/Makefile: Revert 2015-03-04 changes.
6829         [$(CXX) empty] (tests-unsupported): New variable.
6830         * debug/Makefile: Likewise.
6832         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6833         gnulib file.  Replace __attribute with __attribute__ throughout.
6835 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6837         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6839 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6841         [BZ #18104]
6842         * math/auto-libm-test-in: Add another test of pow.
6843         * math/auto-libm-test-out: Regenerated.
6845 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6847         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6848         $(config-cflags-nofma).
6850 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6852         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6853         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6854         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6855         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6856         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6857         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6858         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6859         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6860         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6861         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6862         Add comment on closing #endif.
6864 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6866         * posix/wordexp.c (CHAR_IN_SET): New macro.
6867         (parse_param): Use it.
6869 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6871         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6873 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6875         [BZ #18043]
6876         * posix/wordexp.c (parse_param): Fix buffer overflow.
6877         * posix/wordexp-test.c (test_case): Add test case.
6879 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6881         [BZ #18042]
6882         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6883         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6885 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6887         [BZ #18043]
6888         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6889         (do_bz18043): Delete.
6890         (at_page_end): New.
6891         (testit): Refactor to have words at the edge of unreadable page.
6893 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6895         [BZ #16734]
6896         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6897         Cleanup read-only streams as well.
6898         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6900 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6902         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6903         <bits/libc-lockP.h>
6905 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6907         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6908         on [__KERNEL__].
6909         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6910         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6911         * soft-fp/op-common.h (_FP_DECL): Likewise.
6913 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6915         * elf/ifuncdep2.c (global): Replace
6916         __attribute__((visibility("protected"))) with
6917         asm (".protected global").
6918         * elf/ifuncmod1.c (global): Likewise.
6919         * elf/ifuncmod5.c (global): Likewise.
6921 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6923         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6924         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6926 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6928         * manual/install.texi (Configuring and compiling):
6929         Document test-wrapper-env-only.
6930         * INSTALL: Regenerated.
6932 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6934         [BZ #18043]
6935         * posix/wordexp.c (parse_param): Fix buffer overflow.
6936         * posix/wordexp-test.c (do_bz18043): Add test case.
6938 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6940         * time/tst-strptime2.c (do_test): Ensure failing tests are
6941         reported correctly.
6942         * time/tst-strptime3.c (do_test): Likewise.
6944 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6946         Fix aio_error thread-safety.
6947         * sysdeps/pthread/aio_error.c: New file
6948         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6949         synchronization.
6951 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6953         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6954         (group_number, vfprintf): Use it.
6955         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6956         (JUMP, REF): Use it.
6957         (WORK_BUFFER_SIZE): New enum constant.
6958         (process_arg, vfprintf): Use it.
6960 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6962         * manual/errno.texi (Error Messages): Complete example function
6963         by adding missing #define.
6964         (program_invocation_name): Add statement indicating GNU
6965         extension and reference which header file declares the variable.
6966         (program_invocation_short_name): Likewise.
6968 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6970         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6971         compatibility note.
6973 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6975         * Makeconfig (test-wrapper-env-only): New variable.
6976         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6977         then use that with $(test-wrapper-env-only) rather than using
6978         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6980 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6982         [BZ #18082]
6983         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6984         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6985         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6986         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6987         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6988         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6989         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6990         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6991         Likewise.
6992         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6993         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6994         Likewise.
6995         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6996         Likewise.
6997         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6998         Likewise.
6999         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7000         Likewise.
7001         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7002         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7003         Likewise.
7004         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7005         Likewise.
7006         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7007         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7009 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7011         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7012         (ETH_ALEN): New macro.
7013         (struct ether_addr): Use it for length of ether_addr_octet.
7015         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7016         (setdb): Don't call __nss_configure_lookup for "rpc".
7017         (do_test): Don't call test_rpc.
7018         (output_rpcent, test_rpc): Functions moved ...
7019         * sunrpc/test-rpcent.c: ... to this new file.
7020         * sunrpc/Makefile (tests): Add it.
7022         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7023         __xpg_sigpause.
7024         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7025         * nptl/tst-signal6.c: Likewise.
7026         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7027         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7029         * configure.ac (libc_cv_cxx_link_ok): New check.
7030         Reset CXX to empty if it fails to link.
7031         * configure: Regenerated.
7032         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7033         bug-atexit3-lib only if $(CXX) is nonempty.
7034         * nptl/Makefile (tests): Likewise for tst-cancel24.
7035         (tests, tests-static): Likewise for tst-cancel24-static.
7036         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7037         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7038         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7039         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7041 2015-03-04  Andreas Schwab  <schwab@suse.de>
7043         [BZ #17631]
7044         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7045         for non-GCC compilers.
7046         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7047         Likewise.
7049 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7051         [BZ #17776]
7052         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7053         integer before bitwise and assembly operations.
7054         (feclearexcept): Likewise.
7055         * math/test-fenvinline.c: New file.
7056         * math/Makefile: Add test-fenvinline test.
7058 2015-03-03  Alan Modra  <amodra@gmail.com>
7060         [BZ #16512]
7061         * scripts/localplt.awk: Strip off symbol version.
7062         * NEWS: Mention bug fix.
7064 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7066         * sysdeps/pthread/timer_routines.c
7067         (timer_free_list, thread_free_list, thread_active_list): Make static.
7069 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7071         [BZ #17779]
7072         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7073         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7074         Undefine.
7075         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7076         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7077         Likewise.
7078         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7079         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7080         Likewise.
7082 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7084         [BZ #18036]
7085         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7086         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7088 2015-03-02  Andreas Schwab  <schwab@suse.de>
7090         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7091         variable name.
7093 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7095         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7096         Return error status.
7098 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7100         [BZ #15969]
7101         * locale/findlocale.c (_nl_find_locale): Introduce const
7102         version of loc_name and drop unsafe type casts.
7104 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7106         * dlfcn/tststatic2.c (main): Converted to ...
7107         (do_test): ... this.
7108         (TEST_FUNCTION): New macro.
7109         Include test-skeleton.c.
7111 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7113         [BZ #17711]
7114         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7115         (tests-pie): Add vismain.
7116         (CFLAGS-vismain.c): New.
7117         * elf/vismain.c: Add comments for PIE requirement.
7119 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7121         [BZ #18046]
7122         [BZ #18047]
7123         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7124         0x1p-56L as threshold for just returning the argument.
7125         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7126         0x1p-32L as threshold for just returning the argument.
7127         * math/auto-libm-test-in: Add more tests of atanh.
7128         * math/auto-libm-test-out: Regenerated.
7129         * sysdeps/i386/fpu/libm-test-ulps: Update.
7130         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7132 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7134         * string/bcopy.c (bcopy): Call memmove for performance.
7136 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7138         * string/bzero.c (__bzero): Call memset for performance.
7140 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7142         [BZ #18068]
7143         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7144         to 00100000.
7146 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7148         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7150 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7152         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7153         (__kernel_standard): Use CSTR macro when setting exc.name.
7154         * sysdeps/ieee754/Makefile [$(subdir) = math]
7155         (CFLAGS-k_standard.c): Remove variable.
7157         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7158         setting p and q from "else if" to "else".
7159         (qzero): Likewise.
7160         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7161         (qone): Likewise.
7162         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7163         (qzerof): Likewise.
7164         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7165         (qonef): Likewise.
7166         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7167         (qzero): Likewise.
7168         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7169         (qone): Likewise.
7171         [BZ #18038]
7172         [BZ #18039]
7173         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7174         return pi/2 for arguments below 0x1p-113L.
7175         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7176         return pi/2 for arguments below 0x1p-106L.
7177         * math/auto-libm-test-in: Add more tests of acos.
7178         * math/auto-libm-test-out: Regenerated.
7180         [BZ #16351]
7181         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7182         (MO): New macro.
7183         (__ieee754_asin): Force underflow exception for results with small
7184         absolute value.
7185         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7186         (MO): New macro.
7187         (__ieee754_asinf): Force underflow exception for results with
7188         small absolute value.
7189         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7190         (__ieee754_asin): Force underflow exception for results with small
7191         absolute value.
7192         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7193         (__ieee754_asinf): Force underflow exception for results with
7194         small absolute value.
7195         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7196         (__ieee754_asinl): Force underflow exception for results with
7197         small absolute value.
7198         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7199         (__ieee754_asinl): Force underflow exception for results with
7200         small absolute value.
7201         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7202         (__ieee754_asinl): Force underflow exception for results with
7203         small absolute value.
7204         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7205         Include <math.h>.
7206         * math/auto-libm-test-in: Do not mark underflow exceptions as
7207         possibly missing for bug 16351.
7208         * math/auto-libm-test-out: Regenerated.
7210         [BZ #18030]
7211         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7212         of power of 2 down when low part has opposite sign.
7213         * math/libm-test.inc (logb_test_data): Add more tests.
7215 2015-02-26  Andreas Schwab  <schwab@suse.de>
7217         [BZ #18032]
7218         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7219         over collating symbol inside a bracket expression.  Minor cleanup.
7220         * posix/tst-fnmatch3.c (do_test): Add test case.
7222 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7224         [BZ #18029]
7225         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7226         Adjust exponent of power of 2 down when low part has opposite
7227         sign.
7228         * math/libm-test.inc (ilogb_test_data): Add more tests.
7230 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7232         [BZ #15969]
7233         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7234         the previous change.
7236         [BZ #15969]
7237         * locale/findlocale.c (_nl_find_locale): Retry archive search
7238         after alias expansion.
7240 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7242         * iconv/tst-iconv3.c (main): Converted to ...
7243         (do_test): ... this.
7244         (TEST_FUNCTION): New macro.
7245         Include test-skeleton.c.
7247         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7248         (convert): Make function static.
7249         (test_unalign): Likewise.  Add const to argument pointee types.
7250         (main): Replace with static function do_test.
7251         Print "Succeeded." only if RET is zero.
7252         (TEST_FUNCTION): New macro.
7253         Include test-skeleton.c.
7255         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7256         returns a null pointer.
7258 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7260         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7261         to __memcpy_ppc only for static builds.
7263 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7265         [BZ #18020]
7266         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7267         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7268         * math/auto-libm-test-in: Add more tests of asinh.
7269         * math/auto-libm-test-out: Regenerated.
7270         * sysdeps/i386/fpu/libm-test-ulps: Update.
7271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7273 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7275         [BZ #15850]
7276         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7277         and ip6_mtuinfo definitions here.
7278         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7279         in this define too.  Update comment.
7281 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7283         * elf/sprof.c (load_shobj): Tweak error message to match others.
7285 2015-02-24  Kevin Easton  <kevin@guarana.org>
7287         [BZ #16145] (partial fix)
7288         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7289         to reduce lock contention.
7291 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7293         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7294         (struct timex): Update time comment.
7295         (ADJ_SETOFFSET): Define.
7297 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7299         [BZ #18019]
7300         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7301         2**56 not 2**28 as threshold for log (2x) formula.
7302         * math/auto-libm-test-in: Add more tests of acosh.
7303         * math/auto-libm-test-out: Regenerated.
7304         * sysdeps/i386/fpu/libm-test-ulps: Update.
7305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7307 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7309         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7310         parenthesis around the buf assignment.
7311         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7313 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7315         [BZ #16783]
7316         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7317         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7318         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7319         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7320         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7321         * math/libm-test.inc (scalb_test_data): Add more tests.
7323 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7325         [BZ #17916]
7326         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7327         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7329 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7331         [BZ #17523]
7332         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7333         * io/bits/fcntl2.h (open): Use it.
7334         (openat): Likewise.
7335         * io/open.c (__libc_open): Likewise.
7336         * io/open64.c (__libc_open64): Likewise.
7337         * io/open64_2.c (__open64_2): Likewise.
7338         * io/open_2.c (__open_2): Likewise.
7339         * io/openat.c (__openat): Likewise.
7340         * io/openat64.c (__openat64): Likewise.
7341         * io/openat64_2.c (__openat64_2): Likewise.
7342         * io/openat_2.c (__openat_2): Likewise.
7343         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7344         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7345         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7346         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7347         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7348         (__open_nocancel): Likewise.
7349         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7350         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7351         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7353 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7355         [BZ #14841]
7356         * resolv/gethnamaddr.c (getanswer): Skip logging if
7357         RES_USE_DNSSEC is set.
7358         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7360 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7362         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7364 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7366         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7367         201304L, for Unicode 7.
7369 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7371         [BZ #17836]
7372         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7373         shared library.  Add gmon-start.os otherwise.
7374         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7375         $(objpfx)gmon-start.os if builing shared library.
7376         ($(objpfx)g$(static-start-installed-name)): Likewise.
7378 2015-02-23  Andreas Schwab  <schwab@suse.de>
7380         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7382 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7384         [BZ #17269]
7385         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7386         (enlarge_userbuf): Likewise.
7388 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7390         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7391         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7392         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7393         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7395 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7397         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7398         expression inside statement expression.
7400 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7402         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7403         <sysdeps/nptl/lowlevellock.h> and remove macros and
7404         functions that are now defined there.
7405         (SYS_futex): Remove.
7406         (lll_compare_and_swap): Remove.
7407         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7409 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7411         [BZ #17999]
7412         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7413         instead of scandirat.
7414         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7415         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7416         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7417         __scandirat.
7418         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7419         (__scandirat): Declare.  Use libc_hidden_proto.
7420         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7421         Remove variable.
7422         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7424 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7426         [BZ #15319]
7427         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7428         (MO): New macro.
7429         (__ieee754_atan2): For results with small absolute value, force
7430         underflow exception and remove excess range and precision from
7431         return value.
7432         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7433         (MO): New macro.
7434         (__ieee754_atan2f): For results with small absolute value, force
7435         underflow exception and remove excess range and precision from
7436         return value.
7437         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7438         (MO): New macro.
7439         (__atan): For results with small absolute value, force underflow
7440         exception and remove excess range and precision from return value.
7441         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7442         (MO): New macro.
7443         (__atanf): For results with small absolute value, force underflow
7444         exception and remove excess range and precision from return value.
7445         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7446         <math.h>.
7447         (__ieee754_atan2): Force underflow exception for results with
7448         small absolute value.
7449         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7450         <math_private.h>.
7451         (atan): Force underflow exception for results with small absolute
7452         value.
7453         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7454         (__atanf): Force underflow exception for results with small
7455         absolute value.
7456         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7457         <math.h>.
7458         (__atanl): Force underflow exception for results with small
7459         absolute value.
7460         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7461         (__atanl): Force underflow exception for results with small
7462         absolute value.
7463         * sysdeps/x86/fpu/bits/mathinline.h
7464         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7465         (__ieee754_atan2): Only define inline for long double.
7466         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7467         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7468         * math/auto-libm-test-in: Do not mark underflow exceptions as
7469         possibly missing for bug 15319.  Add more tests of atan2.
7470         * math/auto-libm-test-out: Regenerated.
7471         * math/libm-test.inc (casin_test_data): Do not mark underflow
7472         exceptions as possibly missing for bug 15319.
7473         (casinh_test_data): Likewise.
7474         * sysdeps/i386/fpu/libm-test-ulps: Update.
7476 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7478         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7479         * sysdeps/mips/bits/endian.h: Fix comments.
7481 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7483         [BZ #17996]
7484         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7485         (hdestroy_r): Likewise.
7486         (hsearch_r): Likewise.
7487         (__hcreate_r): Declare and use libc_hidden_proto.
7488         (__hdestroy_r): Likewise.
7489         (__hsearch_r): Likewise.
7490         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7491         (hcreate): Call __hcreate_r instead of hcreate_r.
7492         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7493         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7494         as weak alias of __hcreate_r.
7495         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7496         __hdestroy_r.
7497         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7498         __hsearch_r.
7499         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7500         Remove variable.
7501         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7502         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7503         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7504         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7506 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7508         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7509         arena_lock into a single arena_get.
7511 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7513         * dl-reloc.c: Inlucde libc-internal.h.
7514         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7515         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7516         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7517         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7518         (grow_heap): Likewise.
7519         * malloc/malloc.c: Include libc-internal.h.
7520         (do_check_malloc): Call powerof2.
7521         (sysmalloc): Use pagesize. Call ALIGN_UP.
7522         (systrim): Use pagesize.
7523         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7524         (__libc_valloc): Use pagesize.
7525         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7527 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7529         [BZ #17991]
7530         * include/sys/resource.h (__getrlimit64): Declare.  Use
7531         libc_hidden_proto.
7532         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7533         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7534         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7535         getrlimit64.
7536         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7537         __getrlimit64.
7538         [!getrlimit64] (getrlimit64): Define as weak alias of
7539         __getrlimit64.  Use libc_hidden_weak.
7540         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7541         using __getrlimit64 not __new_getrlimit64.
7542         (__GI_getrlimit64): Likewise.
7543         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7544         Likewise.
7545         (__GI_getrlimit64): Likewise.
7546         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7548         (getrlimit): Add __getrlimit64 alias.
7549         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7550         Likewise.
7551         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7552         Remove variable.
7553         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7554         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7556 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7558         * libio/fileops.c: Add missing sys/mman.h
7559         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7561 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7563         * manual/math.texi (Errors in Math Functions): Clarify goals
7564         regarding inexact and underflow exceptions.
7566 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7568         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7569         * sysdeps/mips/memset.S: Ditto.
7571 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7573         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7575 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7577         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7578         (__v1longjmp): Remove versioned symbol.
7579         (__v1siglongjmp): Remove alias and versioned symbol.
7580         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7581         (__v2siglongjmp): Likewise.
7583 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7585         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7587 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7589         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7591 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7593         [BZ #17987]
7594         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7595         zero result does not depend on the sign resulting from
7596         subtraction.
7597         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7598         Likewise.
7599         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7600         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7601         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7602         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7603         * math/libm-test.inc (remquo_test_data): Add more tests.
7605 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7607         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7608         Problem reported by J William Piggott.
7610 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7612         [BZ #17978]
7613         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7614         products 4 * y and 2 * y where those would overflow.
7615         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7616         Likewise.
7617         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7618         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7619         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7620         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7621         * math/libm-test.inc (remquo_test_data): Add more tests.
7623         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7625         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7626         [defined _COMPILING_NEWLIB].
7627         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7628         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7630         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7631         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7633 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7635         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7636         acquired.
7638 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7640         [BZ #17792]
7641         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7642         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7643         HOST_STACK_END_ADDR): Likewise.
7645 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7647         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7648         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7649         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7651 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7653         * sysdeps/generic/c++-types.data: New file.
7654         * sysdeps/generic/ld.abilist: New file.
7655         * sysdeps/generic/libBrokenLocale.abilist: New file.
7656         * sysdeps/generic/libanl.abilist: New file.
7657         * sysdeps/generic/libc.abilist: New file.
7658         * sysdeps/generic/libcrypt.abilist: New file.
7659         * sysdeps/generic/libdl.abilist: New file.
7660         * sysdeps/generic/libm.abilist: New file.
7661         * sysdeps/generic/libpthread.abilist: New file.
7662         * sysdeps/generic/libresolv.abilist: New file.
7663         * sysdeps/generic/librt.abilist: New file.
7665 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7667         [BZ #17569]
7668         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7669         Compute absolute value of x as modified by fmod, not original
7670         value of x.
7671         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7672         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7673         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7674         RUN_TEST_ffI_f1_mod8.
7675         (remquo_test_data): Add more tests.
7677 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7679         * sysdeps/init_array/pt-crti.S: New file.
7681 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7683         [BZ #17967]
7684         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7685         __builtin_fmaf instead of relying on contraction of a * b + c.
7687 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7689         [BZ #17969]
7690         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7691         node.
7693 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7695         [BZ #17964]
7696         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7697         __builtin_fma instead of relying on contraction of a * b + c.
7699 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7701         * Makeconfig (ASFLAGS): Add -Werror=undef.
7702         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7703         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7704         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7706         * Makeconfig (after-link): New variable.
7707         (+link-pie, +link-pie-tests): Use it.
7708         (+link-static, +link-static-tests): Likewise.
7709         (+link, +link-tests): Likewise.
7710         * Makerules (build-module, build-module-asneeded): Likewise.
7711         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7712         Likewise.
7713         * elf/Makefile ($(objpfx)ld.so): Likewise.
7715 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7717         [BZ #17965]
7718         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7719         both struct timeval and struct timespec.
7721 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7723         [BZ #16560]
7724         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7725         and redefine.
7726         (__ieee754_exp2l): Do not multiply small fractional parts by
7727         M_LN2l.
7728         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7729         small argument.
7730         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7731         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7732         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7733         * math/auto-libm-test-in: Add more tests of exp2.
7734         * math/auto-libm-test-out: Regenerated.
7736 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7738         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7739         unaligned path.
7741 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7743         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7744         little endian.
7746 2015-02-12  Andreas Schwab  <schwab@suse.de>
7748         [BZ #15790]
7749         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7750         Filter out elision flags from value returned in kind.
7751         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7752         * nptl/tst-pthread-mutexattr.c: New file.
7754 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7756         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7757         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7758         into gnu-gnu, and update comment to refer to abi-tags.
7760 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7762         [BZ #15467]
7763         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7764         (__sincos): Set errno to EDOM for infinite argument.
7765         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7766         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7767         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7768         (__sincosl): Set errno to EDOM for infinite argument.
7769         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7770         (__sincosl): Set errno to EDOM for infinite argument.
7771         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7772         (__sincosl): Set errno to EDOM for infinite argument.
7773         * math/libm-test.inc (sincos_test_data): Test errno setting.
7775 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7777         * string/strxfrm_l.c: Remove #define STRCMP.
7778         * string/strcoll_l.c: Remove #define STRLEN.
7779         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7780         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7782 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7784         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7785         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7786         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7787         * sysdeps/mips/mips64/Makefile: ... here.
7788         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7789         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7790         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7791         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7792         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7793         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7794         * sysdeps/mips/mips64/n64/Implies: Likewise.
7796 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7798         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7799         <sys/time.h>, <string.h>, and <errno.h>.
7800         (dest_offset, dest_address, value, zero): Remove unused variables.
7801         (ldouble): Remove typedef.
7802         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7803         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7804         1).  Fix code style.
7805         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7806         (check): Function removed.
7807         (CHECK): New macro.
7808         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7809         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7810         Don't call set_sigaction_FP and remove_sigaction_FP here.
7811         (ldouble_test): Just use 'long double' as macro argument, no need for
7812         the 'ldouble' typedef.
7813         (do_test): Set up SIGFPE handler at start, using plain signal rather
7814         than sigaction.  Fix code style.
7816 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7818         [BZ #17949]
7819         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7820         jump label.
7822 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7824         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7825         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7827         * sysdeps/powerpc/configure.ac: Remove file.
7828         * sysdeps/powerpc/configure: Likewise.
7830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7831         [sysdep_routines]: Remove wordcopy-power6 object.
7832         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7833         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7834         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7835         (__memmove_ppc32): Likewise.
7836         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7837         file.
7838         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7839         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7840         Remove preprocessor.
7842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7843         [sysdep_routines]: Remove wide chars objects.
7844         [wcsmbs]: New rule for wide char objects.
7846         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7847         Remove wordcopy-power6 obejct.
7848         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7849         Use local call for wordcopy and memcpy symbols.
7850         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7851         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7852         implementation for loader.
7853         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7855         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7856         Remove wordcopy-power7 object.
7857         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7858         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7859         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7860         (_wordcopy_fwd_dest_aligned): Likewise.
7861         (_wordcopy_bwd_aligned): Likewise.
7862         (_wordcopy_bwd_dest_aligned): Likewise.
7864         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7865         Rewrite to call __memmove_ppc instead of include default
7866         implementation.
7868         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7869         Remove wide chars objects.
7870         [wcsmbs]: New rule for wide char objects.
7872 2015-02-09  Andreas Schwab  <schwab@suse.de>
7874         [BZ #17912]
7875         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7876         in terms of __O_DIRECTORY.
7878 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7880         * time/getdate.c: Include <stdbool.h>.
7881         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7882         call PTR_MANGLE.
7883         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7884         PTR_DEMANGLE.
7886 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7888         Add ersatz _Static_assert on older C hosts
7889         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7890         pre-C11 C platform that is not known to support _Static_assert.
7892 2015-02-07  Richard Braun  <rbraun@sceen.net>
7894         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7895         sigstate.
7896         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7898 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7900         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7901         priority against unexistent AIO_PRIO_DELTA_MAX.
7902         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7903         instead of int.
7904         * misc/fchflags.c (fchflags): Likewise.
7905         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7906         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7907         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7908         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7909         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7910         Declare macros.
7911         [__USE_MISC] (chflags, fchflags): Declare functions.
7912         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7913         EINVAL when nfds is greater than FD_SETSIZE.
7914         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7915         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7916         45.
7917         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7918         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7919         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7920         MACH_RCV_TIMED_OUT.
7921         * hurd/hurd/signal.h (_hurd_self_sigstate,
7922         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7923         Explicit casts from void *.
7924         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7925         * abi-tags: Rename gnu-gnu os into gnu.
7927         [BZ #4719]
7928         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7929         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7930         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7931         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7932         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7933         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7935         [BZ #17944]
7936         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7937         duplicates ADDR->sun_path with sockaddr LEN limitation.
7938         * sysdeps/mach/hurd/connect.c: Include <string.h>
7939         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7940         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7941         * sysdeps/mach/hurd/sendto.c: Likewise.
7942         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7943         implementing it by hand.
7945 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7947         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7948         Use sfi_breg on ldr.
7949         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7950         Likewise.
7952         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7953         it's defined.
7954         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7955         Test SIGSETXID only if it's defined.
7957         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7959         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7960         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7962         * nptl/tst-align2.c: Moved ...
7963         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7964         * nptl/Makefile (tests): Remove tst-align2.
7965         * sysdeps/unix/sysv/linux/Makefile
7966         [$(subdir) = nptl] (tests): Add tst-align-clone.
7967         * nptl/tst-getpid1.c: Moved ...
7968         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7969         * nptl/tst-getpid2.c: Moved ...
7970         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7971         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7972         * sysdeps/unix/sysv/linux/Makefile
7973         [$(subdir) = nptl] (tests): ... here.
7974         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7975         * sysdeps/unix/sysv/linux/Makefile
7976         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7978         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7979         Drop trailing \n from perror argument.  Use return rather than exit.
7981         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7982         on [SA_SIGINFO].
7983         * nptl/tst-cancel21.c (do_test): Likewise.
7984         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7985         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7986         [!SA_SIGINFO]: Make it a stub test.
7988         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7989         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7991         * posix/tst-getlogin.c: Move to ...
7992         * login/tst-getlogin.c: ... here.
7993         * posix/Makefile (tests): Move tst-getlogin to ...
7994         * login/Makefile (tests): ... here.
7996         * libio/tst-atime.c (do_test): Move local variables SV and E
7997         inside [ST_NOATIME] conditional.
7999         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8001         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8003         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8004         (wait_code): New function replaces macro.
8005         Call nanosleep rather than syscall.
8007         * nptl/pt-system.c: Rewritten.  Put everything under
8008         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8009         Use IFUNC to redirect when possible.
8011         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8012         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8013         Use IFUNC to redirect when possible.
8015         * nptl/pt-fork.c: Rewritten.  Put everything under
8016         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8017         Use IFUNC to redirect when possible.
8018         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8020         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8021         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8022         unconditionally nowadays.  This included the only reference to
8023         __vdso_clock_gettime that appears outside libc proper.
8024         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8025         Remove version set (containing only __vdso_clock_gettime).
8026         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8027         Add attribute_hidden.
8028         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8029         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8030         libc_hidden_data_def.
8031         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8032         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8034         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8035         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8036         setrpcent, and getrpcport to ...
8037         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8038         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8039         getrpcbynumber_r, and getrpcent_r to ...
8040         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8041         * inet/getrpcbyname.c: Moved ...
8042         * sunrpc/getrpcbyname.c: ... here.
8043         * inet/getrpcbyname_r.c: Moved ...
8044         * sunrpc/getrpcbyname_r.c: ... here.
8045         * inet/getrpcbynumber.c: Moved ...
8046         * sunrpc/getrpcbynumber.c: ... here.
8047         * inet/getrpcbynumber_r.c: Moved ...
8048         * sunrpc/getrpcbynumber_r.c: ... here.
8049         * inet/getrpcent.c: Moved ...
8050         * sunrpc/getrpcent.c: ... here.
8051         * inet/getrpcent_r.c: Moved ...
8052         * sunrpc/getrpcent_r.c: ... here.
8053         * inet/Makefile (routines): Move those to ...
8054         * sunrpc/Makefile (routines): ... here.
8055         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8056         the $(subdirs) list.
8057         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8058         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8059         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8060         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8062         * elf/Makefile (routines): Include $(all-dl-routines), not just
8063         $(dl-routines).
8064         (rtld-routines): Likewise.  Use = rather than :=.
8065         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8066         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8067         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8068         * sysdeps/arm/Makefile: Likewise.
8069         * sysdeps/i386/Makefile: Likewise.
8070         * sysdeps/x86_64/Makefile: Likewise.
8071         * sysdeps/hppa/Makefile [$(subdir) = elf]
8072         (sysdep_routines, sysdep-rtld-routines): Don't add
8073         $(sysdep-dl-routines) to these.
8074         * sysdeps/ia64/Makefile: Likewise.
8075         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8076         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8077         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8078         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8079         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8080         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8081         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8082         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8083         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8084         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8085         these; sysdep-dl-routines alone is enough.
8087 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8089         [BZ #17932]
8090         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8091         where multiplication results in zero and third argument is finite
8092         and nonzero.
8093         * math/auto-libm-test-in: Add more tests of fma.
8094         * math/auto-libm-test-out: Regenerated.
8096         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8097         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8098         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8099         (_FP_CMP_EQ): Likewise.
8100         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8102         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8103         extra argument CHECK_NAN.  Redefine as wrapper around
8104         _FP_EXTEND_CNAN.
8106 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8108         * version.h (RELEASE): Set to "stable".
8109         (VERSION): Set to "2.21"
8110         * include/features.h (__GLIBC_MINOR__): Set to 21.
8112         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8114 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8115             Paul Eggert  <eggert@cs.ucla.edu>
8117         [BZ #16618]
8118         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8119         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8120         size in bytes. Store needed elements in wpmax. Use needed size
8121         in bytes for extend_alloca.
8123 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8125         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8126         binutls 2.25, and texinfo 5.2.
8127         * INSTALL: Regenerate.
8128         * sysdeps/nios2/configure: Regenerate.
8129         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8130         * manual/contrib.texi: Update.
8131         * po/be.po: Update.
8132         * po/bg.po: Update.
8133         * po/ca.po: Update.
8134         * po/cs.po: Update.
8135         * po/da.po: Update.
8136         * po/de.po: Update.
8137         * po/el.po: Update.
8138         * po/eo.po: Update.
8139         * po/es.po: Update.
8140         * po/fi.po: Update.
8141         * po/fr.po: Update.
8142         * po/gl.po: Update.
8143         * po/hr.po: Update.
8144         * po/hu.po: Update.
8145         * po/ia.po: Update.
8146         * po/id.po: Update.
8147         * po/it.po: Update.
8148         * po/ja.po: Update.
8149         * po/ko.po: Update.
8150         * po/lt.po: Update.
8151         * po/nb.po: Update.
8152         * po/nl.po: Update.
8153         * po/pl.po: Update.
8154         * po/pt_BR.po: Update.
8155         * po/ru.po: Update.
8156         * po/rw.po: Update.
8157         * po/sk.po: Update.
8158         * po/sl.po: Update.
8159         * po/sv.po: Update.
8160         * po/tr.po: Update.
8161         * po/uk.po: Update.
8162         * po/vi.po: Update.
8163         * po/zh_CN.po: Update.
8164         * po/zh_TW.po: Update.
8166         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8167         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8168         * sysdeps/hppa/dl-irel.h: Remove #warning.
8169         * sysdeps/hppa/entry.h: Provide prototype for
8170         __canonicalize_funcptr_for_compare and cast argument.
8171         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8172         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8173         * sysdeps/hppa/sotruss-lib.c: New file.
8174         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8175         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8176         (atomic_compare_and_exchange_bool_acq): Likewise.
8177         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8178         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8180         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8181         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8182         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8184 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8186         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8187         called function in non-PIC case.
8189 2015-01-31  David S. Miller  <davem@davemloft.net>
8191         * sysdeps/sparc/sparc32/bits/atomic.h
8192         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8193         unlock not after it.
8194         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8195         volatile register usage warnings from the compiler.
8197         * sysdeps/sparc/nptl/sem_init.c: Delete.
8198         * sysdeps/sparc/nptl/sem_post.c: Delete.
8199         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8200         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8201         * sysdeps/sparc/sparc32/sem_init.c: New file.
8202         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8203         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8204         padding explicitly initialized.
8205         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8206         padding for in-semaphore spinlock.
8207         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8208         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8209         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8210         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8211         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8212         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8213         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8214         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8215         version.
8216         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8217         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8219 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8221         [BZ #17801]
8222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8223         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8224         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8225         New.
8226         (index_AVX_Fast_Unaligned_Load): Likewise.
8227         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8228         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8229         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8230         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8231         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8232         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8233         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8234         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8235         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8237 2015-01-29  Andreas Schwab  <schwab@suse.de>
8239         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8241 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8243         [BZ #17892]
8244         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8246 2015-01-28  Martin Sebor  <msebor@redhat.com>
8248         * math/README.libm-test: Clarify. Add "How to read the test output."
8250 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8252         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8253         Define to 0.
8255 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8257         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8258         (__HAVE_64B_ATOMICS): Define to 0.
8260 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8262         [BZ #17885]
8263         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8264         value to set as new flag.
8266         [BZ #16576]
8267         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8268         and use _ARCH_PPCSQ instead.
8269         (__ieee754_sqrt): Likewise.
8270         (__ieee754_sqrtf): Likewise.
8271         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8272         _ARCH_PPCSQ is defined.
8273         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8274         fsqrt instruction.
8275         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8276         _ARCH_PPCSQ is defined.
8277         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8278         fsqrts instruction.
8279         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8281 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8283         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8284         bug (GCC BZ #64739).
8286 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8288         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8289         Mark _retval as used.
8290         (lll_futex_wake_unlock): Likewise.
8291         (lll_futex_timed_wait_requeue_pi): Likewise.
8293         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8294         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8295         register variables.
8297         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8298         libm_hidden_def.
8300         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8301         (__bswap_64): Mark as __always_inline.
8303 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8305         [BZ #15378]
8306         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8307         when none of the search directories exist.
8309 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8311         [BZ #17869]
8312         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8313         power8 in .machine directive.
8315         [BZ #17868]
8316         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8317         set dependency from opd value.
8319 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8322         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8323         architecture.
8325 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8327         [BZ #17870]
8328         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8329         with uint64_t.
8330         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8331         (uint64_t) 1.
8332         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8333         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8334         Replace 1UL with (uint64_t) 1.
8335         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8336         int with uint64_t.
8338 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8340         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8341         (if_freenameindex): Likewise.
8343         * resource/getrlimit64.c: Add missing libc_hidden_def.
8345 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8347         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8348         __label__.
8349         (_FP_FMA): Likewise.
8350         (_FP_TO_INT_ROUND): Likewise.
8351         (_FP_FROM_INT): Likewise.
8353 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8355         [BZ #16418]
8356         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8357         Make code racy and cancel safe.
8359 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8361         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8362         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8363         attribution.
8365         * pwd/tst-getpw.c: Rewrite.
8367         [BZ #17702]
8368         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8369         (modules-names): Add moddummy1 and moddummy2.
8370         ($(objpfx)tst-rec-dlopen): Define.
8371         * dlfcn/moddummy1.c: New file.
8372         * dlfcn/moddummy2.c: New file.
8373         * dlfcn/tst-rec-dlopen.c: New file.
8374         * elf/dl-cache.c (_dl_load_cache_lookup):
8375         Return char*. Copy result with alloca/strcpy/strdup.
8376         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8377         returns char*. Free cached. If not saving realname
8378         free cached.
8379         * elf/dl-open.c (dl_open_worker): Do not assert that
8380         _r_debug->r_state is RT_CONSISTENT.
8381         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8382         returns char*.
8384 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8385             Carlos O'Donell  <carlos@redhat.com>
8387         [BZ #12674]
8388         * nptl/sem_waitcommon.c: New file.
8389         * nptl/sem_wait.c: Include sem_waitcommon.c.
8390         (__sem_wait_cleanup, do_futex_wait): Remove.
8391         (__new_sem_wait): Adapt.
8392         (__new_sem_trywait): New function.
8393         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8394         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8395         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8396         (sem_timedwait): Adapt.
8397         * nptl/sem_post.c (__new_sem_post): Adapt.
8398         (futex_wake): New function.
8399         (__old_sem_post): Add release MO fence.
8400         * nptl/sem_open.c (sem_open): Adapt.
8401         * nptl/sem_init.c (__new_sem_init): Adapt.
8402         (futex_private_if_supported): New function.
8403         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8404         (__old_sem_getvalue): Add using previous code.
8405         * sysdeps/nptl/internaltypes.h: Adapt.
8406         * nptl/tst-sem13.c (do_test): Adapt.
8407         * nptl/tst-sem11.c (main): Adapt.
8408         * nptl/sem_trywait.c: Remove.
8409         * nptl/DESIGN-sem.txt: Remove.
8410         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8411         (gen-as-const-headers): Remove structsem.sym.
8412         * nptl/structsem.sym: Remove.
8413         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8414         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8415         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8416         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8417         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8418         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8419         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8420         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8421         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8422         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8423         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8424         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8425         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8426         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8427         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8428         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8429         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8430         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8431         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8432         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8433         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8434         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8436 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8438         * INSTALL: Regenerated.
8440         * po/libc.pot: Regenerated.
8442 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8443             Sandra Loosemore  <sandra@codesourcery.com>
8444             Andrew Jenner  <andrew@codesourcery.com>
8445             Joseph Myers  <joseph@codesourcery.com>
8446             Nathan Sidwell  <nathan@codesourcery.com>
8448         * NEWS: Mention new Nios II port.
8449         * sysdeps/nios2/Implies: New file.
8450         * sysdeps/nios2/Makefile: New file.
8451         * sysdeps/nios2/Subdirs: New file.
8452         * sysdeps/nios2/Versions: New file.
8453         * sysdeps/nios2/__longjmp.S: New file.
8454         * sysdeps/nios2/abort-instr.h: New file.
8455         * sysdeps/nios2/backtrace.c: New file.
8456         * sysdeps/nios2/bits/endian.h: New file.
8457         * sysdeps/nios2/bits/fenv.h: New file.
8458         * sysdeps/nios2/bits/link.h: New file.
8459         * sysdeps/nios2/bits/setjmp.h: New file.
8460         * sysdeps/nios2/bsd-_setjmp.S: New file.
8461         * sysdeps/nios2/bsd-setjmp.S: New file.
8462         * sysdeps/nios2/configure: New generated file.
8463         * sysdeps/nios2/configure.ac: New file.
8464         * sysdeps/nios2/crti.S: New file.
8465         * sysdeps/nios2/crtn.S: New file.
8466         * sysdeps/nios2/dl-init.c: New file.
8467         * sysdeps/nios2/dl-machine.h: New file.
8468         * sysdeps/nios2/dl-sysdep.h: New file.
8469         * sysdeps/nios2/dl-tls.h: New file.
8470         * sysdeps/nios2/dl-trampoline.S: New file.
8471         * sysdeps/nios2/gccframe.h: New file.
8472         * sysdeps/nios2/gmp-mparam.h: New file.
8473         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8474         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8475         * sysdeps/nios2/ldsodefs.h: New file.
8476         * sysdeps/nios2/libc-tls.c: New file.
8477         * sysdeps/nios2/libm-test-ulps: New file.
8478         * sysdeps/nios2/machine-gmon.h: New file.
8479         * sysdeps/nios2/math-tests.h: New file.
8480         * sysdeps/nios2/math_private.h: New file.
8481         * sysdeps/nios2/memusage.h: New file.
8482         * sysdeps/nios2/nptl/Makefile: New file.
8483         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8484         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8485         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8486         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8487         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8488         * sysdeps/nios2/nptl/tls.h: New file.
8489         * sysdeps/nios2/preconfigure: New file.
8490         * sysdeps/nios2/s_fma.c: New file.
8491         * sysdeps/nios2/s_fmaf.c: New file.
8492         * sysdeps/nios2/setjmp.S: New file.
8493         * sysdeps/nios2/sfp-machine.h: New file.
8494         * sysdeps/nios2/sotruss-lib.c: New file.
8495         * sysdeps/nios2/stackguard-macros.h: New file.
8496         * sysdeps/nios2/stackinfo.h: New file.
8497         * sysdeps/nios2/start.S: New file.
8498         * sysdeps/nios2/sysdep.h: New file.
8499         * sysdeps/nios2/tls-macros.h: New file.
8500         * sysdeps/nios2/tst-audit.h: New file.
8501         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8502         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8503         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8504         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8505         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8506         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8507         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8508         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8509         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8510         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8511         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8512         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8513         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8514         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8515         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8516         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8517         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8518         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8519         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8520         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8521         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8522         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8523         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8524         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8525         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8526         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8527         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8528         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8529         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8530         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8531         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8532         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8533         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8534         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8535         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8536         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8537         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8538         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8539         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8540         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8541         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8542         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8543         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8544         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8546 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8548         [BZ #17844]
8549         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8550         (getutent): Use weak_alias in non SHARED case
8551         and default_symbol_version in SHARED case.
8552         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8553         (getutent_r, pututline): Likewise.
8554         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8555         (getutid): Likewise.
8556         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8557         (getutid_r): Likewise.
8558         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8559         (getutline): Likewise.
8560         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8561         (getutline_r): Likewise.
8562         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8563         (updwtmp): Likewise.
8565 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8567         [BZ #17848]
8568         * sysdeps/s390/s390-32/memcmp.S
8569         (memcmp_g5): Rename to __memcmp_g5.
8570         * sysdeps/s390/s390-32/memcpy.S
8571         (memcpy_g5): Rename to __memcpy_g5.
8572         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8573         (memcpy_mvcle) Rename to __memcpy_mvcle.
8574         * sysdeps/s390/s390-32/memset.S
8575         (memset_g5): Rename to __memset_g5.
8576         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8577         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8578         and use prefixed functions.
8579         * sysdeps/s390/s390-32/multiarch/memcmp.S
8580         (memcmp_z196): Rename to __memcmp_z196.
8581         (memcmp_z10): Rename to __memcmp_z10.
8582         (memcmp): Set alias to __memcmp_g5.
8583         (bcmp): Set alias to __memcmp_g5.
8584         * sysdeps/s390/s390-32/multiarch/memcpy.S
8585         (memcpy_z196): Rename to __memcpy_z196.
8586         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8587         (memcpy_z10): Rename to __memcpy_z10.
8588         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8589         (memcpy): Set alias to __memcpy_g5.
8590         * sysdeps/s390/s390-32/multiarch/memset.S
8591         (memset_z196): Rename to __memset_z196.
8592         Jump to __memset_mvcle instead of memset_mvcle.
8593         (memset_z10): Rename to __memset_z10.
8594         Jump to __memset_mvcle instead of memset_mvcle.
8595         (memset_mvcle) Rename to __memset_mvcle.
8596         (memset): Set alias to __memset_g5.
8597         * sysdeps/s390/s390-64/memcmp.S
8598         (memcmp_z900): Rename to __memcmp_z900.
8599         * sysdeps/s390/s390-64/memcpy.S
8600         (memcpy_z900): Rename to __memcpy_z900.
8601         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8602         (memcpy_mvcle) Rename to __memcpy_mvcle.
8603         * sysdeps/s390/s390-64/memset.S
8604         (memset_z900): Rename to __memset_z900.
8605         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8606         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8607         and use prefixed functions.
8608         * sysdeps/s390/s390-64/multiarch/memcmp.S
8609         (memcmp_z196): Rename to __memcmp_z196.
8610         (memcmp_z10): Rename to __memcmp_z10.
8611         (memcmp): Set alias to __memcmp_z900.
8612         (bcmp): Set alias to __memcmp_z900.
8613         * sysdeps/s390/s390-64/multiarch/memcpy.S
8614         (memcpy_z196): Rename to __memcpy_z196.
8615         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8616         (memcpy_z10): Rename to __memcpy_z10.
8617         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8618         (memcpy): Set alias to __memcpy_z900.
8619         * sysdeps/s390/s390-64/multiarch/memset.S
8620         (memset_z196): Rename to __memset_z196.
8621         Jump to __memset_mvcle instead of memset_mvcle.
8622         (memset_z10): Rename to __memset_z10.
8623         Jump to __memset_mvcle instead of memset_mvcle.
8624         (memset_mvcle) Rename to __memset_mvcle.
8625         (memset): Set alias to __memset_z900.
8627 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8629         [BZ #17748]
8630         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8631         __fesetenv instead of fesetenv.
8633 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8635         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8636         macro.
8638 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8640         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8641         regression on LE.
8643         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8644         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8645         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8646         strncmp-power8 object.
8647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8648         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8649         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8650         * NEWS: Update.
8652 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8653             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8655         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8656         trailing byte check.
8658 2015-01-13  David S. Miller  <davem@davemloft.net>
8660         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8662 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8664         * login/logout.c (logout): Use memset rather than bzero.
8665         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8666         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8667         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8668         (_gethtbyaddr): Likewise.
8669         * locale/programs/simple-hash.c (bcopy): Macro removed.
8671 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8673         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8674         Add strcmp-power8 object.
8675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8676         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8677         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8678         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8679         __strcmp_power8 implementation.
8680         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8681         * NEWS: Update.
8683         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8684         Add strncpy-power8 and stpncpy-power8 objects.
8685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8686         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8687         implementations.
8688         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8689         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8690         __stpncpy_power8 implementation.
8691         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8692         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8693         __strncpy_power8 implementation.
8694         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8695         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8696         * NEWS: Update.
8698         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8699         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8700         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8702         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8703         strncat-power8 object.
8704         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8705         __strcat_power8 implementation.
8706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8707         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8708         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8709         optimized strcat for power8.
8711         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8712         strcpy-power8 and stpcpy-power8 objects.
8713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8714         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8715         implementations.
8716         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8717         multiarch stpcpy implementation for POWER8.
8718         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8719         multiarch strcpy implementation for POWER8.
8720         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8721         __strcpy_power8 function.
8722         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8723         stpcpy for POWER8.
8724         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8725         strcpy for POWER8.
8726         * NEWS: Update.
8728 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8730         [BZ #16009]
8731         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8732         weights and rules. Use do_xfrm_cached if data fits in cache,
8733         do_xfrm otherwise.  Moved former main loop to...
8734         * (do_xfrm_cached): New function.
8735         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8736         find_idx, find_position and stack_push.
8737         * (find_idx): New function.
8738         * (find_position): Likewise.
8739         * localedata/sort-test.sh: Added test run for do_xfrm.
8740         * localedata/xfrm-test.c (main): Added command line option
8741         -nocache to run the test with strings that are too large for
8742         the STRXFRM cache.
8744 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8746         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8747         variable to lll_futex_wake call, not the value itself.
8749 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8751         [BZ #17803]
8752         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8753         twom64.  Adjust value to 0x1p-64L.
8754         (__scalblnl): Only return standard underflowing result for K <=
8755         -64 not K <= -63; adjust exponent for underflowing result by 64
8756         not 63.
8757         * math/libm-test.inc (scalbn_test_data): Add more tests.
8758         (scalbln_test_data): Likewise.
8760         [BZ #17834]
8761         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8762         0x1p63L.
8763         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8764         not HX.
8765         * math/libm-test.inc (scalbn_test_data): Add more tests.
8766         (scalbln_test_data): Likewise.
8768 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8769             Stefani Seibold  <stefani@seibold.net>
8771         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8772         (sysdep_routines): Add dl-vdso here, ...
8773         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8774         (sysdep_routines): ... not here.
8775         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8776         fallback when vDSO is not presented.
8777         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8778         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8779         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8780         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8781         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8782         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8783         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8784         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8785         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8786         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8787         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8788         fallback configurable symbol when vDSO is not available.
8789         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8790         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8791         be able to redefine fallback symbol when vDSO is not available.
8792         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8793         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8795 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8797         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8798         (TLS_INIT_TP): Add tm_capable initialization.
8799         (TLS_DEFINE_INIT_TP): Likewise.
8800         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8801         TCB.
8802         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8803         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8804         calculation.
8805         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8806         transactoion is lock elision is built and TCB tm_capable is set.
8807         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8809         (INTERNAL_SYSCALL_NCS): Likewise.
8810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8811         (INTERNAL_SYSCALL_NCS): Likewise.
8812         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8814         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8815         for powerpc.
8816         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8817         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8818         and remove it for 32 bits case.
8819         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8820         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8821         initialization.
8822         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8823         Disable lock elision with rdlocks if elision is not available.
8825         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8826         (sysdep_routines): Add lock elision objects.
8827         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8828         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8829         [pthread_mutex_t] (__elision): Add field.
8830         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8831         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8832         elision definitions for powerpc.
8833         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8834         implementation of lock elision for powerpc.
8835         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8836         implementation of timed lock elision for powerpc.
8837         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8838         implementation of trylock with lock elision for powerpc.
8839         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8840         implementaion of unlock for lock elision for powerpc.
8841         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8842         automatic enable lock elision for mutexes.
8843         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8844         transaction execution definitions for powerpc.
8845         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8846         definitions.
8847         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8848         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8849         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8850         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8851         * NEWS: Update.
8853 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8855         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8856         for #include of <shm-directory.h>.
8858 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8860         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8861         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8863 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8865         [BZ #17791]
8866         * NEWS: Mention bug fix.
8867         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8868         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8869         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8871 2015-01-09  Torvald Riegel <triegel@redhat.com>
8873         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8875 2015-01-09  Torvald Riegel <triegel@redhat.com>
8877         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8879 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8881         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8882         pointer and cast to uintptr_t.
8884 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8886         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8887         removed.
8888         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8890 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8892         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8893         of 0.
8895 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8897         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8898         <nptl/pthreadP.h> instead.
8899         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8901         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8902         already defined.
8903         [__SIGRTMIN] (init): Function removed.
8904         [__SIGRTMIN] (initialized): Variable removed.
8905         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8906         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8907         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8908         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8909         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8910         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8911         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8912         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8913         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8914         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8915         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8916         * sysdeps/nptl/allocrtsig.c: New file.
8917         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8918         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8919         * sysdeps/generic/testrtsig.h: File removed.
8921         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8922         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8924         * nptl/nptl-init.c (pthread_functions): Conditionalize
8925         .ptr__nptl_setxid initialization on [SIGSETXID].
8927         * sysdeps/nptl/sys/procfs.h: New file.
8928         * nptl_db/Makefile (headers): Add it.
8929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8931         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8932         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8933         * nptl/pthread_attr_setaffinity.c: Include it.
8934         * nptl/pthread_setattr_default_np.c: Likewise.
8935         * nptl/check-cpuset.h: New file.
8937 2015-01-08  Richard Henderson  <rth@redhat.com>
8939         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8940         (CFLAGS-tst-execstack-prog.c): Likewise.
8941         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8943 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8944             Sandra Loosemore  <sandra@codesourcery.com>
8945             Andrew Jenner  <andrew@codesourcery.com>
8946             Joseph Myers  <joseph@codesourcery.com>
8947             Nathan Sidwell  <nathan@codesourcery.com>
8949         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8950         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8951         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8952         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8953         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8954         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8955         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8956         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8957         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8958         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8959         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8960         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8961         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8962         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8963         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8964         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8965         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8967 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8969         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8970         timespec struct member in syscall macro.
8971         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8972         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8973         first timeval struct member in syscall macro.
8974         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8976 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8978         [BZ #17748]
8979         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8980         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8981         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8982         __feupdateenv and define as weak alias of __feupdateenv.  Use
8983         libm_hidden_weak.
8984         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8985         libm_hidden_def.
8986         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8987         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8988         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8989         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8990         libm_hidden_def.
8991         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8992         __feupdateenv and define as weak alias of __feupdateenv.  Use
8993         libm_hidden_weak.
8994         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8995         libm_hidden_def.
8996         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8997         __feupdateenv and define as weak alias of __feupdateenv.  Use
8998         libm_hidden_weak.
8999         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9000         libm_hidden_def.
9001         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9002         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9003         (__feupdateenv): Likewise.
9004         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9005         __feupdateenv and define as weak alias of __feupdateenv.  Use
9006         libm_hidden_weak.
9007         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9008         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9009         libm_hidden_def.
9010         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9011         function.
9012         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9013         libm_hidden_def.
9014         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9015         __feupdateenv instead of feupdateenv.
9016         (default_libc_feupdateenv_test): Likewise.
9017         (libc_feresetround_ctx): Likewise.
9019 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9021         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9022         prototype.
9024 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9026         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9027         COLL_SYM in a couple of places to avoid uninitialized variable
9028         wanings on tilegx gcc 4.8.2.
9030 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9032         * sysdeps/aarch64/strcpy.S: New file.
9033         * sysdeps/aarch64/stpcpy.S: New file.
9034         * NEWS: Updated.
9036 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9038         * sysdeps/aarch64/strrchr.S: New file.
9039         * NEWS: Updated.
9041 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9043         [BZ #17658]
9044         * stdlib/setenv.c: Fix memory leak when setting large,
9045         duplicate string.
9047 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9049         [BZ #17273]
9050         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9051         and tabs from buffer before parsing fstab entry.
9052         * misc/tst-mntent.c (main): Add test for mount entry with
9053         trailing spaces and tabs.
9055 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9057         [BZ #17748]
9058         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9059         * math/fesetround.c (fesetround): Rename to __fesetround and
9060         define as weak alias of __fesetround.  Use libm_hidden_weak.
9061         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9062         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9063         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9064         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9065         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9066         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9067         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9068         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9069         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9070         __fesetround_inline.
9071         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9072         __fesetround_inline instead of __fesetround.
9073         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9074         __fesetround and define as weak alias of __fesetround.  Use
9075         libm_hidden_weak.  Call __fesetround_inline instead of
9076         __fesetround.
9077         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9078         __fesetround and define as weak alias of __fesetround.  Use
9079         libm_hidden_weak.
9080         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9081         Likewise.
9082         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9083         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9084         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9085         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9086         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9087         __fesetround and define as weak alias of __fesetround.  Use
9088         libm_hidden_weak.
9089         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9090         __fesetround instead of fesetround.
9091         (default_libc_feholdexcept_setround): Likewise.
9092         (libc_feholdsetround_ctx): Likewise.
9093         (libc_feholdsetround_noex_ctx): Likewise.
9095         [BZ #17748]
9096         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9097         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9098         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9099         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9100         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9101         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9102         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9103         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9104         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9105         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9106         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9107         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9108         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9109         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9110         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9111         libm_hidden_def.
9112         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9113         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9114         Likewise.
9115         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9116         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9117         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9118         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9119         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9120         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9121         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9122         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9123         __fesetenv instead of fesetenv.
9124         (libc_feresetround_noex_ctx): Likewise.
9125         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9126         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9127         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9128         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9129         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9130         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9131         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9132         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9133         (__feupdateenv): Likewise.
9134         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9135         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9136         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9137         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9139 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9141         [BZ #17806]
9142         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9143         addresses have been freed.
9145 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9147         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9148         and nservall.
9150 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9152         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9153         Clean up check_pf allocation pattern. addresses
9155 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9157         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9158         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9159         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9160         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9161         * nptl/pthread_join.c (pthread_join): Likewise.
9162         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9163         * sysdeps/posix/waitid.c (__waitid): Likewise.
9164         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9165         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9166         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9167         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9168         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9169         Likewise.
9170         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9171         (__libc_pread64): Likewise.
9172         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9173         (__libc_pwrite): Likewise.
9174         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9175         (__libc_pwrite64): Likewsie.
9176         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9177         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9178         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9179         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9180         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9181         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9182         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9184         Likewise.
9185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9186         (__libc_pread64): Likewise.
9187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9188         Likewise.
9189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9190         (__libc_pwrite64): Likewise.
9191         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9192         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9193         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9194         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9195         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9196         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9197         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9198         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9199         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9200         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9201         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9202         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9203         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9204         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9205         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9206         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9207         Likewise.
9209 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9211         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9212         (CFLAGS-test-double.c): Likewise.
9213         (CFLAGS-test-ldouble.c): Likewise.
9214         (CPPFLAGS-test-ifloat.c): Likewise.
9215         (CPPFLAGS-test-idouble.c): Likewise.
9216         (CPPFLAGS-test-ildoubl.c): Likewise.
9217         (CFLAGS-test-test-fenv.c): Remove variable.
9218         (CFLAGS-test-misc.c): Likewise.
9220 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9222         [BZ #17797]
9223         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9224         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9225         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9226         CLOCKS_PER_SEC == 1000000.
9227         * time/clocktest.c (main): Replace %ld with %jd and cast to
9228         intmax_t.
9230 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9232         * sysdeps/generic/unwind-resume.h: New file.
9233         * sysdeps/gnu/unwind-resume.c: Include it.
9234         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9235         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9236         argument list.
9237         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9238         global rather than static.
9239         (_Unwind_Resume): Update user.
9240         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9241         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9242         rather than static.  Add __attribute__ ((cold)).
9243         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9244         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9245         * sysdeps/arm/arm-unwind-resume.S: New file.
9246         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9247         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9248         * sysdeps/arm/Makefile [$(subdir) = csu]
9249         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9250         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9251         Add rt-arm-unwind-resume.
9252         [$(subdir) = nptl]
9253         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9254         Add pt-arm-unwind-resume.
9255         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9256         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9258 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9260         [BZ #17748]
9261         * include/fenv.h (__feholdexcept): Declare.  Use
9262         libm_hidden_proto.
9263         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9264         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9265         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9266         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9267         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9268         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9269         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9270         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9271         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9272         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9273         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9274         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9275         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9276         (feholdexcept): Likewise.
9277         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9278         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9279         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9280         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9281         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9282         __feholdexcept instead of feholdexcept.
9283         (default_libc_feholdexcept_setround): Likewise.
9285 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9287         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9288         to avoid using stl/str to align destination.
9290 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9292         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9294 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9296         [BZ #17796]
9297         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9298         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9299         Define as weak alias not strong alias.
9301 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9303         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9304         bltzal with addiupc.
9305         (RTLD_START): Ditto.
9307 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9309         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9310         for __vdso_* functions in declarations.
9311         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9312         definitions.
9313         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9314         INTERNAL_VSYSCALL): Use struct return types to check for error.
9316         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9317         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9318         function with cast from llround().
9319         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9320         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9321         Define.
9323 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9325         [BZ #17793]
9326         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9327         Define as weak alias not strong alias.
9329         [BZ #17635]
9330         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9331         ...
9332         * ctype/ctype-extn.c: ... here.
9333         (__isblank_l): Move to ...
9334         * ctype/ctype-c99_l.c: ... here.  New file.
9335         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9336         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9337         Remove variable.
9338         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9339         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9340         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9341         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9342         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9344         [BZ #17777]
9345         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9346         (posix_fadvise64): Define as weak alias not strong alias.
9347         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9348         (posix_fallocate64): Likewise.
9349         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9350         Remove variable.
9351         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9352         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9353         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9354         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9355         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9357 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9359         [BZ #16191]
9360         * NEWS: Mention bug fix.
9361         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9362         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9363         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9364         (HOST_STACK_END_ADDR): Likewise.
9366 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9368         [BZ #17748]
9369         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9370         * math/fegetround.c (fegetround): Rename to __fegetround and
9371         define as weak alias of __fegetround.  Use libm_hidden_weak.
9372         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9373         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9374         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9375         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9376         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9377         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9378         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9379         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9380         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9381         Undefine after rather than before function definition; use
9382         parentheses around function name in definition.
9383         (__fegetround): Also undefine macro after function definition.
9384         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9385         __fegetround and define as weak alias of __fegetround.  Use
9386         libm_hidden_weak.  Do not undefine as macro.
9387         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9388         Likewise.
9389         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9390         __fegetround and define as weak alias of __fegetround.  Use
9391         libm_hidden_weak.
9392         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9393         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9394         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9395         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9396         __fegetround and define as weak alias of __fegetround.  Use
9397         libm_hidden_weak.
9398         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9399         __fegetround instead of fegetround.
9401         [BZ #17782]
9402         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9403         Condition macro definition on [__USE_MISC].
9405         [BZ #17781]
9406         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9407         (struct sigaction): Change type of sa_flags field to int.
9409         [BZ #17780]
9410         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9411         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9412         __glibc_reserved0.
9414         * nptl/version.c (banner): Use single year in copyright notice.
9416         * NEWS: Update copyright dates.
9417         * catgets/gencat.c (print_version): Likewise.
9418         * csu/version.c (banner): Likewise.
9419         * debug/catchsegv.sh: Likewise.
9420         * debug/pcprofiledump.c (print_version): Likewise.
9421         * debug/xtrace.sh (do_version): Likewise.
9422         * elf/ldconfig.c (print_version): Likewise.
9423         * elf/ldd.bash.in: Likewise.
9424         * elf/pldd.c (print_version): Likewise.
9425         * elf/sotruss.sh: Likewise.
9426         * elf/sprof.c (print_version): Likewise.
9427         * iconv/iconv_prog.c (print_version): Likewise.
9428         * iconv/iconvconfig.c (print_version): Likewise.
9429         * locale/programs/locale.c (print_version): Likewise.
9430         * locale/programs/localedef.c (print_version): Likewise.
9431         * login/programs/pt_chown.c (print_version): Likewise.
9432         * malloc/memusage.sh (do_version): Likewise.
9433         * malloc/memusagestat.c (print_version): Likewise.
9434         * malloc/mtrace.pl: Likewise.
9435         * manual/libc.texinfo: Likewise.
9436         * nptl/version.c (banner): Likewise.
9437         * nscd/nscd.c (print_version): Likewise.
9438         * nss/getent.c (print_version): Likewise.
9439         * nss/makedb.c (print_version): Likewise.
9440         * posix/getconf.c (main): Likewise.
9441         * scripts/test-installation.pl: Likewise.
9442         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9444 2015-01-02  Will Newton  <will.newton@linaro.org>
9446         * sysdeps/arm/armv7/configure: Removed.
9447         * sysdeps/arm/armv7/configure.ac: Likewise.
9449 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9451         * All files with FSF copyright notices: Update copyright dates
9452         using scripts/update-copyrights.
9453         * intl/plural.c: Regenerated.
9454         * locale/programs/charmap-kw.h: Likewise.
9455         * locale/programs/locfile-kw.h: Likewise.
9457 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9459         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9461 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9463         [BZ #17748]
9464         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9465         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9466         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9467         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9468         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9469         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9470         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9471         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9472         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9473         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9474         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9475         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9476         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9477         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9478         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9479         libm_hidden_def.
9480         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9481         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9482         Likewise.
9483         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9484         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9485         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9486         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9487         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9488         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9489         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9490         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9491         __fegetenv instead of fegetenv.
9492         (libc_feholdsetround_noex_ctx): Likewise.
9494 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9496         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9497         (Elf_MIPS_ABIFlags_v0): New structure.
9498         (EF_MIPS_FP64): Define.
9499         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9500         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9501         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9502         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9503         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9504         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9505         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9506         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9507         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9508         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9509         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9510         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9511         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9512         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9513         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9514         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9515         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9516         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9517         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9518         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9519         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9520         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9521         field.
9522         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9523         EF_MIPS_FP64.
9524         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9525         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9526         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9527         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9528         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9529         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9530         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9531         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9532         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9533         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9534         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9535         record the current FP ABI extension.
9536         (mips-mode-switch): Define to show if kernel headers support mode
9537         switching.
9538         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9539         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9540         supported SYSV ABI version to 3.
9541         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9542         feature.
9544 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9545             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9547         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9548         path.
9549         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9551 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9553         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9554         __fegetround and redefine to call __fegetround.  Remove condition
9555         on [!__NO_MATH_INLINES].
9556         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9557         function.
9558         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9559         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9560         Remove macro.
9561         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9562         instead of <fenv_libc.h>.
9563         (__llrintl): Call fegetround instead of __fegetround.
9564         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9565         instead of <fenv_libc.h>.
9566         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9567         (__lrintl): Call fegetround instead of __fegetround.
9568         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9569         instead of <fenv_libc.h>.
9570         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9571         (__rintl): Call fegetround instead of __fegetround.
9573 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9575         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9576         arrays.
9578 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9580         [BZ #17775]
9581         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9582         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9583         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9585 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9587         * sysdeps/i386/tls-macros.h: Include <features.h>.
9588         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9589         (TLS_IE): Likewise.
9590         (TLS_LD): Likewise.
9591         (TLS_GD): Likewise.
9592         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9593         define for GCC >= 5.0.
9595 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9597         * math/test-fenv.c (test_single_exception, set_single_exc,
9598         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9599         feexcp_mask_test, feenable_test, fe_single_test): Add
9600         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9601         case where they are not used.
9602         * math/libm-test.inc: Likewise.
9603         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9604         unused in the absence of FP rounding/exception support.
9605         * stdio-common/tst-printf-round.c: Likewise.
9606         * stdlib/tst-strtod-round.c: Likewise.
9607         * stdlib/tst-strtod-underflow.c: Likewise.
9609 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9611         [BZ #17723]
9612         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9613         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9614         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9615         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9616         libm_hidden_weak.
9617         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9618         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9619         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9620         libm_hidden_def.
9621         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9622         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9623         libm_hidden_weak.
9624         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9625         Likewise.
9626         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9627         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9628         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9629         libm_hidden_weak.
9630         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9631         libm_hidden_def.
9632         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9633         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9634         (__feraiseexcept): Likewise.
9635         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9636         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9637         libm_hidden_weak.
9638         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9639         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9640         libm_hidden_def.
9641         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9642         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9643         Use libm_hidden_def.
9644         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9645         libm_hidden_def.
9646         (feraiseexcept): Define as weak not strong alias.  Use
9647         libm_hidden_weak.
9648         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9649         New inline function.  Factored out of ...
9650         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9651         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9652         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9653         feraiseexcept.
9654         * math/w_acos.c (__acos): Likewise.
9655         * math/w_asin.c (__asin): Likewise.
9656         * math/w_ilogb.c (__ilogb): Likewise.
9657         * math/w_j0.c (y0): Likewise.
9658         * math/w_j1.c (y1): Likewise.
9659         * math/w_jn.c (yn): Likewise.
9660         * math/w_log.c (__log): Likewise.
9661         * math/w_log10.c (__log10): Likewise.
9662         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9663         * sysdeps/aarch64/fpu/math_private.h
9664         (libc_feupdateenv_test_aarch64): Likewise.
9665         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9666         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9667         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9668         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9669         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9670         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9671         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9672         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9673         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9674         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9676 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9678         [BZ #17732]
9679         * io/test-utime.c (main): Replace %ld with %jd and cast to
9680         intmax_t.
9681         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9682         * nptl/tst-mutex5.c: Include <stdint.h>.
9683         (do_test): Replace %ld with %jd and cast to intmax_t.
9684         * posix/tst-regex.c (run_test): Likewise.
9685         (run_test_backwards): Likewise.
9686         * rt/tst-clock.c: Include <stdint.h>.
9687         (clock_test): Replace %ld with %jd and cast to intmax_t.
9688         * rt/tst-cpuclock1.c: Include <stdint.h>.
9689         (do_test): Replace %lu with %ju and cast to uintmax_t.
9690         * rt/tst-cpuclock2.c: Include <stdint.h>.
9691         (do_test): Replace %lu with %ju and cast to uintmax_t.
9692         * rt/tst-mqueue1.c: Include <stdint.h>.
9693         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9694         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9695         intmax_t.
9696         * rt/tst-mqueue4.c (do_test): Likewise.
9697         * rt/tst-timer4.c: Include <stdint.h>.
9698         (check_ts): Replace %ld with %jd and cast to intmax_t.
9699         (do_test): Likewise.
9700         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9701         and cast to intmax_t.
9702         * sysdeps/pthread/tst-timer.c (main): Likewise.
9703         * time/clocktest.c (main): Likewise.
9704         * time/tst-posixtz.c (do_test): Likewise.
9705         * timezone/tst-timezone.c (main): Likewise.
9707 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9708             H.J. Lu  <hongjiu.lu@intel.com>
9710         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9711         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9712         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9713         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9714         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9715         version if bit_Fast_Unaligned_Load is set.
9716         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9717         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9718         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9719         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9720         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9721         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9722         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9723         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9724         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9725         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9726         to 4.
9727         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9728         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9729         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9730         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9732 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9734         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9735         instead of #if to avoid a Wundef warning.
9736         * stdlib/tst-limits.c (do_test): Likewise.
9738         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9739         parallel other exception macros.
9740         (fegetenv): Convert from macro to extern inline so that it applies
9741         retroactively to inline functions already seen by the compiler.
9742         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9744         * posix/Makefile (before-compile): Use $(objpfx) for
9745         posix-conf-vars-def.h.
9747 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9749         * posix/getconf.c (main): Use size_t for type of I.
9750         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9751         NSPEC.
9753         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9754         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9755         * posix/posix-envs.def: Likewise.
9756         * sysdeps/posix/sysconf.c: Likewise.
9757         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9758         (specs): Remove array.
9759         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9760         array.
9762         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9763         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9764         (__sysconf): Use CONF_IS_* macros.
9766         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9767         ($(objpfx)posix-conf-vars-def.h): New target.
9768         * posix/posix-conf-vars.list: New file.
9769         * posix/posix-conf-vars.h: New file.
9770         * posix/confstr.c: Include posix-conf-vars.h.
9771         (confstr): Use CONF_IS_* macros.
9772         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9773         CONF_IS_* macros.
9774         * scripts/gen-posix-conf-vars.awk: New file.
9776 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9778         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9779         fegetround): Add no-op macros to avoid linknamespace issues.
9781         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9782         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9784         * sysdeps/unix/sysv/linux/tile/sysdep.h
9785         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9786         assembly-specific section to avoid a redefinition warning.
9788         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9789         long before casting to pointer to avoid a cast warning.
9791 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9793         * sysdeps/tile/tilegx/Implies: New file.
9795 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9797         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9799 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9801         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9803 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9805         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9806         not define.
9807         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9808         <kernel-features.h>.
9809         (__utimes) [__NR_utimes]: Make code unconditional.
9810         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9811         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9812         (__ASSUME_UTIMES): Do not undefine.
9813         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9814         (__ASSUME_UTIMES): Likewise.
9815         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9816         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9817         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9818         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9820 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9822         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9824 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9826         [BZ #17747]
9827         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9828         alias to weak alias for j0l, y0l.
9829         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9830         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9832         [BZ #17746]
9833         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9834         conversion.
9836 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9838         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9839         to zero if not already defined.
9841 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9843         [BZ #17724]
9844         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9845         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9846         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9847         (char *) casts added.
9848         * sysdeps/ieee754/k_standardf.c: New file.
9849         * sysdeps/ieee754/k_standardl.c: Likewise.
9850         * math/Makefile (libm-support): Remove k_standard.
9851         (libm-calls): Add k_standard.
9853 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9855         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9856         Optimize to avoid an unnecessary FPCR read.
9858 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9860         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9861         Optimize to reduce FPCR/FPSR accesses.
9863 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9865         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9866         Call libc_fetestexcept_aarch64.
9868 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9870         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9871         Call libc_fesetround_aarch64.
9873 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9875         [BZ #17733]
9876         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9877         (__bind): Do not define as weak alias.
9878         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9879         define.
9880         (__getsockname): Do not define as weak alias.
9882 2014-12-22  Will Newton  <will.newton@linaro.org>
9884         * manual/install.texi: Document that we require bison 2.7
9885         or above.
9886         * INSTALL: Regenerate.
9887         * configure.ac: Use AC_CHECK_PROG_VER instead of
9888         AC_PATH_PROG when checking for bison and check for
9889         version 2.7 or above.
9890         * configure: Regenerate.
9892 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9894         [BZ #17745]
9895         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9896         * sysdeps/tile/ffsll.c (ffsll): To here.
9898         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9900 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9902         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9903         if not defined.
9904         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9905         definition.
9906         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9907         hidden ___tls_get_addr.
9908         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9909         hidden __tls_get_addr.
9910         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9911         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9912         Likewise.
9914 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9916         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9917         _dl_init call.
9919 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9921         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9922         from "call _dl_init@PLT".
9923         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9925 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9927         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9928         guarantees.
9930 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9932         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9934 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9936         [BZ #17744]
9937         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9938         strnlen.
9940 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9942         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9943         of multu on MIPSr6.
9944         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9945         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9946         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9947         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9948         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9950 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9952         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9953         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9954         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9955         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9956         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9957         mips32r6/mips64r6.
9958         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9960 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9962         * string/strncat.c (STRNCAT): Simplify implementation.
9964 2014-12-19  David S. Miller  <davem@davemloft.net>
9966         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9967         access the quad as both a long double and as a series of 4 words.
9969         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9970         link_map->l_info array access.
9972 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9974         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9976         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9977         * math/atest-exp2.c (TIMEOUT): Likewise.
9978         * math/atest-sincos.c (TIMEOUT): Likewise.
9980 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9982         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9983         -Wno-error with -fno-builtin-lround.
9985 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9987         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9988         Contains futex constants and functions moved over from ...
9989         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9990         <lowlevellock-futex.h>.
9991         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9992         (lll_timedwait_tid): Add comments and parentheses around macro
9993         arguments.
9995 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9997         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9998         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9999         (__lll_private_flag): Remove.
10000         (lll_futex_wait): Likewise.
10001         (lll_futex_timed_wait): Likewise.
10002         (lll_futex_wake): Likewise.
10003         (lll_futex_requeue): Likewise.
10004         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10005         (__lll_timedwait_tid): Spell out argument names.
10006         (lll_timedwait_tid): Add comments and parentheses around macro
10007         arguments.
10008         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10009         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10011 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10013         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10014         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10015         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10016         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10017         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10018         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10019         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10020         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10021         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10022         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10023         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10024         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10025         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10026         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10027         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10028         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10029         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10030         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10031         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10033 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10035         * sysdeps/x86_64/x32/Makefile: New file.
10037 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10039         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10040         1L with (mp_limb_t) 1.
10042 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10044         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10045         * nptl/libc_pthread_init.c: ... here.
10046         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10047         * nptl/register-atfork.c: ... here.
10049         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10050         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10051         Use assert_perror to check its return value.
10052         (__gai_create_helper_thread): Likewise.
10054         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10056         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10058 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10060         [BZ #17725]
10061         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10062         __profil_counter.
10063         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10064         Likewise.
10065         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10066         Likewise.
10067         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10068         Likewise.
10069         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10070         (profil_counter): Likewise.
10071         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10072         (profil_counter): Likewise.
10073         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10074         Likewise.
10075         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10076         Likewise.
10077         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10078         (profil_counter): Likewise.
10079         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10080         Likewise.
10081         [!__profil_counter] (profil_counter): Define as weak alias of
10082         __profil_counter.
10083         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10084         (profil_counter): Rename to __profil_counter.
10085         [!__profil_counter] (profil_counter): Define as weak alias of
10086         __profil_counter.
10087         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10088         (profil_counter): Rename to __profil_counter.
10089         [!__profil_counter] (profil_counter): Define as weak alias of
10090         __profil_counter.
10091         * sysdeps/posix/profil.c: Update comment referring to
10092         profil_counter.
10093         (__profil): Use __profil_counter instead of profil_counter.
10094         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10095         __profil_counter.  Use __profil_counter_ushort and
10096         __profil_counter_uint in definitions.
10097         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10098         instead of profil_counter_uint and profil_counter_ushort.
10100         [BZ #17722]
10101         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10102         define as weak alias of __inet_makeaddr.
10103         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10104         as weak alias of __inet_addr.
10105         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10106         as weak alias of __inet_pton.  Use libc_hidden_weak.
10107         * include/arpa/inet.h (__inet_pton): Declare.  Use
10108         libc_hidden_proto.
10109         (inet_makeaddr): Don't use libc_hidden_proto.
10110         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10111         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10112         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10113         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10114         Remove variable.
10115         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10116         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10118 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10120         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10122 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10124         * stdio-common/bug-vfprintf-nargs.c (do_test):
10125         Cast value to intptr_t to avoid format warning
10126         for usage with PRIdPTR printing macro.
10128 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10130         * libio/tst-widetext.c (do_test):
10131         Use format type %td instead of %Zd for ptrdiff_t
10132         in order to avoid format warning.
10134 2014-12-17  Andreas Schwab  <schwab@suse.de>
10136         * nscd/mem.c (gc): Add size_t cast to match printf format.
10138 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10140         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10141         (init): Apply PTR_MANGLE to pointers before storing them.
10142         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10143         before using them.
10145 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10147         [BZ #17719]
10148         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10149         define as weak alias of __memrchr.
10150         (__memrchr): Do not define as strong alias of memrchr.
10151         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10152         Remove variable.
10153         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10154         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10155         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10157         [BZ #17717]
10158         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10159         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10160         (if_indextoname): Rename to __if_indextoname and define as weak
10161         alias of __if_indextoname.  Use libc_hidden_weak.
10162         (if_freenameindex): Rename to __if_freenameindex and define as
10163         weak alias of __if_freenameindex.
10164         (if_nameindex): Rename to __if_nameindex and define as weak alias
10165         of __if_nameindex.
10166         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10167         __if_nametoindex and define as weak alias of __if_nametoindex.
10168         Use libc_hidden_weak.
10169         (if_freenameindex): Rename to __if_freenameindex and define as
10170         weak alias of __if_freenameindex.
10171         (if_nameindex): Rename to __if_nameindex and define as weak alias
10172         of __if_nameindex.
10173         (if_indextoname): Rename to __if_indextoname and define as weak
10174         alias of __if_indextoname.  Use libc_hidden_weak.
10175         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10176         __if_nametoindex and define as weak alias of __if_nametoindex.
10177         Use libc_hidden_weak.
10178         (if_freenameindex): Rename to __if_freenameindex and define as
10179         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10180         (if_nameindex_netlink): Use __if_freenameindex instead of
10181         if_freenameindex.
10182         (if_nameindex): Rename to __if_nameindex and define as weak alias
10183         of __if_nameindex.  Use libc_hidden_weak.
10184         (if_indextoname): Rename to __if_indextoname and define as weak
10185         alias of __if_indextoname.  Use libc_hidden_weak.
10186         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10187         libc_hidden_proto.
10188         [!_ISOMAC] (__if_freenameindex): Likewise.
10189         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10190         if_nametoindex.
10191         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10192         variable.
10193         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10194         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10195         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10196         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10197         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10198         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10199         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10201         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10202         Remove variable.
10203         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10204         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10206 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10208         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10209         subscript above bounds'
10211         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10212         bounds.
10214 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10216         * libio/tst-fopenloc.c: Use test-skeleton.c.
10218         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10219         (entry): Rename to ITEM.
10220         (do_test, comp): Adjust.
10222         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10224 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10226         * string/tester.c: Include <libc-internal.h>.
10227         (test_memset): Ignore -Wmemset-transposed-args.
10229 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10231         * misc/tst-mntent2.c (do_test): Fix warning.
10233 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10235         * elf/tst-unique4lib.cc(a): Mark as used.
10237 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10239         [BZ #17630]
10240         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10241         names.
10243 2014-12-16  Allan McRae  <allan@archlinux.org>
10245         * stdio-common/Makefile (tests): Re-add bug26.
10247 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10249         [BZ #17657]
10250         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10251         static array.
10253 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10255         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10256         (__lll_lock_wait): Likewise.
10257         (__lll_timedlock_wait): Likewise.
10258         (__lll_timedwait_tid): Likewise.
10259         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10260         (__lll_robust_timedlock_wait): Likewise.
10261         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10262         (lll_cond_trylock): Likewise.
10263         (__lll_lock): Likewise.
10264         (__lll_robust_lock): Likewise.
10265         (__lll_cond_lock): Likewise.
10266         (lll_robust_cond_lock): Likewise.
10267         (__lll_timedlock): Likewise.
10268         (__lll_robust_timedlock): Likewise.
10269         (__lll_unlock): Likewise.
10270         (__lll_robust_unlock): Likewise.
10271         (lll_wait_tid): Likewise.
10272         (lll_timedwait_tid): Likewise.
10274 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10276         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10278 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10280         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10282 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10284         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10285         * stdio-common/tst-sprintf.c: Likewise.
10287 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10289         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10291 2014-12-15  Jeff Law  <law@redhat.com>
10293         [BZ #16617]
10294         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10295         on the heap.  (CVE-2012-3406)
10296         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10297         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10298         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10300 2014-12-15  Will Newton  <will.newton@linaro.org>
10302         * manual/install.texi: Bump required version of texinfo
10303         to 4.7 from 4.5.
10304         * INSTALL: Regenerated.
10305         * configure.ac: Check for makeinfo version 4.7 and above.
10306         * configure: Regenerated.
10308 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10310         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10311         PREFIX, string constant to insert between directory and name.
10312         * sysdeps/posix/shm_open.c: Update caller.
10313         * sysdeps/posix/shm_unlink.c: Likewise.
10314         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10315         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10316         (SEM_SHM_PREFIX): New macro.
10317         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10318         [$(have-thread-library) = no].
10319         * nptl/Makefile (libpthread-routines): Add shm-directory.
10320         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10321         * sysdeps/nptl/shm-directory.h: New file.
10322         * sysdeps/posix/shm-directory.c
10323         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10324         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10325         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10326         INTERNAL_SYSCALL.
10327         (__where_is_shmfs): Function removed.
10328         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10329         Variables removed.
10330         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10331         Use SHM_GET_NAME.
10332         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10334         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10335         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10336         unconditional for use inside libpthread.
10337         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10339 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10341         * nptl/pthread_getaffinity.c: New file.
10342         * nptl/pthread_setaffinity.c: New file.
10343         * nptl/pthread_getname.c: New file.
10344         * nptl/pthread_setname.c: New file.
10346         * nptl/pthread_create.c (START_THREAD_DEFN)
10347         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10349 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10350             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10352         * resolv/res_send.c (send_vc): Disable warning resplen may
10353         be used uninitialized.
10355 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10357         * nptl/tst-mutex6.c
10358         (ATTR_NULL): New define checks ATTR against NULL.
10359         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10360         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10362 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10364         [BZ #17581]
10365         * malloc/hooks.c
10366         (mem2mem_check): Revert my previous change.
10367         (malloc_check_get_size): Revert my previous change.
10368         (mem2chunk_check): Revert my previous change.
10370 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10372         * sysdeps/posix/shm-directory.c: New file.
10373         * sysdeps/posix/shm-directory.h: New file.
10374         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10375         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10376         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10377         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10378         Transmute EPERM to EACCES.
10379         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10380         from ...
10381         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10382         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10384 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10386         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10387         pointer and cast to uintptr_t.
10388         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10389         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10390         Add cast to avoid warning.
10391         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10393 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10395         * nptl/semaphore.h: Move to ...
10396         * sysdeps/pthread/semaphore.h: ... here.
10397         * Makefile (installed-headers): Change nptl/semaphore.h to
10398         sysdeps/pthread/semaphore.h.
10400 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10402         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10403         generated error format strings.
10405         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10406         -Wformat-extra-args warnings for scanf formats.
10407         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10408         test of zero-length format (duh).
10409         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10410         corner-case scanf format test.
10411         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10412         generated fprintf format string.
10413         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10414         corner-case sprintf format tests.
10415         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10416         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10417         -Wformat-extra-args warnings throughout.
10418         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10419         (CFLAGS-scanf4.c): Likewise.
10420         (CFLAGS-scanf7.c): Likewise.
10421         (CFLAGS-tst-sprintf.c): Likewise.
10422         (CFLAGS-tst-printf.c): Likewise.
10423         (CFLAGS-tst-printfsz.c): Likewise.
10425 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10427         * include/cpio.h: New file.
10428         * include/fmtmsg.h: Likewise.
10430         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10431         corresponding format argument to size_t.
10432         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10433         arguments.
10434         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10435         corresponding format argument to size_t.
10436         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10437         arguments.
10438         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10439         corresponding format argument to size_t.
10440         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10441         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10442         (CFLAGS-tst-mbswcs2.c): Likewise.
10443         (CFLAGS-tst-mbswcs3.c): Likewise.
10444         (CFLAGS-tst-mbswcs4.c): Likewise.
10445         (CFLAGS-tst-mbswcs5.c): Likewise.
10446         (CFLAGS-tst-trans.c): Likewise
10448 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10450         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10451         rather than assuming they won't contain any '%'s.
10453 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10455         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10456         inhibit_loop_to_libcall to avoid recursive calls.
10457         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10458         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10460 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10462         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10463         prototype.
10465 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10467         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10468         integer value instead of boolean.
10470 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10472         * malloc/malloc.c: Fix powerof2 check.
10474 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10476         * locale/programs/locfile.h (maybe_swap_uint32):
10477         Remove inline and add unused attribute.
10479 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10481         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10482         Truncating assembler expression to a .long expression.
10484 2014-12-11  Andreas Schwab  <schwab@suse.de>
10486         * elf/rtld.c (struct map_args): Constify str member.
10487         (do_preload): Constify fname argument.
10489 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10491         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10492         constants definition.
10494 2014-12-11  Andreas Schwab  <schwab@suse.de>
10496         [BZ #16657]
10497         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10498         FORCE_ELISION instead of DO_ELISION.
10499         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10500         Remove.
10501         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10502         Likewise.
10504         * iconvdata/gconv-modules: Remove duplicate entry.
10506 2014-12-11  Will Newton  <will.newton@linaro.org>
10508         Merge gettext 0.19.3 into intl/.
10510         This involves a number of cosmetic changes to comments
10511         and ANSI function definitions and prototypes throughout
10512         all the files. The gettext copyright header is used but
10513         with the date ranges taken from the glibc copy.
10515         * NEWS: Add gettext merge to 2.21.
10516         * intl/bindtextdom.c: Switch to gettext copyright.
10517         Use ANSI definitions and prototypes.
10518         Use gl_* locking primitives rather than __libc_* ones.
10519         Use __builtin_expect rather than __glibc_likely/unlikely.
10520         * intl/dcgettext.c: Switch to gettext copyright.
10521         Use ANSI definitions and prototypes.
10522         * intl/dcigettext.c: Switch to gettext copyright.
10523         Use ANSI definitions and prototypes.
10524         (INTDIV0_RAISES_SIGFPE): New define.
10525         Use gl_* locking primitives rather than __libc_* ones.
10526         Include eval-plural.h instead of plural-eval.c.
10527         Use __builtin_expect rather than __glibc_likely/unlikely.
10528         * intl/dcngettext.c: Switch to gettext copyright.
10529         Use ANSI definitions and prototypes.
10530         * intl/dgettext.c: Likewise.
10531         * intl/dngettext.c: Likewise.
10532         * intl/plural-eval.c: Renamed to...
10533         * intl/eval-plural.h: ...this.
10534         * intl/explodename.c: Switch to gettext copyright.
10535         Use ANSI definitions and prototypes.
10536         (_nl_explode_name): Use strchr instead of __rawmemchr.
10537         * intl/finddomain.c: Switch to gettext copyright.
10538         Use ANSI definitions and prototypes.
10539         Use gl_* locking primitives rather than __libc_* ones.
10540         (_nl_find_domain): Use malloc rather than alloca for
10541         allocation of temporary locale name.
10542         * intl/gettext.c: Switch to gettext copyright.
10543         Use ANSI definitions and prototypes.
10544         * intl/gettextP.h: Switch to gettext copyright.
10545         Use ANSI definitions and prototypes.
10546         Use gl_* locking primitives rather than __libc_* ones.
10547         * intl/gmo.h: Switch to gettext copyright.
10548         (struct sysdep_string): Move struct segment_pair outside of
10549         struct definition.
10550         * intl/hash-string.c: Use ANSI definitions and prototypes.
10551         * intl/hash-string.h: Switch to gettext copyright.
10552         Use ANSI definitions and prototypes.
10553         * intl/l10nflist.c: Switch to gettext copyright.
10554         Use ANSI definitions and prototypes.
10555         (_nl_normalize_codeset): Avoid integer overflow.
10556         * intl/loadinfo.h: Switch to gettext copyright.
10557         Use ANSI definitions and prototypes.
10558         (LIBINTL_DLL_EXPORTED): New define.
10559         (PATH_SEPARATOR): New define.
10560         * intl/loadmsgcat.c: Switch to gettext copyright.
10561         * intl/localealias.c: Switch to gettext copyright.
10562         Use ANSI definitions and prototypes.
10563         (_nl_expand_alias): Use PATH_SEPARATOR.
10564         * intl/ngettext.c: Switch to gettext copyright.
10565         Use ANSI definitions and prototypes.
10566         * intl/plural-exp.c: Likewise.
10567         * intl/plural-exp.h: Switch to gettext copyright.
10568         Use ANSI definitions and prototypes.
10569         (struct expression): Move definition of enum operator outside
10570         of struct definition.
10571         * intl/plural.c: Regenerate.
10572         * intl/plural.y: Switch to gettext copyright.
10573         Use ANSI definitions and prototypes.
10574         Port to bison 3.0.
10575         * intl/textdomain.c: Switch to gettext copyright.
10576         Use ANSI definitions and prototypes.
10577         Use gl_* locking primitives rather than __libc_* ones.
10579 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10581         * debug/warning-nop.c: Add used atrribute.
10583 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10585         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10587         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10588         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10589         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10591 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10592             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10594         [BZ #17634]
10595         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10596         Undefine after defining function.  Define as weak alias of
10597         __wcschr.  Use libc_hidden_weak.
10598         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10599         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10600         (libc_hidden_def): Also define __GI___wcschr alias.
10601         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10602         __wcschr and define as weak alias of __wcschr.
10603         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10604         __wcschr.
10605         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10606         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10607         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10608         libc_hidden_weak.  Do not use libc_hidden_def.
10609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10610         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10611         __GI___wcschr alias.
10612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10613         [IS_IN (libc)] (wcschr): Define as macro expanding to
10614         __redirect_wcschr.
10615         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10616         [IS_IN (libc)] (__wcschr_power6): Likewise.
10617         [IS_IN (libc)] (__wcschr_power7): Likewise.
10618         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10619         instead of wcschr.
10620         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10621         __libc_wcschr.
10622         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10623         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10624         __wcschr and define as weak alias of __wcschr.  Use
10625         libc_hidden_builtin_def.
10626         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10627         as weak alias of __wcschr.  Use libc_hidden_weak.
10628         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10629         wcschr.
10630         * time/era.c (_nl_init_era_entries): Likewise.
10631         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10632         variable.
10633         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10634         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10636 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10638         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10639         format for long int variable.
10641 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10643         [BZ #10672]
10644         * manual/search.texi: (Array Sort Function): Remove claim how to make
10645         qsort stable.
10647 2014-12-10  Andreas Schwab  <schwab@suse.de>
10649         [BZ #12847]
10650         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10651         user-controlled locks.
10653 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10655         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10656         register.
10658 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10660         * configure.ac (--disable-werror): New configure option.
10661         (enable_werror): New AC_SUBST.
10662         * configure: Regenerated.
10663         * config.make.in (enable-werror): New variable.
10664         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10665         -Wno-error=undef.
10666         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10667         * manual/install.texi (Configuring and compiling): Document
10668         --disable-werror.
10669         * INSTALL: Regenerated.
10670         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10671         (CFLAGS-tst-chk2.c): Likewise.
10672         (CFLAGS-tst-chk3.c): Likewise.
10673         (CFLAGS-tst-chk4.cc): Likewise.
10674         (CFLAGS-tst-chk5.cc): Likewise.
10675         (CFLAGS-tst-chk6.cc): Likewise.
10676         (CFLAGS-tst-lfschk1.c): Likewise.
10677         (CFLAGS-tst-lfschk2.c): Likewise.
10678         (CFLAGS-tst-lfschk3.c): Likewise.
10679         (CFLAGS-tst-lfschk4.cc): Likewise.
10680         (CFLAGS-tst-lfschk5.cc): Likewise.
10681         (CFLAGS-tst-lfschk6.cc): Likewise.
10683         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10684         (main): Disable -Wdeprecated-declarations around calls to
10685         register_printf_function.
10687         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10688         (do_test): Disable -Wdiv-by-zero around some calls to
10689         fwrite_unlocked and fread_unlocked.
10691         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10692         (DIAG_POP_NEEDS_COMMENT): Likewise.
10693         (_DIAG_STR1): Likewise.
10694         (_DIAG_STR): Likewise.
10695         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10696         * stdio-common/bug21.c: Include <libc-internal.h>.
10697         (do_test): Disable -Wformat around call to sscanf.
10698         * stdio-common/scanf14.c: Include <libc-internal.h>.
10699         (main): Disable -Wformat around some calls to scanf functions.
10701 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10703         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10705 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10707         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10708         stack variable alignment.
10710 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10712         [BZ #17682]
10713         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10714         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10715         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10716         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10717         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10718         __getrlimit instead of getrlimit.
10719         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10720         __gettimeofday instead of gettimeofday.
10721         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10722         Likewise.
10723         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10724         Likewise.
10725         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10726         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10727         Remove variable.
10728         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10729         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10731 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10733         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10734         for wide-character tests.
10736 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10738         * io/openat64.c: #include <libc-internal.h>
10739         (__openat64): Prototypify.  Use ignore_value on MODE.
10740         * io/openat.c: Likewise.
10741         * misc/reboot.c: #include <libc-internal.h>
10742         (reboot): Prototypify.  Use ignore_value on HOWTO.
10743         * misc/ptrace.c: #include <libc-internal.h>
10744         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10746 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10748         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10749         XPG4, UNIX98 and XOPEN2K.
10750         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10751         Remove variable.
10752         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10754 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10756         * libio/fileops.c: Use ISO C style for function definitions.
10757         * libio/iofopen.c: Likewise.
10758         * libio/wfileops.c: Likewise.
10760         [BZ #17653]
10761         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10762         offset on EOF.
10763         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10764         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10765         (fgets_func): Function pointer to fgets and fgetws.
10766         (do_ftell_test): Add test to verify ftell value after read
10767         EOF.
10768         (do_test): Set fgets_func.
10770         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10771         O_TRUNC flag for w and w+ modes.
10772         (do_rewind_test): Likewise.
10773         (do_ftell_test): Likewise.
10774         (do_write_test): Likewise.
10776         [BZ #17647]
10777         * libio/fileops.c (do_ftell): Seek only when there are
10778         unflushed writes.
10779         * libio/wfileops.c (do_ftell_wide): Likewise.
10780         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10781         test case.
10782         (do_one_test): Call it.
10784 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10786         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10787         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10788         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10789         Remove variable.
10790         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10791         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10792         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10794 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10796         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10797         Remove variable.
10798         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10800         [BZ #17668]
10801         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10802         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10803         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10804         __freeifaddrs.  Use libc_hidden_weak.
10805         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10806         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10807         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10808         __freeifaddrs.  Use libc_hidden_weak.
10809         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10810         __getifaddrs and define as weak alias of __getifaddrs.  Use
10811         libc_hidden_weak.
10812         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10813         __freeifaddrs.  Use libc_hidden_weak.
10814         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10815         Remove variable.
10816         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10817         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10819 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10821         [BZ #17601]
10822         * sysdeps/mips/start.S (__start): Use indirect jump to call
10823         __libc_start_main.
10825 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10827         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10829         * nptl/tst-mutex1.c: Include <stdbool.h>.
10830         [!ATTR] (ATTR_NULL): New macro.
10831         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10832         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10833         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10835         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10836         to char *.
10838         [BZ #17665]
10839         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10840         Change conditional to [__USE_MISC].
10842         [BZ #17664]
10843         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10844         fgets_unlocked.
10845         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10846         __fgets_unlocked.
10847         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10848         fgets_unlocked.
10849         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10850         Remove variable.
10851         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10852         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10853         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10854         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10855         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10856         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10857         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10858         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10859         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10861         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10863 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10865         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10866         Remove strpbrk objects.
10867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10868         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10869         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10870         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10871         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10872         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10874         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10875         Remove strcspn objects.
10876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10877         (__libc_ifunc_impl_list): Remove strcspn implementation.
10878         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10879         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10880         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10881         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10883         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10884         Remove strspn objetcs.
10885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10886         (__libc_ifunc_impl_list): Remove strspn implementation.
10887         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10888         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10889         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10890         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10892 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10894         [BZ #17581]
10895         * malloc/hooks.c
10896         (mem2mem_check): Add a terminator to the chain of checking blocks.
10897         (malloc_check_get_size): Use it here.
10898         (mem2chunk_check): Ditto.
10900 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10902         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10903         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10905 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10907         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10909         * nptl/nptl-init.c: Include libc-internal.h.
10910         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10912         * elf/ldconfig.c (search_dir): Expand comment.
10914 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10916         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10917         variable.
10918         (linknamespace-symlist-stdlibs-tests): Likewise.
10919         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10920         instead of $(objpfx)symlist-stdlibs.
10921         (linknamespace-libs-isoc): New variable.
10922         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10923         (linknamespace-libs-ISO): New variable.
10924         (linknamespace-libs-ISO99): Likewise.
10925         (linknamespace-libs-ISO11): Likewise.
10926         (linknamespace-libs-XPG3): Likewise.
10927         (linknamespace-libs-XPG4): Likewise.
10928         (linknamespace-libs-POSIX): Likewise.
10929         (linknamespace-libs-UNIX98): Likewise.
10930         (linknamespace-libs-XOPEN2K): Likewise.
10931         (linknamespace-libs-POSIX2008): Likewise.
10932         (linknamespace-libs-XOPEN2K8): Likewise.
10933         ($(objpfx)symlist-stdlibs): Replace by
10934         $(linknamespace-symlist-stdlibs-tests).  Use
10935         $(linknamespace-libs-$*) as set of libraries.
10936         ($(linknamespace-header-tests)): Update dependencies.  Use
10937         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10938         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10939         * conform/linknamespace.pl: Remove comment about considering
10940         definitions of symbols from irrelevant libraries.
10942 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10944         [BZ #13862]
10945         * elf/dl-tls.c: Include <atomic.h>.
10946         (oom): Remove #ifdef SHARED/#endif.
10947         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10948         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10949         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10950         big enough.
10951         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10952         * nptl/Makefile (tests): Add tst-stack4.
10953         (modules-names): Add tst-stack4mod.
10954         ($(objpfx)tst-stack4): New.
10955         (tst-stack4mod.sos): Likewise.
10956         ($(objpfx)tst-stack4.out): Likewise.
10957         ($(tst-stack4mod.sos)): Likewise.
10958         (clean): Likewise.
10959         * nptl/tst-stack4.c: New file.
10960         * nptl/tst-stack4mod.c: Likewise.
10962 2014-11-27  J. Brown  <jb999@gmx.de>
10964         * sysdeps/x86/bits/string.h: Add recent CPUs.
10966 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10968         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10969         sigblock.
10971         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10972         feof.
10974         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10975         variable.
10977 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10979         * nscd/connections.c: Include libc-internal.h because of macro
10980         usage ignore_value.
10982 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10984         * string/bits/string3.h (__warn_memset_zero_len): Don't
10985         declare for gcc newer than 5.0.
10986         (memset): Don't test for zero-length __LEN for gcc newer than
10987         5.0.
10989 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10991         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10992         size_t for %zu format.
10994         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10995         difference, not %ju.
10997 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10999         * include/libc-internal.h (ignore_value): New macro.
11000         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11001         with ignore_value.
11003         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11004         definition.
11006         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11007         pthread_cleanup_push to void *.
11009         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11010         Undefine.
11012         [BZ #16619]
11013         [BZ #16740]
11014         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11015         instead of 1L << 52.
11017         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11018         * libio/bug-rewind2.c (do_test): Likewise.
11020         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11021         * debug/test-strcpy_chk-ifunc.c: Likewise.
11022         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11023         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11024         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11025         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11026         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11027         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11028         * Rules [$(multi-arch) = no] (tests): Do not filter out
11029         $(tests-ifunc).
11030         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11031         * debug/Makefile (tests-ifunc): Remove variable.
11032         (tests): Do not add $(tests-ifunc).
11033         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11034         (tests): Do not add $(tests-ifunc).
11035         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11036         [TEST_IFUNC]: Remove conditionals.
11037         * string/test-string.h (TEST_IFUNC): Remove macro.
11038         [TEST_IFUNC]: Remove conditionals.
11040         * string/test-strchr.c [!WIDE] (L): New macro.
11041         [WIDE] (L): Likewise.
11042         (check1): Use CHAR instead of char.  Use L on string and character
11043         constants.
11045 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11047         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11048         tests.
11049         * sysdeps/powerpc/bits/atomic.h
11050         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11051         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11052         (atomic_exchange_and_add_acq): Likewise.
11053         (atomic_exchange_and_add_rel): Likewise.
11054         * sysdeps/powerpc/powerpc32/bits/atomic.h
11055         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11056         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11057         * sysdeps/powerpc/powerpc64/bits/atomic.h
11058         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11059         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11061 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11063         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11064         Change synchronization of __sched_fifo_min_prio and
11065         __sched_fifo_max_prio.
11066         * nptl/pthread_mutexattr_getprioceiling.c
11067         (pthread_mutexattr_getprioceiling): Likewise.
11068         * nptl/pthread_mutexattr_setprioceiling.c
11069         (pthread_mutexattr_setprioceiling): Likewise.
11070         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11071         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11072         Likewise.
11074 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11076         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11077         void.
11079 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11081         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11082         third argument const.
11084 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11086         fnmatch: work around GCC compiler warning bug with uninit var
11087         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11088         This works around a bug with x86-64 GCC 4.9.2 and earlier
11089         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11090         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11091         used uninitialized in this function [-Wmaybe-uninitialized]".
11093 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11095         * posix/bug-regex31.c (main): Return RES not 0.
11097 2014-11-25  Anton Blanchard <anton@samba.org>
11099         * sysdeps/powerpc/bits/atomic.h
11100         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11102 2014-11-24  Sterling Augustine  <saugustine@google.com>
11104         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11106 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11108         [BZ #17608]
11109         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11111 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11113         [BZ #17633]
11114         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11115         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11116         variable.
11117         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11118         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11120 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11122         * string/strncpy.c (strncpy): Improve performance by using memset.
11124 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11126         * string/strcpy.c (strcpy):
11127         Improve performance by using strlen and memcpy.
11129 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11131         * string/strcoll_l.c (get_next_seq): __always_inline.
11132         * string/strcoll_l.c (do_compare): __always_inline.
11134 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11136         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11137         defined.
11138         * include/mqueue.h: Likewise.
11139         * include/stdlib.h: Likewise.
11141         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11142         (get_null_defines): Adjust.
11143         * sunrpc/Makefile: Adjust comment.
11144         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11145         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11146         (CFLAGS-interp.c): Likewise.
11147         (CFLAGS-ldconfig.c): Likewise.
11148         (CPPFLAGS-.os): Likewise.
11149         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11150         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11151         * extra-modules.mk (extra-modules.mk): Likewise.
11152         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11153         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11154         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11155         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11156         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11157         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11158         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11159         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11160         * iconvdata/Makefile (CPPFLAGS): Likewise.
11161         (cpp-srcs-left): Add libof for all iconvdata routines.
11162         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11163         * include/assert.h: Likewise.
11164         * include/ctype.h: Likewise.
11165         * include/errno.h: Likewise.
11166         * include/libc-symbols.h: Likewise.
11167         * include/math.h: Likewise.
11168         * include/netdb.h: Likewise.
11169         * include/resolv.h: Likewise.
11170         * include/stdio.h: Likewise.
11171         * include/stdlib.h: Likewise.
11172         * include/string.h: Likewise.
11173         * include/sys/stat.h: Likewise.
11174         * include/wctype.h: Likewise.
11175         * intl/l10nflist.c: Likewise.
11176         * libidn/idn-stub.c: Likewise.
11177         * libio/libioP.h: Likewise.
11178         * nptl/libc_multiple_threads.c: Likewise.
11179         * nptl/pthreadP.h: Likewise.
11180         * posix/regex_internal.h: Likewise.
11181         * resolv/res_hconf.c: Likewise.
11182         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11183         * sysdeps/arm/memmove.S: Likewise.
11184         * sysdeps/arm/sysdep.h: Likewise.
11185         * sysdeps/generic/_itoa.h: Likewise.
11186         * sysdeps/generic/symbol-hacks.h: Likewise.
11187         * sysdeps/gnu/errlist.awk: Likewise.
11188         * sysdeps/gnu/errlist.c: Likewise.
11189         * sysdeps/i386/i586/memcpy.S: Likewise.
11190         * sysdeps/i386/i586/memset.S: Likewise.
11191         * sysdeps/i386/i686/memcpy.S: Likewise.
11192         * sysdeps/i386/i686/memmove.S: Likewise.
11193         * sysdeps/i386/i686/mempcpy.S: Likewise.
11194         * sysdeps/i386/i686/memset.S: Likewise.
11195         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11196         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11197         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11198         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11199         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11200         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11201         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11202         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11203         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11204         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11205         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11206         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11207         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11208         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11209         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11210         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11211         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11212         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11213         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11214         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11215         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11216         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11217         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11218         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11219         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11220         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11221         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11222         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11223         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11224         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11225         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11226         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11227         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11228         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11229         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11230         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11231         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11232         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11233         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11234         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11235         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11236         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11237         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11238         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11239         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11240         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11241         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11242         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11243         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11244         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11245         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11246         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11247         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11248         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11249         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11250         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11251         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11252         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11253         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11254         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11255         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11256         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11257         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11258         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11259         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11260         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11261         * sysdeps/posix/closedir.c: Likewise.
11262         * sysdeps/posix/opendir.c: Likewise.
11263         * sysdeps/posix/readdir.c: Likewise.
11264         * sysdeps/posix/rewinddir.c: Likewise.
11265         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11266         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11267         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11268         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11269         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11270         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11271         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11272         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11273         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11274         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11275         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11276         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11277         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11278         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11279         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11280         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11281         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11282         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11283         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11284         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11285         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11286         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11287         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11288         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11289         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11290         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11291         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11292         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11293         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11295         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11299         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11300         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11301         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11302         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11303         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11304         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11305         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11306         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11307         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11308         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11309         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11310         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11311         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11312         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11313         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11314         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11315         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11316         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11317         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11318         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11319         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11320         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11321         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11322         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11323         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11324         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11325         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11326         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11327         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11328         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11329         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11330         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11331         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11332         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11333         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11334         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11335         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11336         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11337         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11338         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11339         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11340         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11341         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11342         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11343         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11344         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11345         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11346         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11347         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11348         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11349         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11350         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11351         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11352         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11353         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11354         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11355         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11356         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11357         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11358         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11359         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11360         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11361         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11362         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11363         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11364         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11365         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11366         * sysdeps/unix/alpha/sysdep.S: Likewise.
11367         * sysdeps/unix/alpha/sysdep.h: Likewise.
11368         * sysdeps/unix/make-syscalls.sh: Likewise.
11369         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11370         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11371         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11372         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11373         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11374         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11375         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11376         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11377         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11378         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11379         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11380         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11381         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11382         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11383         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11384         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11385         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11386         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11387         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11388         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11389         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11390         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11391         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11392         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11393         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11394         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11395         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11398         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11399         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11400         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11401         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11403         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11405         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11406         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11407         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11408         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11409         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11410         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11411         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11412         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11413         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11415         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11416         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11417         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11418         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11419         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11420         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11421         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11422         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11423         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11424         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11425         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11427         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11428         * sysdeps/x86_64/memcpy.S: Likewise.
11429         * sysdeps/x86_64/memmove.c: Likewise.
11430         * sysdeps/x86_64/memset.S: Likewise.
11431         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11432         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11433         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11434         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11435         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11436         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11437         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11438         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11439         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11440         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11441         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11442         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11443         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11444         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11445         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11446         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11447         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11448         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11449         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11450         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11451         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11452         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11453         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11454         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11455         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11456         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11457         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11458         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11459         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11460         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11461         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11462         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11463         * sysdeps/x86_64/strcmp.S: Likewise.
11465         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11467         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11468         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11469         * elf/rtld-Rules: Likewise.
11470         * elf/setup-vdso.h: Likewise.
11471         * include/assert.h: Likewise.
11472         * include/bits/stdlib-float.h: Likewise.
11473         * include/errno.h: Likewise.
11474         * include/sys/stat.h: Likewise.
11475         * include/unistd.h: Likewise.
11476         * sysdeps/aarch64/setjmp.S: Likewise.
11477         * sysdeps/alpha/setjmp.S: Likewise.
11478         * sysdeps/arm/__longjmp.S: Likewise.
11479         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11480         * sysdeps/arm/setjmp.S: Likewise.
11481         * sysdeps/arm/sysdep.h: Likewise.
11482         * sysdeps/generic/_itoa.h: Likewise.
11483         * sysdeps/generic/dl-sysdep.h: Likewise.
11484         * sysdeps/generic/ldsodefs.h: Likewise.
11485         * sysdeps/i386/dl-tls.h: Likewise.
11486         * sysdeps/i386/setjmp.S: Likewise.
11487         * sysdeps/m68k/setjmp.c: Likewise.
11488         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11489         * sysdeps/mach/hurd/opendir.c: Likewise.
11490         * sysdeps/posix/getcwd.c: Likewise.
11491         * sysdeps/posix/opendir.c: Likewise.
11492         * sysdeps/posix/profil.c: Likewise.
11493         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11494         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11495         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11496         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11497         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11498         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11499         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11500         * sysdeps/s390/dl-tls.h: Likewise.
11501         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11502         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11503         * sysdeps/sh/sh3/setjmp.S: Likewise.
11504         * sysdeps/sh/sh4/setjmp.S: Likewise.
11505         * sysdeps/unix/alpha/sysdep.h: Likewise.
11506         * sysdeps/unix/arm/sysdep.S: Likewise.
11507         * sysdeps/unix/i386/sysdep.S: Likewise.
11508         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11509         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11510         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11511         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11512         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11513         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11514         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11515         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11516         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11517         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11518         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11519         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11520         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11523         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11524         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11525         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11526         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11527         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11528         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11529         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11530         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11531         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11532         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11533         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11534         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11535         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11536         * sysdeps/x86_64/setjmp.S: Likewise.
11538         * include/math.h: Use IS_IN instead of IS_IN_libm.
11539         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11540         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11541         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11542         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11543         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11544         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11545         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11546         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11547         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11548         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11549         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11550         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11551         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11552         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11553         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11554         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11555         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11556         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11557         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11558         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11559         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11560         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11561         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11562         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11563         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11564         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11565         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11566         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11567         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11568         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11569         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11570         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11571         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11573         Likewise.
11574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11575         Likewise.
11576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11577         Likewise.
11578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11579         Likewise.
11580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11581         Likewise.
11582         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11583         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11584         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11585         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11586         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11587         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11593         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11594         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11595         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11596         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11597         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11598         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11599         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11600         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11601         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11602         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11603         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11604         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11605         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11606         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11608         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11610         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11611         * nptl/pthreadP.h: Likewise.
11612         * nptl_db/structs.def: Likewise.
11613         * sysdeps/arm/sysdep.h: Likewise.
11614         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11615         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11616         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11617         * sysdeps/unix/alpha/sysdep.h: Likewise.
11618         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11619         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11620         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11621         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11622         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11623         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11624         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11625         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11626         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11627         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11628         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11629         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11630         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11631         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11634         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11635         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11636         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11637         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11638         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11639         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11640         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11641         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11642         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11643         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11645         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11646         * nptl/pthreadP.h: Likewise.
11647         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11648         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11649         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11650         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11651         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11652         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11653         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11654         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11655         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11656         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11657         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11658         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11660         Likewise.
11661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11662         Likewise.
11663         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11664         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11665         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11667         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11668         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11669         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11670         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11672         * dlfcn/dladdr.c: Use IS_IN.
11673         * dlfcn/dladdr1.c: Likewise.
11674         * dlfcn/dlclose.c: Likewise.
11675         * dlfcn/dlerror.c: Likewise.
11676         * dlfcn/dlinfo.c: Likewise.
11677         * dlfcn/dlmopen.c: Likewise.
11678         * dlfcn/dlopen.c: Likewise.
11679         * dlfcn/dlsym.c: Likewise.
11680         * dlfcn/dlvsym.c: Likewise.
11682         * include/ifaddrs.h: Use IS_IN.
11683         * inet/check_pf.c: Likewise.
11684         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11685         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11687         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11688         IS_IN_ldconfig.
11689         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11690         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11692         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11693         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11694         IS_IN (libc).
11696         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11698         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11699         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11700         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11701         * include/libc-symbols.h (IS_IN_LIB): New macro.
11702         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11703         * include/netdb.h: Likewise.
11704         * include/stap-probe.h: Remove all uses of IN_LIB.
11706         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11707         instead of IN_MODULE.
11708         * include/libc-symbols.h (IN_MODULE): Define using
11709         MODULE_NAME.
11710         (PASTE_NAME, PASTE_NAME1): New macros.
11711         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11712         of IN_LIB.
11713         (STAP_PROBE_ASM): Likewise.
11715 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11717         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11718         __mach_init in dlopened libc.
11720 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11722         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11723         * sysdeps/arm/preconfigure: Regenerate.
11725 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11727         * nptl/pthread_create.c (__pthread_create_2_1): Set
11728         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11729         when copying values from IATTR into PD.
11731 2014-11-21  Will Newton  <will.newton@linaro.org>
11732             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11734         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11735         Refactor inline-asm.  Also add comment.
11737         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11738         ElfW macro instead of hardcoded Elf64 types.
11739         (la_aarch64_gnu_pltenter): Likewise.
11740         * sysdeps/aarch64/dl-machine.h
11741         (elf_machine_runtime_setup): Use ElfW(Addr).
11743         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11744         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11745         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11746         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11747         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11748         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11749         (R_AARCH64_TLS_DTPMOD): This.
11750         (R_AARCH64_TLS_DTPREL64): Rename to ...
11751         (R_AARCH64_TLS_DTPREL): This.
11752         (R_AARCH64_TLS_TPREL64): Rename to ...
11753         (R_AARCH64_TLS_TPREL): This.
11754         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11755         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11756         R_AARCH64_TLS_TPREL64.
11757         (elf_machine_rela): Likewise.
11759 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11761         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11762         by setting it to 0.  64b atomics are not supported currently.
11764 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11766         [BZ #16469]
11767         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11768         search domain names.
11770 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11772         [BZ #16469]
11773         * NEWS: Update.
11774         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11775         trailing dot.
11776         * posix/tst-getaddrinfo5.c: New.
11777         * posix/Makefile (tests): Add it.
11779 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11781         [BZ #14498]
11782         * NEWS: Fixed.
11783         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11784         after parsing line but before break_if_match.
11785         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11786         if there is a protocol mismatch.
11788 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11790         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11791         because the potential race is on the user-supplied stream.
11793 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11795         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11796         string literal if not passed a buffer.
11797         * manual/job.texi (ctermid): Update reasoning, note deviation
11798         from posix, suggest mtasurace when not passed a buffer, for
11799         future non-preliminary safety notes.
11801 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11803         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11804         of not passing it a buffer.
11805         Reported by Peng Haitao.
11807 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11809         * manual/Makefile ($(objpfx)stamp-summary): Require
11810         check-safety.sh to pass.
11811         * manual/check-safety.sh: Wish for verification that every
11812         @deftypefn and @deftypefun is followed by a @safety remark.
11814 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11816         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11818         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11819         PTHREAD_CANCEL_ASYNCHRONOUS.
11820         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11821         send SIGCANCEL.
11823         * nptl/default-sched.h: New file.
11824         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11825         * nptl/pthread_create.c: Include it.
11826         (__pthread_create_2_1): Use collect_default_sched instead of making
11827         Linux syscalls here directly.
11829 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11831         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11832         __pthread_once): Use C11 atomics.
11834 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11836         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11838 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11840         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11841         atomic_thread_fence_acquire, atomic_thread_fence_release,
11842         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11843         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11844         atomic_compare_exchange_weak_relaxed,
11845         atomic_compare_exchange_weak_acquire,
11846         atomic_compare_exchange_weak_release,
11847         atomic_exchange_acquire, atomic_exchange_release,
11848         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11849         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11850         atomic_fetch_and_acquire,
11851         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11853 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11855         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11856         USE_ATOMIC_COMPILER_BUILTINS): Define.
11857         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11858         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11859         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11860         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11861         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11862         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11863         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11864         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11865         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11866         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11867         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11868         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11869         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11870         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11871         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11872         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11873         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11874         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11875         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11876         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11877         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11878         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11879         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11880         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11881         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11882         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11883         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11884         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11885         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11886         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11887         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11888         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11889         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11890         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11891         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11892         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11893         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11894         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11895         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11896         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11898 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11900         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11901         the sched_priority value here.  It was already checked when the user
11902         called pthread_attr_setschedparam.
11904         * nptl/tst-bad-schedattr.c: New file.
11905         * nptl/Makefile (tests): Add it.
11907 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11908             Florian Weimer  <fweimer@redhat.com>
11909             Joseph Myers  <joseph@codesourcery.com>
11910             Adam Conrad  <adconrad@0c3.net>
11911             Andreas Schwab  <schwab@suse.de>
11912             Brooks  <bmoses@google.com>
11914         [BZ #17625]
11915         * wordexp-test.c (__dso_handle): Add prototype.
11916         (__register_atfork): Likewise.
11917         (__app_register_atfork): New function.
11918         (registered_forks): New global.
11919         (register_fork): New function.
11920         (test_case): Add 3 new tests for WRDE_CMDSUB.
11921         (main): Call __app_register_atfork.
11922         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11923         fork count is non-zero fail the test.
11924         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11925         is set.
11926         (parse_dollars): Remove check for WRDE_NOCMD.
11927         (parse_dquote): Likewise.
11929 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11931         * Makeconfig (built-modules): List non-library modules to be
11932         built.
11933         (module-cppflags): Include libc-modules.h for
11934         everything except shlib-versions.v.i.
11935         (CPPFLAGS): Use it.
11936         (before-compile): Add libc-modules.h.
11937         ($(common-objpfx)libc-modules.h,
11938         $(common-objpfx)libc-modules.stmp): New targets.
11939         (common-generated): Add libc-modules.h and libc-modules.stmp.
11940         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11941         * include/libc-symbols.h: Don't include libc-modules.h.
11942         * include/libc-modules.h: Remove file.
11943         * scripts/gen-libc-modules.awk: New script to generate
11944         libc-modules.h.
11945         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11946         Depend on libc-modules.stmp.
11948         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11950         * Makeconfig (in-module): Get value of libof set for the
11951         translation unit.
11952         (CPPFLAGS): Use $(in-module).
11953         * Makerules: Don't suffix routine names for nonlib.
11954         * include/libc-modules.h: New file.
11955         * include/libc-symbols.h: Include libc-modules.h
11956         (IS_IN): New macro to replace IS_IN_* macros.
11957         * elf/Makefile: Set libof-* for each routine.
11958         * elf/rtld-Rules: Likewise.
11959         * extra-modules.mk: Likewise.
11960         * iconv/Makefile: Likewise.
11961         * iconvdata/Makefile: Likewise.
11962         * locale/Makefile: Likewise.
11963         * malloc/Makefile: Likewise.
11964         * nss/Makefile: Likewise.
11965         * sysdeps/gnu/Makefile: Likewise.
11966         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11967         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11968         * sysdeps/s390/s390-64/Makefile: Likewise.
11969         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11970         CPPFLAGS for nscd instead of nonlib.
11972 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11974         * nptl/createthread.c: New file.
11976         * nptl/createthread.c: Moved ...
11977         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11979         * nptl/createthread.c: Add proper top-line comment.
11980         (do_clone): Folded into ...
11981         (create_thread): ... here.  Take new arguments STOPPED_START and
11982         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11983         increment __nptl_threads, do event-reporting logic, do
11984         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11985         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11986         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11987         just send SIGCANCEL.
11988         * nptl/pthread_create.c: Forward-declare create_thread before
11989         including createthread.c.
11990         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11991         declaration, and new macro START_THREAD_SELF to replace argument.
11992         Remove return statement.
11993         (report_thread_creation): New function.
11994         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11995         synchronization logic, and __nptl_nthreads increment here, around
11996         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11997         PD->parent_cancelhandling here, before create_thread.  When
11998         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11999         __deallocate_stack, and ENOMEM translation here.
12001 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12003         [BZ #17616]
12004         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12005         (mptwo): Rename to __mptwo.
12006         (__inv): Use __mptwo instead of mptwo.
12007         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12008         (mptwo): Rename to __mptwo.
12009         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12010         of mpone and __mptwo instead of mptwo.
12011         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12012         instead of mpone.
12013         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12014         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12015         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12016         of mpone and __mptwo instead of mptwo.
12017         (__mpranred): Use __mpone instead of mpone.
12018         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12019         variable.
12020         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12021         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12022         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12023         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12024         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12025         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12026         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12027         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12028         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12029         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12030         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12031         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12032         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12033         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12034         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12035         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12036         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12037         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12038         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12040 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12042         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12043         replace BSD Handler xref with BSD Signal Handling.
12045 2014-11-17  Richard Henderson  <rth@redhat.com>
12047         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12048         (_FP_PACK_RAW_2): Remove.
12049         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12050         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12051         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12052         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12053         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12054         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12055         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12056         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12057         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12058         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12059         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12060         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12061         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12062         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12063         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12064         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12066 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12068         * signal/signal.h [__USE_MISC]
12069         (struct sigvec): Remove type.
12070         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12071         (sigvec): Remove declaration.
12072         * sysdeps/posix/sigvec.c: Moved ...
12073         * signal/sigvec.c: ... here, replacing old file.
12074         (struct sigvec): New type, copied from old signal.h definition.
12075         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12076         (__sigvec): Convert definition to prototype.
12077         (sigvec): Replace weak_alias with compat_symbol.
12078         * signal/Versions (libc: GLIBC_2.21): New version set.
12079         * include/signal.h: Remove __sigvec declaration.
12080         * sysdeps/unix/bsd/sigvec.c: Remove file.
12081         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12082         * manual/signal.texi (BSD Handler): Remove subsection.
12083         Move siginterrupt up to ...
12084         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12085         (Blocking in BSD): Fold subsection into its parent.
12086         * NEWS: Mention sigvec removal.
12088 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12090         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12091         (DLA_FMS): Make definition conditional only on [__FMA4__].
12092         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12093         definition.
12095         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12096         Make definition conditional only on [PROF].
12097         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12098         definition.
12099         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12100         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12102         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12103         !__GNUC__].
12104         * include/signal.h (__sigpause): Move declaration above call to
12105         libc_hidden_proto.
12106         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12107         variable.
12108         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12109         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12111 2014-11-14  David S. Miller  <davem@davemloft.net>
12113         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12114         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12116 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12118         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12119         * configure: Regenerated.
12120         * manual/install.texi (Tools for Compilation): Document a
12121         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12122         compiler verified to work.
12123         * INSTALL: Regenerated.
12125         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12126         redeclare with asm name.
12127         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12128         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12129         including <string.h>.
12130         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12131         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12132         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12133         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12134         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12135         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12136         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12138 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12140         * stdlib/strtol.c (__strtol): Use prototype definition.
12142         [BZ #17594]
12143         * stdlib/strtol.c (SYM__): New macro.
12144         (SYM__1): Likewise.
12145         (__strtol): Likewise.
12146         (strtol): Rename to __strtol and define as weak alias of
12147         __strtol.  Use libc_hidden_weak.
12149 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12151         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12152         Use numbered labels in inline assembly.
12154 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12156         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12157         Add setjmp LIBC_PROBE.
12158         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12159         Likewise.
12160         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12161         Add longjmp, longjmp_target LIBC_PROBE.
12162         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12163         Likewise.
12165 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12167         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12168         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12169         to get rid of unused variable warning.
12171 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12173         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12174         Check for unwind_backtrace ==  NULL only in SHARED case.
12175         (__backchain_backtrace): Compile only in SHARED case.
12176         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12177         Likewise.
12178         (__backchain_backtrace): Declare as static.
12180 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12182         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12183         (__libc_multiple_threads_ptr): Variable moved ...
12184         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12186 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12188         * conform/GlibcConform.pm: New file.
12189         * conform/conformtest.pl: Use GlibcConform module.
12190         * conform/linknamespace.pl: New file.
12191         * conform/list-header-symbols.pl: Likewise.
12192         * conform/Makefile (linknamespace-symlists-base): New variable.
12193         (linknamespace-symlists-tests): Likewise.
12194         (linknamespace-header-base): Likewise.
12195         (linknamespace-header-tests): Likewise.
12196         (tests-special): Add new tests.
12197         ($(linknamespace-symlists-tests)): New rule.
12198         (linknamespace-libs): New variable.
12199         ($(objpfx)symlist-stdlibs): New rule.
12200         ($(linknamespace-header-tests)): Likewise.
12201         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12202         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12203         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12204         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12205         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12206         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12207         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12208         (test-xfail-ISO/math.h/linknamespace): Likewise.
12209         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12210         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12211         (test-xfail-ISO/time.h/linknamespace): Likewise.
12212         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12213         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12214         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12215         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12216         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12217         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12218         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12219         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12220         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12221         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12222         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12223         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12224         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12225         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12226         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12227         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12228         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12229         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12230         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12231         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12232         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12233         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12234         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12235         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12236         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12237         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12238         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12239         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12240         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12241         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12242         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12243         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12244         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12245         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12246         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12247         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12248         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12249         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12250         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12251         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12252         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12253         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12254         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12255         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12256         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12257         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12258         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12259         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12260         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12261         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12262         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12263         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12264         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12265         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12266         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12267         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12268         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12269         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12270         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12271         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12272         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12273         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12274         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12275         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12276         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12277         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12278         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12279         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12280         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12281         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12282         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12283         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12284         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12285         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12286         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12287         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12288         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12289         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12290         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12291         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12292         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12293         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12294         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12295         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12296         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12297         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12298         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12299         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12300         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12301         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12302         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12303         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12304         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12305         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12306         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12307         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12308         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12309         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12310         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12311         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12312         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12313         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12314         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12315         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12316         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12317         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12318         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12319         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12320         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12321         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12322         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12323         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12324         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12325         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12326         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12327         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12328         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12329         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12330         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12331         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12332         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12333         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12334         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12335         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12336         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12337         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12338         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12339         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12340         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12341         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12342         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12343         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12344         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12345         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12346         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12347         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12348         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12349         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12350         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12351         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12352         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12353         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12354         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12355         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12356         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12357         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12358         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12359         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12360         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12361         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12363         [BZ #17589]
12364         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12365         of fgets_unlocked.
12367         [BZ #17585]
12368         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12369         (memmem): Rename to __memmem and define as weak alias of
12370         __memmem.  Use libc_hidden_weak.
12371         (__memmem): Use libc_hidden_def.
12372         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12373         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12374         memmem.
12376         [BZ #17582]
12377         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12378         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12379         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12380         and define as weak alias of __fgets_unlocked.  Use
12381         libc_hidden_weak.
12382         (__fgets_unlocked): Use libc_hidden_def.
12383         * include/stdio.h (__fgets_unlocked): Declare.  Use
12384         libc_hidden_proto.
12385         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12386         __fgets_unlocked instead of fgets_unlocked.
12387         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12388         (GET_NPROCS_CONF_PARSER): Likewise.
12389         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12390         (GET_NPROCS_CONF_PARSER): Likewise.
12392         [BZ #17574]
12393         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12394         weak alias of __wmemset.  Use libc_hidden_weak.
12395         (__wmemset): Use libc_hidden_def.
12396         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12397         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12398         of wmemset.
12400         [BZ #17573]
12401         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12402         with asm name __mempcpy.
12403         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12405         [BZ #17572]
12406         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12407         and define as weak alias of __rawmemchr.
12408         (__rawmemchr): Do not define as strong alias of rawmemchr.
12410         [BZ #17571]
12411         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12412         alias of __qsort_r.
12413         (qsort): Call __qsort_r instead of qsort_r.
12414         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12415         (__qsort_r): Declare.  Call libc_hidden_proto.
12416         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12417         instead of qsort_r.
12418         * nscd/gai.c (__qsort_r): Define to qsort_r.
12419         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12420         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12421         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12423         [BZ #17570]
12424         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12425         define as weak alias of __malloc_info.
12427         [BZ #17584]
12428         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12429         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12430         (__rewinddir): Use libc_hidden_def.
12431         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12432         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12433         (__rewinddir): Use libc_hidden_def.
12434         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12435         weak alias of __rewinddir.  Don't use libc_hidden_def.
12436         (__rewinddir): Use libc_hidden_def.
12437         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12438         (__rewinddir): Use libc_hidden_proto.
12439         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12440         rewinddir.
12441         (__getcwd): Use __rewinddir instead of rewinddir.
12443         [BZ #17583]
12444         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12445         alias of __fileno.  Use libc_hidden_weak.
12446         (__fileno): Use libc_hidden_def.
12447         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12448         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12449         alias of __ftello.
12450         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12451         __ftello.
12452         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12453         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12454         libc_hidden_def.
12455         (fread_unlocked): Don't use libc_hidden_ver.
12456         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12457         and define as weak alias of __fread_unlocked.  Don't use
12458         libc_hidden_def.
12459         (__fread_unlocked): Use libc_hidden_def.
12460         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12461         (ftello): Don't use libc_hidden_proto.
12462         (__ftello): Declare.  Use libc_hidden_proto.
12463         (fread_unlocked): Don't use libc_hidden_proto.
12464         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12465         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12466         and __ftello instead of fileno, fread_unlocked and ftello.
12468 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12470         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12471         GOT12.
12472         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12473         Likewise.
12474         (_dl_start_user): Likewise.
12475         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12477 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12478             Siddhesh Poyarekar  <siddhesh@redhat.com>
12480         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12481         Move argv and envp down instead of moving argc up.
12482         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12484 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12486         [BZ #17506]
12487         * test-skeleton.c (main): Return successful if one of
12488         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12489         * string/tst-strcoll-overflow.c: Define expected status.
12491 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12493         [BZ #17475]
12494         * locale/iso-639.def: Define Bhili and Tulu language codes.
12496 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12498         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12500 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12502         [BZ #17555]
12503         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12505 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12507         * configure.ac: Updated check of minimal required version to
12508         2.22.
12509         * manual/install.texi (Tools for Compilation): Updated version
12510         number.
12511         * configure: Regenerated.
12512         * INSTALL: Likewise.
12514 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12516         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12517         __tls_get_addr.
12519 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12521         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12522         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12523         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12524         libc_hidden_weak.
12525         (waitpid): Define as alias of __waitpid.
12526         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12527         __waitpid.
12528         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12529         libc_hidden_weak.
12530         (waitpid): Define as alias of __waitpid.
12531         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12532         __libc_waitpid alias.
12533         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12534         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12535         Likewise.
12536         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12537         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12538         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12539         alias.
12540         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12541         __waitpid.
12542         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12543         libc_hidden_weak.
12544         (waitpid): Define as alias of __waitpid.
12546 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12548         * manual/llio.texi: Add comment that write safety has been
12549         fixed in Linux.
12551         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12552         (localplt-build-dso): Add elf/ld.so.
12553         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12554         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12555         and free for ld.so.
12556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12557         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12559         Likewise.
12560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12561         Likewise.
12562         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12563         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12564         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12565         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12566         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12567         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12568         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12569         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12570         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12571         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12572         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12574 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12576         [BZ #14132]
12577         * include/libc-symbols.h (INTUSE): Remove macro.
12578         (INTDEF): Likewise.
12579         (INTVARDEF): Likewise.
12580         (_INTVARDEF): Likewise.
12581         (INTDEF2): Likewise.
12582         (INTVARDEF2): Likewise.
12583         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12584         rtld_hidden_def instead of INTVARDEF.
12585         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12586         (_dl_starting_up_internal): Remove declaration.
12587         (_dl_starting_up): Use rtld_hidden_proto.
12588         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12589         declaration.
12590         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12591         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12592         _dl_starting_up.
12593         * elf/dl-writev.h (_dl_writev): Likewise.
12594         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12595         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12596         _dl_starting_up_internal.
12598 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12600         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12601         test-skeleton.c.
12603 2014-11-05  Will Newton  <will.newton@linaro.org>
12605         * benchtests/Makefile: (bench-malloc): Add malloc thread
12606         scalability benchmark.
12607         * benchtests/bench-malloc-threads.c: New file.
12609 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12611         * sysdeps/aarch64/strchrnul.S: New file.
12613 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12615         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12616         definition.
12617         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12618         Likwise.
12619         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12620         Likewise.
12621         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12622         Likewise.
12623         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12624         Likewise.
12625         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12626         Likewise.
12628 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12630         * catgets/test-gencat.c: Use test-skeleton.c.
12631         * catgets/tst-catgets.c: Likewise.
12632         * csu/tst-empty.c: Likewise.
12633         * elf/tst-audit2.c: Likewise.
12634         * elf/tst-global1.c: Likewise.
12635         * elf/tst-pathopt.c: Likewise.
12636         * elf/tst-piemod1.c: Likewise.
12637         * elf/tst-tls10.c: Likewise.
12638         * elf/tst-tls11.c: Likewise.
12639         * elf/tst-tls12.c: Likewise.
12640         * gnulib/tst-gcc.c: Likewise.
12641         * iconvdata/tst-e2big.c: Likewise.
12642         * iconvdata/tst-loading.c: Likewise.
12643         * iconv/tst-iconv1.c: Likewise.
12644         * iconv/tst-iconv2.c: Likewise.
12645         * inet/test-inet6_opt.c: Likewise.
12646         * inet/tst-gethnm.c: Likewise.
12647         * inet/tst-network.c: Likewise.
12648         * inet/tst-ntoa.c: Likewise.
12649         * intl/tst-codeset.c: Likewise.
12650         * intl/tst-gettext2.c: Likewise.
12651         * intl/tst-gettext3.c: Likewise.
12652         * intl/tst-ngettext.c: Likewise.
12653         * intl/tst-translit.c: Likewise.
12654         * io/test-stat.c: Likewise.
12655         * libio/test-fmemopen.c: Likewise.
12656         * libio/tst-freopen.c: Likewise.
12657         * libio/tst-sscanf.c: Likewise.
12658         * libio/tst-ungetwc1.c: Likewise.
12659         * libio/tst-ungetwc2.c: Likewise.
12660         * libio/tst-widetext.c: Likewise.
12661         * localedata/tst-ctype.c: Likewise.
12662         * localedata/tst-digits.c: Likewise.
12663         * localedata/tst-leaks.c: Likewise.
12664         * localedata/tst-mbswcs1.c: Likewise.
12665         * localedata/tst-mbswcs2.c: Likewise.
12666         * localedata/tst-mbswcs3.c: Likewise.
12667         * localedata/tst-mbswcs4.c: Likewise.
12668         * localedata/tst-mbswcs5.c: Likewise.
12669         * localedata/tst-setlocale.c: Likewise.
12670         * localedata/tst-trans.c: Likewise.
12671         * localedata/tst-wctype.c: Likewise.
12672         * localedata/tst-xlocale1.c: Likewise.
12673         * login/tst-grantpt.c: Likewise.
12674         * malloc/tst-calloc.c: Likewise.
12675         * malloc/tst-malloc.c: Likewise.
12676         * malloc/tst-mallocstate.c: Likewise.
12677         * malloc/tst-mcheck.c: Likewise.
12678         * malloc/tst-mtrace.c: Likewise.
12679         * malloc/tst-obstack.c: Likewise.
12680         * math/atest-exp2.c: Likewise.
12681         * math/atest-exp.c: Likewise.
12682         * math/atest-sincos.c: Likewise.
12683         * math/test-matherr.c: Likewise.
12684         * math/test-misc.c: Likewise.
12685         * math/test-powl.c: Likewise.
12686         * math/tst-definitions.c: Likewise.
12687         * misc/tst-dirname.c: Likewise.
12688         * misc/tst-efgcvt.c: Likewise.
12689         * misc/tst-fdset.c: Likewise.
12690         * misc/tst-hsearch.c: Likewise.
12691         * misc/tst-mntent2.c: Likewise.
12692         * nptl/tst-sem7.c: Likewise.
12693         * nptl/tst-sem8.c: Likewise.
12694         * nptl/tst-sem9.c: Likewise.
12695         * nss/test-netdb.c: Likewise.
12696         * posix/tst-fnmatch.c: Likewise.
12697         * posix/tst-getlogin.c: Likewise.
12698         * posix/tst-gnuglob.c: Likewise.
12699         * posix/tst-mmap.c: Likewise.
12700         * pwd/tst-getpw.c: Likewise.
12701         * resolv/tst-inet_ntop.c: Likewise.
12702         * rt/tst-timer.c: Likewise.
12703         * stdio-common/test-fseek.c: Likewise.
12704         * stdio-common/test-popen.c: Likewise.
12705         * stdio-common/test-vfprintf.c: Likewise.
12706         * stdio-common/tst-cookie.c: Likewise.
12707         * stdio-common/tst-fileno.c: Likewise.
12708         * stdio-common/tst-gets.c: Likewise.
12709         * stdio-common/tst-obprintf.c: Likewise.
12710         * stdio-common/tst-perror.c: Likewise.
12711         * stdio-common/tst-sprintf2.c: Likewise.
12712         * stdio-common/tst-sprintf3.c: Likewise.
12713         * stdio-common/tst-sprintf.c: Likewise.
12714         * stdio-common/tst-swprintf.c: Likewise.
12715         * stdio-common/tst-tmpnam.c: Likewise.
12716         * stdio-common/tst-unbputc.c: Likewise.
12717         * stdio-common/tst-wc-printf.c: Likewise.
12718         * stdlib/tst-environ.c: Likewise.
12719         * stdlib/tst-fmtmsg.c: Likewise.
12720         * stdlib/tst-limits.c: Likewise.
12721         * stdlib/tst-rand48-2.c: Likewise.
12722         * stdlib/tst-rand48.c: Likewise.
12723         * stdlib/tst-random2.c: Likewise.
12724         * stdlib/tst-random.c: Likewise.
12725         * stdlib/tst-strtol.c: Likewise.
12726         * stdlib/tst-strtoll.c: Likewise.
12727         * stdlib/tst-tls-atexit.c: Likewise.
12728         * stdlib/tst-xpg-basename.c: Likewise.
12729         * string/test-ffs.c: Likewise.
12730         * string/tst-bswap.c: Likewise.
12731         * string/tst-inlcall.c: Likewise.
12732         * string/tst-strtok.c: Likewise.
12733         * string/tst-strxfrm.c: Likewise.
12734         * sysdeps/x86_64/tst-audit10.c: Likewise.
12735         * sysdeps/x86_64/tst-audit3.c: Likewise.
12736         * sysdeps/x86_64/tst-audit4.c: Likewise.
12737         * sysdeps/x86_64/tst-audit5.c: Likewise.
12738         * time/tst-ftime_l.c: Likewise.
12739         * time/tst-getdate.c: Likewise.
12740         * time/tst-mktime3.c: Likewise.
12741         * time/tst-mktime.c: Likewise.
12742         * time/tst-posixtz.c: Likewise.
12743         * time/tst-strptime2.c: Likewise.
12744         * time/tst-strptime3.c: Likewise.
12745         * wcsmbs/tst-btowc.c: Likewise.
12746         * wcsmbs/tst-mbrtowc.c: Likewise.
12747         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12748         * wcsmbs/tst-wchar-h.c: Likewise.
12749         * wcsmbs/tst-wcpncpy.c: Likewise.
12750         * wcsmbs/tst-wcrtomb.c: Likewise.
12751         * wcsmbs/tst-wcsnlen.c: Likewise.
12752         * wcsmbs/tst-wcstof.c: Likewise.
12754 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12756         [BZ #14132]
12757         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12758         INTDEF.
12759         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12760         declaration.
12761         (_dl_mcount): Use rtld_hidden_proto.
12762         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12763         _dl_mcount.
12764         * elf/rtld.c (_rtld_global_ro): Likewise.
12766         [BZ #14132]
12767         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12768         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12769         of _dl_init_internal.
12770         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12771         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12772         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12773         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12774         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12775         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12776         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12777         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12778         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12779         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12780         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12781         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12782         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12783         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12784         * sysdeps/tile/dl-start.S (_start): Likewise.
12785         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12786         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12788         [BZ #14132]
12789         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12790         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12791         (rtld_progname): Make macro definition unconditional.
12792         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12793         INTDEF.
12794         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12795         (dl_main): Likewise.
12796         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12797         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12798         instead of _dl_argv_internal.
12799         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12800         __GI__dl_argv instead of INTUSE(_dl_argv).
12801         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12802         __GI__dl_argv instead of _dl_argv_internal.
12804         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12805         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12806         macro.
12807         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12808         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12809         New macro.
12810         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12811         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12812         macro.
12813         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12814         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12816 2014-11-04  Andreas Schwab  <schwab@suse.de>
12818         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12820 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12822         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12823         mtvsrd instruction in binary form.
12825 2014-11-03  Andreas Schwab  <schwab@suse.de>
12827         [BZ #17522]
12828         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12829         for less than MB_LEN_MAX use a local buffer of that size.
12830         * libio/tst-fputws.c: New file.
12831         * libio/Makefile (tests): Add tst-fputws.
12833 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12835         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12836         the size of the fpu_fr.fpu_dregs[] array.
12838 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12840         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12841         (__nanosleep): Do not define as alias.
12842         (nanosleep): Define as alias of __nanosleep.
12843         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12844         __libc_nanosleep name.
12846 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12848         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12849         install.texi in comment.
12851 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12853         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12854         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12855         ... add here and use lwsync or sync ...
12856         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12857         ... and add here using lwsync.
12859 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12861         * elf/dl-machine-reject-phdr.h: New file.
12862         * elf/dl-load.c: #include that.
12863         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12864         if that returned true.
12866 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12868         [BZ #17496]
12869         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12870         gen-as-const-headers chunk.  Add a big scare comment after the last
12871         safe place to touch before-compile.
12873 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12875         * manual/install.texi (Tools for Compilation): Update autoconf
12876         version requirements.
12877         * INSTALL: Regenerated.
12879         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12880         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12881         (__libc_pselect): Likewise.
12883         [BZ #14138]
12884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12889 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12891         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12892         correct barrier instruction.
12893         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12894         Likewise.
12895         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12896         Likewise.
12898 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12900         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12901         after defining inlines.  Instead, just use parens to defeat macro
12902         expansion of __isctype in its declaration.
12904 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12906         * include/sys/uio.h (__libc_readv): Remove declaration.
12907         (__libc_writev): Likewise.
12908         * misc/readv.c (__libc_readv): Rename to __readv.
12909         (__readv): Do not define as alias.
12910         (readv): Define as alias of __readv.
12911         * misc/writev.c (__libc_writev): Rename to __writev.
12912         (__writev): Do not define as alias.
12913         (writev): Define as alias of __writev.
12914         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12915         (__readv): Do not define as alias.
12916         (readv): Define unconditionally as alias of __readv.
12917         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12918         (__writev): Do not define as alias.
12919         (writev): Define unconditionally as alias of __writev.
12920         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12921         name.
12922         (writev): Do not define __libc_writev name.
12924 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12926         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12927         (convert_charseq): New function, broken out of ...
12928         (use_from_charmap): ... here.  Call it.
12929         (use_to_charmap): Use convert_charseq and free instead of duplicating
12930         its code with a variable-length stack struct.
12932 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12934         * include/fcntl.h (__libc_creat): Remove declaration.
12935         * io/creat.c (__libc_creat): Rename to creat.
12936         (creat): Do not define as alias.
12937         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12938         of creat instead of __libc_creat.
12939         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12940         to creat.
12941         (creat): Do not define as alias.
12942         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12943         __libc_creat.
12944         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12945         __libc_creat name.
12946         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12947         Likewise.
12949 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12951         * manual/llio.texi: Add comments discussing why write() may be
12952         considered MT-unsafe on Linux.
12954 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12956         * dl-load.c (local_strdup): Remove.
12957         (expand_dynamic_string_token): Use __strdup.
12958         (decompose_rpath): Likewise.
12959         (_dl_map_object): Likewise.
12961 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12963         [BZ #14132]
12964         * sysdeps/generic/unwind-dw2-fde.c
12965         (__register_frame_info_bases_internal): Do not declare.
12966         (__register_frame_info_table_bases_internal): Likewise.
12967         (__deregister_frame_info_bases_internal): Likewise.
12968         (__register_frame_info_bases): Declare and use hidden_proto before
12969         definition.  Use hidden_def instead of INTDEF.
12970         (__register_frame_info_table_bases): Likewise.
12971         (__deregister_frame_info_bases): Likewise.
12972         (__register_frame_info): Do not use INTUSE.
12973         (__register_frame): Likewise.
12974         (__register_frame_info_table): Likewise.
12975         (__register_frame_table): Likewise.
12976         (__deregister_frame_info): Likewise.
12977         (__deregister_frame): Likewise.
12979 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12981         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12982         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12983         not undefine.
12984         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12985         Likewise.
12986         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12987         Likewise.
12989 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12991         [BZ #14138]
12992         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12993         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12994         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12995         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12996         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12997         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12998         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12999         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13000         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13001         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13002         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13003         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13004         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13005         syscall.
13006         (setfsuid): Likewise.
13007         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13008         (setfsuid): Likewise.
13009         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13010         (setfsuid): Likewise.
13011         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13012         Likewise.
13013         (setfsuid): Likewise.
13014         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13015         (setfsuid): Likewise.
13016         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13017         Likewise.
13018         (setfsuid): Likewise.
13020 2014-10-27  Andreas Schwab  <schwab@suse.de>
13022         [BZ #17501]
13023         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13024         check for Slow_SSE4_2 feature bit.
13025         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13026         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13027         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13028         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13030 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13032         * configure.ac: Validate compiler version with a empirical test of
13033         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13034         $CC -v output.
13035         * configure: Regenerated.
13037         * inet/htons.c (htons): Prototypify.
13038         * inet/htonl.c (htonl): Likewise.
13040 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13042         * string/strncat.c (strncat): Improve performance by using strlen.
13044 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13046         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13048 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13050         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13051         Call libc_fetestexcept_aarch64.
13053 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13055         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13056         Call libc_feholdexcept_aarch64.
13058 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13060         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13061         Call get_rounding_mode.
13063 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13065         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13066         Simplify logic.
13068 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13070         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13071         Simplify logic.
13073 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13075         [BZ #14138]
13076         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13077         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13078         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13079         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13080         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13081         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13082         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13083         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13084         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13085         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13086         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13087         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13088         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13089         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13090         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13091         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13092         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13093         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13094         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13095         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13096         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13097         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13098         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13099         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13100         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13101         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13102         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13103         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13104         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13105         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13106         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13107         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13108         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13109         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13110         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13111         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13112         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13113         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13114         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13115         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13116         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13117         syscall.
13118         (geteuid): Likewise.
13119         (getgid): Likewise.
13120         (getuid): Likewise.
13121         (getresgid): Likewise.
13122         (getresuid): Likewise.
13123         (getgroups): Likewise.
13124         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13125         (geteuid): Likewise.
13126         (getgid): Likewise.
13127         (getuid): Likewise.
13128         (getresgid): Likewise.
13129         (getresuid): Likewise.
13130         (getgroups): Likewise.
13131         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13132         (geteuid): Likewise.
13133         (getgid): Likewise.
13134         (getuid): Likewise.
13135         (getresgid): Likewise.
13136         (getresuid): Likewise.
13137         (getgroups): Likewise.
13138         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13139         Likewise.
13140         (geteuid): Likewise.
13141         (getgid): Likewise.
13142         (getuid): Likewise.
13143         (getresgid): Likewise.
13144         (getresuid): Likewise.
13145         (getgroups): Likewise.
13146         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13147         (geteuid): Likewise.
13148         (getgid): Likewise.
13149         (getuid): Likewise.
13150         (getresgid): Likewise.
13151         (getresuid): Likewise.
13152         (getgroups): Likewise.
13153         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13154         Likewise.
13155         (geteuid): Likewise.
13156         (getgid): Likewise.
13157         (getuid): Likewise.
13158         (getgroups): Likewise.
13160         [BZ #14138]
13161         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13162         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13163         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13164         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13165         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13166         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13167         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13168         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13169         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13170         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13171         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13172         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13173         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13174         __chown.
13175         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13176         (lchown): Likewise.
13177         (fchown): Likewise.
13178         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13179         Likewise.
13180         (lchown): Likewise.
13181         (fchown): Likewise.
13182         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13183         (lchown): Likewise.
13184         (fchown): Likewise.
13185         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13186         Likewise.
13187         (lchown): Likewise.
13188         (fchown): Likewise.
13190 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13192         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13193         Simplify logic.
13195 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13197         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13198         Cleanup logic.
13200 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13202         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13203         Remove unused include.
13205 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13207         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13208         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13209         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13210         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13212 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13213             Helge Deller <deller@gmx.de>
13215         [BZ #17508]
13216         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13217         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13218         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13220 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13222         [BZ #14132]
13223         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13224         Remove macro definition.
13225         (__ashrdi3_v_glibc20): Likewise.
13226         (__lshrdi3_v_glibc20): Likewise.
13227         (__cmpdi2_v_glibc20): Likewise.
13228         (__ucmpdi2_v_glibc20): Likewise.
13229         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13230         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13231         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13232         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13233         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13234         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13236 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13238         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13239         old GNU extension [0] syntax.
13240         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13241         alloca rather than an array member with variable length.
13242         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13243         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13244         (parse_opt): ... here.  Likewise use alloca there.
13245         Validate the -i argument before checking for rootness.
13246         (send_shutdown): New function, broken out of ...
13247         (parse_opt): ... here.
13249 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13251         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13252         macro to get at the _rt_local_ro field.
13253         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13254         ([PIC] case) or _dl_hwcap ([!PIC] case).
13255         * sysdeps/arm/setjmp.S: Likewise.
13257         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13258         * sysdeps/arm/configure.ac: New check to define it.
13259         * sysdeps/arm/configure: Regenerated.
13260         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13261         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13262         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13263         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13264         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13265         Use move/movt pair instead of a load.
13266         (LDST_GLOBAL): Macro removed.
13267         (LDR_GLOBAL): New macro replaces it.
13268         (LDR_HIDDEN): New macro.
13269         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13270         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13272         * setjmp/tst-setjmp-static.c: New file.
13273         * setjmp/Makefile (tests): Add it.
13274         (tests-static): New variable.
13276 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13278         [BZ #17485]
13279         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13281 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13283         [BZ #14132]
13284         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13286 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13288         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13290 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13292         * io/fts.c (dirent_not_directory): New function.
13293         (fts_build): Call it.
13295 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13297         * nptl/version.c (__nptl_main): Use normal __write rather than
13298         INTERNAL_SYSCALL.
13299         (banner): Update copyright years.
13301         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13302         gettimeofday.
13303         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13304         * nptl/pthread_cond_timedwait.c: Likewise.
13305         * nptl/pthread_mutex_timedlock.c: Likewise.
13306         * nptl/sem_timedwait.c: Likewise.
13308         * sysdeps/nptl/bits/libc-lock.h
13309         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13310         (__libc_lock_init_recursive): Return void, not 0.
13311         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13312         (__libc_rwlock_init): Likewise.
13313         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13315 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13317         [BZ #15215]
13318         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13319         (__pthread_once_slow): ... here.
13320         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13321         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13323 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13325         [BZ #15215]
13326         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13327         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13328         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13329         * nptl/pthread_once.c (__pthread_once): Likewise.
13330         Update comments.
13332 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13334         [BZ #14138]
13335         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13336         name.
13337         (writev): Use __libc_writev as strong name.
13338         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13339         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13341 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13343         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13345         * sysdeps/i386/nptl/tls.h
13346         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13347         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13348         New macros.
13349         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13350         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13351         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13352         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13353         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13354         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13356         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13357         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13358         on [__NR_futex].
13359         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13360         broken out of ...
13361         (__pthread_mutex_init): ... here.  Call it.
13362         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13363         Conditionalize PI cases on [__NR_futex].
13364         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13365         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13366         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13368         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13369         conditional on [SIGSETXID].
13370         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13371         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13372         is defined.  Likewise for SIGSETXID.
13373         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13374         Conditionalize definitions on [SIGSETXID].
13375         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13376         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13377         unblocking on [SIGCANCEL].
13379         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13380         [__NR_set_robust_list].
13382 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13384         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13385         (do_compare): Likewise.
13387 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13389         [BZ #15884]
13390         * string/strcoll_l.c: Don't include stdio.h.
13391         (coll_seq): Remove members idxarr and rulearr.
13392         (get_next_seq_cached): Remove function.
13393         (get_next_seq): Likewise.
13394         (get_next_seq_nocache): Rename to get_next_seq.
13395         (do_compare): Remove function.
13396         (do_compare_nocache): Rename to do_compare.
13397         (STRCOLL): Remove weight and rules cache.
13399 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13401         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13402         * sysdeps/arm/sfp-machine.h: ... to here.
13403         * sysdeps/arm/Implies: Remove arm/soft-fp.
13405 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13407         * conform/data/sys/utsname.h-data (*_t): Allow.
13408         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13409         [POSIX] (WEXITED): Do not expect constant.
13410         [POSIX] (WSTOPPED): Likewise.
13411         [POSIX] (WNOHANG): Likewise.
13412         [POSIX] (WNOWAIT): Likewise.
13413         [POSIX] (siginfo_t): Do not expect type or elements.
13414         [POSIX] (pid_t): Do not expect type.
13415         [POSIX] (signal.h): Do not allow header.
13416         [POSIX] (sys/resource.h): Likewise.
13417         [POSIX] (si_*): Do not allow pattern.
13418         [POSIX] (W*): Likewise.
13419         [POSIX] (P_*): Likewise.
13420         [POSIX] (BUS_*): Likewise.
13421         [POSIX] (CLD_*): Likewise.
13422         [POSIX] (FPE_*): Likewise.
13423         [POSIX] (ILL_*): Likewise.
13424         [POSIX] (POLL_*): Likewise.
13425         [POSIX] (SEGV_*): Likewise.
13426         [POSIX] (SI_*): Likewise.
13427         [POSIX] (TRAP_*): Likewise.
13428         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13429         variable.
13431 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13433         [BZ #12926]
13434         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13435         infinite loop when __recvmsg returns 0.
13437 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13439         * CANCEL-FCT-WAIVE: Remove file.
13440         * CANCEL-FILE-WAIVE: Likewise.
13442         [BZ #14132]
13443         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13444         instead of INTVARDEF.
13445         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13446         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13447         rtld_hidden_data_def instead of INTVARDEF.
13448         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13449         * elf/dl-deps.c (expand_dst): Likewise.
13450         * elf/dl-load.c (_dl_dst_count): Likewise.
13451         (_dl_dst_substitute): Likewise.
13452         (decompose_rpath): Likewise.
13453         (_dl_init_paths): Likewise.
13454         (open_path): Likewise.
13455         (_dl_map_object): Likewise.
13456         * elf/rtld.c (dl_main): Likewise.
13457         (process_dl_audit): Likewise.
13458         (process_envvars): Likewise.
13459         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13460         Remove declaration.
13461         (__libc_enable_secure): Use rtld_hidden_proto.
13463 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13465         * elf/dl-load.c
13466         (add_path): New function broken out of _dl_rtld_di_serinfo.
13467         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13469 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13471         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13472         parentheses around macro arguments.
13473         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13474         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13475         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13476         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13477         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13478         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13479         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13480         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13481         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13482         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13483         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13484         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13485         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13486         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13487         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13488         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13489         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13490         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13491         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13492         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13493         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13494         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13495         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13496         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13497         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13498         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13499         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13500         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13501         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13502         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13503         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13504         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13505         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13506         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13507         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13508         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13509         Likewise.
13510         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13511         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13512         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13513         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13514         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13515         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13516         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13517         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13518         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13519         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13520         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13521         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13522         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13523         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13524         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13525         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13526         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13527         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13528         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13529         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13530         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13531         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13532         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13533         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13534         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13535         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13536         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13537         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13538         (_FP_FRAC_SRS_1): Likewise.
13539         (_FP_FRAC_CLZ_1): Likewise.
13540         (_FP_MUL_MEAT_1_imm): Likewise.
13541         (_FP_MUL_MEAT_1_wide): Likewise.
13542         (_FP_MUL_MEAT_1_hard): Likewise.
13543         (_FP_SQRT_MEAT_1): Likewise.
13544         (_FP_FRAC_ASSEMBLE_1): Likewise.
13545         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13546         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13547         (__FP_CLZ_2): Likewise.
13548         (_FP_MUL_MEAT_2_wide): Likewise.
13549         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13550         (_FP_MUL_MEAT_2_gmp): Likewise.
13551         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13552         (_FP_SQRT_MEAT_2): Likewise.
13553         (_FP_FRAC_ASSEMBLE_2): Likewise.
13554         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13555         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13556         (_FP_FRAC_CLZ_4): Likewise.
13557         (_FP_MUL_MEAT_4_wide): Likewise.
13558         (_FP_MUL_MEAT_4_gmp): Likewise.
13559         (_FP_SQRT_MEAT_4): Likewise.
13560         (_FP_FRAC_ASSEMBLE_4): Likewise.
13561         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13562         * soft-fp/op-common.h (_FP_CMP): Likewise.
13563         (_FP_CMP_EQ): Likewise.
13564         (_FP_CMP_UNORD): Likewise.
13565         (_FP_TO_INT): Likewise.
13566         (_FP_FROM_INT): Likewise.
13567         [!__FP_CLZ] (__FP_CLZ): Likewise.
13568         (_FP_DIV_HELP_imm): Likewise.
13569         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13570         Likewise.
13571         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13572         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13573         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13574         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13575         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13576         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13577         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13578         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13579         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13580         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13581         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13582         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13583         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13584         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13585         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13586         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13587         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13588         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13589         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13590         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13591         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13592         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13593         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13594         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13595         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13596         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13597         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13598         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13599         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13600         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13601         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13602         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13603         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13604         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13605         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13606         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13607         (FP_UNPACK_RAW_SP): Likewise.
13608         (FP_PACK_RAW_S): Likewise.
13609         (FP_PACK_RAW_SP): Likewise.
13610         (FP_UNPACK_S): Likewise.
13611         (FP_UNPACK_SP): Likewise.
13612         (FP_UNPACK_SEMIRAW_S): Likewise.
13613         (FP_UNPACK_SEMIRAW_SP): Likewise.
13614         (FP_PACK_S): Likewise.
13615         (FP_PACK_SP): Likewise.
13616         (FP_PACK_SEMIRAW_S): Likewise.
13617         (FP_PACK_SEMIRAW_SP): Likewise.
13618         (_FP_SQRT_MEAT_S): Likewise.
13619         (FP_CMP_S): Likewise.
13620         (FP_CMP_EQ_S): Likewise.
13621         (FP_CMP_UNORD_S): Likewise.
13622         (FP_TO_INT_S): Likewise.
13623         (FP_FROM_INT_S): Likewise.
13625         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13627         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13628         (FP_EX_INVALID_IMZ): Likewise.
13629         (FP_EX_INVALID_IMZ_FMA): Likewise.
13630         (FP_EX_INVALID_ISI): Likewise.
13631         (FP_EX_INVALID_ZDZ): Likewise.
13632         (FP_EX_INVALID_IDI): Likewise.
13633         (FP_EX_INVALID_SQRT): Likewise.
13634         (FP_EX_INVALID_CVI): Likewise.
13635         (FP_EX_INVALID_VC): Likewise.
13636         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13637         "invalid" exceptions.
13638         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13639         (_FP_ADD_INTERNAL): Likewise.
13640         (_FP_MUL): Likewise.
13641         (_FP_FMA): Likewise.
13642         (_FP_DIV): Likewise.
13643         (_FP_CMP_CHECK_NAN): Likewise.
13644         (_FP_SQRT): Likewise.
13645         (_FP_TO_INT): Likewise.
13646         (FP_EXTEND): Likewise.
13648 2014-10-09  Allan McRae  <allan@archlinux.org>
13650         * po/fr.po: Update French translation from translation project.
13652 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13654         [BZ #14132]
13655         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13656         of INTDEF.
13657         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13658         (__cxa_atexit): Use libc_hidden_proto.
13659         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13661         [BZ #14132]
13662         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13663         declaration.
13664         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13665         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13666         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13667         [!_ISOMAC] (__iswctype_internal): Likewise.
13668         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13669         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13670         alias.
13671         (fcntl): Remove __fcntl_internal alias.
13672         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13673         __connect_internal alias.
13674         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13675         Likewise.
13677         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13678         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13679         FP_DENORM_ZERO.
13680         (_FP_CHECK_FLUSH_ZERO): New macro.
13681         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13682         (_FP_CMP): Likewise.
13683         (_FP_CMP_EQ): Likewise.
13684         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13685         FP_DENORM_ZERO.
13686         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13687         (FP_TRUNC): Likewise.
13689         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13690         treated as invalid conversion, not as normal exponent.
13692         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13693         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13694         (_FP_CMP_EQ): Likewise.
13695         (_FP_CMP_UNORD): Likewise.
13696         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13697         (FP_CMP_EQ_D): Likewise.
13698         (FP_CMP_UNORD_D): Likewise.
13699         * soft-fp/extended.h (FP_CMP_E): Likewise.
13700         (FP_CMP_EQ_E): Likewise.
13701         (FP_CMP_UNORD_E): Likewise.
13702         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13703         (FP_CMP_EQ_Q): Likewise.
13704         (FP_CMP_UNORD_Q): Likewise.
13705         * soft-fp/single.h (FP_CMP_S): Likewise.
13706         (FP_CMP_EQ_S): Likewise.
13707         (FP_CMP_UNORD_S): Likewise.
13708         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13709         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13710         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13711         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13712         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13713         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13714         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13715         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13716         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13717         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13718         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13719         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13720         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13721         to FP_CMP_Q.
13722         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13723         FP_CMP_Q.
13724         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13725         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13726         FP_CMP_EQ_Q.
13727         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13728         FP_CMP_Q.
13729         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13730         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13731         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13732         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13733         FP_CMP_EQ_Q.
13734         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13735         FP_CMP_Q.
13736         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13737         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13738         FP_CMP_EQ_Q.
13739         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13740         FP_CMP_Q.
13741         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13742         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13743         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13744         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13745         FP_CMP_EQ_Q.
13747         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13748         a subnormal result, set the underflow exception if trapping on
13749         underflow is enabled.
13750         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13751         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13752         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13753         redefine to 0.
13754         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13755         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13756         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13757         * soft-fp/extendxftf2.c (__extendxftf2): Use
13758         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13760         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13761         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13762         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13763         FP_HANDLE_EXCEPTIONS.
13764         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13765         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13766         FP_HANDLE_EXCEPTIONS.
13767         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13768         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13769         FP_HANDLE_EXCEPTIONS.
13770         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13771         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13772         FP_HANDLE_EXCEPTIONS.
13774 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13776         [BZ #14132]
13777         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13778         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13779         use INTUSE.
13780         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13781         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13782         Remove alias.
13783         (__adjtimex): Define using libc_hidden_ver.
13784         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13785         Remove declaration.
13786         (ntp_gettime): Call __adjtimex directly.
13787         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13788         Remove declaration.
13789         (ntp_gettimex): Call __adjtimex directly.
13790         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13791         __adjtimex_internal alias.
13793 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13795         [BZ #17460]
13796         * nscd/nscd.c (more_help): Rewrite list of tables collection
13797         using xstrdup and asprintf.
13799         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13801 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13802             Roland McGrath  <roland@hack.frob.com>
13804         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13805         (do_lookup_unique): ... local function 'enter' here; update callers.
13807 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13809         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13810         compat_symbol calls on [SHARED].
13811         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13812         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13813         Remove.
13814         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13815         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13816         (oldsetrlimit): Remove.
13817         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13819         (lchown): New syscall entry.
13820         (oldsetrlimit): Remove.
13821         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13822         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13823         (oldsetrlimit): Remove.
13824         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13826         [BZ #14138]
13827         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13828         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13829         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13830         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13831         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13832         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13833         (fchown): Likewise.
13834         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13835         (fchown): Likewise.
13836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13837         Likewise.
13839 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13841         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13842         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13843         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13844         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13845         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13846         Likewise.
13847         (__old_sem_post): Likewise.
13849 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13851         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13852         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13853         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13854         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13855         Use INLINE_VSYSCALL macro.
13856         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13857         __vdso_clock_gettime.
13858         * sysdeps/unix/sysv/linux/tile/init-first.c
13859         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13860         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13861         __vdso_clock_gettime.
13863         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13864         to set up frame more cleanly.
13866         * sysdeps/tile/memcmp.c: New file.
13868         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13870         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13871         * sysdeps/tile/tilegx/strcasestr.c: New file.
13872         * sysdeps/tile/tilegx/strnlen.c: New file.
13873         * sysdeps/tile/tilegx/strstr.c: New file.
13875         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13877 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13879         * nptl/tst-setuid3.c: Write errors to stdout.
13881 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13883         * elf/dl-deps.c
13884         (preload): New functions broken out of _dl_map_object_deps.
13885         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13887 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13889         [BZ #14138]
13890         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13891         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13893 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13895         * sysdeps/mips/strcmp.S: New.
13897 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13899         [BZ #14138]
13900         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13901         (linkat): Likewise.
13902         (mkdirat): Likewise.
13903         (readlinkat): Likewise.
13904         (renameat): Likewise.
13905         (symlinkat): Likewise.
13906         (unlinkat): Likewise.
13907         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13908         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13909         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13910         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13911         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13912         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13913         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13915 2014-09-30  Will Newton  <will.newton@linaro.org>
13917         * math/math.h: Define long double math functions if
13918         _LIBC_TEST is defined.
13919         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13921         * localedata/Makefile: Move assignment to tests-special
13922         into an ifdef testing run-built-tests.
13923         * timezone/Makefile: Likewise.
13925 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13927         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13928         with $(BASH) not $(SHELL).
13930 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13931             Matthew LeGendre  <legendre1@llnl.gov>
13933         [BZ #17411]
13934         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13935         l_reloc_result.
13937 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13939         * stdio-common/printf_fp.c
13940         (hack_digit): New function, broken out of ...
13941         (__printf_fp): ... local function here.  Update call sites.
13942         hack_digit now takes an additional parameter that is a pointer
13943         to a struct of the referenced locals.  Those locals moved inside
13944         the struct and references updated.
13946 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13948         * aclocal.m4: Require autoconf 2.69.
13949         * configure: Regenerated.
13950         * sysdeps/aarch64/configure: Likewise.
13951         * sysdeps/alpha/configure: Likewise.
13952         * sysdeps/arm/armv7/configure: Likewise.
13953         * sysdeps/arm/configure: Likewise.
13954         * sysdeps/ia64/configure: Likewise.
13955         * sysdeps/mach/configure: Likewise.
13956         * sysdeps/mips/configure: Likewise.
13957         * sysdeps/s390/configure: Likewise.
13958         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13961         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13962         file.
13963         * sysdeps/ia64/configure.ac: Likewise.
13965 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13968         specify symbol version for ld.so.  Do not include entry for
13969         libpthread.
13970         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13971         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13972         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13974         [BZ #14171]
13975         * Makeconfig [$(build-shared) = yes]
13976         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13977         makefiles.
13978         [$(build-shared) = yes && $(soversions.mk-done) = t]
13979         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13980         [$(build-shared) = yes && $(soversions.mk-done) = t]
13981         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13982         to Makerules.
13983         [$(build-shared) = yes && $(soversions.mk-done) = t]
13984         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13985         here.
13986         [$(build-shared) = yes && $(soversions.mk-done) = t]
13987         (common-generated): Don't append gnu/lib-names.h and
13988         gnu/lib-names.stmp here.
13989         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13990         (lib-names-h-abi): New variable.
13991         [$(build-shared) = yes && $(soversions.mk-done) = t]
13992         (lib-names-stmp-abi): Likewise.
13993         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13994         abi-variants] (before-compile): Append
13995         $(common-objpfx)$(lib-names-h-abi).
13996         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13997         abi-variants] (common-generated): Append gnu/lib-names.h.
13998         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13999         abi-variants] (install-others-nosubdir): Depend on
14000         $(inst_includedir)/$(lib-names-h-abi).
14001         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14002         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14003         [$(build-shared) = yes && $(soversions.mk-done) = t]
14004         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14005         [$(build-shared) = yes && $(soversions.mk-done) = t]
14006         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14007         [$(build-shared) = yes && $(soversions.mk-done) = t]
14008         (common-generated): Append $(lib-names-h-abi) and
14009         $(lib-names-stmp-abi).
14010         * scripts/lib-names.awk: Do not handle multi being set.
14011         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14012         Remove variable.
14013         (abi-lp64_be-ld-soname): Likewise.
14014         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14015         Likewise.
14016         (abi-hard-ld-soname): Likewise.
14017         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14018         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14019         Remove variable.
14020         (abi-o32_hard-ld-soname): Likewise.
14021         (abi-o32_soft_2008-ld-soname): Likewise.
14022         (abi-o32_hard_2008-ld-soname): Likewise.
14023         (abi-n32_soft-ld-soname): Likewise.
14024         (abi-n32_hard-ld-soname): Likewise.
14025         (abi-n32_soft_2008-ld-soname): Likewise.
14026         (abi-n32_hard_2008-ld-soname): Likewise.
14027         (abi-n64_soft-ld-soname): Likewise.
14028         (abi-n64_hard-ld-soname): Likewise.
14029         (abi-n64_soft_2008-ld-soname): Likewise.
14030         (abi-n64_hard_2008-ld-soname): Likewise.
14031         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14032         Likewise.
14033         (abi-64-v2-ld-soname): Likewise.
14034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14035         ld.so entries.
14036         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14037         variable.
14038         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14039         entry.
14040         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14041         variable.
14042         (abi-64-ld-soname): Likewise.
14043         (abi-x32-ld-soname): Likewise.
14044         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14045         entry.
14046         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14048 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14050         [BZ #14138]
14051         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14052         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14053         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14054         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14055         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14056         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14057         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14058         syscall entry for GLIBC_2.2 symbol version.
14059         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14060         Likewise.
14061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14062         (setrlimit): Likewise.
14063         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14064         Likewise.
14066 2014-09-23  Will Newton  <will.newton@linaro.org>
14068         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14069         _LINUX_ARM_SYSDEP_H include guard too.
14070         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14071         define.
14073 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14075         * sysdeps/unix/sysv/linux/eventfd.c:
14076         Make first argument unsigned.
14077         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14078         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14080 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14082         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14083         * socket/sys/socket.h: Likewise
14084         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14086 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14088         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14090 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14092         * time/tst-ftime.c: New test.
14093         * time/Makefile (tests): Add tst-ftime.
14095 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14097         * soft-fp/extended.h: Fix comment formatting.
14098         * soft-fp/op-1.h: Likewise.
14099         * soft-fp/op-2.h: Likewise.
14100         * soft-fp/op-4.h: Likewise.
14101         * soft-fp/op-8.h: Likewise.
14102         * soft-fp/op-common.h: Likewise.
14103         * soft-fp/soft-fp.h: Likewise.
14105         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14107 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14109         [BZ #6652]
14110         * Makeconfig (soversions-default-setname): Remove variable.
14111         ($(common-objpfx)soversions.i): Don't pass default_setname to
14112         soversions.awk.
14113         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14114         oldest_abi to abi-versions.awk.
14115         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14116         * config.make.in (oldest-abi): Remove variable.
14117         * configure.ac (--enable-oldest-abi): Remove configure option.
14118         * configure: Regenerated.
14119         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14120         text.
14121         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14122         * scripts/soversions.awk: Do not handle default_setname variable.
14123         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14124         variable.
14125         * sysdeps/mach/hurd/configure: Regenerated.
14126         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14127         variable.
14128         * sysdeps/unix/sysv/linux/configure: Regenerated.
14130 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14132         * elf/Makefile (CFLAGS-interp.c): Remove.
14133         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14134         path string.
14135         * elf/interp.c: Include generated runtime-linker.h
14137         * Makerules (lib%.so): Don't include $(+interp) in
14138         prerequisites.
14139         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14140         * dlfcn/eval.c: Remove file.
14142         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14143         macros.
14145         [BZ #17266]
14146         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14147         4.2 and newer.
14149         [BZ #17370]
14150         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14152 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14153             Jakub Jelinek  <jakub@redhat.com>
14155         [BZ #17266]
14156         * libio/stdio.h: Check definition of __fortify_function
14157         instead of __extern_always_inline to include bits/stdio2.h.
14158         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14159         check if __extern_always_inline is defined.
14160         [__USE_MISC || __USE_XOPEN]: Likewise.
14161         [__USE_ISOC99] Likewise.
14162         * misc/sys/cdefs.h (__fortify_function): Define only if
14163         __extern_always_inline is defined.
14164         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14165         __extern_always_inline and __extern_inline only for g++-4.3
14166         and newer or a compatible gcc.
14168 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14170         [BZ #17371]
14171         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14172         last change to handle zero prefix length.
14174 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14176         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14177         _SC_REGEX_VERSION.
14179         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14180         _POSIX_RAW_SOCKETS.
14182 2014-09-13  Allan McRae  <allan@archlinux.org>
14184         * po/ru.po: Update Russian translation from translation project.
14186 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14188         * locale/programs/locale.c (show_locale_vars): Inline local function
14189         into its sole call site.  Clean up some style nits.
14190         (print_item): New function, broken out of ...
14191         (show_info): ... local function here.  Clean up style nits.
14193         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14194         out of ...
14195         (set_class_defaults): ... local function set_default here.
14196         Define set_default as a macro locally to pass constant parameters.
14197         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14198         rather than a shared local.
14200         * stdlib/rpmatch.c (try): New function, broken out of ...
14201         (rpmatch): ... local function here.  Also, prototypify definition.
14203 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14205         * scripts/soversions.awk: Do not handle configuration names.
14206         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14207         vendor and os variables to soversions.awk.
14208         * configure.ac: Do not modify gnu-* host_os.
14209         * configure: Regenerated
14210         * shlib-versions: Remove first column with configuration names.
14211         * nptl/shlib-versions: Likewise.
14212         * nptl_db/shlib-versions: Likewise.
14213         * sysdeps/hppa/shlib-versions: Likewise.
14214         * sysdeps/m68k/shlib-versions: Likewise.
14215         * sysdeps/mach/hurd/shlib-versions: Likewise.
14216         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14217         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14218         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14219         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14220         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14221         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14222         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14223         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14225         Likewise.
14226         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14227         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14228         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14229         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14230         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14231         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14232         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14233         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14236         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14238         Regenerated.
14239         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14241         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14243         * shlib-versions: Remove OS-specific entries.  Moved to files in
14244         sysdeps.
14245         * sysdeps/mach/hurd/shlib-versions: New file.
14246         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14248         * nptl/shlib-versions: Remove architecture-specific entries.
14249         Moved to files in sysdeps.
14250         * shlib-versions: Likewise.
14251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14252         file.
14253         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14254         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14255         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14256         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14258         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14259         (UDP_NO_CHECK6_RX): Likewise.
14261 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14263         * sysdeps/posix/sysconf.c (__sysconf): Spell
14264         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14266 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14268         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14269         loading.
14270         * iconv/Versions (__gconv_transliterate): Export for use from
14271         gconv modules.
14272         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14273         (struct __gconv_trans_data, __gconv_trans_fct,
14274         __gconv_trans_context_fct, __gconv_trans_query_fct,
14275         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14276         definitions.
14277         (struct __gconv_step_data): Remove __trans member.
14278         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14279         longer hidden.  Remove unused trans_data argument.
14280         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14281         (__gconv_translit_find): Remove declaration.
14282         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14283         prototype.
14284         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14285         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14286         trans_data argument.  Add hidden definition.
14287         (__gconv_translit_find): Remove.
14288         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14289         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14290         * iconv/skeleton.c: Remove transliteration initialization.
14291         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14292         __gconv_step_data initialization.
14293         * libio/iofwide.c (__libio_translit_): Remove.
14294         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14295         * wcsmbs/btowc.c (__btowc): Likewise.
14296         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14297         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14298         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14299         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14300         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14301         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14302         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14303         * wcsmbs/wctob.c (wctob): Likewise.
14305 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14307         [BZ #16194]
14308         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14309         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14310         register usage.
14311         * sysdeps/x86/Makefile: Adjust.
14313 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14314             Roland McGrath  <roland@hack.frob.com>
14316         * locale/weight.h: Add include guard.
14317         (findidx): Make static rather than auto; take new parameters
14318         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14319         * locale/weightwc.h: Likewise.
14320         * posix/fnmatch_loop.c
14321         (FCT): Change type of EXTRA from int32_t to wint_t.
14322         Don't include either header inside the function.
14323         Call FINDIDX rather than findidx, and pass new arguments.
14324         #undef FINDIDX at the end of the file.
14325         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14326         FINDIDX before including fnmatch_loop.c for the non-wide version.
14327         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14328         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14329         for the wide version.
14330         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14331         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14332         Pass new arguments to findidx.
14333         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14334         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14335         Don't #include it inside the function.  Pass new arguments to findidx.
14336         * posix/regex_internal.h
14337         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14338         (re_string_elem_size_at): Don't #include it inside the function.
14339         Pass new arguments to findidx.
14340         * string/strcoll_l.c: #include WEIGHT_H at top level.
14341         (get_next_seq): Don't #include it inside the function.
14342         Pass new arguments to findidx.
14343         (get_next_seq_nocache): Likewise.
14344         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14345         (STRXFRM): Don't #include it inside the function.
14346         Pass new arguments to findidx.
14348 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14350         [BZ #17344]
14351         * malloc/malloc.c (unlink): Turn asserts into a call to
14352         malloc_printerr.
14354 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14356         [BZ #17370]
14357         * libio/wfileops (do_ftell_wide): Free OUT.
14359 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14361         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14363 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14365         [BZ #17363]
14366         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14367         group if the current group is empty.
14369 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14371         * benchtests/bench-memset.c (test_main): Add more test from size
14372         from 32 to 512 bytes.
14373         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14374         Add POWER8 memset object.
14375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14376         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14377         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14378         implementation.
14379         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14380         Likewise.
14381         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14382         multiarch POWER8 memset optimization.
14383         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14384         POWER8 memset optimization.
14386         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14387         Remove bzero multiarch objects.
14388         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14389         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14390         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14391         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14392         Remove define.
14393         [__bzero]: Redefine to specific name.
14394         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14395         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14396         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14397         define.
14398         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14399         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14401 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14403         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14404         warnings into errors.
14406         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14407         __cxa_thread_atexit_impl prototype.
14409 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14411         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14412         Fix capitalization of error message.
14414 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14416         * sysdeps/mips/preconfigure: Modify ABI tests.
14418 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14420         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14422 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14423             Carlos O'Donell  <carlos@systemhalted.org>
14425         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14426         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14427         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14428         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14429         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14430         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14431         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14432         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14433         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14434         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14435         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14436         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14437         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14438         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14439         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14440         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14441         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14442         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14443         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14444         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14445         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14446         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14447         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14448         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14449         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14450         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14451         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14452         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14453         Deconditionalize the code that was previously under [RESET_PID].
14454         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14455         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14456         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14457         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14458         include sysdep.h.
14460 2014-09-08  Allan McRae  <allan@archlinux.org>
14462         * version.h (RELEASE): Set to "development".
14463         (VERSION): Set to "2.20.90"
14465 2014-09-07  Allan McRae  <allan@archlinux.org
14467         * version.h (RELEASE): Set to "stable".
14468         (VERSION): Set to "2.20"
14469         * include/features.h (__GLIBC_MINOR__): Set to 20.
14471         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14472         Liebler.
14474         * po/ko.po: Update Korean translation from translation project.
14476 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14478         [BZ #17354]
14479         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14480         macro for handling signed relocations.
14482 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14484         [BZ #17325]
14485         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14486         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14487         assert.
14488         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14489         * iconvdata/ibm935.c (BODY): Likewise.
14490         * iconvdata/ibm937.c (BODY): Likewise.
14491         * iconvdata/ibm939.c (BODY): Likewise.
14492         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14493         assert.
14494         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14495         script.
14496         * iconvdata/run-iconv-test.sh: New test loop for checking for
14497         decoder crashers.
14499 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14501         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14502         libm_hidden_ver.
14504 2014-09-01  Allan McRae  <allan@archlinux.org>
14506         * po/eo.po: Update Esperanto translation from translation project.
14508         * po/ca.po: Update Catalan translation from translation project.
14510 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14512         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14513         __proc_dostop call.
14515 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14517         [BZ #17319]
14518         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14519         to call set_thread_area instead of hand written asm.
14520         (__NR_set_thread_area): Removed define.
14521         (TLS_FLAG_WRITABLE): Likewise.
14522         (__ASSUME_SET_THREAD_AREA): Remove check.
14523         (TLS_EBX_ARG): Remove define.
14524         (TLS_LOAD_EBX): Likewise.
14526 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14528         Simplify atomicity of socket creation in bind.
14530         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14531         looking up the name after linking the file.
14533 2014-08-27  Allan McRae  <allan@archlinux.org>
14535         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14537 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14539         [BZ #17187]
14540         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14541         trans_compare, open_translit, __gconv_translit_find):
14542         Remove module loading code.
14544 2014-08-26  Allan McRae  <allan@archlinux.org>
14546         * po/vi.po: Update Vietnamese translation from translation project.
14548         * po/uk.po: Update Ukrainian translation from translation project.
14550         * po/fr.po: Update French translation from translation project.
14552         * po/ru.po: Update Russian translation from translation project.
14554         * po/pl.po: Update Polish translation from translation project.
14556         * po/cs.po: Update Czech translation from translation project.
14558         * po/de.po: Update German translation from translation project.
14560         * po/bg.po: Update Bulgarian translation from translation project.
14562         * po/sv.po: Update Sweedish translation from translation project.
14564         * po/nl.po: Update Dutch translation from translation project.
14566         * po/es.po: Update Spanish translation from translation project.
14568 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14570         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14572         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14573         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14574         (CPPFLAGS-iconvconfig): Likewise.
14575         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14577         * include/libc-symbols.h: Remove unnecessary check for
14578         NOT_IN_libc.
14579         * nptl/pthreadP.h: Likewise.
14580         * sysdeps/aarch64/setjmp.S: Likewise.
14581         * sysdeps/alpha/setjmp.S: Likewise.
14582         * sysdeps/arm/sysdep.h: Likewise.
14583         * sysdeps/i386/setjmp.S: Likewise.
14584         * sysdeps/m68k/setjmp.c: Likewise.
14585         * sysdeps/posix/getcwd.c: Likewise.
14586         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14587         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14588         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14589         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14590         * sysdeps/sh/sh3/setjmp.S: Likewise.
14591         * sysdeps/sh/sh4/setjmp.S: Likewise.
14592         * sysdeps/unix/alpha/sysdep.h: Likewise.
14593         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14594         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14595         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14596         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14599         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14600         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14601         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14602         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14603         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14604         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14605         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14606         * sysdeps/x86_64/setjmp.S: Likewise.
14608 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14610         [BZ #17263]
14611         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14612         <stdint.h>.
14613         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14614         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14616 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14618         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14620         [BZ #17262]
14621         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14622         and __x86_64__ when disabling x87 inline functions.
14624 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14626         [BZ #17259]
14627         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14628         asm statement with __cpuid_count.
14630 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14632         * configure.ac: Change __ehdr_start code to dereference the struct.
14633         Run readelf on the output to look for relocations.
14634         * configure: Regenerated.
14636 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14638         [BZ #17261]
14639         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14640         value to 0.
14641         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14643 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14645         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14647 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14649         [BZ #16892]
14650         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14651         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14653 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14655         * malloc/malloc.c: Fix typo in comment.
14657 2014-08-09  Allan McRae  <allan@archlinux.org>
14659         * Regenerate libc.po.
14661 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14663         * intl/tst-gettext2.sh: Check every lang file for creation.
14665 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14667         * sysdeps/aarch64/fpu/math_private.h
14668         (libc_feholdsetround_noex_aarch64_ctx): New function.
14670 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14672         * sysdeps/arm/armv6/strcpy.S (strcpy):
14673         Fix performance issue in misaligned cases.
14675 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14677         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14678         Move definition from termios.h.
14679         (struct termio): Likewise.
14680         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14681         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14682         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14683         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14684         Likewise.
14685         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14686         Move definition to ioctl-types.h
14687         (struct termio): Likewise.
14688         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14689         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14690         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14691         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14692         Likewise.
14694 2014-08-05  Richard Henderson  <rth@redhat.com>
14696         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14697         exceptions.
14698         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14699         Add fraiseexcpt.
14700         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14701         Use __feraiseexcept.
14702         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14703         Protect libm symbols with IS_IN_libm.
14705         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14707 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14709         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14711 2014-08-04  Will Newton  <will.newton@linaro.org>
14713         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14714         file.
14716 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14718         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14719         variants for each function.
14721 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14723         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14724         appended ...
14725         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14726         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14727         appended ...
14728         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14729         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14730         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14731         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14732         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14733         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14734         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14735         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14736         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14737         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14738         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14739         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14740         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14741         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14742         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14743         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14744         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14745         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14746         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14747         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14748         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14749         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14750         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14751         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14752         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14753         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14754         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14755         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14756         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14757         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14758         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14759         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14760         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14761         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14762         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14763         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14764         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14765         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14766         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14767         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14768         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14769         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14770         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14771         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14772         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14773         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14774         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14775         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14776         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14777         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14778         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14779         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14780         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14781         Update #include.
14782         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14783         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14785 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14787         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14788         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14789         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14790         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14791         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14792         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14794 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14796         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14797         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14798         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14799         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14801 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14803         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14804         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14805         (__libc_vfork): Define function under this name.
14806         (__vfork): Define as an alias.
14807         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14808         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14810 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14812         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14813         that was previously under [RESET_PID].
14814         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14816 2014-08-04  Andreas Schwab  <schwab@suse.de>
14818         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14820 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14822         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14823         (main): Likewise.
14825 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14827         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14829 2014-08-01  Richard Henderon  <rth@redhat.com>
14831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14832         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14833         typo in exact zero test.
14834         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14835         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14836         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14838 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14840         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14841         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14842         * sysdeps/arm/sysdep.h: ... here.
14843         [!__ASSEMBLER__]: Include <stdint.h>.
14845 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14847         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14848         (HAVE_WCTYPE_H): Likewise.
14849         (HAVE_ISWCTYPE): Likewise.
14850         (ENABLE_NLS): Likewise.
14851         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14852         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14854         * posix/regex_internal.c: Check if DEBUG is defined and is
14855         set.
14857         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14858         (HAVE_MBSRTOWCS): Likewise.
14859         * posix/fnmatch.c: Include string.h unconditionally.
14861 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14863         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14864         reversal.
14866 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14868         * sysdeps/generic/safe-fatal.h: New file.
14869         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14870         * nptl/forward.c: Include it.
14871         (__pthread_unwind): Use __safe_fatal as default action, rather
14872         than a bogus use of INTERNAL_SYSCALL that could never work.
14874         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14875         * configure.ac (libc_cv_builtin_trap): New test.
14876         * configure: Regenerated.
14877         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14878         (ABORT_INSTRUCTION): Define using __builtin_trap.
14880         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14881         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14882         * sysdeps/nptl/nptl-signals.h: New file.
14883         * nptl/pthreadP.h: Include <nptl-signals.h>.
14885 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14887         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14888         (ONE_DIRECTION): Define.
14889         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14890         (ONE_DIRECTION): Define.
14891         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14892         (ONE_DIRECTION): Define.
14894 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14896         * sysdeps/s390/Makefile: Delete file.
14897         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14898         * sysdeps/s390/__longjmp.c: Delete file.
14899         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14900         Remove fields __flags and __reserved.
14901         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14902         and add versioning.
14903         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14904         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14905         * sysdeps/s390/rtld-setjmp.S: Likewise.
14906         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14907         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14908         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14909         * sysdeps/s390/s390-32/setjmp.S: ... here.
14910         Add versioning.
14911         (__sigsetjmp): Remove setting __flags field.
14912         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14913         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14914         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14915         * sysdeps/s390/s390-64/setjmp.S: ... here.
14916         Add versioning.
14917         (__sigsetjmp): Remove setting __flags field.
14918         * sysdeps/s390/setjmp.S: Delete file.
14919         * sysdeps/s390/sigjmp.c: Likewise.
14920         * sysdeps/s390/v1-longjmp.c: Likewise.
14921         * sysdeps/s390/v1-setjmp.h: Likewise.
14922         * sysdeps/s390/v1-sigjmp.c: Likewise.
14923         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14924         Remove v1-longjmp_chk.
14925         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14926         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14927         Include debug/longjmp_chk.c and add versioning.
14928         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14929         Include nptl/pt-longjmp.c and add versioning.
14930         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14931         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14932         Include __longjmp.c.
14933         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14934         Move to ...
14935         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14936         (__getcontext): Remove setting __flags field.
14937         Add versioning.
14938         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14939         Don't restore upper high grps.
14940         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14941         Likewise.
14942         (__swapcontext): Remove setting uc_flags field.
14943         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14944         Delete file.
14945         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14946         Include __longjmp.c.
14947         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14948         Move to ...
14949         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14950         (__getcontext): Remove setting __flags field.
14951         Add versioning.
14952         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14953         (__swapcontext): Remove setting uc_flags field.
14954         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14955         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14956         Remove fields uc_high_gprs and __reserved.
14957         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14958         New file with reverted content.
14959         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14960         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14961         Regenerated.
14962         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14963         Regenerated.
14965 2014-07-31  Andreas Schwab  <schwab@suse.de>
14967         * config.h.in (HAVE_IFUNC): Define to 0.
14968         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14969         definedness.
14971 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14974         memmove-avx-unaligned, memcpy-avx-unaligned and
14975         mempcpy-avx-unaligned.
14976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14977         Add tests for AVX memcpy functions.
14978         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14979         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14980         memcpy_chk.
14981         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14982         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14983         memmove_chk.
14984         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14985         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14986         mempcpy_chk.
14987         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14988         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14989         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14991 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14993         [BZ #17213]
14994         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14995         powerpc64le.
14997 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14999         [BZ #16839]
15000         * manual/llio.texi: Add section about open file description locks.
15001         * manual/examples/ofdlocks.c: Example of open file description
15002         lock usage.
15003         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15004         F_OFD_SETLK, and F_OFD_SETLKW.
15006 2014-07-23  Allan McRae  <allan@archlinux.org>
15008         * po/es.po: Update Spanish translation from translation project.
15010 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15012         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15014 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15016         [BZ #17078]
15017         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15018         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15019         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15021 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15023         [BZ #17088]
15024         * math/fesetenv.c (__fesetenv)
15025         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15026         * math/feupdateenv.c (__feupdateenv)
15027         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15029         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15030         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15031         (__ASSUME_SOCKETCALL): Do not define.
15033         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15034         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15035         (__ASSUME_SOCKETCALL): Do not define.
15036         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15037         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15038         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15039         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15040         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15041         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15042         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15043         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15045         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15046         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15047         (__ASSUME_SOCKETCALL): Do not define.
15048         (__ASSUME_IPC64): Define unconditionally.
15049         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15050         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15051         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15052         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15053         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15054         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15055         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15056         Likewise.
15058         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15059         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15060         (__ASSUME_SOCKETCALL): Do not define.
15061         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15062         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15063         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15064         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15065         (__ASSUME_REQUEUE_PI): Define unconditionally.
15066         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15067         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15068         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15069         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15070         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15071         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15073         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15074         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15075         (__ASSUME_SOCKETCALL): Do not define.
15076         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15077         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15078         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15079         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15080         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15081         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15083         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15084         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15085         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15086         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15087         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15088         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15089         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15090         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15091         (__ASSUME_GETCPU_SYSCALL): Likewise.
15093         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15094         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15095         cases for individual architectures.
15096         * sysdeps/gnu/configure: Regenerated.
15097         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15098         LIBC_SLIBDIR_RTLDDIR.
15099         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15100         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15101         LIBC_SLIBDIR_RTLDDIR.
15102         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15104         LIBC_SLIBDIR_RTLDDIR.
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15106         Regenerated.
15107         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15108         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15109         file.
15110         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15111         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15112         file.
15113         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15114         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15115         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15116         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15118         * sysdeps/aarch64/shlib-versions: Move to ...
15119         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15120         * sysdeps/alpha/shlib-versions: Move to ...
15121         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15122         * sysdeps/arm/shlib-versions: Move to ...
15123         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15124         * sysdeps/hppa/shlib-versions: Move all contents except for
15125         libgcc_s entry to ...
15126         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15127         entry from ...
15128         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15129         * sysdeps/ia64/shlib-versions: Move to ...
15130         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15131         entry from ...
15132         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15133         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15134         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15135         * sysdeps/microblaze/shlib-versions: Move to ...
15136         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15137         * sysdeps/mips/shlib-versions: Move to ...
15138         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15139         entry from ...
15140         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15141         * sysdeps/tile/shlib-versions: Move to ...
15142         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15143         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15144         from ...
15145         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15146         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15147         entry from ...
15148         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15150 2014-07-17  Will Newton  <will.newton@linaro.org>
15152         * sysdeps/arm/bits/atomic.h
15153         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15154         (__arch_compare_and_exchange_bool_16_int): Likewise.
15155         (__arch_compare_and_exchange_bool_64_int): Likewise.
15157         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15158         into an #else block.
15160 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15162         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15163         just Linux configurations.  Test empirically that the compiler sets
15164         __ARM_EABI__, rather than using the tuple to decide.
15165         * sysdeps/arm/preconfigure: Regenerated.
15166         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15167         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15168         contents appended ...
15169         * sysdeps/arm/configure.ac: ... here.
15170         * sysdeps/arm/configure: Regenerated.
15172 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15174         * nptl/pthread_kill.c: New file.
15175         * nptl/pthread_sigmask.c: New file.
15176         * nptl/pthread_sigqueue.c: New file.
15178         * sysdeps/nptl/lowlevellock.h: New file.
15179         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15180         * sysdeps/nptl/lowlevellock-futex.h: New file.
15182         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15183         Remove dead declarations.
15185 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15187         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15188         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15189         config-cflags-avx2.
15190         * sysdeps/x86_64/configure.ac: Likewise.
15191         * sysdeps/i386/configure: Regenerated.
15192         * sysdeps/x86_64/configure: Likewise.
15193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15194         memset-avx2 only if config-cflags-avx2 is yes.
15195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15196         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15197         defined.
15198         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15199         only if HAVE_AVX2_SUPPORT is defined.
15200         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15202 2014-07-14  Alan Modra  <amodra@gmail.com>
15204         [BZ #17153]
15205         * elf/elf.h (DT_PPC64_NUM): Correct value.
15206         * NEWS: Add to fixed bug list.
15208 2014-07-13  Jim Meyering  <meyering@fb.com>
15210         [BZ 17150]
15211         regex: don't deref NULL upon heap allocation failure
15212         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15213         failure in one more place.
15214         To trigger the segfault, configure grep -with-included-regex,
15215         build it, and run these commands:
15216         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15218 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15220         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15222 2014-07-11  Richard Henderson  <rth@redhat.com>
15224         * sysdeps/aarch64/libm-test-ulps: Update.
15226 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15228         [BZ #17135]
15229         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15230         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15231         (__nptl_setxid): Initialize error member.  Call
15232         __nptl_setxid_error.
15233         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15234         * nptl/descr.h (struct xid_command): Add error member.
15235         * nptl/tst-setuid3.c: New file.
15236         * nptl/Makefile (tests): Add it.
15238 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15240         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15241         New define.
15242         (__lll_trylock): Use __lll_base_trylock.
15243         (__lll_cond_trylock): Likewise.
15245 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15247         * nptl/pthread_create.c (start_thread): Use atomic_or and
15248         lll_futex_wake directly rather than lll_robust_dead.
15249         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15250         (lll_robust_dead): Macro removed.
15251         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15252         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15253         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15254         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15255         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15256         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15257         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15258         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15259         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15260         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15261         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15262         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15263         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15264         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15265         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15267         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15268         Use atomic_compare_and_exchange_val_acq directly rather than
15269         lll_robust_trylock.
15270         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15271         (__lll_robust_trylock, lll_robust_trylock): Removed.
15272         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15273         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15274         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15275         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15276         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15277         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15278         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15279         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15280         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15281         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15282         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15283         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15284         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15285         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15287 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15289         * manual/locale.texi (Locale Names): New section documenting
15290         locale name syntax.  Adjust menu and node chaining accordingly.
15291         (Choosing Locale): Reference Locale Names, Locale Categories.
15292         Mention setting LC_ALL=C.  Reflect that name syntax is now
15293         documented.
15294         (Locale Categories): New section title.  Reference Locale Names.
15295         LC_ALL is an environment variable, but not a category.
15296         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15297         description, now in Locale Name.  Reference that section.  Locale
15298         name syntax is now documented.
15300 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15302         [BZ #17137]
15303         * locale/findlocale.c (name_present, valid_locale_name): New
15304         functions.
15305         (_nl_find_locale): Use the loc_name variable to store name
15306         candidates.  Call name_present and valid_locale_name to check and
15307         validate locale names.  Return an error if the locale is invalid.
15309 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15311         * locale/setlocale.c (setlocale): Use strdup for allocating
15312         composite name copy.
15314 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15316         Sync up with gnulib.
15317         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15318         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15319         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15320         and _GL_ARG_NONNULL.
15321         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15322         [!_LIBC]: Include code for Windows and Cygwin.
15323         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15324         Include prototype for int strerror_r.
15325         [!_LIBC] (is_open): New function.
15326         (flush_stdout): New function.
15327         (print_errno_message): Use it.
15328         (error): Likewise.
15329         (error_at_line): Likewise.
15330         (error_tail) Add function attribute macros.  Use
15331         __builtin_expect.
15333         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15335         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15337         * io/ftw.c: Include sys/param.h unconditionally.
15339         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15341         [BZ #17125]
15342         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15343         libc_freeres_ptr.
15344         (freecache): New function to free CACHE on exit.
15346         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15347         initialization.
15349 2014-07-09  David S. Miller  <davem@davemloft.net>
15351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15353         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15354         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15355         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15356         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15357         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15358         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15359         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15360         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15361         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15362         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15363         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15364         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15365         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15367 2014-07-09  Andreas Schwab  <schwab@suse.de>
15369         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15370         output.
15371         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15372         (do_test): Likewise.
15374         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15376 2014-07-09  Will Newton  <will.newton@linaro.org>
15378         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15379         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15380         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15381         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15382         * sysdeps/hppa/start.S (_start): Likewise.
15384 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15386         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15388         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15389         defined.
15391 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15393         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15394         after checking that it is non-NULL.
15396         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15398 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15400         * sysdeps/powerpc/memmove.c: Remove file.
15401         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15402         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15403         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15404         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15405         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15406         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15407         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15408         string memmove instead of removed powerpc one.
15410         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15411         [weak_alias]: Fix compiler warning due trailing data.
15412         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15413         [weak_alias]: Likewise.
15414         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15415         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15417         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15418         (__libc_ifunc_impl_list): Add memmove functions.
15420 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15422         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15423         Remove code.
15424         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15425         Likewise
15426         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15427         Likewise
15428         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15429         Likewise
15430         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15431         Likewise
15432         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15433         Likewise
15434         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15435         Likewise
15436         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15437         Likewise
15438         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15439         Likewise
15440         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15441         Likewise
15442         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15443         Likewise
15444         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15445         Likewise
15446         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15447         Likewise
15448         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15449         Likewise
15450         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15451         Likewise
15452         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15453         Likewise
15454         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15455         Likewise
15457 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15459         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15460         to avoid alignment traps in non-cacheable memory.
15461         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15464         multiarch objects.
15465         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15466         file: multiarch power7 memmove.
15467         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15468         multiarch default memmove.
15469         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15470         multiarch memove for powerpc32/power4.
15472         * string/bcopy.c: Use full path to include memmove.c.
15473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15474         multiarch objects.
15475         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15476         bcopy for powerpc64.
15477         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15478         bcopy for powerpc64.
15479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15480         and memmove implementations.
15481         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15482         optimized multiarch memmove for POWER7/powerpc64.
15483         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15484         default multiarch memmove for powerpc64.
15485         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15486         multiarch for powerpc64.
15487         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15488         for POWER7/powerpc64.
15489         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15490         memmove for POWER7/powerpc64.
15492         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15493         glibc default one.
15495         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15496         __ELF_NATIVE_CLASS equal to 64.
15498 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15500         * sysdeps/nptl/lowlevellock.h: File removed.
15502         * NEWS: NPTL is no longer an add-on!
15503         * nptl/internaltypes.h: Moved ...
15504         * sysdeps/nptl/internaltypes.h: ... here.
15505         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15506         * sysdeps/nptl/fork.c: Likewise.
15507         * sysdeps/nptl/gai_misc.h: Likewise.
15508         * sysdeps/nptl/librt-cancellation.c: Likewise.
15509         * sysdeps/nptl/jmp-unwind.c: Likewise.
15510         * sysdeps/nptl/setxid.h: Likewise.
15511         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15512         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15513         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15514         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15515         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15516         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15517         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15518         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15519         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15520         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15521         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15522         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15523         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15524         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15525         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15526         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15527         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15528         * nptl/Makeconfig: Moved ...
15529         * sysdeps/nptl/Makeconfig: ... here.
15530         * nptl/configure: File removed.
15531         * nptl/ANNOUNCE: File removed.
15532         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15533         * sysdeps/unix/sysv/linux/configure: Regenerated.
15535         * nptl/Makefile (routines): Add libc_pthread_init,
15536         libc_multiple_threads, register-atfork and unregister-atfork.
15537         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15538         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15539         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15540         pthread-pi-defines.sym, structsem.sym.
15541         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15542         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15543         [$(subdir) = nptl] (tests): Add tst-setgetname.
15544         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15545         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15546         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15547         [!LIBC_SIGACTION]: Remove aliases.
15548         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15549         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15550         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15551         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15552         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15553         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15554         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15555         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15556         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15557         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15558         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15559         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15560         __libc_allocate_rtsig_private.
15561         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15562         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15563         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15564         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15565         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15566         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15567         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15568         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15569         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15570         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15571         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15572         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15573         * nptl/internaltypes.h: ... here.
15574         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15575         * sysdeps/nptl/jmp-unwind.c: ... here.
15576         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15577         * nptl/libc-lowlevellock.c: ... here.
15578         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15579         * nptl/libc_multiple_threads.c: ... here.
15580         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15581         * nptl/libc_pthread_init.c: ... here.
15582         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15583         * nptl/lowlevelbarrier.sym: ... here.
15584         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15585         * nptl/lowlevelcond.sym: ... here.
15586         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15587         * nptl/lowlevellock.c: ... here.
15588         * nptl/lowlevellock.h: Moved ...
15589         * sysdeps/nptl/lowlevellock.h: ... here.
15590         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15591         * nptl/lowlevelrobustlock.c: ... here.
15592         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15593         * nptl/lowlevelrobustlock.sym: ... here.
15594         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15595         * nptl/lowlevelrwlock.sym: ... here.
15596         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15597         * nptl/pt-fork.c: ... here.
15598         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15599         * nptl/pthread-pi-defines.sym: ... here.
15600         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15601         * nptl/pthread_attr_getaffinity.c: ... here.
15602         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15603         * nptl/pthread_attr_setaffinity.c: ... here.
15604         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15605         * nptl/pthread_mutex_cond_lock.c: ... here.
15606         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15607         Update #include.
15608         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15609         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15610         * nptl/pthread_once.c: ... here, replacing old file.
15611         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15612         * nptl/pthread_yield.c: ... here.
15613         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15614         * nptl/register-atfork.c: ... here.
15615         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15616         * nptl/sem_post.c: ... here.
15617         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15618         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15619         * nptl/sem_timedwait.c: ... here.
15620         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15621         * nptl/sem_trywait.c: ... here.
15622         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15623         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15624         * nptl/sem_wait.c: ... here.
15625         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15626         * nptl/structsem.sym: ... here.
15627         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15628         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15629         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15630         * nptl/unregister-atfork.c: ... here.
15631         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15632         * nptl/unwindbuf.sym: ... here.
15633         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15634         * sysdeps/nptl/fork.c: ... here.
15635         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15636         * sysdeps/nptl/fork.h: ... here.
15637         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15638         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15639         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15640         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15641         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15642         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15643         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15644         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15645         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15646         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15647         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15648         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15649         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15650         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15651         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15652         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15653         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15654         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15655         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15656         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15657         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15658         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15659         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15660         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15661         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15662         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15663         * sysdeps/unix/sysv/linux/raise.c: ... here.
15664         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15665         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15666         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15667         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15668         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15669         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15670         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15671         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15672         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15673         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15674         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15675         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15676         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15677         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15678         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15680 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15682         * sysdeps/generic/memcopy.h: Add comment for
15683         MEMCPY_OK_FOR_FWD_MEMMOVE.
15685 2014-07-04  Will Newton  <will.newton@linaro.org>
15687         * string/memchr.c: Merge from gnulib.
15688         [_LIBC]: Remove conditionals.
15689         (__ptr_t): Remove define.
15690         (LONG_MAX_32_BITS): Likewise.
15691         (LONG_MAX): Likewise.
15692         (MEMCHR): Use ANSI prototype and optimize algorithm.
15694         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15696 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15698         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15699         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15701         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15702         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15703         in a bare environment with no <stdlib.h> installed.
15704         * sysdeps/nptl/configure: Regenerated.
15706         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15708         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15709         AC_EGREP_CPP for kernel header checks, so they only succeed if
15710         including <linux/version.h> actually works right.
15711         * sysdeps/unix/sysv/linux/configure: Regenerated.
15713         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15714         value so it's not diagnosed as unused.
15716         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15717         thing) with "ifeq ($(subdir),rt)".
15719 2014-07-03  Richard Henderson  <rth@redhat.com>
15721         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15722         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15723         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15725         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15726         (math_force_eval): New.
15728         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15729         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15731         * sysdeps/alpha/fpu/s_round.c: Remove file.
15732         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15734         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15735         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15736         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15737         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15738         (_dl_start, print_statistics): Likewise.
15739         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15740         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15742         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15743         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15744         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15745         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15746         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15747         (HP_SMALL_TIMING_AVAIL): Define.
15748         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15749         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15750         (HP_SMALL_TIMING_AVAIL): Define.
15751         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15752         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15754         * sysdeps/aarch64/hp-timing.h: New file.
15756         * sysdeps/generic/hp-timing.h: Remove dead comment.
15757         * sysdeps/generic/hp-timing-common.h: New file.
15758         * sysdeps/alpha/hp-timing.h: Include it.
15759         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15760         * sysdeps/i386/i686/hp-timing.h: Likewise.
15761         * sysdeps/ia64/hp-timing.h: Likewise.
15762         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15763         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15764         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15765         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15766         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15767         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15768         (hp_timing_t): New.
15770         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15771         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15772         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15773         * elf/rtld.c (_dl_start_final): Likewise.
15774         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15775         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15776         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15777         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15778         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15779         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15780         (HP_TIMING_DIFF_INIT): Remove.
15781         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15782         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15783         (HP_TIMING_DIFF_INIT): Remove.
15784         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15785         * sysdeps/i386/i686/hp-timing.c: Remove file.
15786         * sysdeps/x86_64/hp-timing.c: Remove file.
15787         * sysdeps/ia64/hp-timing.c: Remove file.
15788         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15789         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15790         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15791         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15793         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15794         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15795         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15796         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15797         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15798         (HP_TIMING_ACCUM): Remove.
15799         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15800         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15801         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15803         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15804         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15805         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15806         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15807         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15808         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15809         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15810         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15812         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15814 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15816         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15818 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15820         Sync up with gettext.
15821         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15822         [_MSC_VER]: Include malloc.h
15823         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15824         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15825         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15826         TEMP_FAILURE_RETRY.  Cast return of alloca.
15827         [!_LIBC] Call gl_rwlock_init.
15828         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15830 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15832         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15833         before checking its value.
15835 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15837         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15839         * debug/memcpy_chk.c: Don't include pagecopy.h.
15840         * debug/mempcpy_chk.c: Likewise.
15841         * string/memcpy.c: Likewise.
15842         * string/memmove.c: Likewise.
15843         * sysdeps/powerpc/memmove.c: Likewise.
15844         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15845         definition of PAGE_COPY_FWD_MAYBE here...
15846         * sysdeps/generic/pagecopy.h: ... from here.
15847         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15849 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15850             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15852         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15853         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15854         optimizations.
15855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15856         (__libc_ifunc_impl_list): Likewise.
15857         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15858         multiarch strcat for PPC64.
15859         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15860         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15862 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15864         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15866 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15868         * intl/loadmsgcat.c: Remove declaration of
15869         get_sysdep_segment_value.
15870         (get_sysdep_segment_value): Use ISO C style.
15871         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15872         semicolon.  Fix typo and formatting in comment.
15873         (_nl_unload_domain): Use ISO C style.
15875         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15877 2014-07-02  Will Newton  <will.newton@linaro.org>
15879         * malloc/obstack.c: Merge from gnulib master.
15880         [HAVE_CONFIG_H]: Remove conditional code.
15881         [!_LIBC]: Include config.h.
15882         [!ELIDE_CODE]: Don't include inttypes.h, include
15883         stdint.h unconditionally.
15884         (print_and_abort): Mark as _Noreturn.
15885         (_obstack_allocated_p): Mark as __attribute_pure__.
15886         (obstack_free): Rename to __obstack_free.
15887         [!__attribute__]: Remove conditional code.
15888         * malloc/obstack.h: Merge from gnulib master.
15889         [__cplusplus]: Move conditional down.
15890         [!__attribute_pure__]: Define __attribute_pure__ here
15891         if it is not already defined.
15892         (_obstack_memory_used): Mark as __attribute_pure__.
15893         [!__obstack_free]: Define as obstack_free.
15894         [__GNUC__]: Remove check for ancient NeXT gcc.
15896 2014-07-02  Will Newton  <will.newton@linaro.org>
15897             Paul Eggert  <eggert@cs.ucla.edu>
15899         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15901 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15903         * resolv/gethnamaddr.c: Add comment warning that the file is
15904         not maintained.
15906 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15908         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15909         entries.
15911         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15912         entry for aio_cancel and aio_cancel64.
15913         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15914         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15915         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15916         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15917         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15918         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15919         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15920         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15921         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15922         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15923         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15924         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15925         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15927 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15929         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15930         * nptl/pthread_mutex_lock.c: Likewise.
15931         * nptl/pthread_mutex_timedlock.c: Likewise.
15932         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15934 2014-07-01  Richard henderson  <rth@redhat.com>
15936         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15937         (__isnan, __isnanl): Remove.
15938         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15940         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15942 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15944         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15946 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15948         * resolv/nss_dns/dns-host.c (getanswer_r)
15949         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15951 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15953         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15954         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15955         undefine.
15956         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15957         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15959 2014-07-01  Roland McGrath <roland@hack.frob.com>
15961         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15962         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15964         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15965         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15967         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15968         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15969         ... here.
15970         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15971         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15973         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15974         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15975         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15976         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15978         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15979         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15980         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15981         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15982         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15983         Moved ...
15984         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15985         ... here.
15986         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15987         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15988         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15989         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15990         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15991         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15992         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15993         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15994         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15995         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15996         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15997         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15998         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15999         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16000         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16001         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16002         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16003         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16004         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16005         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16006         ... here.
16007         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16008         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16009         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16010         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16011         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16012         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16013         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16014         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16016 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16018         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16019         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16020         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16021         Add sysdep.
16023 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16027 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16029         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16030         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16032         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16034         * sysdeps/arm/libm-test-ulps: Regenerated.
16036 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16037             Roland McGrath <roland@hack.frob.com>
16039         * test-skeleton.c (signal_handler): Kill the whole process group
16040         before killing the child individually.
16041         (main): Report any failure on `setpgid'.
16043 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16045         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16046         from _TLS_H to _ARM_NPTL_TLS_H.
16047         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16048         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16050 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16052         [BZ #16539]
16053         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16054         (__expm1l): Return argument unchanged when small but not
16055         subnormal.
16057         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16058         include macro name.
16059         (_FP_UNPACK_RAW_1_P): Likewise.
16060         (_FP_PACK_RAW_1): Likewise.
16061         (_FP_PACK_RAW_1_P): Likewise.
16062         (_FP_MUL_MEAT_1_wide): Likewise.
16063         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16064         (_FP_MUL_MEAT_1_hard): Likewise.
16065         (_FP_DIV_MEAT_1_imm): Likewise.
16066         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16067         (_FP_DIV_MEAT_1_udiv): Likewise.
16068         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16069         (_FP_UNPACK_RAW_2): Likewise.
16070         (_FP_UNPACK_RAW_2_P): Likewise.
16071         (_FP_PACK_RAW_2): Likewise.
16072         (_FP_PACK_RAW_2_P): Likewise.
16073         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16074         (_FP_MUL_MEAT_2_wide): Likewise.
16075         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16076         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16077         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16078         (_FP_MUL_MEAT_2_gmp): Likewise.
16079         (_FP_DIV_MEAT_2_udiv): Likewise.
16080         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16081         (_FP_FRAC_SRL_4): Likewise.
16082         (_FP_FRAC_SRST_4): Likewise.
16083         (_FP_FRAC_SRS_4): Likewise.
16084         (_FP_UNPACK_RAW_4): Likewise.
16085         (_FP_UNPACK_RAW_4_P): Likewise.
16086         (_FP_PACK_RAW_4): Likewise.
16087         (_FP_PACK_RAW_4_P): Likewise.
16088         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16089         (_FP_MUL_MEAT_4_wide): Likewise.
16090         (_FP_MUL_MEAT_4_gmp): Likewise.
16091         (umul_ppppmnnn): Likewise.
16092         (_FP_DIV_MEAT_4_udiv): Likewise.
16093         (__FP_FRAC_ADD_4): Likewise.
16094         (__FP_FRAC_SUB_3): Likewise.
16095         (__FP_FRAC_SUB_4): Likewise.
16096         (__FP_FRAC_DEC_3): Likewise.
16097         (__FP_FRAC_DEC_4): Likewise.
16098         (__FP_FRAC_ADDI_4): Likewise.
16099         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16100         (_FP_FRAC_SRL_8): Likewise.
16101         (_FP_FRAC_SRS_8): Likewise.
16103         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16104         include macro name.
16105         (FP_UNPACK_RAW_EP): Likewise.
16106         (FP_PACK_RAW_E): Likewise.
16107         (FP_PACK_RAW_EP): Likewise.
16108         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16109         (_FP_ISSIGNAN): Likewise.
16110         (_FP_ADD_INTERNAL): Likewise.
16111         (_FP_FMA): Likewise.
16112         (_FP_CMP): Likewise.
16113         (_FP_SQRT): Likewise.
16114         (_FP_TO_INT): Likewise.
16115         (_FP_FROM_INT): Likewise.
16116         (FP_EXTEND): Likewise.
16117         (_FP_DIV_MEAT_N_loop): Likewise.
16119 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16121         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16122         throughout.
16124 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16126         [BZ #17097]
16127         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16128         result with correct sign in case of exponents that produce
16129         overflow except for X very close to 1.
16131 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16133         mktime: merge #if/#ifdef usage from glibc
16134         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16135         as that works with both Glibc's and Gnulib's style.
16136         See thread starting at Siddhesh Poyarekar's bug report at:
16137         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16139 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16141         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16142         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16143         * sysdeps/tile/tilegx/memmove.c: Remove file.
16145 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16147         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16148         abi-name definition.
16149         * scripts/soversions.awk: Do not handle or generate ABI lines.
16150         * shlib-versions: Remove ABI entries.
16151         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16152         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16154 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16157         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16158         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16159         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16161         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16162         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16163         Moved ...
16164         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16165         ... here.
16166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16167         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16169         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16171         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16173         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16174         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16175         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16177         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16179         Moved ...
16180         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16181         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16182         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16184         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16186         Moved ...
16187         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16189         Moved ...
16190         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16191         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16192         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16193         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16194         Moved ...
16195         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16197         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16199         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16200         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16201         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16203         Moved ...
16204         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16205         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16206         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16207         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16208         Moved ...
16209         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16210         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16211         Moved ...
16212         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16213         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16214         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16215         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16216         Moved ...
16217         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16218         ... here.
16219         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16220         Identical file removed.
16221         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16222         Moved ...
16223         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16224         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16225         Identical file removed.
16226         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16227         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16229         Moved ...
16230         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16231         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16232         Identical file removed.
16233         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16234         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16235         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16236         Identical file removed.
16237         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16238         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16239         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16240         Identical file removed.
16241         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16242         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16243         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16244         Identical file removed.
16245         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16246         Moved ...
16247         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16248         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16249         Identical file removed.
16250         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16251         Moved ...
16252         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16253         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16254         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16255         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16256         Identical file removed.
16257         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16258         Moved ...
16259         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16260         ... here.
16261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16262         Identical file removed.
16263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16264         Moved ...
16265         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16266         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16267         Identical file removed.
16268         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16269         Moved ...
16270         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16271         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16272         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16274         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16275         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16276         Moved ...
16277         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16278         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16279         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16281         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16282         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16283         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16284         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16285         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16287 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16289         [BZ #17092]
16290         * nscd/nscd.c (monitor_child): Return exit status of child
16291         instead of return value from wait syscall.
16293 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16295         * configure.ac (libc_commonpagesize): Remove variable.
16296         (libc_relro_required): Likewise.
16297         (libc_cv_z_relro): Remove configure test.
16298         * configure: Regenerated.
16299         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16300         variable.
16301         (libc_relro_required): Likewise.
16302         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16303         (libc_relro_required): Likewise.
16304         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16305         (libc_relro_required): Likewise.
16306         * sysdeps/arm/preconfigure: Regenerated.
16307         * sysdeps/ia64/preconfigure: Remove file.
16308         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16309         variable.
16310         (libc_relro_required): Likewise.
16312         [BZ #16561]
16313         [BZ #16562]
16314         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16315         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16316         recompute overflowing results in original rounding mode.
16317         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16318         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16319         recompute overflowing results in original rounding mode.
16320         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16321         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16322         recompute overflowing results in original rounding mode.
16323         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16324         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16325         recompute overflowing results in original rounding mode.
16326         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16327         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16328         recompute overflowing results in original rounding mode.
16329         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16330         (libc_feholdsetround_ctx): New macro.
16331         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16332         * sysdeps/i386/fpu/libm-test-ulps: Update.
16333         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16335 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16337         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16338         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16339         corresponding .cpsetup call.
16341 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16343         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16344         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16345         * sysdeps/arm/Makefile [$(subdir) = csu]
16346         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16347         (static-only-routines): Add aeabi_read_tp here.
16348         (shared-only-routines): Add libc-aeabi_read_tp here.
16349         (CFLAGS-libc-start.c): Add -fexceptions here.
16350         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16351         (sysdep_routines, static-only-routines, shared-only-routines):
16352         Don't add to these here.
16353         (CFLAGS-libc-start.c): Likewise.
16355         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16356         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16357         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16358         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16359         * sysdeps/arm/Makefile [$(subdir) = rt]
16360         (librt-sysdep_routines, librt-shared-only-routines):
16361         Append rt-aeabi_unwind_cpp_pr1 here.
16362         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16363         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16364         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16365         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16366         Append nptl-aeabi_unwind_cpp_pr1 here.
16367         (tests): Filter out tst-cleanupx4 here.
16368         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16369         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16370         Don't do those here.
16372 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16374         * scripts/list-sources.sh: Do not handle ports specially.
16376 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16378         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16379         * sysdeps/arm/feupdateenv.c: Likewise.
16381         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16383 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16385         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16386         trailing whitespace removed.
16387         * scripts/config.guess: Update to version 2014-03-23.
16388         * scripts/config.sub: Update to version 2014-05-01
16389         * scripts/install-sh: Update to version 2013-12-25.23.
16390         * scripts/move-if-change: Update from gnulib.
16392 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16394         * debug/memmove_chk.c: Remove pagecopy.h include.
16396 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16398         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16399         identical to gnulib mktime.
16401 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16403         * configure.ac: Do not test for machine being rs6000.  Do not test
16404         for powerpc*-*soft.
16405         * configure: Regenerated.
16407         [BZ #11505]
16408         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16409         test.
16410         * configure: Regenerated.
16411         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16412         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16413         Remove configure test.
16414         * sysdeps/arm/configure: Regenerated.
16415         * sysdeps/nptl/configure.ac: Do not check
16416         libc_cv_asm_cfi_directives.
16417         * sysdeps/nptl/configure: Regenerated.
16418         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16419         * sysdeps/x86_64/nptl/configure: Remove generated file.
16420         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16421         unconditional.
16422         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16424 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16426         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16427         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16428         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16429         it is defined.
16431         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16432         instead of whether it is defined.
16433         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16434         * sysdeps/hppa/dl-machine.h: Likewise.
16435         * sysdeps/ia64/dl-machine.h: Likewise.
16436         * sysdeps/m68k/dl-machine.h: Likewise.
16437         * sysdeps/microblaze/dl-machine.h: Likewise.
16438         * sysdeps/mips/dl-machine.: Likewise.
16439         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16440         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16441         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16442         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16443         * sysdeps/sh/dl-machine.h: Likewise.
16444         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16445         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16446         * sysdeps/tile/dl-machine.h: Likewise.
16447         * sysdeps/x86_64/dl-machine.h: Likewise.
16449         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16450         code.
16451         (verify_persistent_db): Likewise.
16453 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16456         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16458         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16460         Moved ...
16461         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16462         ... here.
16463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16464         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16466         Identical file removed.
16467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16468         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16470         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16472         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16474         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16476         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16478         Moved ...
16479         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16481         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16483         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16485         Moved ...
16486         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16488         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16490         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16492         Identical file removed.
16493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16494         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16496         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16498         Moved ...
16499         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16500         ... here.
16501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16502         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16504         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16506         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16508         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16510         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16512         Moved ...
16513         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16515         Moved ...
16516         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16518         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16520         Moved ...
16521         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16523         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16525         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16526         folded into ...
16527         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16528         * sysdeps/unix/sysv/linux/s390/Versions
16529         (libpthread: GLIBC_2.19): New version set.
16530         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16531         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16532         (librt: GLIBC_2.3.3): New version set.
16533         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16534         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16535         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16536         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16537         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16538         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16539         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16540         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16541         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16542         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16543         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16544         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16545         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16546         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16547         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16548         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16549         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16550         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16551         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16552         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16553         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16554         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16555         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16556         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16557         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16558         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16559         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16560         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16561         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16562         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16563         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16564         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16565         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16567         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16569         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16570         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16571         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16572         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16573         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16574         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16575         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16576         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16577         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16579         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16580         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16581         (__libc_vfork): Define the function under this name.
16582         [!NOT_IN_libc] (__vfork): Make this an alias.
16583         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16584         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16585         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16586         (__libc_vfork): Define the function under this name.
16587         [!NOT_IN_libc] (__vfork): Make this an alias.
16588         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16589         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16590         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16591         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16592         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16593         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16595         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16596         code that was previously under [RESET_PID].
16597         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16598         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16599         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16601         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16602         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16603         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16604         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16605         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16606         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16607         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16608         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16609         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16610         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16611         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16612         Moved ...
16613         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16614         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16615         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16616         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16617         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16618         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16619         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16620         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16621         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16622         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16623         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16624         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16625         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16626         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16627         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16628         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16629         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16630         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16631         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16632         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16633         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16634         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16635         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16636         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16637         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16638         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16639         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16640         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16641         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16643 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16645         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16646         that was previously under [RESET_PID].
16647         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16649 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16651         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16652         not undefine and redefine.
16653         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16654         [O_CLOEXEC]: Make code unconditional.
16655         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16656         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16657         <kernel-features.h>.
16658         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16659         conditional variable definition.
16660         (shm_open) [O_CLOEXEC]: Make code unconditional.
16661         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16662         code.
16664         * configure.ac (USE_REGPARMS): Don't define here.
16665         * configure: Regenerated.
16666         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16667         * sysdeps/i386/configure: Regenerated.
16669         * nptl/createthread.c: Don't include kernel-features.h.
16670         * nptl/pthread_cancel.c: Likewise.
16671         * nptl/pthread_condattr_setclock.c: Likewise.
16672         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16673         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16674         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16675         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16676         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16677         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16678         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16679         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16680         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16681         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16682         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16683         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16684         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16685         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16686         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16687         * nscd/gai.c: Likewise.
16688         * nss/nss_db/db-open.c: Likewise.
16689         * sysdeps/generic/ldsodefs.h: Likewise.
16690         * sysdeps/sh/nptl/tls.h: Likewise.
16691         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16692         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16693         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16694         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16695         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16696         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16697         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16698         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16699         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16700         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16701         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16702         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16703         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16704         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16705         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16706         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16707         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16708         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16709         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16710         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16711         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16712         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16713         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16714         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16715         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16716         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16717         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16718         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16719         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16720         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16721         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16722         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16723         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16724         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16725         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16726         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16727         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16728         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16729         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16730         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16731         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16732         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16733         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16734         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16735         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16736         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16737         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16738         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16739         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16740         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16741         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16742         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16743         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16744         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16745         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16746         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16747         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16748         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16771         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16772         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16773         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16774         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16775         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16776         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16777         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16778         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16779         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16780         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16781         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16782         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16783         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16784         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16785         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16786         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16787         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16788         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16789         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16790         * sysdeps/unix/sysv/linux/system.c: Likewise.
16791         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16792         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16793         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16794         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16795         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16796         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16797         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16799         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16800         * configure: Regenerated.
16801         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16803         * configure.ac (base_machine): Do not set specially for particular
16804         machines here.
16805         * configure: Regenerated.
16806         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16807         settings from configure.ac.
16808         * sysdeps/i386/preconfigure: New file.
16809         * sysdeps/s390/preconfigure: Likewise.
16810         * sysdeps/sh/preconfigure: Likewise.
16811         * sysdeps/sparc/preconfigure: Likewise.
16813 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16815         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16816         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16817         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16818         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16819         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16820         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16821         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16822         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16823         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16824         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16825         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16826         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16827         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16828         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16829         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16830         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16831         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16832         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16833         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16835         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16836         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16837         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16838         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16839         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16840         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16841         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16842         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16843         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16844         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16845         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16846         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16847         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16848         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16849         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16850         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16851         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16852         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16853         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16854         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16855         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16856         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16857         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16858         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16859         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16860         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16861         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16862         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16863         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16864         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16865         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16866         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16867         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16868         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16869         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16870         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16871         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16872         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16875         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16877         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16879         Moved ...
16880         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16881         ... here.
16882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16883         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16885         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16887         Moved ...
16888         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16890         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16892         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16894         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16896         Moved ...
16897         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16899         Moved ...
16900         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16902         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16904         Moved ...
16905         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16907         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16909         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16911         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16913         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16915         Moved ...
16916         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16917         ... here.
16918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16919         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16921         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16923         Moved ...
16924         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16926         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16928         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16930         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16932         Moved ...
16933         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16935         Moved ...
16936         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16938         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16940         Moved ...
16941         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16943         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16945         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16947 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16949         * timezone/checktab.awk: Update from tzcode 2014e.
16950         * timezone/private.h: Likewise.
16951         * timezone/tzfile.h: Likewise.
16952         * timezone/zdump.c: Likewise.
16953         * timezone/zic.c: Likewise.
16955         * sysdeps/unix/sysv/linux/kernel-features.h
16956         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16957         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16958         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16959         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16960         Remove conditional code.
16962 2014-06-25  Will Newton  <will.newton@linaro.org>
16964         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16965         (_dl_arm_cap_flags): Add HWCAP2 values.
16966         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16967         (_DL_HWCAP_COUNT): Increase to 37.
16968         (_DL_HWCAP_LAST): New define.
16969         (_DL_HWCAP2_LAST): New define.
16970         (_dl_procinfo): Add support for printing
16971         AT_HWCAP2 entries.
16972         (_dl_string_hwcap): Use _dl_hwcap_string.
16974 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16978 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16980         * README: Do not mention ports directory.
16982         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16983         Remove macro.
16984         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16985         <kernel-features.h>.
16986         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16987         conditional variable definition.
16988         (__futimes): Update comment.
16989         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16990         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16992         [BZ #16560]
16993         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16994         arguments close to 0.
16995         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16996         Likewise.
16997         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16998         Likewise.
16999         * math/auto-libm-test-in: Add more tests of exp10.
17000         * math/auto-libm-test-out: Regenerated.
17001         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17003         * sysdeps/unix/sysv/linux/kernel-features.h
17004         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17005         * sysdeps/unix/sysv/linux/readv.c: Do not include
17006         <kernel-features.h>.
17007         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17008         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17009         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17010         unconditional.
17011         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17012         conditional code.
17013         * sysdeps/unix/sysv/linux/writev.c: Do not include
17014         <kernel-features.h>.
17015         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17016         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17017         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17018         unconditional.
17019         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17020         conditional code.
17022 2014-06-25  Will Newton  <will.newton@linaro.org>
17024         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17025         comment changes throughout the file.  Remove checks
17026         for HAVE_*_H definitions that are not required.
17027         (__gen_tempname): Call abort if an unknown kind value is
17028         passed.
17030 2014-06-25  Andreas Schwab  <schwab@suse.de>
17032         [BZ #17086]
17033         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17034         scalbln, scalblnf, scalblnl in libc.
17036 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17038         [BZ #17086]
17039         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17040         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17041         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17043 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17045         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17046         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17047         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17048         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17049         Update #include.
17050         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17051         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17052         Update #include.
17053         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17054         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17055         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17056         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17057         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17058         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17059         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17060         * sysdeps/x86/bits/semaphore.h: ... here.
17061         * sysdeps/x86/nptl/elide.h: Moved ...
17062         * sysdeps/x86/elide.h: ... here.
17063         * sysdeps/x86_64/nptl/Implies: File removed.
17064         * sysdeps/i386/nptl/Implies: File removed.
17066 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17068         [BZ #16539]
17069         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17070         return the argument for normal arguments with exponent below -64.
17071         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17072         Likewise.
17073         * math/auto-libm-test-in: Add another test of expm1.
17074         * math/auto-libm-test-out: Regenerated.
17076         [BZ #16287]
17077         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17078         calling __erfcl for arguments at least 16.
17079         * math/auto-libm-test-in: Add more tests of erf.
17080         * math/auto-libm-test-out: Regenerated.
17082         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17083         individual architectures.
17084         * sysdeps/unix/sysv/linux/configure: Regenerated.
17085         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17086         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17087         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17088         (ldd_rewrite_script): Define variable.
17089         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17091         file.
17092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17093         generated file.
17094         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17095         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17096         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17097         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17098         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17099         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17100         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17101         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17103 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17105         [BZ #17084]
17106         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17107         Rename member __data.d to __data.__elision_data.
17109 2014-06-24  Wilco  <wdijkstr@arm.com>
17111         * NEWS: Add 16918 to fixed bug list.
17113 2014-06-24  Wilco  <wdijkstr@arm.com>
17115         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17117 2014-06-24  Wilco  <wdijkstr@arm.com>
17119         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17120         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17121         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17122         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17123         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17124         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17125         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17126         Use _FPU_MASK_RM.
17128 2014-06-24  Wilco  <wdijkstr@arm.com>
17130         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17132 2014-06-24  Wilco  <wdijkstr@arm.com>
17134         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17135         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17136         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17137         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17139 2014-06-24  Wilco  <wdijkstr@arm.com>
17141         [BZ #16918]
17142         * sysdeps/arm/feupdateenv.c (feupdateenv):
17143         Rewrite to reduce FPSCR accesses and fix return value.
17145 2014-06-24  Wilco  <wdijkstr@arm.com>
17147         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17148         Optimize to avoid unnecessary FPSCR writes.
17149         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17150         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17151         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17152         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17154 2014-06-24  Wilco  <wdijkstr@arm.com>
17156         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17157         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17158         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17159         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17160         Call libc_fetestexcept_vfp.
17161         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17162         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17163         __SOFTFP__ ifdef so that they can be built for softfp.
17165 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17167         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17168         argument type signed char.
17170         * Makerules (check-abi): Dump diff of symlist if the test
17171         fails.
17173 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17175         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17176         using abort.
17178         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17179         Remove unused variable ST.
17181 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17183         [BZ #16354]
17184         [BZ #17061]
17185         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17186         small arguments before calling __expm1.
17187         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17188         small arguments before calling __expm1f.
17189         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17190         small arguments before calling __expm1l.
17191         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17192         Likewise.
17193         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17194         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17195         spurious underflow for some cosh tests.
17196         * math/auto-libm-test-out: Regenerated.
17197         * sysdeps/i386/fpu/libm-test-ulps: Update.
17199         [BZ #17050]
17200         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17201         (__ieee754_y1): Set errno if return value overflows.
17202         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17203         (__ieee754_y1f): Set errno if return value overflows.
17204         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17205         (__ieee754_y1l): Set errno if return value overflows.
17206         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17207         (__ieee754_y1l): Set errno if return value overflows.
17208         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17209         * math/auto-libm-test-out: Regenerated.
17211         * math/gen-auto-libm-tests.c: Document use of
17212         ignore-zero-inf-sign.
17213         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17214         (input_flags): Add ignore-zero-inf-sign.
17215         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17216         * math/gen-libm-test.pl (generate_testfile): Handle
17217         ignore-zero-inf-sign.
17218         * math/auto-libm-test-in: Mark some cpow tests with
17219         ignore-zero-inf-sign and some with xfail-rounding.
17220         * math/auto-libm-test-out: Regenerated.
17221         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17222         * sysdeps/i386/fpu/libm-test-ulps: Update.
17223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17225         [BZ #16315]
17226         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17227         overflowing or underflowing operations take place with sign of
17228         result.
17229         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17230         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17231         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17232         (__ieee754_pow): Recompute overflowing and underflowing results in
17233         original rounding mode.
17234         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17235         (__powl_helper): Allow negative argument X and scale negated value
17236         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17237         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17238         overflowing or underflowing operations take place with sign of
17239         result.
17240         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17241         Include <math.h>.
17242         * math/auto-libm-test-in: Add more tests of pow.
17243         * math/auto-libm-test-out: Regenerated.
17244         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17245         (pow_tonearest_test_data): Remove.
17246         (pow_test_tonearest): Likewise.
17247         (pow_towardzero_test_data): Likewise.
17248         (pow_test_towardzero): Likewise.
17249         (pow_downward_test_data): Likewise.
17250         (pow_test_downward): Likewise.
17251         (pow_upward_test_data): Likewise.
17252         (pow_test_upward): Likewise.
17253         (main): Don't call removed functions.
17254         * sysdeps/i386/fpu/libm-test-ulps: Update.
17255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17257 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17260         Moved ...
17261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17263         Moved ...
17264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17266         Moved ...
17267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17269         Moved ...
17270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17272         File removed.
17273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17274         File removed.
17275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17276         File removed.
17277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17278         File removed.
17279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17280         File removed.
17281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17282         File removed.
17283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17284         File removed.
17285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17286         File removed.
17287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17288         File removed.
17289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17290         File removed.
17291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17292         File removed.
17293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17294         File removed.
17295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17296         Moved ...
17297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17299         Moved ...
17300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17301         ... here.
17302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17303         Moved ...
17304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17306         Moved ...
17307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17309         Moved ...
17310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17312         Moved ...
17313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17315         Moved ...
17316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17318         Moved ...
17319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17321         Moved ...
17322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17325         ... here.
17326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17327         Moved ...
17328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17330         Moved ...
17331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17332         ... here.
17333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17334         Moved ...
17335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17336         ... here.
17337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17338         Moved ...
17339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17340         ... here.
17341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17342         Moved ...
17343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17345         Moved ...
17346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17350         Moved ...
17351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17352         ... here.
17353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17354         Moved ...
17355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17356         ... here.
17357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17358         Moved ...
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17361         Moved ...
17362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17364         Moved ...
17365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17367         Moved ...
17368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17370         Moved ...
17371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17372         ... here.
17373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17374         Moved ...
17375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17377         Moved ...
17378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17380         Moved ...
17381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17383         Moved ...
17384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17388         Moved ...
17389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17391         Moved ...
17392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17394         Moved ...
17395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17396         ... here.
17397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17398         Moved ...
17399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17400         ... here.
17401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17402         Moved ...
17403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17404         ... here.
17405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17406         Moved ...
17407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17409         Moved ...
17410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17412         Moved ...
17413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17415         Moved ...
17416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17417         ... here.
17418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17419         Moved ...
17420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17421         ... here.
17422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17423         Moved ...
17424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17425         ... here.
17426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17427         Moved ...
17428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17430         Moved ...
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17433 2014-06-23  Will Newton  <will.newton@linaro.org>
17434             Wilco  <wdijkstr@arm.com>
17436         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17437         implementation.  Include get-rounding-mode.h.
17438         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17439         [!libc_feholdsetround_noex_ctx]: Define
17440         libc_feholdsetround_noex_ctx.
17441         [!libc_feholdsetround_noexf_ctx]: Define
17442         libc_feholdsetround_noexf_ctx.
17443         [!libc_feholdsetround_noexl_ctx]: Define
17444         libc_feholdsetround_noexl_ctx.
17445         (libc_feholdsetround_ctx): New function.
17446         (libc_feresetround_ctx): New function.
17447         (libc_feholdsetround_noex_ctx): New function.
17448         (libc_feresetround_noex_ctx): New function.
17450 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17452         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17453         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17454         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17455         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17456         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17457         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17459         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17460         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17461         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17462         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17463         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17464         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17465         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17466         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17467         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17468         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17470         Moved ...
17471         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17472         ... here.
17473         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17474         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17475         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17476         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17477         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17478         Moved ...
17479         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17480         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17481         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17482         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17483         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17484         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17485         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17486         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17487         Moved ...
17488         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17489         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17490         Moved ...
17491         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17492         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17493         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17494         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17495         Moved ...
17496         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17497         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17498         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17499         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17500         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17501         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17502         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17504         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17505         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17506         Moved ...
17507         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17508         ... here.
17509         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17510         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17511         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17512         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17514         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17515         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17516         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17517         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17518         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17519         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17520         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17521         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17522         Moved ...
17523         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17524         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17525         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17526         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17527         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17528         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17529         Moved ...
17530         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17531         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17532         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17533         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17534         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17536         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17537         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17538         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17539         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17540         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17541         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17542         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17543         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17544         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17545         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17546         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17547         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17548         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17549         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17550         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17551         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17552         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17553         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17554         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17555         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17556         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17557         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17558         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17559         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17560         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17561         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17562         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17563         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17565 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17567         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17568         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17569         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17570         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17571         (IPV6_PMTUDISC_INTERFACE): Likewise.
17572         (IPV6_PMTUDISC_OMIT): Likewise.
17574 2014-06-23  Andreas Schwab  <schwab@suse.de>
17576         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17577         Remove unused errout label.
17579 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17581         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17582         macro: hardware supports Vector Crypto instructions.
17584 2014-06-23  Will Newton  <will.newton@linaro.org>
17586         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17587         rather than __builtin_expect.
17589         * elf/dl-lookup.c (undefined_msg): Remove variable.
17590         (_dl_lookup_symbol_x): Replace undefined_msg with string
17591         literal.
17593         * elf/dl-lookup.c (do_lookup_unique): New function.
17594         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17595         to a separate function.
17597 2014-06-23  Andreas Schwab  <schwab@suse.de>
17599         [BZ #17079]
17600         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17601         before reading the next line.
17603 2014-06-23  Will Newton  <will.newton@linaro.org>
17605         * test-skeleton.c (signal_handler): Use printf and %m
17606         rather than perror.  Use printf rather than fprintf to
17607         stderr.  Use puts rather than fputs to stderr.
17608         (main): Likewise.
17610 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17612         * nscd/nscd.c (thread_info_t): Remove typedef.
17613         (thread_info): Remove variable.
17615 2014-06-21  Allan McRae  <allan@archlinux.org>
17617         * NEWS: Mention CVE-2014-4043.
17619 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17621         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17622         * nptl/smp.h: ... here.
17624         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17626         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17627         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17628         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17629         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17631         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17632         * nptl/stack-aliasing.h: New file.
17633         * sysdeps/i386/i686/stack-aliasing.h: New file.
17634         * sysdeps/i386/i686/nptl/Makefile: File removed.
17635         * sysdeps/x86_64/stack-aliasing.h: New file.
17636         * sysdeps/x86_64/nptl/Makefile
17637         (CFLAGS-pthread_create.c): Variable removed.
17639         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17640         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17641         old file.
17642         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17643         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17644         old file.
17646 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17648         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17649         (__ASSUME_SIGFRAME_V2): Remove macro.
17650         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17651         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17652         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17653         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17654         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17655         Declare as function.  Remove conditional macro definitions.
17656         (__default_rt_sa_restorer): Likewise.
17657         (__default_sa_restorer_v1): Remove declaration.
17658         (__default_sa_restorer_v2): Likewise.
17659         (__default_rt_sa_restorer_v1): Likewise.
17660         (__default_rt_sa_restorer_v2): Likewise.
17661         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17662         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17663         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17665 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17667         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17668         (libpthread-routines): Add sysdep.
17669         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17670         * sysdeps/unix/sysv/linux/sparc/Versions
17671         (libpthread: GLIBC_2.3.3): New version set.
17672         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17673         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17674         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17675         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17676         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17677         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17678         Moved ...
17679         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17680         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17681         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17682         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17683         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17684         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17685         * sysdeps/sparc/nptl/sem_init.c: ... here.
17686         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17687         * sysdeps/sparc/nptl/sem_post.c: ... here.
17688         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17689         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17690         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17691         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17692         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17693         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17694         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17695         (libpthread-routines): Add cpu_relax.
17696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17697         File removed.
17698         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17699         (librt: GLIBC_2.3.3): New version set.
17700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17701         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17702         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17703         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17706         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17707         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17708         Moved ...
17709         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17711         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17713         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17715         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17717         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17719         Moved ...
17720         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17721         Update #include.
17722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17723         Moved ...
17724         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17725         Update #include.
17726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17727         Moved ...
17728         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17729         Update #include.
17730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17731         Moved ...
17732         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17733         Update #include.
17734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17735         Moved ...
17736         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17737         Update #include.
17738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17739         Moved ...
17740         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17741         Update #include.
17742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17743         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17745         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17747         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17749         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17751         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17753         Moved ...
17754         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17756         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17758         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17760 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17762         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17763         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17764         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17765         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17766         * nscd/nscd.c: Likewise.
17767         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17768         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17769         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17770         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17772         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17773         <kernel-features.h>.
17774         (init_mq_netlink): Remove conditional have_sock_cloexec
17775         definitions.  Remove code conditional on have_sock_cloexec < 0.
17776         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17777         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17778         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17779         <kernel-features.h>.
17780         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17781         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17783 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17786         Add tests for memset_chk and memset.
17788         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17789         with AVX2_Usable.
17791 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17793         [BZ #16046]
17794         * elf/tst-dl-iter-static.c: New file.
17795         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17797         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17798         error.
17800 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17802         * sysdeps/unix/sysv/linux/kernel-features.h
17803         (__ASSUME_F_GETOWN_EX): Remove macro.
17804         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17805         <kernel-features.h>.
17806         (miss_F_GETOWN_EX): Remove variable or macro.
17807         (do_fcntl): Do not check miss_F_GETOWN_EX.
17808         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17810         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17811         Remove macro.
17812         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17813         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17814         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17816         * sysdeps/unix/sysv/linux/kernel-features.h
17817         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17818         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17819         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17820         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17822 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17824         [BZ #17075]
17825         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17826         Fix calculation of the symbol's value.
17827         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17828         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17829         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17830         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17831         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17832         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17833         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17834         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17835         (modules-names): Add `tst-armtlsdescmod',
17836         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17837         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17838         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17839         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17840         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17841         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17842         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17843         ($(objpfx)tst-armtlsdescloc): New dependency.
17844         ($(objpfx)tst-armtlsdescextnow): Likewise.
17845         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17846         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17847         TLS scheme support.
17848         * sysdeps/arm/configure: Regenerate.
17850 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17852         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17853         (__atfct_seterrno_2): Likewise.
17854         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17855         <kernel-features.h>.
17856         (__ASSUME_ATFCTS): Do not undefine and redefine.
17857         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17858         (__have_atfcts): Remove conditional definition.
17859         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17860         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17861         unreachable if [__ASSUME_ATFCTS].
17862         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17863         not undefine and redefine.
17864         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17865         <kernel-features.h>.
17866         (faccessat) [__NR_faccessat]: Make code unconditional.
17867         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17868         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17869         <kernel-features.h>.
17870         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17871         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17872         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17873         <kernel-features.h>.
17874         (fchownat) [__NR_fchownat]: Make code unconditional.
17875         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17876         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17877         <kernel-features.h>.
17878         (futimesat) [__NR_futimesat]: Make code unconditional.
17879         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17880         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17881         <kernel-features.h>.
17882         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17883         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17884         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17885         <kernel-features.h>.
17886         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17887         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17888         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17889         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17890         <kernel-features.h>.
17891         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17892         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17893         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17894         <kernel-features.h>.
17895         (linkat) [__NR_linkat]: Make code unconditional.
17896         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17897         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17898         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17899         <kernel-features.h>.
17900         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17901         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17902         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17903         <kernel-features.h>.
17904         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17905         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17906         * sysdeps/unix/sysv/linux/openat.c: Do not include
17907         <kernel-features.h>.
17908         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17909         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17910         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17911         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17912         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17913         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17914         <kernel-features.h>.
17915         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17916         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17917         result of INLINE_SYSCALL directly, not via int variable.
17918         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17919         <kernel-features.h>.
17920         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17921         (renameat) [__NR_renameat]: Make code unconditional.
17922         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17923         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17924         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17925         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17926         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17927         (__ASSUME_ATFCTS): Do not undefine and redefine.
17928         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17929         <kernel-features.h>.
17930         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17931         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17932         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17933         <kernel-features.h>.
17934         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17935         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17936         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17937         (__ASSUME_ATFCTS): Do not undefine and redefine.
17938         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17939         <kernel-features.h>.
17940         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17941         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17942         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17943         <kernel-features.h>.
17944         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17945         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17947 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17949         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17951 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17953         [BZ #17069]
17954         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17955         constructed tree before returning error.
17956         * posix/bug-regexp36.c: Expand test case.
17958 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17960         [BZ #6803]
17961         * math/libm-test.inc (scalbln_test_date):
17962         Add errno expectations.
17963         * math/w_scalblnf.c: New File.
17964         Add wrapper which checks for setting errno to ERANGE.
17965         Add weak_alias for corresponding scalbln function.
17966         * math/w_scalbln.c: Likewise.
17967         * math/w_scalblnl.c: Likewise.
17968         * math/Makefile (libm-calls): Add w_scalbln.
17969         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17970         Remove weak_alias for corresponding scalbln function.
17971         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17972         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17973         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17974         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17975         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17976         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17977         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17978         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17979         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17980         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17981         Remove long_double_symbol for scalblnl function in libm, libc.
17982         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17983         Add wrapper which checks for setting errno to ERANGE.
17984         Add long_double_symbol for scalblnl function in libm, libc.
17985         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17986         Remove long_double_symbol for scalblnl in libm.
17987         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17988         Add wrapper which checks for setting errno to ERANGE.
17989         Add long_double_symbol for scalblnl function in libm.
17990         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17991         Do not use wrapper because of own implementation.
17993 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17995         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17996         3 bytes for __pad1 for x32.
17997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17999 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18000             H.J. Lu  <hongjiu.lu@intel.com>
18002         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18003         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18004         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18005         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18006         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18008 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18010         [BZ #17069]
18011         * posix/regcomp.c (parse_expression): Deallocate partially
18012         constructed tree before returning error.
18013         * posix/Makefile.c (tests): Add bug-regex36.
18014         (generated): Add bug-regex36.mtrace.
18015         (tests-special): Add $(objpfx)bug-regex36-mem.out
18016         (bug-regex36-ENV): New variable.
18017         ($(objpfx)bug-regex36-mem.out): New rule.
18018         * posix/bug-regex36.c: New file.
18020 2014-06-19  Will Newton  <will.newton@linaro.org>
18022         * malloc/malloc.c (systrim): If extra is zero then return
18023         early.
18025 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18027         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18029 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18031         * sysdeps/aarch64/strchr.S: New file.
18033 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18035         [BZ #17022]
18036         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18037         from arguments -2 or below.
18038         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18039         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18041 2014-06-18  Andreas Schwab  <schwab@suse.de>
18043         [BZ #17062]
18044         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18045         of a bracket expr not to run off the end of the string.
18046         * posix/Makefile (tests): Add tst-fnmatch3.
18047         * posix/tst-fnmatch3.c: New file.
18049 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18051         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18052         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18053         [$(cross-compiling) = no]: Likewise.
18054         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18055         [$(cross-compiling) = no]: Likewise.
18057 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18059         [BZ #17031]
18060         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18061         double, adjusted for any remainder from the high double.
18062         * math/libm-test.inc (nearbyint): Add tests.
18063         (rint): Likewise.
18065 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18067         * nptl/sysdeps/powerpc/Makefile: Moved ...
18068         * sysdeps/powerpc/nptl/Makefile: ... here.
18069         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18070         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18071         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18072         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18073         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18074         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18075         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18076         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18077         * nptl/sysdeps/powerpc/tls.h: Moved ...
18078         * sysdeps/powerpc/nptl/tls.h: ... here.
18080 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18082         [BZ #16681]
18083         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18084         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18085         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18086         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18087         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18088         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18089         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18090         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18091         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18093 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18095         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18097 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18099         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18100         defined operator.
18102         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18103         $TIMEOUTFACTOR.
18105 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18107         [BZ #17058]
18108         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18109         non-executed part of the test.
18111 2014-06-16  Andreas Schwab  <schwab@suse.de>
18113         * string/bits/string2.h (strdup, strndup): Update feature guard.
18115 2014-06-14  David S. Miller  <davem@davemloft.net>
18117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18119 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18121         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18122         that was previously under [RESET_PID].
18123         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18125         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18126         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18127         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18128         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18129         (__libc_vfork): New strong alias.
18130         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18132 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18134         * sysdeps/generic/elide.h: New file.
18136 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18138         * Makefile (installed-headers): Adjust path of pthread.h header.
18140 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18142         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18143         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18144         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18145         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18147         * nptl/sysdeps/s390/Makefile: Moved ...
18148         * sysdeps/s390/nptl/Makefile: ... here.
18149         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18150         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18151         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18152         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18153         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18154         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18155         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18156         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18157         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18158         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18159         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18160         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18161         * nptl/sysdeps/s390/tls.h: Moved ...
18162         * sysdeps/s390/nptl/tls.h: ... here.
18164         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18165         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18167 2014-06-13  David S. Miller  <davem@davemloft.net>
18169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18172         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18176         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18177         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18178         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18179         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18180         Remove RESET_PID cpp guards.
18181         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18182         Remove RESET_PID cpp guards.
18183         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18185 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18187         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18188         __sp to uintptr_t.
18190 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18192         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18193         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18194         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18195         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18196         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18197         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18198         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18199         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18200         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18201         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18202         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18203         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18204         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18205         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18206         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18207         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18208         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18209         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18210         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18211         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18213         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18214         (pthread_rwlock_rdlock): Add elision.
18215         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18216         (pthread_rwlock_wrlock): Add elision.
18217         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18218         (pthread_rwlock_trywrlock): Add elision.
18219         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18220         (pthread_rwlock_tryrdlock): Add elision.
18221         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18222         (pthread_rwlock_tryrdlock): Add elision unlock.
18223         * nptl/sysdeps/pthread/pthread.h:
18224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18225         (PTHREAD_RWLOCK_INITIALIZER,
18226         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18227         Handle new elision field.
18228         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18229         * sysdeps/arm/nptl/bits/pthreadtypes.h
18230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18231         * sysdeps/sh/nptl/bits/pthreadtypes.h
18232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18233         * sysdeps/tile/nptl/bits/pthreadtypes.h
18234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18235         * sysdeps/a/nptl/bits/pthreadtypes.h
18236         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18237         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18239         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18241         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18243         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18245         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18247         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18248         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18249         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18251         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18253         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18254         (elision_init): Set try_xbegin to zero when no RTM.
18255         * sysdeps/x86/nptl/bits/pthreadtypes.h
18256         (pthread_rwlock_t): Change __pad1 to __rwelision.
18257         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18259 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18261         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18262         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18263         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18264         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18266 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18268         [BZ #16996]
18269         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18270         that the cached result has been set before returning it.
18272 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18274         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18275         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18276         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18277         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18278         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18279         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18281         * nptl/sysdeps/sparc/Makefile: Moved ...
18282         * sysdeps/sparc/nptl/Makefile: ... here.
18283         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18284         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18285         * nptl/sysdeps/sparc/tls.h: Moved ...
18286         * sysdeps/sparc/nptl/tls.h: ... here.
18287         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18288         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18289         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18290         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18291         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18292         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18293         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18294         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18295         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18296         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18297         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18298         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18299         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18300         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18301         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18302         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18303         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18304         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18305         Update #include.
18306         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18307         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18308         Update #include.
18309         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18310         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18311         Update #include.
18312         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18313         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18314         Update #include.
18316         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18318         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18319         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18321         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18322         (struct list_links): Type removed.
18323         (struct thread_node, struct timer_node): Replace struct list_links
18324         with struct list_head.
18325         (list_unlink_ip): Likewise.
18326         * sysdeps/pthread/timer_routines.c
18327         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18328         (list_append, list_insbefore): Likewise.
18329         (list_init): Function removed.
18330         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18331         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18332         * sysdeps/pthread/Makefile: ... here, new file.
18334         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18335         * sysdeps/nptl/Implies: ... here.
18336         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18337         * nptl/sysdeps/pthread/list.h: Moved ...
18338         * include/list.h: ... here.
18339         * nptl/sysdeps/pthread/createthread.c: Moved ...
18340         * nptl/createthread.c: ... here.
18341         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18342         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18343         * nptl/pt-longjmp.c: ... here.
18344         * nptl/sysdeps/pthread/Makefile: Moved ...
18345         * sysdeps/nptl/Makefile: ... here.
18346         * nptl/sysdeps/pthread/Subdirs: Moved ...
18347         * sysdeps/nptl/Subdirs: ... here.
18348         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18349         * sysdeps/nptl/aio_misc.h: ... here.
18350         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18351         * sysdeps/nptl/bits/libc-lock.h: ... here.
18352         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18353         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18354         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18355         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18356         * nptl/sysdeps/pthread/configure: Moved ...
18357         * sysdeps/nptl/configure: ... here.
18358         * nptl/sysdeps/pthread/configure.ac: Moved ...
18359         * sysdeps/nptl/configure.ac: ... here.
18360         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18361         * sysdeps/nptl/gai_misc.h: ... here.
18362         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18363         * sysdeps/nptl/librt-cancellation.c: ... here.
18364         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18365         * sysdeps/nptl/malloc-machine.h: ... here.
18366         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18367         * sysdeps/nptl/pthread-functions.h: ... here.
18368         * nptl/sysdeps/pthread/pthread.h: Moved ...
18369         * sysdeps/nptl/pthread.h: ... here.
18370         * nptl/sysdeps/pthread/setxid.h: Moved ...
18371         * sysdeps/nptl/setxid.h: ... here.
18372         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18373         * sysdeps/nptl/sigfillset.c: ... here.
18374         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18375         * sysdeps/nptl/tcb-offsets.h: ... here.
18376         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18377         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18378         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18379         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18380         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18381         * sysdeps/pthread/allocalim.h: ... here.
18382         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18383         * sysdeps/pthread/bits/sigthread.h: ... here.
18384         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18385         * sysdeps/pthread/flockfile.c: ... here.
18386         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18387         * sysdeps/pthread/ftrylockfile.c: ... here.
18388         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18389         * sysdeps/pthread/funlockfile.c: ... here.
18390         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18391         * sysdeps/pthread/posix-timer.h: ... here.
18392         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18393         * sysdeps/pthread/timer_create.c: ... here.
18394         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18395         * sysdeps/pthread/timer_delete.c: ... here.
18396         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18397         * sysdeps/pthread/timer_getoverr.c: ... here.
18398         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18399         * sysdeps/pthread/timer_gettime.c: ... here.
18400         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18401         * sysdeps/pthread/timer_routines.c: ... here.
18402         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18403         * sysdeps/pthread/timer_settime.c: ... here.
18404         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18405         * sysdeps/pthread/tst-timer.c: ... here.
18406         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18407         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18409         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18410         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18412         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18413         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18414         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18415         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18416         Update #include target.
18417         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18418         * sysdeps/i386/i686/nptl/Makefile: ... here.
18419         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18420         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18421         Update #include target.
18422         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18423         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18424         * nptl/sysdeps/i386/Makefile: Moved ...
18425         * sysdeps/i386/nptl/Makefile: ... here.
18426         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18427         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18428         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18429         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18430         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18431         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18432         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18433         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18434         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18435         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18436         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18437         * nptl/sysdeps/i386/tls.h: Moved ...
18438         * sysdeps/i386/nptl/tls.h: ... here.
18440         * sysdeps/sh/Makefile [$(subdir) = csu]
18441         (gen-as-const-headers): Add tcb-offsets.sym.
18442         * nptl/sysdeps/sh/Makefile: File removed.
18443         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18444         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18445         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18446         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18447         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18448         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18449         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18450         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18451         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18452         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18453         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18454         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18455         * nptl/sysdeps/sh/tls.h: Moved ...
18456         * sysdeps/sh/nptl/tls.h: ... here.
18457         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18458         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18459         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18460         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18461         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18462         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18463         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18464         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18465         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18466         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18467         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18468         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18469         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18470         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18471         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18472         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18473         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18474         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18475         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18476         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18477         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18478         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18479         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18480         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18481         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18482         Moved ...
18483         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18484         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18485         Moved ...
18486         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18487         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18488         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18489         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18490         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18491         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18492         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18493         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18494         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18495         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18496         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18497         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18498         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18499         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18500         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18501         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18502         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18503         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18504         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18506 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18508         * posix/spawn_faction_addopen.c: Include string.h.
18510 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18512         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18513         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18514         * nptl/sysdeps/x86_64/Makefile: Moved ...
18515         * sysdeps/x86_64/nptl/Makefile: ... here.
18516         * nptl/sysdeps/x86_64/configure: Moved ...
18517         * sysdeps/x86_64/nptl/configure: ... here.
18518         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18519         * sysdeps/x86_64/nptl/configure.ac: ... here.
18520         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18521         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18522         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18523         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18524         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18525         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18526         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18527         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18528         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18529         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18530         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18531         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18532         * nptl/sysdeps/x86_64/tls.h: Moved ...
18533         * sysdeps/x86_64/nptl/tls.h: ... here.
18534         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18535         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18536         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18537         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18539         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18541 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18545 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18547         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18548         type.
18549         [POSIX] (off_t): Likewise.
18550         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18551         [POSIX] (S_ISBLK): Require macro.
18552         [POSIX] (S_ISCHR): Likewise.
18553         [POSIX] (S_ISDIR): Likewise.
18554         [POSIX] (S_ISFIFO): Likewise.
18555         [POSIX] (S_ISREG): Likewise.
18556         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18557         optional-macro.
18558         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18559         type.
18560         [POSIX] (time_t): Likewise.
18561         [POSIX] (timer_t): Likewise.
18563 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18565         [BZ #17048]
18566         * posix/spawn_int.h (struct __spawn_action): Make the path string
18567         non-const to support deallocation.
18568         * posix/spawn_faction_addopen.c
18569         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18570         * posix/spawn_faction_destroy.c
18571         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18572         path in all spawn_do_open actions.
18573         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18574         posix_spawn_file_actions_addopen.
18576 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18578         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18579         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18580         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18581         conditional code always true.
18582         (__libc_vfork): New alias.
18584 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18586         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18587         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18589         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18591         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18592         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18594         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18595         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18597         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18598         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18600 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18602         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18603         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18604         multiarch strcmp for PPC64.
18605         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18606         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18608         multiarch optimizations.
18609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18610         (__libc_ifunc_impl_list): Likewise.
18612 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18614         * benchtests/scripts/validate_benchout.py: New script.
18615         * benchtests/Makefile (bench-func): Call it.
18616         * benchtests/scripts/benchout.schema.json: New file.
18618 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18620         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18621         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18622         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18623         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18624         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18625         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18626         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18627         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18628         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18629         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18630         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18631         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18632         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18633         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18634         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18635         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18637         Moved ...
18638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18639         ... here.
18640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18641         Moved ...
18642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18644         Moved ...
18645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18646         ... here.
18647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18648         Moved ...
18649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18650         ... here.
18651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18652         Moved ...
18653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18655         Moved ...
18656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18657         ... here.
18658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18659         Moved ...
18660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18661         ... here.
18662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18663         Moved ...
18664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18666         Moved ...
18667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18668         ... here.
18669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18670         Moved ...
18671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18672         ... here.
18673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18674         Moved ...
18675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18676         ... here.
18677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18678         Moved ...
18679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18681         Moved ...
18682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18683         ... here.
18684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18685         Moved ...
18686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18687         ... here.
18688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18689         Moved ...
18690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18691         ... here.
18692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18693         Moved ...
18694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18696         Moved ...
18697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18698         ... here.
18699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18700         Moved ...
18701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18702         ... here.
18703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18704         Moved ...
18705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18707         Moved ...
18708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18709         ... here.
18710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18711         Moved ...
18712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18714         Moved ...
18715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18717         Moved ...
18718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18719         ... here.
18720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18721         Moved ...
18722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18723         ... here.
18724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18725         Moved ...
18726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18727         ... here.
18728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18729         Moved ...
18730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18732         Moved ...
18733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18734         ... here.
18735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18736         Moved ...
18737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18738         ... here.
18739         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18740         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18742         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18744         Moved ...
18745         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18746         ... here.
18747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18748         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18750         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18751         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18752         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18753         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18754         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18755         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18756         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18757         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18758         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18760         Moved ...
18761         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18762         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18763         Moved ...
18764         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18765         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18766         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18767         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18768         Moved ...
18769         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18770         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18771         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18772         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18773         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18774         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18775         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18777 2014-06-10  Wilco  <wdijkstr@arm.com>
18779         * math/test-fenv-return.c: New file.
18780         * math/Makefile: Add new test test-fenv-return.
18782 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18784         [BZ #17042]
18785         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18786         when x - 1 is zero.
18787         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18788         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18789         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18790         0.0L for an argument of 1.0L.
18791         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18792         Likewise.
18793         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18794         value when x - 1 is zero.
18795         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18796         * sysdeps/i386/fpu/libm-test-ulps: Update.
18797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18799 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18801         [BZ #15119]
18802         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18804 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18806         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18807         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18809 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18811         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18812         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18814         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18815         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18817         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18818         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18820         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18821         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18823         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18824         if not already defined.
18825         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18826         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18827         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18828         (TLS_INIT_TP): Use it.
18829         (TLS_DEFINE_INIT_TP): New macro.
18830         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18832 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18834         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18835         constant.
18836         [POSIX] (IXANY): Likewise.
18837         [POSIX] (OLCUC): Likewise.
18838         [POSIX || POSIX2008] (CBAUD): Do not allow.
18839         [POSIX || POSIX2008] (DEFECHO): Likewise.
18840         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18841         [POSIX || POSIX2008] (ECHOKE): Likewise.
18842         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18843         [POSIX || POSIX2008] (EXTA): Likewise.
18844         [POSIX || POSIX2008] (EXTB): Likewise.
18845         [POSIX || POSIX2008] (FLUSHO): Likewise.
18846         [POSIX || POSIX2008] (LOBLK): Likewise.
18847         [POSIX || POSIX2008] (PENDIN): Likewise.
18848         [POSIX || POSIX2008] (SWTCH): Likewise.
18849         [POSIX || POSIX2008] (VDISCARD): Likewise.
18850         [POSIX || POSIX2008] (VDSUSP): Likewise.
18851         [POSIX || POSIX2008] (VLNEXT): Likewise.
18852         [POSIX || POSIX2008] (VREPRINT): Likewise.
18853         [POSIX || POSIX2008] (VSTATUS): Likewise.
18854         [POSIX || POSIX2008] (VWERASE): Likewise.
18855         (B*): Change to B[0123456789]*.
18856         * conform/data/time.h-data [POSIX || UNIX98]
18857         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18858         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18859         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18860         [POSIX] (tm_*): Do not allow.
18862 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18864         * Makefile (install): Don't set LANGUAGE.
18865         * Makefile.in (install): Likewise.
18866         * assert/Makefile (test-assert-ENV): Remove variable.
18867         (test-assert-perr-ENV): Likewise.
18868         * elf/Makefile (neededtest4-ENV): Likewise.
18869         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18870         [$(cross-compiling) = no]: Don't set LANGUAGE.
18871         * io/ftwtest-sh (LANG): Remove variable.
18872         * libio/Makefile (tst-widetext-ENV): Likewise.
18873         * manual/install.texi (Running make install): Don't refer to
18874         environment settings for make install.
18875         * INSTALL: Regenerated.
18876         * nptl/tst-tls6.sh: Don't set LANG.
18877         * posix/globtest.sh (LANG): Remove variable.
18878         * string/Makefile (tester-ENV): Likewise.
18879         (inl-tester-ENV): Likewise.
18880         (noinl-tester-ENV): Likewise.
18881         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18882         [$(cross-compiling) = no]: Don't set LANGUAGE.
18883         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18884         without explicit environment settings.
18886 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18888         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18889         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18890         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18891         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18893 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18895         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18896         other files in the crypt directory.
18897         * crypt/crypt.c: Remove duplicate includes.
18898         * crypt/crypt-entry.c: Likewise.
18899         * crypt/crypt_util.c: Likewise.
18901 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18903         * Makeconfig (run-program-env): New variable.
18904         (run-program-prefix-before-env): Likewise.
18905         (run-program-prefix-after-env): Likewise.
18906         (run-program-prefix): Define in terms of new variables.
18907         (built-program-cmd-before-env): New variable.
18908         (built-program-cmd-after-env): Likewise.
18909         (built-program-cmd): Define in terms of new variables.
18910         (test-program-prefix-before-env): New variable.
18911         (test-program-prefix-after-env): Likewise.
18912         (test-program-prefix): Define in terms of new variables.
18913         (test-program-cmd-before-env): New variable.
18914         (test-program-cmd-after-env): Likewise.
18915         (test-program-cmd): Define in terms of new variables.
18916         * Rules (make-test-out): Use $(run-program-env).
18917         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18918         (help): Do not mention environment variables.  Mention
18919         --timeoutfactor option.
18920         (timeoutfactor): New variable.
18921         (blacklist_exports): Remove function.
18922         (exports): Remove variable.
18923         (command): Do not include ${exports}.
18924         * manual/install.texi (Configuring and compiling): Do not mention
18925         test wrappers preserving environment variables.  Mention that last
18926         assignment to a variable must take precedence.
18927         * INSTALL: Regenerated.
18928         * benchtests/Makefile (run-bench): Use $(run-program-env).
18929         * catgets/Makefile ($(objpfx)test1.cat): Use
18930         $(built-program-cmd-before-env), $(run-program-env) and
18931         $(built-program-cmd-after-env).
18932         ($(objpfx)test2.cat): Do not specify environment variables
18933         explicitly.
18934         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18935         $(run-program-env) and $(built-program-cmd-after-env).
18936         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18937         $(run-program-env) and $(test-program-cmd-after-env).
18938         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18939         explicitly.
18940         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18941         run_program_env and test_program_cmd_after_env arguments.
18942         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18943         * elf/tst-pathopt.sh: Use run_program_env argument.
18944         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18945         $(test-wrapper-env) and $(run-program-env).
18946         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18947         run_program_env arguments.
18948         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18949         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18950         $(test-program-prefix-before-env), $(run-program-env) and
18951         $(test-program-prefix-after-env).
18952         ($(objpfx)tst-gettext2.out): Likewise.
18953         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18954         run_program_env and test_program_prefix_after_env arguments.
18955         * intl/tst-gettext2.sh: Likewise.
18956         * intl/tst-gettext4.sh: Do not set environment variables
18957         explicitly.
18958         * intl/tst-gettext6.sh: Likewise.
18959         * intl/tst-translit.sh: Likewise.
18960         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18961         $(test-program-prefix-before-env), $(run-program-env) and
18962         $(test-program-prefix-after-env).
18963         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18964         run_program_env and test_program_prefix_after_env arguments.
18965         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18966         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18967         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18968         explicitly with each use of ${test_wrapper_env}.
18969         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18970         $(test-program-prefix-before-env), $(run-program-env) and
18971         $(test-program-prefix-after-env).
18972         * posix/tst-getconf.sh: Do not set environment variables
18973         explicitly.
18974         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18975         run_program_env and test_program_prefix_after_env arguments.
18976         * stdio-common/tst-printf.sh: Do not set environment variables
18977         explicitly.
18978         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18979         $(test-program-prefix-before-env), $(run-program-env) and
18980         $(test-program-prefix-after-env).
18981         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18982         run_program_env and test_program_prefix_after_env arguments.
18983         Split $test calls into $test_pre and $test.
18984         * timezone/Makefile (build-testdata): Use
18985         $(built-program-cmd-before-env), $(run-program-env) and
18986         $(built-program-cmd-after-env).
18988 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18990         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18991         strlen for non SHARED builds.
18993 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18995         * nptl/allocatestack.c (check_list): Inlined function...
18996         (__reclaim_stacks): ... here.
18998 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19000         [BZ #15698]
19001         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19002         memory overrun.
19004 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19006         * Rules (make-test-out): Include
19007         LOCPATH=$(common-objpfx)localedata in default environment.
19008         * debug/Makefile (tst-chk1-ENV): Remove variable.
19009         (tst-chk2-ENV): Likewise.
19010         (tst-chk3-ENV): Likewise.
19011         (tst-chk4-ENV): Likewise.
19012         (tst-chk5-ENV): Likewise.
19013         (tst-chk6-ENV): Likewise.
19014         (tst-lfschk1-ENV): Likewise.
19015         (tst-lfschk2-ENV): Likewise.
19016         (tst-lfschk3-ENV): Likewise.
19017         (tst-lfschk4-ENV): Likewise.
19018         (tst-lfschk5-ENV): Likewise.
19019         (tst-lfschk6-ENV): Likewise.
19020         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19021         (tst-iconv7-ENV): Likewise.
19022         * intl/Makefile (LOCPATH-ENV): Likewise.
19023         (tst-codeset-ENV): Likewise.
19024         (tst-gettext3-ENV): Likewise.
19025         (tst-gettext5-ENV): Likewise.
19026         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19027         (tst-fopenloc-ENV): Likewise.
19028         (tst-fgetws-ENV): Remove variable.
19029         (tst-ungetwc1-ENV): Likewise.
19030         (tst-ungetwc2-ENV): Likewise.
19031         (bug-ungetwc2-ENV): Likewise.
19032         (tst-swscanf-ENV): Likewise.
19033         (bug-ftell-ENV): Likewise.
19034         (tst-fgetwc-ENV): Likewise.
19035         (tst-fseek-ENV): Likewise.
19036         (tst-ftell-partial-wide-ENV): Likewise.
19037         (tst-ftell-active-handler-ENV): Likewise.
19038         (tst-ftell-append-ENV): Likewise.
19039         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19040         (tst-regexloc-ENV): Likewise.
19041         (bug-regex1-ENV): Likewise.
19042         (tst-regex-ENV): Likewise.
19043         (tst-regex2-ENV): Likewise.
19044         (bug-regex5-ENV): Likewise.
19045         (bug-regex6-ENV): Likewise.
19046         (bug-regex17-ENV): Likewise.
19047         (bug-regex18-ENV): Likewise.
19048         (bug-regex19-ENV): Likewise.
19049         (bug-regex20-ENV): Likewise.
19050         (bug-regex22-ENV): Likewise.
19051         (bug-regex23-ENV): Likewise.
19052         (bug-regex25-ENV): Likewise.
19053         (bug-regex26-ENV): Likewise.
19054         (bug-regex30-ENV): Likewise.
19055         (bug-regex32-ENV): Likewise.
19056         (bug-regex33-ENV): Likewise.
19057         (bug-regex34-ENV): Likewise.
19058         (bug-regex35-ENV): Likewise.
19059         (tst-rxspencer-ENV): Likewise.
19060         (tst-rxspencer-no-utf8-ENV): Likewise.
19061         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19062         (tst-sscanf-ENV): Likewise.
19063         (tst-swprintf-ENV): Likewise.
19064         (tst-swscanf-ENV): Likewise.
19065         (test-vfprintf-ENV): Likewise.
19066         (scanf13-ENV): Likewise.
19067         (bug14-ENV): Likewise.
19068         (tst-grouping-ENV): Likewise.
19069         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19070         (tst-strtod3-ENV): Likewise.
19071         (tst-strtod4-ENV): Likewise.
19072         (tst-strtod5-ENV): Likewise.
19073         (testmb2-ENV): Likewise./
19074         * string/Makefile (tst-strxfrm-ENV): Likewise.
19075         (tst-strxfrm2-ENV): Likewise.
19076         (bug-strcoll1-ENV): Likewise.
19077         (test-strcasecmp-ENV): Likewise.
19078         (test-strncasecmp-ENV): Likewise.
19079         * time/Makefile (tst-strptime-ENV): Likewise.
19080         (tst-ftime_l-ENV): Likewise.
19081         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19082         (tst-mbrtowc-ENV): Likewise.
19083         (tst-wcrtomb-ENV): Likewise.
19084         (tst-mbrtowc2-ENV): Likewise.
19085         (tst-c16c32-1-ENV): Likewise.
19086         (tst-mbsnrtowcs-ENV): Likewise.
19088 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19090         * manual/resource.texi (How to get information about the memory
19091         subsystem?): Fix typo.
19092         Reported by Peon de la Parra Ivan <peon@keba.com>
19094 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19096         [BZ #16882]
19097         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19098         (pthread_spin_lock): Branch out of spin loop to proper location.
19099         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19100         (pthread_spin_lock): Likewise.
19102         * nptl/tst-spin4.c: New test.
19103         * nptl/Makefile (tests): Add tst-spin4.
19105 2014-06-03  Andreas Schwab  <schwab@suse.de>
19107         [BZ #15946]
19108         * resolv/res_send.c (send_dg): Reload file descriptor after
19109         calling reopen.
19111 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19113         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19115 2014-06-03  Richard Henderson  <rth@redhat.com>
19117         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19118         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19119         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19120         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19121         in the SAVE_PID block.
19122         (__libc_vfork): New alias.
19123         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19125         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19126         child in registers, not on the stack.  Remove RESET_PID conditionals.
19127         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19129 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19131         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19133 2014-06-03  Wilco  <wdijkstr@arm.com>
19135         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19136         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19137         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19138         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19139         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19140         Likewise.
19142 2014-06-03  Wilco  <wdijkstr@arm.com>
19144         * sysdeps/aarch64/fpu/math_private.h
19145         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19146         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19147         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19148         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19149         Fix declarations.
19151 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19153         * crypt/crypt-private.h: Include ufc-crypt.h.
19154         (__b64_from_24bit): Declare extern.
19155         * crypt/crypt_util.c(__b64_from_24bit): New function.
19156         (b64t): New static const variable.
19157         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19158         (b64t): Remove variable.
19159         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19160         * crypt/sha256-crypt.c: Include crypt-private.h.
19161         (b64t): Remove variable.
19162         (__sha256_crypt_r): Remove b64_from_24bit and replace
19163         with __b64_from_24bit.
19164         * crypt/sha512-crypt.c: Likewise.
19166 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19168         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19169         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19170         Label the code __libc_vfork rather than __vfork.
19171         [!NOT_IN_libc] (vfork): Define as weak alias.
19172         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19173         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19174         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19176 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19178         * malloc/malloc.c (malloc_info): Fix format specifier for
19179         n_mmaps.
19181 2014-06-02  Wilco  <wdijkstr@arm.com>
19183         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19184         FPCR write.
19186 2014-06-02  Wilco  <wdijkstr@arm.com>
19188         [BZ #17009]
19189         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19190         Rewrite to reduce FPCR/FPSR accesses.
19192 2014-06-01  David S. Miller  <davem@davemloft.net>
19194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19196 2014-05-31  David S. Miller  <davem@davemloft.net>
19198         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19199         to occur in round to nearest mode when |x| >= 2.0
19201 2014-05-30  Richard Henderson  <rth@twiddle.net>
19203         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19204         (PSEUDO_RET_NOERRNO): Remove.
19205         (ret): Don't redefine.
19206         (ret_NOERRNO): Define in terms of ret.
19207         (ret_ERRVAL): Likewise.
19209         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19210         use of PSEUDO_RET; perform the error check directly.
19212 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19214         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19215         with __int128_t.
19217 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19219         * malloc/malloc (malloc_info): Fix formatting.
19221 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19222             Roland McGrath  <roland@hack.frob.com>
19224         * malloc/malloc (malloc_info): Also print mmapped statistics.
19226 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19228         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19229         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19231 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19233         * malloc/malloc.c (malloc_info): Inline mi_arena.
19235 2014-05-29  Richard Henderson  <rth@twiddle.net>
19237         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19238         Remove comma before expanding ASM_ARGS_##nr.
19239         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19240         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19241         of ASM_ARGS_##nr.
19242         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19243         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19244         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19245         (ASM_ARGS_1): Add leading comma.
19247         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19248         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19249         to __errno_location.
19250         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19251         Remove the expected plt for __errno_location.
19253         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19254         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19255         call to __read_tp.
19257         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19258         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19259         it and break it down.
19260         (DOCARGS_0, DOCARGS_1): Do nothing.
19261         (DOCARGS_2): Update to store into the new stack frame.
19262         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19263         (UNDOCARGS_1): Update to restore from the new stack frame.
19264         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19265         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19267         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19268         (SINGLE_THREAD_P): New parameter for result regno.
19269         (PSEUDO): Update to match; use cbz instead of beq.
19271         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19272         Use ENTRY to define the _nocancel entry point.  Share the syscall
19273         and syscall error check paths with the cancel path.
19274         (PSEUDO_END): New.
19276         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19277         whitespace; tabs before and after asm mnemonics.
19279 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19281         [BZ #15132]
19282         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19283         Call fstat64 or stat64 internally, depending on arguments passed.
19284         Replace stat buffer argument with file descriptor argument.
19285         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19286         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19287         Pass fd to __internal_statvfs instead of calling fstat64.
19288         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19289         Pass fd to __internal_statvfs64 instead of calling fstat64.
19290         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19291         Pass -1 to __internal_statvfs instead of calling stat64.
19292         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19293         Pass -1 to __internal_statvfs64 instead of calling stat64.
19295 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19297         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19298         that was previously under [RESET_PID].
19299         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19301         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19302         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19304 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19306         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19308         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19309         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19311 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19313         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19315 2014-05-27  Andreas Schwab  <schwab@suse.de>
19317         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19318         TLS_INIT_TP macro.
19319         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19320         * elf/rtld.c (init_tls, dl_main): Likewise.
19321         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19322         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19323         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19324         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19325         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19326         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19327         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19328         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19329         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19330         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19331         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19332         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19333         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19334         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19335         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19336         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19337         * sysdeps/generic/tls.h: Update description.
19339 2014-05-27  Will Newton  <will.newton@linaro.org>
19341         [BZ #16990]
19342         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19343         and restore r2 rather than just restoring.
19345 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19347         [BZ #16724]
19348         * libio/tst-ftell-append.c: New test case.
19349         * libio/Makefile (tests): Add test case.
19350         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19351         append mode.
19352         * libio/wfileops.c (do_ftell_wide): Likewise.
19354 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19358         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19359         ...
19360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19362         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19363         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19364         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19365         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19366         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19367         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19368         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19369         Moved ...
19370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19371         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19372         Moved ...
19373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19374         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19375         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19376         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19377         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19378         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19379         ...
19380         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19381         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19382         Moved ...
19383         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19384         here.
19385         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19386         ...
19387         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19388         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19389         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19391         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19392         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19393         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19394         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19396         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19397         merge into ...
19398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19400         ...
19401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19402         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19403         ...
19404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19405         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19406         Moved ...
19407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19408         here.
19409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19410         Moved ...
19411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19413         Moved ...
19414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19417         conditional [RESET_PID].
19418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19420         removed.
19421         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19422         removed.
19424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19425         <tcb-offsets.h>.
19426         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19427         (__libc_vfork): New strong alias.
19428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19429         removed.
19430         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19431         Removed.
19433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19434         <tcb-offsets.h>.
19435         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19436         (__libc_vfork): New strong alias.
19437         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19438         removed.
19439         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19440         removed.
19442 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19444         * malloc/malloc.c (mi_arena): New function.
19445         (malloc_info): Remove nested function mi_arena. Call non-nosted
19446         function mi_arena.
19448 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19450         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19451         by insrwi.
19452         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19453         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19454         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19455         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19456         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19457         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19458         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19460 2014-05-26  Andreas Schwab  <schwab@suse.de>
19462         [BZ #16984]
19463         * locale/programs/repertoire.c (repertoire_read): Add slash
19464         between I18NPATH element and file name.
19465         * locale/programs/locfile.c (locfile_read): Likewise.
19467 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19469         * nptl/pthread_mutexattr_settype.c
19470         (__pthread_mutexattr_settype):
19471         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19473 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19475         * nptl/tst-mutex5 (do_test):
19476         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19478 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19480         * benchtests/README: Document 'init' directive.
19481         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19482         BENCH_INIT.
19483         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19484         (parse_file): Recognize 'init' directive.
19486 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19488         [BZ #16796]
19489         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19490         alignment of struct pthread.
19492 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19494         [BZ #16878]
19495         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19496         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19497         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19498         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19500 2014-05-25  Richard Henderson  <rth@twiddle.net>
19502         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19503         (SINGLE_THREAD_P_PIC): Remove.
19504         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19505         (SINGLE_THREAD_P_PIC): Remove.
19507         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19508         branch to syscall error ...
19509         (PSEUDO): ... here.
19510         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19511         from __local_syscall_error to .Lsyscall_error.
19512         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19513         (SYSCALL_ERROR): Update label name.
19515         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19516         Do not use DOARGS/UNDOARGS.
19517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19518         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19519         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19520         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19521         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19524         block comment.
19526         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19527         define if !NOT_IN_libc.
19528         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19529         define with non-default symbol versions.
19531 2014-05-23  Richard Henderson  <rth@twiddle.net>
19533         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19534         (vfork, __vfork): Define via compat_symbol.
19536         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19537         [!HAVE_IFUNC] (vfork_compat): Remove.
19538         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19540 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19542         [BZ #16978]
19543         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19544         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19545         variable.
19547 2014-05-23  Richard Henderson  <rth@twiddle.net>
19549         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19550         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19551         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19552         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19554         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19555         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19556         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19557         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19558         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19559         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19560         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19561         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19562         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19563         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19564         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19565         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19566         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19567         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19568         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19569         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19570         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19571         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19572         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19573         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19574         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19575         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19576         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19577         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19578         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19579         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19580         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19581         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19582         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19583         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19584         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19585         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19586         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19587         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19588         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19589         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19590         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19591         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19592         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19593         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19594         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19595         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19596         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19597         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19598         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19599         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19600         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19601         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19602         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19603         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19604         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19605         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19606         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19607         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19608         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19609         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19611         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19612         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19613         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19614         before exiting on error.
19615         (__libc_vfork): New strong alias.
19616         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19617         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19619         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19620         that was previously under [RESET_PID].
19621         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19623         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19625 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19627         [BZ #16977]
19628         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19629         value when x - 1 is zero.
19630         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19631         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19632         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19633         0.0L for an argument of 1.0L.
19634         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19635         Likewise.
19636         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19637         value when x - 1 is zero.
19638         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19639         * sysdeps/i386/fpu/libm-test-ulps: Update.
19640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19642 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19644         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19645         alphasort and versionsort.
19647 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19649         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19650         macro.
19651         [copysignf]: Likewise.
19653 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19655         * crypt/md5-crypt.c: Fix formatting.
19657 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19659         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19660         (b64_from_24bit): New function.
19662 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19664         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19665         libc_hidden_builtin_def to ifunc.
19666         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19667         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19669 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19671         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19672         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19674 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19676         * nscd/Depend (linuxthreads): Remove.
19677         (nptl): Add.
19678         * resolv/Depend (linuxthreads): Remove.
19679         * rt/Depend (linuxthreads): Remove.
19681         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19682         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19683         $(common-objpfx)elf/.
19684         (link-libc-before-gnulib): Likewise.
19685         (elfobjdir): Remove variable.
19686         * Makefile (install): Use $(elf-objpfx) instead of
19687         $(common-objpfx)elf/.
19688         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19689         $(elfobjdir)/.
19690         (link-libc-deps): Likewise.
19691         ($(common-objpfx)libc.so): Likewise.
19692         ($(common-objpfx)linkobj/libc.so): Likewise.
19693         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19694         instead of $(common-objpfx)elf/.
19695         (symbolic-link-list): Likewise.
19696         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19697         [$(cross-compiling) = no]: Likewise.
19698         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19699         $(elfobjdir)/.
19700         (static-gnulib-arch): Likewise.
19701         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19702         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19703         $(common-objpfx)elf/.
19705 2014-05-21  Richard Henderson  <rth@redhat.com>
19707         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19708         (SINGLE_THREAD_P): Use the correct width load.  Fold
19709         into the ldr offset.
19711         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19712         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19714 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19716         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19717         (libgcc_s_resume): Use __attribute_used__.
19718         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19719         Likewise.
19721 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19723         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19724         optimization when used with float constants.
19726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19728 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19730         [BZ #16915]
19731         * locale/nl_langinfo_l.c: Make direct reference to every
19732         _nl_current_CATEGORY symbol.
19733         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19734         (tests-static): Add tst-langinfo-static.
19735         (tests-special): Add tst-langinfo-static.out.
19736         ($(objpfx)tst-langinfo.out): Redirect output.
19737         ($(objpfx)tst-langinfo-static.out): New.
19738         * localedata/tst-langinfo.sh: Send output to stdout.
19739         * localedata/tst-langinfo-static.c: New file.
19741         [BZ #16965]
19742         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19743         when the shift amount is modulo the limb size.
19745 2014-05-20  Richard Henderson  <rth@redhat.com>
19747         [BZ #16967]
19748         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19749         Change type of sa_flags from unsigned int to int.
19751         [BZ #16966]
19752         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19754         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19756 2014-05-20  Will Newton  <will.newton@linaro.org>
19758         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19759         Test the return value of the system call in the nocancel case.
19761 2014-05-20  Will Newton  <will.newton@linaro.org>
19762             Yvan Roux  <yvan.roux@linaro.org>
19764         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19765         #include of asm/ptrace.h.
19766         (PTRACE_GET_THREAD_AREA): Remove #undef.
19767         (PTRACE_GETHBPREGS): Likewise.
19768         (PTRACE_SETHBPREGS): Likewise.
19769         (struct user_regs_struct): New structure.
19770         (struct user_fpsimd_struct): New structure.
19771         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19772         #include of asm/ptrace.h and second #include of sys/user.h.
19773         (PTRACE_GET_THREAD_AREA): Remove #undef.
19774         (PTRACE_GETHBPREGS): Likewise.
19775         (PTRACE_SETHBPREGS): Likewise.
19776         (ELF_NGREG): Use new struct user_regs_struct.
19777         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19779 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19781         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19782         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19784 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19786         [BZ #16958]
19787         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19788         membar to avoid block loads/stores to overlap previous stores.
19790 2014-05-17  Richard Henderson  <rth@redhat.com>
19792         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19793         Create the __##syscall_name##_nocancel entry point.
19794         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19795         Remove; let the sysdep-cancel.h code create it.
19797 2014-05-17  David S. Miller  <davem@davemloft.net>
19799         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19800         Protect with __USE_GNU.
19801         (TIOCSET_TEMPT): Likewise.
19802         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19803         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19804         these are already provided in bits/ioctl-types.h
19806 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19808         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19809         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19811         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19812         Use wait4 regardless of [__NR_waitpid].
19814 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19816         PR libgcc/60166
19817         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19818         (_FP_NANSIGN_Q): Set the quiet bit.
19820 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19822         * benchtests/Makefile
19823         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19824         not $(common-objpfx)math/libm.so.
19825         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19826         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19827         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19828         $(common-objpfx)dlfcn/libdl.so.
19829         ($(objpfx)tst-audit8): Depend on $(libm), not
19830         $(common-objpfx)math/libm.so.
19831         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19832         not $(common-objpfx)dlfcn/libdl.so.
19833         * math/Makefile
19834         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19835         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19836         [$(build-shared) = yes].
19837         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19838         $(common-objpfx)nptl/libpthread.so.
19839         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19840         $(common-objpfx)math/libm.so$(libm.so-version) or
19841         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19842         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19843         $(common-objpfx)dlfcn/libdl.so.
19844         * setjmp/Makefile (link-libm): Remove variable.
19845         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19846         * stdio-common/Makefile (link-libm): Remove variable.
19847         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19848         * stdlib/Makefile (link-libm): Remove variable.
19849         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19850         ($(objpfx)tst-strtod-round): Likewise.
19851         ($(objpfx)tst-tininess): Likewise.
19852         ($(objpfx)tst-strtod-underflow): Likewise.
19853         ($(objpfx)tst-strtod6): Likewise.
19854         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19855         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19856         $(common-objpfx)dlfcn/libdl.so.
19858 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19860         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19861         BSD terminal modes definitions.
19863 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19865         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19866         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19868         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19869         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19870         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19871         Don't do #include_next.
19872         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19873         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19874         Don't do #include_next.
19875         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19876         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19877         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19878         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19880 2014-05-16  Allan McRae  <allan@archlinux.org>
19882         * po/sv.po: Update Swedish translation from translation project.
19884         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19885         in sed expression.
19887 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19889         [BZ #16917]
19890         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19891         errno if the TIOCGPTN ioctl fails with an error different than
19892         EINVAL.
19893         * login/tst-ptsname.c: New file.
19894         * login/Makefile (tests): Add tst-ptsname.
19896         [BZ #16943]
19897         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19898         and prlimit64.
19900 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19902         [BZ #16849]
19903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19904         herrno to return EAI_AGAIN.
19906 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19908         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19909         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19910         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19911         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19912         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19913         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19914         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19915         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19916         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19917         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19918         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19919         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19920         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19921         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19922         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19923         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19924         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19925         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19926         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19927         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19928         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19929         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19930         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19931         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19932         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19933         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19934         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19935         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19936         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19937         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19939         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19941         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19943         Moved ...
19944         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19946         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19948         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19950         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19952         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19954         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19956         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19958         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19960         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19962         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19964         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19966         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19968         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19970         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19972         Moved ...
19973         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19975         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19977         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19979         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19981         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19983         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19985         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19987         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19989         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19991         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19993         Moved ...
19994         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19996         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19998         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19999         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20000         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20001         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20002         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20003         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20004         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20005         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20006         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20007         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20008         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20009         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20010         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20011         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20012         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20013         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20014         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20015         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20016         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20017         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20018         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20019         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20020         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20021         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20022         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20023         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20024         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20025         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20026         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20027         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20028         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20030         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20031         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20033         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20034         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20035         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20036         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20037         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20038         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20039         Moved ...
20040         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20041         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20042         Moved ...
20043         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20044         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20045         Moved ...
20046         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20047         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20048         Moved ...
20049         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20050         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20051         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20052         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20053         Moved ...
20054         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20055         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20056         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20057         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20058         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20059         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20060         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20061         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20062         Moved ...
20063         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20064         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20065         Moved ...
20066         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20067         ... here.
20068         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20069         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20070         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20071         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20072         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20073         Moved ...
20074         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20075         ... here.
20076         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20077         Moved ...
20078         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20079         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20080         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20081         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20082         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20083         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20084         Moved ...
20085         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20086         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20087         Moved ...
20088         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20089         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20090         Moved ...
20091         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20092         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20093         Moved ...
20094         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20095         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20096         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20097         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20098         Moved ...
20099         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20100         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20101         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20102         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20103         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20104         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20105         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20106         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20107         Moved ...
20108         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20109         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20110         Moved ...
20111         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20112         ... here.
20113         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20114         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20115         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20116         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20117         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20118         Moved ...
20119         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20120         ... here.
20121         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20122         Moved ...
20123         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20124         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20125         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20126         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20127         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20128         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20129         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20130         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20131         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20132         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20133         Moved ...
20134         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20135         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20136         Moved ...
20137         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20138         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20139         Moved ...
20140         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20141         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20142         Moved ...
20143         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20144         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20145         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20146         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20147         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20148         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20149         Moved ...
20150         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20151         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20152         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20153         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20154         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20155         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20156         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20157         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20158         Moved ...
20159         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20160         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20161         Moved ...
20162         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20163         ... here.
20164         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20165         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20166         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20167         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20168         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20169         Moved ...
20170         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20171         ... here.
20172         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20173         Moved ...
20174         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20175         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20176         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20177         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20178         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20179         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20180         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20181         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20182         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20183         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20184         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20186         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20187         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20189         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20190         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20192         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20193         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20194         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20195         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20196         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20197         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20198         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20199         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20200         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20201         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20202         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20203         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20204         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20205         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20206         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20207         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20208         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20209         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20210         Moved ...
20211         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20212         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20213         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20214         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20215         Moved ...
20216         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20218         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20219         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20220         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20221         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20222         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20223         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20224         Moved ...
20225         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20226         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20227         Moved ...
20228         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20229         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20230         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20231         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20232         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20233         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20234         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20235         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20236         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20237         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20238         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20239         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20240         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20241         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20242         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20243         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20244         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20246         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20247         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20248         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20249         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20250         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20252         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20253         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20254         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20255         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20256         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20257         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20258         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20259         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20260         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20261         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20263         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20264         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20266         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20267         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20268         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20269         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20270         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20271         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20272         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20273         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20274         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20275         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20276         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20277         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20278         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20279         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20281         Update #include.
20282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20283         Likewise.
20284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20285         Likewise.
20286         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20287         Likewise.
20288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20289         Likewise.
20290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20291         Likewise.
20292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20293         Likewise.
20294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20295         Likewise.
20296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20297         Likewise.
20298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20299         Likewise.
20300         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20301         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20302         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20303         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20305         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20306         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20307         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20308         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20309         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20310         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20311         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20312         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20313         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20314         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20316         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20317         that was previously under [RESET_PID].
20318         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20319         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20320         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20322         * sysdeps/i386/nptl/Implies: New file.
20323         * sysdeps/x86_64/nptl/Implies: New file.
20324         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20325         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20326         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20327         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20329         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20330         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20331         (__libc_vfork): New strong alias.
20332         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20333         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20335         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20336         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20337         (__libc_vfork): New strong alias.
20338         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20339         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20341         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20342         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20343         (__libc_vfork): New strong alias.
20344         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20345         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20346         * nptl/pt-vfork.c: New file.
20347         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20348         (libpthread: GLIBC_2.20): New version set (empty).
20350 2014-05-14  Will Newton  <will.newton@linaro.org>
20352         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20353         rather than #if.
20355 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20357         [BZ #16564]
20358         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20359         arguments with exponent 65 or above.
20360         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20361         arguments 0x1p113L or above.
20362         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20363         to arguments 0x1p107L or above.
20364         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20365         positive arguments with exponent 65 or above.
20366         * math/auto-libm-test-in: Add more tests of log1p.
20367         * math/auto-libm-test-out: Regenerated.
20369         [BZ #16928]
20370         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20371         non-finite arguments is +0.
20372         * math/s_cacosf.c (__cacosf): Likewise.
20373         * math/s_cacosl.c (__cacosl): Likewise.
20374         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20375         * sysdeps/i386/fpu/libm-test-ulps: Update.
20376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20378         [BZ #16927]
20379         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20380         value.
20381         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20382         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20383         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20384         for explicit high bit of mantissa when testing for argument equal
20385         to 1.
20386         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20387         * sysdeps/i386/fpu/libm-test-ulps: Update.
20388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20390         [BZ #16516]
20391         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20392         (__erf): Scale by 16 instead of 8 in potentially underflowing
20393         case.  Ensure exception if result actually underflows.
20394         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20395         (__erff): Scale by 16 instead of 8 in potentially underflowing
20396         case.  Ensure exception if result actually underflows.
20397         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20398         (efx8): Remove variable.
20399         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20400         case.  Ensure exception if result actually underflows.
20401         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20402         (efx8): Remove variable.
20403         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20404         case.  Ensure exception if result actually underflows.
20405         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20406         (efx8): Remove variable.
20407         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20408         case.  Ensure exception if result actually underflows.
20409         * math/auto-libm-test-in: Add more tests of erf.
20410         * math/auto-libm-test-out: Regenerated.
20412 2014-05-14  Andreas Schwab  <schwab@suse.de>
20414         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20415         Remove code conditionalized on USE___THREAD.
20417         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20418         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20419         not definedness.
20421 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20423         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20424         Define unconditionally.
20425         (__ASSUME_O_CLOEXEC): Likewise.
20426         (__ASSUME_SOCK_CLOEXEC): Likewise.
20427         (__ASSUME_IN_NONBLOCK): Likewise.
20428         (__ASSUME_PIPE2): Likewise.
20429         (__ASSUME_EVENTFD2): Likewise.
20430         (__ASSUME_SIGNALFD4): Likewise.
20431         (__ASSUME_DUP3): Likewise.
20432         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20433         (__ASSUME_DUP3): Do not define.
20434         (__ASSUME_EVENTFD2): Likewise.
20435         (__ASSUME_IN_NONBLOCK): Likewise.
20436         (__ASSUME_O_CLOEXEC): Likewise.
20437         (__ASSUME_PIPE2): Likewise.
20438         (__ASSUME_SIGNALFD4): Likewise.
20439         (__ASSUME_SOCK_CLOEXEC): Likewise.
20440         (__ASSUME_UTIMES): Undefine.
20441         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20442         (__ASSUME_UTIMES): Do not define.
20443         (__ASSUME_O_CLOEXEC): Likewise.
20444         (__ASSUME_SOCK_CLOEXEC): Likewise.
20445         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20446         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20447         0x020621].
20448         (__ASSUME_PIPE2): Likewise.
20449         (__ASSUME_EVENTFD2): Likewise.
20450         (__ASSUME_SIGNALFD4): Likewise.
20451         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20452         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20453         Do not define.
20454         (__ASSUME_EVENTFD2): Likewise.
20455         (__ASSUME_SIGNALFD4): Likewise.
20456         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20457         (__ASSUME_32BITUIDS): Likewise.
20458         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20459         (__ASSUME_IPC64): Likewise.
20460         (__ASSUME_ST_INO_64_BIT): Likewise.
20461         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20462         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20463         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20464         (__ASSUME_UTIMES): Do not define.
20465         (__ASSUME_PSELECT): Likewise.
20466         (__ASSUME_PPOLL): Likewise.
20467         (__ASSUME_O_CLOEXEC): Likewise.
20468         (__ASSUME_SOCK_CLOEXEC): Likewise.
20469         (__ASSUME_IN_NONBLOCK): Likewise.
20470         (__ASSUME_PIPE2): Likewise.
20471         (__ASSUME_EVENTFD2): Likewise.
20472         (__ASSUME_SIGNALFD4): Likewise.
20473         (__ASSUME_DUP3): Likewise.
20474         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20475         (__ASSUME_UTIMES): Likewise.
20476         (__ASSUME_O_CLOEXEC): Likewise.
20477         (__ASSUME_SOCK_CLOEXEC): Likewise.
20478         (__ASSUME_IN_NONBLOCK): Likewise.
20479         (__ASSUME_PIPE2): Likewise.
20480         (__ASSUME_EVENTFD2): Likewise.
20481         (__ASSUME_SIGNALFD4): Likewise.
20482         (__ASSUME_DUP3): Likewise.
20483         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20484         (__ASSUME_UTIMES): Likewise.
20485         (__ASSUME_O_CLOEXEC): Likewise.
20486         (__ASSUME_SOCK_CLOEXEC): Likewise.
20487         (__ASSUME_IN_NONBLOCK): Likewise.
20488         (__ASSUME_PIPE2): Likewise.
20489         (__ASSUME_EVENTFD2): Likewise.
20490         (__ASSUME_SIGNALFD4): Likewise.
20491         (__ASSUME_DUP3): Likewise.
20492         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20493         Likewise.
20494         (__ASSUME_UTIMES): Likewise.
20495         (__ASSUME_EVENTFD2): Likewise.
20496         (__ASSUME_SIGNALFD4): Likewise.
20497         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20498         (__ASSUME_O_CLOEXEC): Likewise.
20499         (__ASSUME_SOCK_CLOEXEC): Likewise.
20500         (__ASSUME_IN_NONBLOCK): Likewise.
20501         (__ASSUME_PIPE2): Likewise.
20502         (__ASSUME_EVENTFD2): Likewise.
20503         (__ASSUME_SIGNALFD4): Likewise.
20504         (__ASSUME_DUP3): Likewise.
20505         (__ASSUME_UTIMES): Undefine.
20507         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20508         feclearexcept.  Remove symbol versioning code.
20509         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20510         symbol versioning code.
20511         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20512         symbol versioning code.
20513         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20514         feupdateenv.  Remove symbol versioning code.
20515         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20516         fegetexceptflag.  Remove symbol versioning code.
20517         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20518         fesetexceptflag.  Remove symbol versioning code.
20519         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20520         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20521         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20522         (__posix_fadvise64_l32): Remove prototype.
20523         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20524         code.
20526 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20528         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20529         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20530         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20531         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20533 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20535         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20536         current working directory
20538 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20540         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20541         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20542         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20543         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20544         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20545         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20546         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20547         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20548         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20549         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20550         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20551         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20552         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20553         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20554         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20555         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20556         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20557         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20558         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20559         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20560         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20561         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20562         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20563         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20564         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20565         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20566         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20567         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20568         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20569         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20570         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20571         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20572         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20573         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20574         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20575         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20576         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20577         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20578         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20579         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20580         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20581         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20583         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20584         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20586         * sysdeps/unix/sysv/linux/arm/Makefile
20587         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20588         Add rt-aeabi_unwind_cpp_pr1.
20589         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20590         Add nptl-aeabi_unwind_cpp_pr1.
20591         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20592         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20593         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20594         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20595         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20596         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20598         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20599         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20600         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20601         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20603         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20604         Deconditionalize the code that was previously under [RESET_PID].
20605         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20607         * sysdeps/generic/exit-thread.h: New file.
20608         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20609         * include/unistd.h (__exit_thread): Remove declaration.
20610         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20611         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20612         * csu/libc-start.c: Include <exit-thread.h>.
20613         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20614         * nptl/pthread_create.c: Include <exit-thread.h>.
20615         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20616         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20617         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20618         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20619         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20620         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20621         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20622         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20623         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20624         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20625         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20626         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20627         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20628         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20629         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20630         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20631         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20633 2014-05-13  Andreas Schwab  <schwab@suse.de>
20635         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20637 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20639         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20640         (__ASSUME_UTIMES): Do not condition on kernel version.
20641         (__ASSUME_PSELECT): Define unconditionally.
20642         (__ASSUME_PPOLL): Likewise.
20643         (__ASSUME_ATFCTS): Likewise.
20644         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20645         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20646         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20647         (__ASSUME_UTIMENSAT): Define unconditionally.
20648         (__ASSUME_PRIVATE_FUTEX): Likewise.
20649         (__ASSUME_FALLOCATE): Likewise.
20650         (__ASSUME_O_CLOEXEC): Likewise.
20651         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20652         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20653         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20654         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20655         (__ASSUME_IN_NONBLOCK): Likewise.
20656         (__ASSUME_PIPE2): Likewise.
20657         (__ASSUME_EVENTFD2): Likewise.
20658         (__ASSUME_SIGNALFD4): Likewise.
20659         (__ASSUME_DUP3): Likewise.
20660         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20661         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20662         (__ASSUME_AT_RANDOM): Likewise.
20663         (__ASSUME_PREADV): Likewise.
20664         (__ASSUME_PWRITEV): Likewise.
20665         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20666         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20667         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20668         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20669         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20670         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20671         (__ASSUME_O_CLOEXEC): Define unconditionally.
20672         (__ASSUME_PSELECT): Do not undefine conditionally.
20673         (__ASSUME_PPOLL): Likewise.
20674         (__ASSUME_ATFCTS): Likewise.
20675         (__ASSUME_SET_ROBUST_LIST): Likewise.
20676         (__ASSUME_UTIMENSAT): Likewise.
20677         (__ASSUME_FDATASYNC): Define unconditionally.
20678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20679         (__ASSUME_SIGFRAME_V2): Likewise.
20680         )__ASSUME_EVENTFD2): Likewise.
20681         (__ASSUME_SIGNALFD4): Likewise.
20682         (__ASSUME_PSELECT): Do not undefine conditionally.
20683         (__ASSUME_PPOLL): Likewise.
20684         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20685         (__ASSUME_PSELECT): Define unconditionally.
20686         (__ASSUME_PPOLL): Likewise.
20687         (__ASSUME_O_CLOEXEC): Likewise.
20688         (__ASSUME_SOCK_CLOEXEC): Likewise.
20689         (__ASSUME_IN_NONBLOCK): Likewise.
20690         (__ASSUME_PIPE2): Likewise.
20691         (__ASSUME_EVENTFD2): Likewise.
20692         (__ASSUME_SIGNALFD4): Likewise.
20693         (__ASSUME_DUP3): Likewise.
20694         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20695         (__ASSUME_O_CLOEXEC): Likewise.
20696         (__ASSUME_SOCK_CLOEXEC): Likewise.
20697         (__ASSUME_IN_NONBLOCK): Likewise.
20698         (__ASSUME_PIPE2): Likewise.
20699         (__ASSUME_EVENTFD2): Likewise.
20700         (__ASSUME_SIGNALFD4): Likewise.
20701         (__ASSUME_DUP3): Likewise.
20702         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20703         (__ASSUME_EVENTFD2): Likewise.
20704         (__ASSUME_SIGNALFD4): Likewise.
20705         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20707 2014-05-12  Andreas Schwab  <schwab@suse.de>
20709         [BZ #16932]
20710         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20711         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20712         than maximum RPC packet size.
20713         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20714         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20715         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20716         (_nss_nis_getservbyport_r): Likewise.
20718 2014-05-12  Will Newton  <will.newton@linaro.org>
20720         * malloc/Makefile (tests): Add tst-mallopt.
20721         * malloc/tst-mallopt.c: New file.
20723 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20725         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20726         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20728 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20730         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20731         (tst-tlsmod6.so): Likewise.
20733 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20735         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20737 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20739         [BZ #16064]
20740         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20741         and <dl-procinfo.h>.
20742         (__fegetenv): Save SSE state in envp->__eip if supported.
20743         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20744         envp->__eip if supported.
20745         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20746         and <dl-procinfo.h>.
20747         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20748         __data_offset and __data_selector in environment to 0.  Set SSE
20749         state if supported.
20750         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20751         test-fenv-sse.
20752         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20753         -mfpmath=sse.
20754         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20756 2014-05-09  Will Newton  <will.newton@linaro.org>
20758         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20759         and libc_relro_required for ARM.
20760         * sysdeps/arm/preconfigure: Regenerate.
20762 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20763             Stefan Liebler  <stli@linux.vnet.ibm.com>
20765         * config.make.in (enable-lock-elision): New Makefile variable.
20766         * configure.ac: Likewise.
20767         * configure: Regenerate.
20768         * sysdeps/s390/configure.ac:
20769         Add check for gcc transactions support.
20770         * sysdeps/s390/configure: Regenerate.
20771         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20772         Build elision files if enabled.
20773         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20774         Add lock elision support for s390.
20775         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20776         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20777         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20778         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20779         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20780         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20781         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20782         Likewise.
20783         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20784         Likewise.
20785         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20786         Likewise.
20787         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20788         Likewise.
20789         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20790         (__lll_timedlock_elision, __lll_lock_elision)
20791         (__lll_unlock_elision, __lll_trylock_elision)
20792         (lll_timedlock_elision, lll_lock_elision)
20793         (lll_unlock_elision, lll_trylock_elision): Add.
20794         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20795         (pthread_mutex_t): Add lock elision support for s390.
20797 2014-05-14  Wilco  <wdijkstr@arm.com>
20799         * sysdeps/arm/fclrexcpt.c: Cleanup.
20800         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20801         * sysdeps/arm/feenablxcpt.c: Cleanup.
20802         * sysdeps/arm/fegetenv.c: Cleanup.
20803         * sysdeps/arm/fegetexcept.c: Cleanup.
20804         * sysdeps/arm/fegetround.c: Cleanup.
20805         * sysdeps/arm/feholdexcpt.c: Cleanup.
20806         * sysdeps/arm/fesetenv.c: Cleanup.
20807         * sysdeps/arm/fesetround.c: Cleanup.
20808         * sysdeps/arm/feupdateenv.c: Cleanup.
20809         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20810         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20811         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20812         * sysdeps/arm/ftestexcept.c: Cleanup.
20813         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20814         * sysdeps/arm/setfpucw.c: Cleanup.
20816 2014-05-09  Will Newton  <will.newton@linaro.org>
20818         * sysdeps/arm/armv7/strcmp.S: New file.
20819         * NEWS: Mention addition of ARMv7 optimized strcmp.
20821 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20823         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20824         look for %.ac rather than %.in.
20826         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20827         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20828         * sysdeps/mach/hurd/configure: Regenerated.
20829         * sysdeps/unix/sysv/linux/configure: Regenerated.
20831         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20833 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20835         [BZ# 16922]
20836         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20837         (LONG_SUB): Ditto.
20838         (PTR_SUB): Ditto.
20840 2014-05-07  Andreas Schwab  <schwab@suse.de>
20842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20843         when skipping over non-matching result from nscd.
20845 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20847         [BZ #16876]
20848         * nptl/sockperf.c (client): Check socket return value.
20850         [BZ #16877]
20851         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20852         nscd security class.
20854 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20856         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20857         * sysdeps/arm/unwind.h: ... here.
20859 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20861         [BZ# 16916]
20862         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20863         Define.
20865 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20867         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20868         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20869         multiarch strncpy for PPC64.
20870         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20871         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20873         multiarch optimizations.
20874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20875         (__libc_ifunc_impl_list): Likewise.
20876         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20877         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20878         multiarch stpncpy for PPC64.
20879         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20880         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20882 2014-05-06  Andreas Schwab  <schwab@suse.de>
20884         [BZ #16912]
20885         * gmon/mcount.c (_MCOUNT_DECL): Use
20886         atomic_compare_and_exchange_bool_acq instead of
20887         catomic_compare_and_exchange_bool_acq.
20889 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20891         * elf/Makefile (others, install-bin): Remove pldd.
20892         (pldd-modules): Variable removed.
20893         ($(objpfx)pldd): Target removed.
20894         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20895         (others, install-bin): Append pldd here.
20896         ($(objpfx)pldd): New target.
20898         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20899         to 0, so the first #if test emitted later doesn't see it undefined.
20900         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20901         * sysdeps/gnu/errlist.c: Regenerated.
20903 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20905         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20906         [libc_hidden_builtin_def]: Define to empty value.
20907         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20908         [libc_hidden_builtin_def]: Likewise.
20909         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20910         [libc_hidden_builtin_def]: Likewise.
20911         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20912         [libc_hidden_builtin_def]: Likewise.
20913         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20914         __redirect_memcpy and define ifunc as default hidden symbol.
20915         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20916         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20918 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20920         * locale/iso-4217.def: Reintroduce XDR currency.
20922 2014-05-04  Allan McRae  <allan@archlinux.org>
20924         * po/eo.po: Update Esperanto translation from translation project.
20926 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20928         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20929         and FEATURE_INDEX_MAX to 1.
20930         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20932 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20934         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20935         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20936         * iconvdata/big5.c (ONE_DIRECTION): Define.
20937         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20938         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20939         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20940         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20941         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20942         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20943         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20944         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20945         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20946         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20947         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20948         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20949         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20950         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20951         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20952         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20953         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20954         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20955         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20956         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20957         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20958         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20959         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20960         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20961         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20962         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20963         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20964         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20965         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20966         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20967         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20968         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20969         * iconvdata/johab.c (ONE_DIRECTION): Define.
20970         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20971         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20972         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20973         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20974         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20975         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20976         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20977         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20978         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20979         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20981 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20983         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20984         (_IO_JUMPS_OFFSET): Define to 0.
20986         * nptl/sysdeps/pthread/bits/libc-lock.h
20987         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20988         (__libc_lock_define_initialized_recursive): Always define using
20989         initializer.  Modern compilers treat uninitialized (implicit zero) and
20990         explicit zero initializers the same (i.e. put the datum in bss).
20992 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20994         * nscd/nscd-client.h: Include <string.h>.
20996 2014-05-01  David S. Miller  <davem@davemloft.net>
20998         [BZ #16885]
20999         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21000         multiple zero bytes exist at the end of a string.
21001         Reported by Aurelien Jarno <aurelien@aurel32.net>
21003         * string/test-strcmp.c (check): Add explicit test for situations where
21004         there are multiple zero bytes after the first.
21006 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21008         [BZ #16890]
21009         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21010         when compiling wprintf.
21011         * stdio-common/tstdiomisc.c (t3): New function.
21012         (main): Call it.
21014 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21016         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21017         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21018         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21019         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21021 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21023         * stdlib/longlong.h: Updated from GCC.
21025 2014-05-01  Will Newton  <will.newton@linaro.org>
21026             Bernard Ogden  <bernie.ogden@linaro.org>
21028         * NEWS: Update fixed bug list.
21030         [BZ #15119]
21031         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21033 2014-04-30  David S. Miller  <davem@davemloft.net>
21035         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21036         (libc_feholdexcept_setround_sparc_ctx): New function.
21037         (libc_fesetenv_sparc_ctx): Likewise.
21038         (libc_feupdateenv_sparc_ctx): Likewise.
21039         (libc_feholdsetround_sparc_ctx): Likewise.
21040         (libc_feholdexcept_setround_ctx): Define.
21041         (libc_feholdexcept_setroundf_ctx): Likewise.
21042         (libc_feholdexcept_setroundl_ctx): Likewise.
21043         (libc_fesetenv_ctx): Likewise.
21044         (libc_fesetenvf_ctx): Likewise.
21045         (libc_fesetenvl_ctx): Likewise.
21046         (libc_feupdateenv_ctx): Likewise.
21047         (libc_feupdateenvf_ctx): Likewise.
21048         (libc_feupdateenvl_ctx): Likewise.
21049         (libc_feresetround_ctx): Likewise.
21050         (libc_feresetroundf_ctx): Likewise.
21051         (libc_feresetroundl_ctx): Likewise.
21052         (libc_feholdsetround_ctx): Likewise.
21053         (libc_feholdsetroundf_ctx): Likewise.
21054         (libc_feholdsetroundl_ctx): Likewise.
21056         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21057         with __USE_GNU instead of XOPEN cpp guards.
21059         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21060         0.
21062         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21063         with XOPEN cpp guards.
21065 2014-04-30  Julian Brown  <julian@codesourcery.com>
21067         [BZ #16888]
21068         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21069         handling.
21071 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21073         [BZ #9894]
21074         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21075         Change to 2.6.32.
21076         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21077         * sysdeps/unix/sysv/linux/configure: Regenerated.
21078         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21079         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21080         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21081         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21082         * README: Update reference to required Linux kernel version.
21083         * manual/install.texi (Linux): Update reference to required Linux
21084         kernel headers version.
21085         * INSTALL: Regenerated.
21087         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21088         header inclusion.
21089         [POSIX] (limits.h): Likewise.
21090         [POSIX] (math.h): Likewise.
21091         [POSIX] (sys/wait.h): Likewise.
21092         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21093         function.
21094         [POSIX] (stddef.h): Do not allow header inclusion.
21096 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21098         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21100 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21102         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21103         Return immediately after lll_futex_wake.
21105 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21107         [BZ #16791]
21108         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21109         structure.
21110         (datahead_init_pos): Call datahead_init_common early.
21111         (datahead_init_neg): Likewise.
21113         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21114         datahead_init_neg): New functions.
21115         * nscd/aicache.c (addhstaiX): Use them.
21116         * nscd/grpcache.c (cache_addgr): Likewise.
21117         * nscd/hstcache.c (cache_addhst): Likewise.
21118         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21119         * nscd/netgroupcache.c (do_notfound): Likewise.
21120         (addgetnetgrentX): Likewise.
21121         (addinnetgrX): Likewise.
21122         * nscd/pwdcache.c (cache_addpw): Likewise.
21123         * nscd/servicescache.c (cache_addserv): Likewise.
21125 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21126             Atsushi Onoe  <atsushi@onoe.org>
21128         [BZ #14308]
21129         [BZ #12994]
21130         [BZ #13651]
21131         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21132         one response is valid.
21133         * resolv/res_send.c (send_dg): Check for validity of other
21134         response if the current response is a referral.
21136 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21138         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21140 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21142         [BZ #16823]
21143         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21144         Always divide by positive zero when computing -Inf result.
21145         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21146         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21148 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21150         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21151         FPSCR if value do not change.
21152         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21153         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21154         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21155         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21156         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21157         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21158         function.
21160 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21162         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21163         * sysdeps/unix/sysv/linux/hppa: Move directory from
21164         ports/systeps/unix/sysv/linux/hppa.
21165         * README: Update listing for hppa-*-linux-gnu.
21167 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21169         [BZ #16754]
21170         * manual/stdio.texi (Hook functions): Fix types of stream hook
21171         functions.
21172         [BZ #16854]
21173         * socket/sys/socket.h: Fix typo in comment.
21175 2014-04-28  Wilco  <wdijkstr@arm.com>
21177         * sysdeps/arm/fenv_private.h: New file.
21178         * sysdeps/arm/math_private.h: New file.
21179         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21181 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21183         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21184         with __int128_t.
21185         (La_x86_64_retval): Likewise.
21187 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21189         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21190         fpsr if value didn't change.
21191         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21192         to fpcr if value didn't change.
21193         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21194         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21195         fpsr or fpcr if value didn't change.
21196         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21197         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21198         fpcr if value didn't change.
21199         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21200         to fpsr if value didn't change.
21202 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21204         * nptl/tst-sem3.c: Use test-skeleton.c
21205         (main): Rename to do_test.  Use return instead of
21206         exit.
21207         * nptl/tst-sem4.c: Use test-skeleton.c
21208         (main): Rename to do_test.
21210 2014-04-22  David S. Miller  <davem@davemloft.net>
21212         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21213         (struct sigaction): New struct member __glibc_reserved0, change
21214         type of sa_flags to int.
21216 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21218         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21219         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21221 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21223         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21224         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21226 2014-04-22  Will Newton  <will.newton@linaro.org>
21227             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21229         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21230         (__longjmp): Add longjmp and longjmp_target SystemTap
21231         probes.
21232         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21233         (__sigsetjmp): Add setjmp SystemTap probe.
21235 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21237         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21238         match manual order.
21240 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21242         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21244         * sysdeps/powerpc/fpu/fenv_private.h
21245         (libc_feholdexcept_setroundl_ctx): Define to
21246         libc_feholdexcept_setround_ppc_ctx.
21247         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21248         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21249         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21250         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21252 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21254         * sysdeps/aarch64/math-tests.h: New file.
21256 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21258         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21259         New.
21260         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21261         Check and set bit_AVX2_Usable.
21262         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21263         macro.
21264         (bit_AVX2): Likewise.
21265         (index_AVX2_Usable): Likewise.
21266         (CPUID_AVX2): Likewise.
21267         (HAS_AVX2): Likewise.
21269 2014-04-17  Will Newton  <will.newton@linaro.org>
21271         * manual/setjmp.texi (System V contexts): Add note that
21272         calling setcontext on a context created by a call to a
21273         signal handler is undefined.  Update text to note that
21274         setcontext from a signal handler is possible but not
21275         recommended.
21277         [BZ #16629]
21278         * stdlib/tst-setcontext.c: Include signal.h.
21279         (main): Check that the signal stack before and
21280         after swapcontext is the same.
21282         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21283         Re-implement to restore registers in user code and avoid
21284         rt_sigreturn system call.
21286 2014-04-17  Wilco  <wdijkstr@arm.com>
21288         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21289         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21290         * math/test-fenv.c: Skip exception trap tests on targets which only
21291         support non-stop mode.
21293 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21294             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21296         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21297         (libc_feholdsetround_aarch64_ctx)
21298         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21299         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21300         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21301         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21302         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21303         (libc_feresetround_noexl_ctx): Define.
21305 2014-04-16  Richard Henderson  <rth@redhat.com>
21307         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21309         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21310         unwind tables.
21312         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21313         const from the non-libc, non-ldso copy.
21315         * sysdeps/alpha/libm-test-ulps: Regenerate.
21317 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21318             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21320         * sysdeps/aarch64/fpu/math_private.h: New file.
21322 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21324         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21326 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21328         [BZ #16275]
21329         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21330         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21331         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21332         Intel MPX bound registers before _dl_profile_fixup.
21333         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21334         registers after _dl_profile_fixup.  Save and restore bound
21335         registers bnd0/bnd1 when calling _dl_call_pltexit.
21336         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21337         (LR_BND_OFFSET): Likewise.
21338         (LRV_BND0_OFFSET): Likewise.
21339         (LRV_BND1_OFFSET): Likewise.
21341 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21343         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21344         to...
21345         * sysdeps/mach/hurd/i386/tls.h: ... here.
21346         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21347         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21348         fields.
21350 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21352         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21354 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21356         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21358 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21360         [BZ #14770]
21361         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21362         * sysdeps/s390/configure: Regenerate.
21364         [BZ #16824]
21365         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21366         Set round-to-nearest internally to reduce error accumulation.
21368 2014-04-16  Alan Modra  <amodra@gmail.com>
21370         [BZ #16740]
21371         [BZ #16619]
21372         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21373         * math/libm-test.inc (frexp_test_data): Add tests.
21374         * NEWS: Update fixed bug list.
21376 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21378         * benchtests/Makefile: Depend on libraries in build directory.
21379         (bench-math): Separate out math tests.
21380         (bench-pthread): Separate out pthread tests.
21381         (bench): Include math and pthread tests.
21383 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21385         [BZ #16831]
21386         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21387         _dl_debug_initialize.
21389         * configure.ac: Remove SELinux header check.
21390         * configure: Regenerate.
21391         * nscd/selinux.c (perms): Array of const char* to permission names.
21392         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21393         default policy. Call string_to_security_class and string_to_av_perm to
21394         translate strings. Enforce default policy and call avs_has_perm with
21395         results of translated strings.
21397 2014-04-13  David S. Miller  <davem@davemloft.net>
21399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21401 2014-04-12  Allan McRae  <allan@archlinux.org>
21403         [BZ #16838]
21404         * manual/string.texi (Collation Functions): Fix qsort argument
21405         order in example.
21406         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21408 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21410         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21411         Make the test a no-op if there are no exceptions defined.
21413 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21415         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21416         enable-hardcoded-path-in-tests
21418 2014-04-11  Will Newton  <will.newton@linaro.org>
21420         * benchtests/Makefile (extra-objs): Add json-lib.o.
21421         (bench-func): Tidy up JSON output.
21422         * benchtests/bench-skeleton.c: Include json-lib.h.
21423         (main): Use JSON library functions to do output of
21424         benchmark results.
21425         * benchtests/bench-timing-type.c (main): Output the
21426         timing type simply, leaving formatting to the user.
21427         * benchtests/json-lib.c: New file.
21428         * benchtests/json-lib.h: Likewise.
21430 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21432         [BZ #15215]
21433         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21434         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21435         memory barriers.  Add comments.
21436         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21437         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21438         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21439         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21440         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21441         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21443 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21445         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21446         * sysdeps/s390/s390-64/configure.ac: ... this ...
21447         * sysdeps/s390/configure.ac: ... to here.
21448         * sysdeps/s390/s390-32/configure: Delete file.
21449         * sysdeps/s390/s390-64/configure: Delete file.
21450         * sysdeps/s390/configure: Regenerate.
21452 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21454         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21456 2014-04-11  Will Newton  <will.newton@linaro.org>
21458         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21459         to zero if it is not defined elsewhere.  (mtrim): Test
21460         the value of MALLOC_DEBUG with #if rather than #ifdef.
21462 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21464         * benchtests/pthread_once-inputs: New file.
21465         * benchtests/pthread_once-source.c: New file.
21466         * benchtests/README: Update documentation.
21468 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21469             H.J. Lu  <hongjiu.lu@intel.com>
21471         [BZ #16275]
21472         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21473         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21474         * sysdeps/x86_64/configure: Regenerated.
21475         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21476         macro.
21477         (REGISTER_SAVE_RAX): Likewise.
21478         (REGISTER_SAVE_RCX): Likewise.
21479         (REGISTER_SAVE_RDX): Likewise.
21480         (REGISTER_SAVE_RSI): Likewise.
21481         (REGISTER_SAVE_RDI): Likewise.
21482         (REGISTER_SAVE_R8): Likewise.
21483         (REGISTER_SAVE_R9): Likewise.
21484         (REGISTER_SAVE_BND0): Likewise.
21485         (REGISTER_SAVE_BND1): Likewise.
21486         (REGISTER_SAVE_BND2): Likewise.
21487         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21488         bound registers when calling _dl_fixup.
21490 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21492         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21493         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21494         of its definition.
21495         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21496         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21497         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21498         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21499         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21500         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21501         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21503 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21505         [BZ #15514]
21506         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21507         pathconf(_PC_NAME_MAX).
21509 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21511         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21512         Remove macro usage.
21513         (__PTHREAD_SPINS): Move definition to ...
21514         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21515         (__PTHREAD_SPINS): ... here.
21516         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21517         (__PTHREAD_SPIN): Likewise.
21518         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21519         (__PTHREAD_SPIN): Likewise.
21520         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21521         (__PTHREAD_SPIN): Likewise.
21522         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21523         (__PTHREAD_SPIN): Likewise.
21524         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21525         (__PTHREAD_SPIN): Likewise.
21526         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21527         (__PTHREAD_SPIN): Likewise.
21528         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21529         (__PTHREAD_SPIN): Likewise.
21530         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21531         (__PTHREAD_SPIN): Likewise.
21532         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21533         (__PTHREAD_SPIN): Likewise.
21534         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21535         (__PTHREAD_SPIN): Likewise.
21536         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21537         (__PTHREAD_SPIN): Likewise.
21538         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21539         (__PTHREAD_SPIN): Likewise.
21541         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21542         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21543         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21544         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21545         imply folder.
21546         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21547         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21548         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21549         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21550         correct imply path.
21551         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21552         strlen symbol for non multi-arch builds.
21553         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21554         missing hidden_def and weak_alias.
21556 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21558         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21560 2014-04-07  Will Newton  <will.newton@linaro.org>
21562         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21563         and contents.  [!_LIBC] Remove #ifndef and contents.
21564         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21565         * string/memccpy.c (__memccpy): Use ANSI prototype.
21566         * string/memfrob.c (memfrob): Likewise.
21567         * string/strcoll.c (STRCOLL): Likewise.
21568         * string/strlen.c (strlen): Likewise.
21569         * string/strtok.c (STRTOK): Likewise.
21570         * string/strcat.c: Remove unused #include of memcopy.h.
21571         (strcat): Use ANSI prototype.
21572         * string/strchr.c: Remove unused #include of memcopy.h.
21573         (strchr): Use ANSI prototype.
21574         * string/strcmp.c: Remove unused #include of memcopy.h.
21575         (strcmp): Use ANSI prototype.
21576         * string/strcpy.c: Remove unused #include of memcopy.h.
21577         (strcpy): Use ANSI prototype.
21579 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21581         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21582         * config.make.in (config-extra-cppflags): Set it from
21583         libc_extra_cppflags.
21584         * configure.ac (libc_extra_cflags): Make it accumulate over
21585         configure fragments.
21586         (libc_extra_cppflags): New flag.
21587         * configure. Regenerate.
21588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21589         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21590         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21593         [BZ #16815]
21594         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21595         result for FE_DOWNWARD rounding mode.
21596         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21597         Likewise.
21598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21600 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21602         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21603         in function argument name.
21605 2014-04-03  David Svoboda  <svoboda@cert.org>
21607         [BZ #5666]
21608         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21609         explicitly.
21611 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21613         * elf/dl-unmap-segments.h: New file.
21614         * sysdeps/generic/ldsodefs.h
21615         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21616         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21617         * elf/dl-fptr.c: Likewise.
21618         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21619         * sysdeps/aarch64/tlsdesc.c: Likewise.
21620         * sysdeps/arm/tlsdesc.c: Likewise.
21621         * sysdeps/i386/tlsdesc.c: Likewise.
21622         * sysdeps/tile/dl-runtime.c: Likewise.
21623         * sysdeps/x86_64/tlsdesc.c: Likewise.
21624         * elf/dl-load.h: New file.
21625         * elf/dl-load.c: Include it.
21626         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21627         Macros moved to dl-load.h.
21628         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21629         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21630         Use _dl_unmap_segments in place of __munmap.
21631         Break out segment-mapping loop into ...
21632         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21634 2014-04-03  Will Newton  <will.newton@linaro.org>
21636         * elf/dl-lookup.c (do_lookup_x): Remove comment
21637         referring to nested function and move variable
21638         declarations down to before first use.
21640 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21642         [BZ #16799]
21643         [BZ #16800]
21644         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21645         with 0 numerator.
21646         * math/s_catanf.c (__catanf): Likewise.
21647         * math/s_catanh.c (__catanh): Likewise.
21648         * math/s_catanhf.c (__catanhf): Likewise.
21649         * math/s_catanhl.c (__catanhl): Likewise.
21650         * math/s_catanl.c (__catanl): Likewise.
21651         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21652         by positive zero when computing -Inf result.
21653         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21654         (catanh_test): Likewise.
21655         * sysdeps/i386/fpu/libm-test-ulps: Update.
21656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21658         [BZ #16789]
21659         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21660         instead of using underflowing value in computing result.
21661         * math/s_clog10.c (__clog10): Likewise.
21662         * math/s_clog10f.c (__clog10f): Likewise.
21663         * math/s_clog10l.c (__clog10l): Likewise.
21664         * math/s_clogf.c (__clogf): Likewise.
21665         * math/s_clogl.c (__clogl): Likewise.
21666         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21667         (clog10_test): Likewise.
21668         * sysdeps/i386/fpu/libm-test-ulps: Update.
21669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21671 2014-04-02  Alan Modra  <amodra@gmail.com>
21673         [BZ #16739]
21674         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21675         output when value is near a power of two.  Use int64_t for lx and
21676         remove casts.  Use decimal rather than hex exponent constants.
21677         Don't use long double multiplication when double will suffice.
21678         * math/libm-test.inc (nextafter_test_data): Add tests.
21679         * NEWS: Add 16739 and 16786 to bug list.
21681         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21683         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21685 2014-04-01  Will Newton  <will.newton@linaro.org>
21687         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21688         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21690 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21692         [BZ #13347]
21693         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21694         * nptl/tst-setuid2.c: New file.
21695         * nptl/Makefile (xtests): Add tst-setuid2.
21697 2014-04-01  Alan Modra  <amodra@gmail.com>
21699         [BZ #16786]
21700         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21702 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21704         [BZ #6803]
21705         [BZ #6804]
21706         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21707         set errno as appropriate.
21708         * math/w_scalbf.c (__scalbf): Likewise.
21709         * math/w_scalbl.c (__scalbl): Likewise.
21710         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21711         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21712         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21713         Add more NaN tests.
21715         [BZ #16349]
21716         * math/w_atan2.c: Include <errno.h>.
21717         (__atan2): Set errno for result underflowing to zero.
21718         * math/w_atan2f.c: Include <errno.h>.
21719         (__atan2f): Set errno for result underflowing to zero.
21720         * math/w_atan2l.c: Include <errno.h>.
21721         (__atan2l): Set errno for result underflowing to zero.
21722         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21723         tests.
21724         * math/auto-libm-test-out: Regenerated.
21726 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21728         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21729         Encode instruction correctly in little endian.
21730         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21731         Likewise.
21732         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21733         Likewise.
21734         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21735         Likewise.
21736         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21737         Likewise.
21739 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21741         [BZ #9894]
21742         * sysdeps/unix/sysv/linux/kernel-features.h
21743         [__sparc__ && !__arch64__ && !__sparc_v9__]
21744         (__ASSUME_SET_ROBUST_LIST): Do not define.
21745         [__sparc__ && !__arch64__ && !__sparc_v9__]
21746         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21747         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21748         Likewise.
21749         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21750         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21751         (__ASSUME_REQUEUE_PI): Likewise.
21752         (__ASSUME_SET_ROBUST_LIST): Likewise.
21753         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21754         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21755         Undefine.
21756         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21757         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21758         Likewise.
21759         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21760         Likewise.
21761         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21762         Likewise.
21763         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21764         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21765         Undefine.
21766         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21767         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21768         Likewise.
21770         [BZ #16648]
21771         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21772         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21773         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21775 2014-03-31  Will Newton  <will.newton@linaro.org>
21777         * benchtests/Makefile (bench): Add ffs and ffsll to list
21778         of tests.
21779         * benchtests/ffs-inputs: New file.
21780         * benchtests/ffsll-inputs: Likewise.
21782 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21784         [BZ #16770]
21785         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21786         too large before casting to int.
21787         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21788         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21789         * math/libm-test.inc (scalb_test_data): Add more tests.
21791 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21793         * benchtests/Makefile (DETAILED_OPT): New make option.
21794         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21795         set.
21796         * benchtests/bench-skeleton.c: Include stdbool.h.
21797         (main): Store and print timings per input.
21798         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21799         member to each argument value.
21800         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21801         (_print_arg_data): Initialize per-input timing to 0.
21803         * benchtests/Makefile (timing-type): New binary.
21804         (bench-clean): Also remove bench-timing-type.
21805         (bench): New target for timing-type.
21806         (bench-func): Print output in JSON format.
21807         * benchtests/bench-skeleton.c (main): Print output in JSON
21808         format.
21809         * benchtests/bench-timing-type.c: New file.
21810         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21811         (TIMING_PRINT_STATS): Remove.
21812         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21813         name separately.
21815         * benchtests/bench-modf.c: Remove.
21816         * benchtests/modf-inputs: New inputs file.
21818 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21820         [BZ #16362]
21821         * math/s_clog10.c (M_PI_LOG10E): New macro.
21822         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21823         imaginary parts are 0.
21824         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21825         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21826         imaginary parts are 0.
21827         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21828         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21829         imaginary parts are 0.
21830         * math/libm-test.inc (clog10_test_data): Update expected results
21831         for when real and imaginary parts are 0.
21833 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21835         * elf/dl-load.c: Finish conversion of __builtin_expect into
21836         __glibc_{un}likely.
21838 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21840         [BZ #16348]
21841         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21842         1+x for argument with exponent below -67.
21843         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21844         Likewise.
21845         * math/auto-libm-test-in: Add more tests of exp.
21846         * math/auto-libm-test-out: Regenerated.
21848 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21850         [BZ #16759]
21851         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21852         (nscd_getnetgrent): Use it.
21854         [BZ #16760]
21855         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21856         of stpcpy.
21858 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21860         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21861         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21862         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21863         (lll_robust_unlock): Remove out of line section. Use cfi
21864         intrinsics.
21865         (LLL_STUB_UNWIND_INFO*): Remove.
21866         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21867         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21868         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21869         (lll_robust_unlock): Remove out of line section. Use cfi
21870         intrinsics.
21871         (LLL_STUB_UNWIND_INFO*): Remove.
21873 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21875         [BZ #16758]
21876         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21877         blank values.
21879 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21881         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21883 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21885         [BZ #16198]
21886         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21887         fnstenv.
21888         * math/test-fenv-preserve.c: New file.
21889         * math/Makefile (tests): Add test-fenv-preserve.
21891 2014-03-26  Will Newton <will.newton@linaro.org>
21893         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21895 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21897         * scripts/versionlist.awk: Partition the version sets and emit all
21898         GLIBC_* (sorted) before all others (sorted).
21900 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21902         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21903         GLIBC_2.2.5 version.
21905 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21907         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21908         calls.
21910         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21911         previous change.
21913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21915 2014-03-25  Andreas Schwab  <schwab@suse.de>
21917         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21918         label to be used after in6ailist is initialized.
21920 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21922         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21923         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21925 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21927         [BZ #16357]
21928         [BZ #16599]
21929         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21930         min_plus_half.
21931         (fp_formats): Update initializers.
21932         (init_fp_formats): Initialize new field.
21933         (output_for_one_input_case): Allow underflow for results up to
21934         min_plus_half.
21935         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21936         * math/auto-libm-test-in: Don't mark some underflows from asin and
21937         atanh as spurious.
21938         * math/auto-libm-test-out: Regenerated.
21939         * sysdeps/i386/fpu/libm-test-ulps: Update.
21940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21942 2014-03-25  Andreas Schwab  <schwab@suse.de>
21944         * libio/Makefile (tst-ftell-partial-wide-ENV)
21945         (tst-ftell-active-handler-ENV): Define.
21947 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21949         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21951 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21953         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21955 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21957         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21958         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21959         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21961 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21963         [BZ #16634]
21964         * elf/dl-load.c (open_verify): Add mode parameter.
21965         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21966         (open_path): Change from boolean 'secure' to complete flag 'mode'
21967         (_dl_map_object): Adjust.
21968         * elf/Makefile (tests): Add tst-dlopen-aout.
21969         * elf/tst-dlopen-aout.c: New test.
21971 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21973         [BZ #16714]
21974         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21975         (struct stat): Rename member pad0 to __glibc_reserved0.
21977         [BZ #16712]
21978         * sysdeps/s390/s390-32/bits/wordsize.h
21979         (__WORDSIZE32_SIZE_ULONG): New define.
21980         * sysdeps/s390/s390-64/bits/wordsize.h
21981         (__WORDSIZE32_SIZE_ULONG): Likewise.
21982         * sysdeps/generic/stdint.h (SIZE_MAX):
21983         Define as UL if __WORDSIZE32_SIZE_ULONG.
21985         [BZ #16713]
21986         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21987         (__glibc_reserved0): New variable.
21988         (sa_flags): Change type to int.
21990         * posix/Makefile (before-compile): Use += before-compile instead
21991         of a :=.
21993         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21994         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21996 2014-03-20  Andreas Schwab  <schwab@suse.de>
21998         [BZ #16743]
21999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22000         non-matching result from nscd.
22002 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22004         * scripts/bench.py: Moved to ...
22005         * benchtests/scripts/bench.py: ... here.
22006         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22008 2014-03-24  Andreas Schwab  <schwab@suse.de>
22010         [BZ #16002]
22011         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22012         alloca_account and account alloca use for struct in6ailist.
22014 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22016         [BZ #16284]
22017         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22018         rounding mode to recompute results that overflow to infinity or
22019         underflow to zero.
22020         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22021         bug 16284.
22022         * math/auto-libm-test-out: Regenerated.
22023         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22024         (ccosh_test): Likewise.
22025         (csin_test_data): Use plus_oflow.
22026         (csin_test): Use ALL_RM_TEST.
22027         (csinh_test_data): Use plus_oflow.
22028         (csinh_test): Use ALL_RM_TEST.
22029         * sysdeps/i386/fpu/libm-test-ulps: Update.
22030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22032 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22034         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22035         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22036         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22038         [BZ #16731]
22039         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22040         when x - 1 is zero.
22041         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22042         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22043         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22044         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22045         argument is 1.
22046         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22047         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22048         zero.
22049         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22050         * sysdeps/i386/fpu/libm-test-ulps: Update.
22051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22053 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22055         * scripts/bench.pl: Remove file.
22056         * scripts/bench.py: New benchmark script.
22057         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22058         * benchtests/README: Mention python dependency.
22059         * scripts/pylintrc: New file.
22060         * scripts/pylint: New file.
22062         * bits/mathdef.h: Use #ifdef instead of #if.
22063         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22064         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22065         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22066         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22067         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22068         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22070 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22071             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22073         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22075         and strpbrk-ppc64 objects.
22076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22077         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22078         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22079         multiarch strpbrk for POWER7.
22080         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22081         multiarch strpbrk for PPC64.
22082         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22083         ifunc selector.
22084         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22085         strpbrk for POWER7.
22087 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22089         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22090         (atan_test): Likewise.
22091         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22092         (atanh_test): Use ALL_RM_TEST.
22093         (atan2_test_data): Likewise.
22094         (cabs_test): Likewise.
22095         (cacosh_test): Likewise.
22096         (carg_test): Likewise.
22097         (casin_test): Likewise.
22098         (casinh_test): Likewise.
22099         (cbrt_test): Likewise.
22100         (csqrt_test): Likewise.
22101         (erf_test): Likewise.
22102         (erfc_test): Likewise.
22103         (pow10_test): Likewise.
22104         (exp2_test): Likewise.
22105         (hypot_test): Likewise.
22106         (j0_test): Likewise.
22107         (j1_test): Likewise.
22108         (lgamma_test): Likewise.
22109         (gamma_test): Likewise.
22110         (sincos_test): Likewise.
22111         (tanh_test): Likewise.
22112         (y0_test): Likewise.
22113         (y1_test): Likewise.
22114         * sysdeps/i386/fpu/libm-test-ulps: Update.
22115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22117 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22119         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22121         and strcspn-ppc64 objects.
22122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22123         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22124         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22125         multiarch strcspn for POWER7.
22126         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22127         multiarch strcspn for PPC64.
22128         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22129         ifunc selector.
22130         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22131         strcspn for POWER7.
22133 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22135         * math/gen-libm-test.pl (generate_testfile): Expect only function
22136         name as argument to AUTO_TESTS_* and pass results for all rounding
22137         modes to parse_args.
22138         (parse_auto_input): Separate inputs of automatic tests from
22139         outputs before storing in %auto_tests.
22140         * math/libm-test.inc (acos_test_data): Update call to
22141         AUTO_TESTS_f_f.
22142         (acos_test): Use ALL_RM_TEST.
22143         (acos_tonearest_test_data): Remove.
22144         (acos_test_tonearest): Likewise.
22145         (acos_towardzero_test_data): Likewise.
22146         (acos_test_towardzero): Likewise.
22147         (acos_downward_test_data): Likewise.
22148         (acos_test_downward): Likewise.
22149         (acos_upward_test_data): Likewise.
22150         (acos_test_upward): Likewise.
22151         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22152         (asin_test_data): Likewise.
22153         (asin_test): Use ALL_RM_TEST.
22154         (asin_tonearest_test_data): Remove.
22155         (asin_test_tonearest): Likewise.
22156         (asin_towardzero_test_data): Likewise.
22157         (asin_test_towardzero): Likewise.
22158         (asin_downward_test_data): Likewise.
22159         (asin_test_downward): Likewise.
22160         (asin_upward_test_data): Likewise.
22161         (asin_test_upward): Likewise.
22162         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22163         (atan_test_data): Likewise.
22164         (atanh_test_data): Likewise.
22165         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22166         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22167         (carg_test_data): Likewise.
22168         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22169         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22170         (ccosh_test_data): Likewise.
22171         (cexp_test_data): Likewise.
22172         (clog_test_data): Likewise.
22173         (clog10_test_data): Likewise.
22174         (cos_test_data): Update call to AUTO_TESTS_f_f.
22175         (cos_test): Use ALL_RM_TEST.
22176         (cos_tonearest_test_data): Remove.
22177         (cos_test_tonearest): Likewise.
22178         (cos_towardzero_test_data): Likewise.
22179         (cos_test_towardzero): Likewise.
22180         (cos_downward_test_data): Likewise.
22181         (cos_test_downward): Likewise.
22182         (cos_upward_test_data): Likewise.
22183         (cos_test_upward): Likewise.
22184         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22185         (cosh_test): Use ALL_RM_TEST.
22186         (cosh_tonearest_test_data): Remove.
22187         (cosh_test_tonearest): Likewise.
22188         (cosh_towardzero_test_data): Likewise.
22189         (cosh_test_towardzero): Likewise.
22190         (cosh_downward_test_data): Likewise.
22191         (cosh_test_downward): Likewise.
22192         (cosh_upward_test_data): Likewise.
22193         (cosh_test_upward): Likewise.
22194         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22195         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22196         (ctan_test_data): Likewise.
22197         (ctan_test): Use ALL_RM_TEST.
22198         (ctan_tonearest_test_data): Remove.
22199         (ctan_test_tonearest): Likewise.
22200         (ctan_towardzero_test_data): Likewise.
22201         (ctan_test_towardzero): Likewise.
22202         (ctan_downward_test_data): Likewise.
22203         (ctan_test_downward): Likewise.
22204         (ctan_upward_test_data): Likewise.
22205         (ctan_test_upward): Likewise.
22206         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22207         (ctanh_test): Use ALL_RM_TEST.
22208         (ctanh_tonearest_test_data): Remove.
22209         (ctanh_test_tonearest): Likewise.
22210         (ctanh_towardzero_test_data): Likewise.
22211         (ctanh_test_towardzero): Likewise.
22212         (ctanh_downward_test_data): Likewise.
22213         (ctanh_test_downward): Likewise.
22214         (ctanh_upward_test_data): Likewise.
22215         (ctanh_test_upward): Likewise.
22216         (erf_test_data): Update call to AUTO_TESTS_f_f.
22217         (erfc_test_data): Likewise.
22218         (exp_test_data): Likewise.
22219         (exp_test): Use ALL_RM_TEST.
22220         (exp_tonearest_test_data): Remove.
22221         (exp_test_tonearest): Likewise.
22222         (exp_towardzero_test_data): Likewise.
22223         (exp_test_towardzero): Likewise.
22224         (exp_downward_test_data): Likewise.
22225         (exp_test_downward): Likewise.
22226         (exp_upward_test_data): Likewise.
22227         (exp_test_upward): Likewise.
22228         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22229         (exp10_test): Use ALL_RM_TEST.
22230         (exp10_tonearest_test_data): Remove.
22231         (exp10_test_tonearest): Likewise.
22232         (exp10_towardzero_test_data): Likewise.
22233         (exp10_test_towardzero): Likewise.
22234         (exp10_downward_test_data): Likewise.
22235         (exp10_test_downward): Likewise.
22236         (exp10_upward_test_data): Likewise.
22237         (exp10_test_upward): Likewise.
22238         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22239         (expm1_test_data): Likewise.
22240         (expm1_test): Use ALL_RM_TEST.
22241         (expm1_tonearest_test_data): Remove.
22242         (expm1_test_tonearest): Likewise.
22243         (expm1_towardzero_test_data): Likewise.
22244         (expm1_test_towardzero): Likewise.
22245         (expm1_downward_test_data): Likewise.
22246         (expm1_test_downward): Likewise.
22247         (expm1_upward_test_data): Likewise.
22248         (expm1_test_upward): Likewise.
22249         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22250         (fma_test): Use ALL_RM_TEST.
22251         (fma_towardzero_test_data): Remove.
22252         (fma_test_towardzero): Likewise.
22253         (fma_downward_test_data): Likewise.
22254         (fma_test_downward): Likewise.
22255         (fma_upward_test_data): Likewise.
22256         (fma_test_upward): Likewise.
22257         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22258         (j0_test_data): Update call to AUTO_TESTS_f_f.
22259         (j1_test_data): Likewise.
22260         (jn_test_data): Update call to AUTO_TESTS_if_f.
22261         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22262         (log_test_data): Update call to AUTO_TESTS_f_f.
22263         (log10_test_data): Likewise.
22264         (log1p_test_data): Likewise.
22265         (log2_test_data): Likewise.
22266         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22267         (pow_tonearest_test_data): Likewise.
22268         (sin_test_data): Update call to AUTO_TESTS_f_f.
22269         (sin_test): Use ALL_RM_TEST.
22270         (sin_tonearest_test_data): Remove.
22271         (sin_test_tonearest): Likewise.
22272         (sin_towardzero_test_data): Likewise.
22273         (sin_test_towardzero): Likewise.
22274         (sin_downward_test_data): Likewise.
22275         (sin_test_downward): Likewise.
22276         (sin_upward_test_data): Likewise.
22277         (sin_test_upward): Likewise.
22278         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22279         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22280         (sinh_test): Use ALL_RM_TEST.
22281         (sinh_tonearest_test_data): Remove.
22282         (sinh_test_tonearest): Likewise.
22283         (sinh_towardzero_test_data): Likewise.
22284         (sinh_test_towardzero): Likewise.
22285         (sinh_downward_test_data): Likewise.
22286         (sinh_test_downward): Likewise.
22287         (sinh_upward_test_data): Likewise.
22288         (sinh_test_upward): Likewise.
22289         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22290         (sqrt_test): Use ALL_RM_TEST.
22291         (sqrt_tonearest_test_data): Remove.
22292         (sqrt_test_tonearest): Likewise.
22293         (sqrt_towardzero_test_data): Likewise.
22294         (sqrt_test_towardzero): Likewise.
22295         (sqrt_downward_test_data): Likewise.
22296         (sqrt_test_downward): Likewise.
22297         (sqrt_upward_test_data): Likewise.
22298         (sqrt_test_upward): Likewise.
22299         (tan_test_data): Update call to AUTO_TESTS_f_f.
22300         (tan_test): Use ALL_RM_TEST.
22301         (tan_tonearest_test_data): Remove.
22302         (tan_test_tonearest): Likewise.
22303         (tan_towardzero_test_data): Likewise.
22304         (tan_test_towardzero): Likewise.
22305         (tan_downward_test_data): Likewise.
22306         (tan_test_downward): Likewise.
22307         (tan_upward_test_data): Likewise.
22308         (tan_test_upward): Likewise.
22309         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22310         (tgamma_test_data): Likewise.
22311         (y0_test_data): Likewise.
22312         (y1_test_data): Likewise.
22313         (yn_test_data): Update call to AUTO_TESTS_if_f.
22314         (main): Do not call removed functions.
22316 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22318         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22319         (ldexp_test_data): Remove.
22320         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22321         scalbn_test_data.
22322         (scalb_test): Use ALL_RM_TEST.
22324 2014-03-19  Andreas Schwab  <schwab@suse.de>
22326         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22328 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22330         [BZ #16649]
22331         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22332         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22333         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22334         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22335         (__ASSUME_PREADV): Undefine.
22336         (__ASSUME_PWRITEV): Likewise.
22338 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22340         * bits/mman-linux.h: Add comment about non-Linux use.
22341         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22342         bits/mman-linux.h resting place.
22344         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22345         * bits/mman-linux.h: ... here.
22347 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22349         * conform/conformtest.pl: Add standard definition when calling C
22350         preprocessor on data files.
22351         (checknamespace): Remove unused variable.
22353 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22355         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22356         minus_oflow, plus_uflow and minus_uflow in expected results.
22357         * math/libm-test.inc (scalbn_test_data): Add more tests of
22358         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22359         minus_uflow.
22360         (scalbn_test): Use ALL_RM_TEST.
22361         (scalbln_test_data): Add more tests of negative arguments.  Use
22362         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22363         (scalbln_test): Use ALL_RM_TEST.
22365 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22367         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22369 2014-03-18  Will Newton  <will.newton@linaro.org>
22371         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22372         inaccurate comment.
22374 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22376         * Makerules [!subdir] (check-abi): Exit with error status if a
22377         test failed.
22379 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22381         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22382         for rint.  Include results for all rounding modes.
22383         (nearbyint_test): Use ALL_RM_TEST.
22384         (rint_test_data): Include all tests used for nearbyint.
22386 2014-03-17  Will Newton  <will.newton@linaro.org>
22388         * nptl/sysdeps/pthread/pthread.h: Revert previous
22389         change.
22391         * sysdeps/generic/ldsodefs.h: Revert previous
22392         change.
22394         * libio/genops.c: Revert previous change.
22395         * libio/libioP.h: Likewise.
22396         * stdio-common/vfprintf.c: Likewise.
22398         * sysdeps/generic/math_private.h: Revert previous
22399         change.
22401         * sysdeps/generic/math_private.h: Check whether
22402         HAVE_RM_CTX is defined with #ifdef rather
22403         than #if.
22405         * argp/argp-fmtstream.h: Check whether
22406         __STRICT_ANSI__ is defined with #ifdef rather
22407         than #if.
22408         * argp/argp.h: Likewise.
22410         * libio/genops.c: Check whether
22411         _IO_JUMPS_OFFSET is defined with #ifdef rather
22412         than #if.
22413         * libio/libioP.h: Likewise.
22414         * stdio-common/vfprintf.c: Likewise.
22416         * sysdeps/generic/ldsodefs.h: Check whether
22417         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22418         than #if.
22420         * nptl/sysdeps/pthread/pthread.h: Check
22421         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22422         its value.
22424 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22426         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22427         setting O_APPEND.
22428         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22429         test case.
22431         [BZ #16680]
22432         * libio/fileops.c (_IO_file_open): Seek to end of file but
22433         don't cache the offset.
22434         (get_file_offset): Remove function.
22435         (do_ftell): Use cached offset when available.
22436         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22437         don't cache the offset.
22438         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22439         case.
22440         (do_one_test): Call it.
22441         (do_ftell_test): Fix up expected old offset for a+ mode.
22442         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22443         available.
22445         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22446         up test status with function return status.
22447         (do_write_test): Likewise.
22448         (do_append_test): Likewise.
22450         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22451         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22452         Remove.
22454 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22456         * math/gen-libm-test.pl (parse_args): Handle results specified for
22457         each rounding mode separately.
22458         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22459         tests and results from lrint_tonearest_test_data,
22460         lrint_towardzero_test_data, lrint_downward_test_data and
22461         lrint_upward_test_data.
22462         (lrint_test): Use ALL_RM_TEST.
22463         (lrint_tonearest_test_data): Remove.
22464         (lrint_test_tonearest): Likewise.
22465         (lrint_towardzero_test_data): Likewise.
22466         (lrint_test_towardzero): Likewise.
22467         (lrint_downward_test_data): Likewise.
22468         (lrint_test_downward): Likewise.
22469         (lrint_upward_test_data): Likewise.
22470         (lrint_test_upward): Likewise.
22471         (llrint_test_data): Merge in per-rounding-mode tests and results
22472         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22473         llrint_downward_test_data and llrint_upward_test_data.
22474         (llrint_test): Use ALL_RM_TEST.
22475         (llrint_tonearest_test_data): Remove.
22476         (llrint_test_tonearest): Likewise.
22477         (llrint_towardzero_test_data): Likewise.
22478         (llrint_test_towardzero): Likewise.
22479         (llrint_downward_test_data): Likewise.
22480         (llrint_test_downward): Likewise.
22481         (llrint_upward_test_data): Likewise.
22482         (llrint_test_upward): Likewise.
22483         (rint_test_data): Merge in per-rounding-mode tests and results
22484         from rint_tonearest_test_data, rint_towardzero_test_data,
22485         rint_downward_test_data and rint_upward_test_data.  Add
22486         per-rounding-mode results for tests not in those arrays.
22487         (rint_test): Use ALL_RM_TEST.
22488         (rint_tonearest_test_data): Remove.
22489         (rint_test_tonearest): Likewise.
22490         (rint_towardzero_test_data): Likewise.
22491         (rint_test_towardzero): Likewise.
22492         (rint_downward_test_data): Likewise.
22493         (rint_test_downward): Likewise.
22494         (rint_upward_test_data): Likewise.
22495         (rint_test_upward): Likewise.
22496         (main): Don't call removed functions.
22498 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22500         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22501         "Compiled on ..." crapola.  It is anti-useful.
22503 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22505         * scripts/evaluate-test.sh: Handle fourth argument to determine
22506         whether test run should stop on failure.
22507         * Makeconfig (stop-on-test-failure): New variable.
22508         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22509         $(stop-on-test-failure).
22510         * Makefile (tests): Give a summary of results from testing and
22511         exit with failure status if they include an ERROR or FAIL.
22512         (xtests): Likewise.
22513         * manual/install.texi (Configuring and compiling): Mention
22514         stop-on-test-failure=y.
22515         * INSTALL: Regenerated.
22517 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22519         * scripts/versionlist.awk: New file.
22520         * Makerules [$(build-shared) = yes]
22521         (postclean-generated): Add Versions.def, not Versions.def.v and
22522         Versions.def.v.i.
22523         ($(common-objpfx)Versions.def.v.i): Target removed.
22524         ($(common-objpfx)Versions.def): New target.
22525         ($(common-objpfx)Versions.all): Depend on that rather that
22526         $(common-objpfx)Versions.def.v.
22527         * Versions.def: File removed.
22529         * Makeconfig (+gccwarn): Add -Wundef.
22530         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22531         a dl-sysdep.h breaking its contract.
22532         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22533         * include/stackinfo.h: New file.
22534         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22535         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22536         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22537         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22538         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22539         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22540         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22541         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22542         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22543         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22544         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22545         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22546         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22547         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22548         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22550 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22552         [BZ #16707]
22553         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22554         implementation.
22555         * math/libm-test.inc (round_test_data): Add more tests.
22557         [BZ #16706]
22558         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22559         implementation.
22560         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22562         [BZ #16701]
22563         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22564         implementation.
22565         * math/libm-test.inc (ceil_test_data): Add more tests.
22567         * math/libm-test.inc (trunc_test_data): Add more tests related to
22568         BZ#16414.
22570 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22572         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22573         with #if rather than #ifdef.
22574         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22576 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22578         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22579         first.  Disable AVX-512 GCC support if assembler doesn't support
22580         it.
22581         * sysdeps/x86_64/configure: Regenerated.
22583 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22585         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22586         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22587         (__old_pthread_attr_setstack): Likewise.
22588         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22589         [!_STACK_GROWS_DOWN]: Likewise.
22591 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22593         * config.make.in (have-bash2): Delete.
22594         * configure.ac (libc_cv_have_bash2): Delete.
22595         * configure: Regenerate.
22596         * elf/Makefile (common-ldd-rewrite): Rename to ...
22597         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22598         (sh-ldd-rewrite): Delete.
22599         (bash-ldd-rewrite): Delete.
22600         (have-bash2): Delete checks.
22601         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22602         ldd-rewrite.
22604         * config.make.in (have-ksh): Delete.
22605         (KSH): Delete.
22606         * configure.ac (libc_cv_have_ksh): Delete.
22607         * configure: Regenerate.
22609         * elf/Makefile: Delete $(have-ksh) check.
22610         ($(objpfx)sotruss): Change KSH to BASH.
22611         * elf/sotruss.ksh: Rename to ...
22612         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22613         function style to match POSIX.  Drop ksh vim mode setting.
22615         * manual/time.texi (Specifying the Time Zone with TZ): Change
22616         Tuesday to Thursday.
22618         * debug/tst-longjmp_chk2.c: Update header comment.
22619         (stackoverflow_handler): Add comment.  Call assert on pass value.
22621 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22623         [BZ #16194]
22624         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22625         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22626         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22627         (La_x86_64_vector): Add zmm.
22628         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22629         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22630         ($(objpfx)tst-audit10): New target.
22631         ($(objpfx)tst-audit10.out): Likewise.
22632         (tst-audit10-ENV): New.
22633         (AVX512-CFLAGS): Likewise.
22634         (CFLAGS-tst-audit10.c): Likewise.
22635         (CFLAGS-tst-auditmod10a.c): Likewise.
22636         (CFLAGS-tst-auditmod10b.c): Likewise.
22637         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22638         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22639         * sysdeps/x86_64/configure: Regenerated.
22640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22641         AVX-512 zmm register support.
22642         (_dl_x86_64_save_sse): Likewise.
22643         (_dl_x86_64_restore_sse): Likewise.
22644         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22645         size vector registers.
22646         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22647         (ZMM_SIZE): Likewise.
22648         * sysdeps/x86_64/tst-audit10.c: New file.
22649         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22650         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22652 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22654         * configure.ac (HAVE_EHDR_START): New check.
22655         * configure: Regenerated.
22656         * config.h.in (HAVE_EHDR_START): New #undef.
22657         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22658         assuming the lowest-addressed segment maps the start of the file.
22660 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22662         * INSTALL: Regenerated.
22664 2014-03-13  Will Newton  <will.newton@linaro.org>
22666         * manual/setjmp.texi (System V contexts): Improve
22667         clarity and grammar of documentation.
22669 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22671         [BZ #16381]
22672         * elf/Makefile (tests): Add tst-pie2.
22673         (tests-pie): Add tst-pie2.
22674         * elf/tst-pie2.c: New file.
22675         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22676         for ET_EXEC.
22677         * elf/rtld.c (map_doit): Load executable as lt_executable.
22678         (dl_main): Likewise.
22680 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22682         [BZ #16642]
22683         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22684         (__ASSUME_PSELECT): Undefine.
22686 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22688         [BZ #16689]
22689         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22690         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22691         static build.
22692         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22693         selector for static builds.
22695 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22697         [BZ #16695]
22698         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22699         key in the buffer.
22701 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22703         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22704         IFUNC selector for static builds.
22706 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22708         * sysdeps/mips/math_private.h [__mips_hard_float]
22709         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22710         libc_feresetround_mips_ctx.
22711         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22712         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22713         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22715         [BZ #16677]
22716         * math/s_nextafter.c (__nextafter): Do not return value from
22717         overflowing computation.
22718         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22719         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22720         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22721         Likewise.
22722         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22723         Likewise.
22724         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22725         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22727 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22729         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22730         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22731         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22732         the new mov targetting sp.
22734 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22736         [BZ #16683]
22737         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22738         Define it for static builds as well.
22739         (NO_BZERO_IMPL): Likewise.
22741 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22743         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22744         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22745         multiarch strspn for PPC64.
22746         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22747         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22749         (__libc_ifunc_impl_list): Likewise.
22750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22751         multiarch optimizations
22752         * string/strspn.c (strspn): Using macro to redefine symbol name.
22754 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22755             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22757         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22758         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22759         multiarch strncat for PPC64.
22760         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22761         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22763         (__libc_ifunc_impl_list): Likewise.
22764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22765         multiarch optimizations
22767 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22769         [BZ #16639]
22770         * nscd/nscd.service: Make service type forking.
22772 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22774         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22775         sign in non default rounding modes.
22776         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22778 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22780         * math/libm-test.inc (ALL_RM_TEST): New macro.
22781         (ceil_test): Use ALL_RM_TEST.
22782         (cimag_test): Likewise.
22783         (conj_test): Likewise.
22784         (copysign_test): Likewise.
22785         (cproj_test): Likewise.
22786         (creal_test): Likewise.
22787         (fabs_test): Likewise.
22788         (floor_test): Likewise.
22789         (fmax_test): Likewise.
22790         (fmin_test): Likewise.
22791         (fmod_test): Likewise.
22792         (fpclassify_test): Likewise.
22793         (frexp_test): Likewise.
22794         (ilogb_test): Likewise.
22795         (isfinite_test): Likewise.
22796         (finite_test): Likewise.
22797         (isgreater_test): Likewise.
22798         (isgreaterequal_test): Likewise.
22799         (isinf_test): Likewise.
22800         (isless_test): Likewise.
22801         (islessequal_test): Likewise.
22802         (islessgreater_test): Likewise.
22803         (isnan_test): Likewise.
22804         (isnormal_test): Likewise.
22805         (issignaling_test): Likewise.
22806         (isunordered_test): Likewise.
22807         (logb_test): Likewise.
22808         (logb_downward_test_data): Remove.
22809         (logb_test_downward): Likewise.
22810         (lround_test): Use ALL_RM_TEST.
22811         (llround_test): Likewise.
22812         (modf_test): Likewise.
22813         (nexttoward_test): Likewise.
22814         (remainder_test): Likewise.
22815         (drem_test): Likewise.
22816         (remainder_tonearest_test_data): Likewise.
22817         (remainder_test_tonearest): Likewise.
22818         (drem_test_tonearest): Likewise.
22819         (remainder_towardzero_test_data): Likewise.
22820         (remainder_test_towardzero): Likewise.
22821         (drem_test_towardzero): Likewise.
22822         (remainder_downward_test_data): Likewise.
22823         (remainder_test_downward): Likewise.
22824         (drem_test_downward): Likewise.
22825         (remainder_upward_test_data): Likewise.
22826         (remainder_test_upward): Likewise.
22827         (drem_test_upward): Likewise.
22828         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22829         (round_test): Use ALL_RM_TEST.
22830         (signbit_test): Likewise.
22831         (trunc_test): Likewise.
22832         (significand_test): Likewise.
22833         (main): Don't call removed functions.
22835 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22837         [BZ #16674]
22838         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22839         || __USE_XOPEN2K8].
22840         (ILL_ILLOPN): Likewise.
22841         (ILL_ILLADR): Likewise.
22842         (ILL_ILLTRP): Likewise.
22843         (ILL_PRVOPC): Likewise.
22844         (ILL_PRVREG): Likewise.
22845         (ILL_COPROC): Likewise.
22846         (ILL_BADSTK): Likewise.
22847         (FPE_INTDIV): Likewise.
22848         (FPE_INTOVF): Likewise.
22849         (FPE_FLTDIV): Likewise.
22850         (FPE_FLTOVF): Likewise.
22851         (FPE_FLTUND): Likewise.
22852         (FPE_FLTRES): Likewise.
22853         (FPE_FLTINV): Likewise.
22854         (FPE_FLTSUB): Likewise.
22855         (SEGV_MAPERR): Likewise.
22856         (SEGV_ACCERR): Likewise.
22857         (BUS_ADRALN): Likewise.
22858         (BUS_ADRERR): Likewise.
22859         (BUS_OBJERR): Likewise.
22860         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22861         (TRAP_TRACE): Likewise.
22862         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22863         __USE_XOPEN2K8].
22864         (CLD_KILLED): Likewise.
22865         (CLD_DUMPED): Likewise.
22866         (CLD_TRAPPED): Likewise.
22867         (CLD_STOPPED): Likewise.
22868         (CLD_CONTINUED): Likewise.
22869         (POLL_IN): Likewise.
22870         (POLL_OUT): Likewise.
22871         (POLL_MSG): Likewise.
22872         (POLL_ERR): Likewise.
22873         (POLL_PRI): Likewise.
22874         (POLL_HUP): Likewise.
22875         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22876         Likewise.
22877         (ILL_ILLOPN): Likewise.
22878         (ILL_ILLADR): Likewise.
22879         (ILL_ILLTRP): Likewise.
22880         (ILL_PRVOPC): Likewise.
22881         (ILL_PRVREG): Likewise.
22882         (ILL_COPROC): Likewise.
22883         (ILL_BADSTK): Likewise.
22884         (FPE_INTDIV): Likewise.
22885         (FPE_INTOVF): Likewise.
22886         (FPE_FLTDIV): Likewise.
22887         (FPE_FLTOVF): Likewise.
22888         (FPE_FLTUND): Likewise.
22889         (FPE_FLTRES): Likewise.
22890         (FPE_FLTINV): Likewise.
22891         (FPE_FLTSUB): Likewise.
22892         (SEGV_MAPERR): Likewise.
22893         (SEGV_ACCERR): Likewise.
22894         (BUS_ADRALN): Likewise.
22895         (BUS_ADRERR): Likewise.
22896         (BUS_OBJERR): Likewise.
22897         (BUS_MCEERR_AR): Likewise.
22898         (BUS_MCEERR_AO): Likewise.
22899         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22900         (TRAP_TRACE): Likewise.
22901         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22902         __USE_XOPEN2K8].
22903         (CLD_KILLED): Likewise.
22904         (CLD_DUMPED): Likewise.
22905         (CLD_TRAPPED): Likewise.
22906         (CLD_STOPPED): Likewise.
22907         (CLD_CONTINUED): Likewise.
22908         (POLL_IN): Likewise.
22909         (POLL_OUT): Likewise.
22910         (POLL_MSG): Likewise.
22911         (POLL_ERR): Likewise.
22912         (POLL_PRI): Likewise.
22913         (POLL_HUP): Likewise.
22914         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22915         (ILL_ILLOPN): Likewise.
22916         (ILL_ILLADR): Likewise.
22917         (ILL_ILLTRP): Likewise.
22918         (ILL_PRVOPC): Likewise.
22919         (ILL_PRVREG): Likewise.
22920         (ILL_COPROC): Likewise.
22921         (ILL_BADSTK): Likewise.
22922         (FPE_INTDIV): Likewise.
22923         (FPE_INTOVF): Likewise.
22924         (FPE_FLTDIV): Likewise.
22925         (FPE_FLTOVF): Likewise.
22926         (FPE_FLTUND): Likewise.
22927         (FPE_FLTRES): Likewise.
22928         (FPE_FLTINV): Likewise.
22929         (FPE_FLTSUB): Likewise.
22930         (SEGV_MAPERR): Likewise.
22931         (SEGV_ACCERR): Likewise.
22932         (BUS_ADRALN): Likewise.
22933         (BUS_ADRERR): Likewise.
22934         (BUS_OBJERR): Likewise.
22935         (BUS_MCEERR_AR): Likewise.
22936         (BUS_MCEERR_AO): Likewise.
22937         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22938         (TRAP_TRACE): Likewise.
22939         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22940         __USE_XOPEN2K8].
22941         (CLD_KILLED): Likewise.
22942         (CLD_DUMPED): Likewise.
22943         (CLD_TRAPPED): Likewise.
22944         (CLD_STOPPED): Likewise.
22945         (CLD_CONTINUED): Likewise.
22946         (POLL_IN): Likewise.
22947         (POLL_OUT): Likewise.
22948         (POLL_MSG): Likewise.
22949         (POLL_ERR): Likewise.
22950         (POLL_PRI): Likewise.
22951         (POLL_HUP): Likewise.
22952         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22953         Likewise.
22954         (ILL_ILLOPN): Likewise.
22955         (ILL_ILLADR): Likewise.
22956         (ILL_ILLTRP): Likewise.
22957         (ILL_PRVOPC): Likewise.
22958         (ILL_PRVREG): Likewise.
22959         (ILL_COPROC): Likewise.
22960         (ILL_BADSTK): Likewise.
22961         (ILL_BADIADDR): Likewise.
22962         (ILL_BREAK): Likewise.
22963         (FPE_INTDIV): Likewise.
22964         (FPE_INTOVF): Likewise.
22965         (FPE_FLTDIV): Likewise.
22966         (FPE_FLTOVF): Likewise.
22967         (FPE_FLTUND): Likewise.
22968         (FPE_FLTRES): Likewise.
22969         (FPE_FLTINV): Likewise.
22970         (FPE_FLTSUB): Likewise.
22971         (FPE_DECOVF): Likewise.
22972         (FPE_DECDIV): Likewise.
22973         (FPE_DECERR): Likewise.
22974         (FPE_INVASC): Likewise.
22975         (FPE_INVDEC): Likewise.
22976         (SEGV_MAPERR): Likewise.
22977         (SEGV_ACCERR): Likewise.
22978         (SEGV_PSTKOVF): Likewise.
22979         (BUS_ADRALN): Likewise.
22980         (BUS_ADRERR): Likewise.
22981         (BUS_OBJERR): Likewise.
22982         (BUS_MCEERR_AR): Likewise.
22983         (BUS_MCEERR_AO): Likewise.
22984         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22985         (TRAP_TRACE): Likewise.
22986         (TRAP_BRANCH): Likewise.
22987         (TRAP_HWBKPT): Likewise.
22988         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22989         __USE_XOPEN2K8].
22990         (CLD_KILLED): Likewise.
22991         (CLD_DUMPED): Likewise.
22992         (CLD_TRAPPED): Likewise.
22993         (CLD_STOPPED): Likewise.
22994         (CLD_CONTINUED): Likewise.
22995         (POLL_IN): Likewise.
22996         (POLL_OUT): Likewise.
22997         (POLL_MSG): Likewise.
22998         (POLL_ERR): Likewise.
22999         (POLL_PRI): Likewise.
23000         (POLL_HUP): Likewise.
23001         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23002         (ILL_ILLOPN): Likewise.
23003         (ILL_ILLADR): Likewise.
23004         (ILL_ILLTRP): Likewise.
23005         (ILL_PRVOPC): Likewise.
23006         (ILL_PRVREG): Likewise.
23007         (ILL_COPROC): Likewise.
23008         (ILL_BADSTK): Likewise.
23009         (FPE_INTDIV): Likewise.
23010         (FPE_INTOVF): Likewise.
23011         (FPE_FLTDIV): Likewise.
23012         (FPE_FLTOVF): Likewise.
23013         (FPE_FLTUND): Likewise.
23014         (FPE_FLTRES): Likewise.
23015         (FPE_FLTINV): Likewise.
23016         (FPE_FLTSUB): Likewise.
23017         (SEGV_MAPERR): Likewise.
23018         (SEGV_ACCERR): Likewise.
23019         (BUS_ADRALN): Likewise.
23020         (BUS_ADRERR): Likewise.
23021         (BUS_OBJERR): Likewise.
23022         (BUS_MCEERR_AR): Likewise.
23023         (BUS_MCEERR_AO): Likewise.
23024         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23025         (TRAP_TRACE): Likewise.
23026         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23027         __USE_XOPEN2K8].
23028         (CLD_KILLED): Likewise.
23029         (CLD_DUMPED): Likewise.
23030         (CLD_TRAPPED): Likewise.
23031         (CLD_STOPPED): Likewise.
23032         (CLD_CONTINUED): Likewise.
23033         (POLL_IN): Likewise.
23034         (POLL_OUT): Likewise.
23035         (POLL_MSG): Likewise.
23036         (POLL_ERR): Likewise.
23037         (POLL_PRI): Likewise.
23038         (POLL_HUP): Likewise.
23039         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23040         (ILL_ILLOPN): Likewise.
23041         (ILL_ILLADR): Likewise.
23042         (ILL_ILLTRP): Likewise.
23043         (ILL_PRVOPC): Likewise.
23044         (ILL_PRVREG): Likewise.
23045         (ILL_COPROC): Likewise.
23046         (ILL_BADSTK): Likewise.
23047         (FPE_INTDIV): Likewise.
23048         (FPE_INTOVF): Likewise.
23049         (FPE_FLTDIV): Likewise.
23050         (FPE_FLTOVF): Likewise.
23051         (FPE_FLTUND): Likewise.
23052         (FPE_FLTRES): Likewise.
23053         (FPE_FLTINV): Likewise.
23054         (FPE_FLTSUB): Likewise.
23055         (SEGV_MAPERR): Likewise.
23056         (SEGV_ACCERR): Likewise.
23057         (BUS_ADRALN): Likewise.
23058         (BUS_ADRERR): Likewise.
23059         (BUS_OBJERR): Likewise.
23060         (BUS_MCEERR_AR): Likewise.
23061         (BUS_MCEERR_AO): Likewise.
23062         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23063         (TRAP_TRACE): Likewise.
23064         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23065         __USE_XOPEN2K8].
23066         (CLD_KILLED): Likewise.
23067         (CLD_DUMPED): Likewise.
23068         (CLD_TRAPPED): Likewise.
23069         (CLD_STOPPED): Likewise.
23070         (CLD_CONTINUED): Likewise.
23071         (POLL_IN): Likewise.
23072         (POLL_OUT): Likewise.
23073         (POLL_MSG): Likewise.
23074         (POLL_ERR): Likewise.
23075         (POLL_PRI): Likewise.
23076         (POLL_HUP): Likewise.
23077         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23078         (ILL_ILLOPN): Likewise.
23079         (ILL_ILLADR): Likewise.
23080         (ILL_ILLTRP): Likewise.
23081         (ILL_PRVOPC): Likewise.
23082         (ILL_PRVREG): Likewise.
23083         (ILL_COPROC): Likewise.
23084         (ILL_BADSTK): Likewise.
23085         (FPE_INTDIV): Likewise.
23086         (FPE_INTOVF): Likewise.
23087         (FPE_FLTDIV): Likewise.
23088         (FPE_FLTOVF): Likewise.
23089         (FPE_FLTUND): Likewise.
23090         (FPE_FLTRES): Likewise.
23091         (FPE_FLTINV): Likewise.
23092         (FPE_FLTSUB): Likewise.
23093         (SEGV_MAPERR): Likewise.
23094         (SEGV_ACCERR): Likewise.
23095         (BUS_ADRALN): Likewise.
23096         (BUS_ADRERR): Likewise.
23097         (BUS_OBJERR): Likewise.
23098         (BUS_MCEERR_AR): Likewise.
23099         (BUS_MCEERR_AO): Likewise.
23100         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23101         (TRAP_TRACE): Likewise.
23102         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23103         __USE_XOPEN2K8].
23104         (CLD_KILLED): Likewise.
23105         (CLD_DUMPED): Likewise.
23106         (CLD_TRAPPED): Likewise.
23107         (CLD_STOPPED): Likewise.
23108         (CLD_CONTINUED): Likewise.
23109         (POLL_IN): Likewise.
23110         (POLL_OUT): Likewise.
23111         (POLL_MSG): Likewise.
23112         (POLL_ERR): Likewise.
23113         (POLL_PRI): Likewise.
23114         (POLL_HUP): Likewise.
23115         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23116         (ILL_ILLOPN): Likewise.
23117         (ILL_ILLADR): Likewise.
23118         (ILL_ILLTRP): Likewise.
23119         (ILL_PRVOPC): Likewise.
23120         (ILL_PRVREG): Likewise.
23121         (ILL_COPROC): Likewise.
23122         (ILL_BADSTK): Likewise.
23123         (ILL_DBLFLT): Likewise.
23124         (ILL_HARDWALL): Likewise.
23125         (FPE_INTDIV): Likewise.
23126         (FPE_INTOVF): Likewise.
23127         (FPE_FLTDIV): Likewise.
23128         (FPE_FLTOVF): Likewise.
23129         (FPE_FLTUND): Likewise.
23130         (FPE_FLTRES): Likewise.
23131         (FPE_FLTINV): Likewise.
23132         (FPE_FLTSUB): Likewise.
23133         (SEGV_MAPERR): Likewise.
23134         (SEGV_ACCERR): Likewise.
23135         (BUS_ADRALN): Likewise.
23136         (BUS_ADRERR): Likewise.
23137         (BUS_OBJERR): Likewise.
23138         (BUS_MCEERR_AR): Likewise.
23139         (BUS_MCEERR_AO): Likewise.
23140         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23141         (TRAP_TRACE): Likewise.
23142         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23143         __USE_XOPEN2K8].
23144         (CLD_KILLED): Likewise.
23145         (CLD_DUMPED): Likewise.
23146         (CLD_TRAPPED): Likewise.
23147         (CLD_STOPPED): Likewise.
23148         (CLD_CONTINUED): Likewise.
23149         (POLL_IN): Likewise.
23150         (POLL_OUT): Likewise.
23151         (POLL_MSG): Likewise.
23152         (POLL_ERR): Likewise.
23153         (POLL_PRI): Likewise.
23154         (POLL_HUP): Likewise.
23155         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23156         (ILL_ILLOPN): Likewise.
23157         (ILL_ILLADR): Likewise.
23158         (ILL_ILLTRP): Likewise.
23159         (ILL_PRVOPC): Likewise.
23160         (ILL_PRVREG): Likewise.
23161         (ILL_COPROC): Likewise.
23162         (ILL_BADSTK): Likewise.
23163         (FPE_INTDIV): Likewise.
23164         (FPE_INTOVF): Likewise.
23165         (FPE_FLTDIV): Likewise.
23166         (FPE_FLTOVF): Likewise.
23167         (FPE_FLTUND): Likewise.
23168         (FPE_FLTRES): Likewise.
23169         (FPE_FLTINV): Likewise.
23170         (FPE_FLTSUB): Likewise.
23171         (SEGV_MAPERR): Likewise.
23172         (SEGV_ACCERR): Likewise.
23173         (BUS_ADRALN): Likewise.
23174         (BUS_ADRERR): Likewise.
23175         (BUS_OBJERR): Likewise.
23176         (BUS_MCEERR_AR): Likewise.
23177         (BUS_MCEERR_AO): Likewise.
23178         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23179         (TRAP_TRACE): Likewise.
23180         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23181         __USE_XOPEN2K8].
23182         (CLD_KILLED): Likewise.
23183         (CLD_DUMPED): Likewise.
23184         (CLD_TRAPPED): Likewise.
23185         (CLD_STOPPED): Likewise.
23186         (CLD_CONTINUED): Likewise.
23187         (POLL_IN): Likewise.
23188         (POLL_OUT): Likewise.
23189         (POLL_MSG): Likewise.
23190         (POLL_ERR): Likewise.
23191         (POLL_PRI): Likewise.
23192         (POLL_HUP): Likewise.
23193         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23194         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23196         [BZ #16670]
23197         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23198         before #include of <time.h>.
23199         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23200         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23201         (test-xfail-UNIX98/sched.h/conform): Likewise.
23203 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23205         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23206         error absence of trapping exception support.
23207         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23209 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23211         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23212         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23213         * timezone/Makefile (testdata): Move definition above include of
23214         Rules.
23215         (test-zones): New variable.
23216         (tests-special): Add zone files.
23217         (build-testdata): Use $(evaluate-test).
23219         * elf/Makefile (tests-special): Rename tests to end with .out.
23220         ($(objpfx)noload-mem): Likewise.
23221         ($(objpfx)tst-leaks1-mem): Likewise.
23222         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23223         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23224         $(objpfx)test-iconvconfig.out.
23225         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23226         set -e inside subshell and redirect output to file.
23227         * iconvdata/Makefile (generated): Rename tests to end with .out.
23228         Correct type.
23229         (tests-special): Rename tests to end with .out.
23230         ($(objpfx)mtrace-tst-loading): Likewise.
23231         * intl/Makefile (generated): Likewise.
23232         (tests-special): Likewise.
23233         ($(objpfx)mtrace-tst-gettext): Likewise.
23234         * misc/Makefile (generated): Likewise.
23235         (tests-special): Likewise.
23236         ($(objpfx)tst-error1-mem): Likewise.
23237         * nptl/Makefile (tests-special): Likewise.
23238         ($(objpfx)tst-stack3-mem): Likewise.
23239         (generated): Likewise.
23240         * posix/Makefile (generated): Likewise.
23241         (tests-special): Likewise.
23242         (xtests-special): Likewise.
23243         ($(objpfx)tst-fnmatch-mem): Likewise.
23244         ($(objpfx)bug-regex2-mem): Likewise.
23245         ($(objpfx)bug-regex14-mem): Likewise.
23246         ($(objpfx)bug-regex21-mem): Likewise.
23247         ($(objpfx)bug-regex31-mem): Likewise.
23248         ($(objpfx)tst-vfork3-mem): Likewise.
23249         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23250         ($(objpfx)tst-pcre-mem): Likewise.
23251         ($(objpfx)tst-boost-mem): Likewise.
23252         ($(objpfx)bug-ga2-mem): Likewise.
23253         ($(objpfx)bug-glob2-mem): Likewise.
23254         * resolv/Makefile (generate): Likewise.
23255         (tests-special): Likewise.
23256         (xtests-special): Likewise.
23257         (generated): Likewise.
23258         ($(objpfx)mtrace-tst-leaks): Likewise.
23259         ($(objpfx)mtrace-tst-leaks2): Likewise.
23261         * scripts/merge-test-results.sh: New file.
23262         * Makefile (tests-special-notdir): New variable.
23263         (tests): Run merge-test-results.sh.
23264         (xtests): Likewise.
23265         * Rules (tests-special-notdir): New variable.
23266         (xtests-special-notdir): Likewise.
23267         (tests): Run merge-test-results.sh
23268         (xtests): Likewise.
23270         * Makeconfig (test-xfail-name): New variable.
23271         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23272         compute variable name for expected failures.
23273         * conform/Makefile (conformtest-headers-data): New variable.
23274         (conformtest-standards): Likewise.
23275         (conformtest-headers-ISO): Likewise.
23276         (conformtest-headers-ISO99): Likewise.
23277         (conformtest-headers-ISO11): Likewise.
23278         (conformtest-headers-POSIX): Likewise.
23279         (conformtest-headers-XPG3): Likewise.
23280         (conformtest-headers-XPG4): Likewise.
23281         (conformtest-headers-UNIX98): Likewise.
23282         (conformtest-headers-XOPEN2K): Likewise.
23283         (conformtest-headers-POSIX2008): Likewise.
23284         (conformtest-headers-XOPEN2K8): Likewise.
23285         (conformtest-header-list-base): Likewise.
23286         (conformtest-header-list-tests): Likewise.
23287         (conformtest-header-base): Likewise.
23288         (conformtest-header-tests): Likewise.
23289         (tests-special): Add $(conformtest-header-list-tests).  If
23290         [$(fast-check) && !$(cross-compiling)], add
23291         $(conformtest-header-tests) instead of
23292         $(objpfx)run-conformtest.out.
23293         (generated): Add $(conformtest-header-list-base).  If
23294         [$(fast-check) && !$(cross-compiling)], add
23295         $(conformtest-header-base).  Remove previous setting.
23296         ($(conformtest-header-list-tests)): New target.
23297         (test-xfail-run-conformtest): Remove variable.
23298         ($(objpfx)run-conformtest.out): Remove target.
23299         (test-xfail-ISO11/complex.h/conform): New variable.
23300         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23301         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23302         (test-xfail-XPG3/varargs.h/conform): Likewise.
23303         (test-xfail-XPG4/varargs.h/conform): Likewise.
23304         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23305         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23306         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23307         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23308         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23309         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23310         (test-xfail-XPG3/ftw.h/conform): Likewise.
23311         (test-xfail-XPG3/grp.h/conform): Likewise.
23312         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23313         (test-xfail-XPG3/limits.h/conform): Likewise.
23314         (test-xfail-XPG3/pwd.h/conform): Likewise.
23315         (test-xfail-XPG3/search.h/conform): Likewise.
23316         (test-xfail-XPG3/signal.h/conform): Likewise.
23317         (test-xfail-XPG3/stdio.h/conform): Likewise.
23318         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23319         (test-xfail-XPG3/string.h/conform): Likewise.
23320         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23321         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23322         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23323         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23324         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23325         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23326         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23327         (test-xfail-XPG3/termios.h/conform): Likewise.
23328         (test-xfail-XPG3/time.h/conform): Likewise.
23329         (test-xfail-XPG3/unistd.h/conform): Likewise.
23330         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23331         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23332         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23333         (test-xfail-XPG4/netdb.h/conform): Likewise.
23334         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23335         (test-xfail-XPG4/signal.h/conform): Likewise.
23336         (test-xfail-XPG4/stdio.h/conform): Likewise.
23337         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23338         (test-xfail-XPG4/stropts.h/conform): Likewise.
23339         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23340         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23341         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23342         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23343         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23344         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23345         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23346         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23347         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23348         (test-xfail-XPG4/termios.h/conform): Likewise.
23349         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23350         (test-xfail-XPG4/unistd.h/conform): Likewise.
23351         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23352         (test-xfail-POSIX/sched.h/conform): Likewise.
23353         (test-xfail-POSIX/signal.h/conform): Likewise.
23354         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23355         (test-xfail-POSIX/tar.h/conform): Likewise.
23356         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23357         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23358         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23359         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23360         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23361         (test-xfail-UNIX98/sched.h/conform): Likewise.
23362         (test-xfail-UNIX98/signal.h/conform): Likewise.
23363         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23364         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23365         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23366         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23367         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23368         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23369         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23370         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23371         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23372         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23373         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23374         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23375         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23376         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23377         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23378         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23379         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23380         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23381         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23382         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23383         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23384         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23385         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23386         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23387         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23388         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23389         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23390         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23391         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23392         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23393         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23394         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23395         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23396         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23397         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23398         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23399         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23400         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23401         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23402         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23403         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23404         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23405         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23406         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23407         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23408         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23409         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23410         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23411         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23412         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23413         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23414         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23415         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23416         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23417         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23418         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23419         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23420         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23421         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23422         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23423         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23424         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23425         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23426         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23427         (conformtest-cc-flags): Likewise.
23428         ($(conformtest-header-tests): New target.
23429         * conform/check-header-lists.sh: New file.
23430         * conform/run-conformtest.sh: Remove.
23432         * conform/conformtest.pl: Allow ' and \ in values given for
23433         constants.
23434         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23435         inclusion.
23436         [POSIX] (sys/types.h): Likewise.
23437         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23438         inclusion.
23439         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23440         inclusion.
23441         * conform/data/signal.h-data (SIGIO): Remove expectation.
23442         [XPG3] (SIGBUS): Do not expect.
23443         [POSIX || XPG3] (SIGPOLL): Likewise.
23444         [POSIX || XPG3] (SIGPROF): Likewise.
23445         [POSIX || XPG3] (SIGSYS): Likewise.
23446         [XPG3] (SIGTRAP): Likewise.
23447         [POSIX || XPG3] (SIGURG): Likewise.
23448         [POSIX || XPG3] (SIGVTALRM): Likewise.
23449         [POSIX || XPG3] (SIGXCPU): Likewise.
23450         [POSIX || XPG3] (SIGXFSZ): Likewise.
23451         [POSIX] (SA_SIGINFO): Expect.
23452         [XPG3] (siginfo_t): Do not expect type or contents.
23453         [POSIX] (si_pid): Do not expect element.
23454         [POSIX] (si_uid): Likewise.
23455         [POSIX] (si_addr): Likewise.
23456         [POSIX] (si_status): Likewise.
23457         [POSIX] (si_band): Likewise.
23458         [XPG4] (si_value): Likewise.
23459         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23460         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23461         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23462         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23463         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23464         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23465         [POSIX || XPG3] (ILL_COPROC): Likewise.
23466         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23467         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23468         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23469         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23470         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23471         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23472         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23473         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23474         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23475         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23476         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23477         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23478         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23479         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23480         [POSIX || XPG3] (CLD_EXITED): Likewise.
23481         [POSIX || XPG3] (CLD_KILLED): Likewise.
23482         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23483         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23484         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23485         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23486         [POSIX || XPG3] (POLL_IN): Likewise.
23487         [POSIX || XPG3] (POLL_OUT): Likewise.
23488         [POSIX || XPG3] (POLL_MSG): Likewise.
23489         [POSIX || XPG3] (POLL_ERR): Likewise.
23490         [POSIX || XPG3] (POLL_PRI): Likewise.
23491         [POSIX || XPG3] (POLL_HUP): Likewise.
23492         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23493         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23494         (SIG*): Do not allow.
23495         [XPG3] (si_*): Likewise.
23496         [XPG3] (SI_*): Likewise.
23497         [XPG3 || XPG4] (sigev_*): Likewise.
23498         [XPG3 || XPG4] (SIGEV_*): Likewise.
23499         [XPG3 || XPG4] (sival_*): Likewise.
23500         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23501         [POSIX || XPG3] (BUS_*): Likewise.
23502         [POSIX || XPG3] (CLD_*): Likewise.
23503         [POSIX || XPG3] (FPE_*): Likewise.
23504         [POSIX || XPG3] (ILL_*): Likewise.
23505         [POSIX || XPG3] (POLL_*): Likewise.
23506         [POSIX || XPG3] (SEGV_*): Likewise.
23507         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23508         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23509         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23510         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23511         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23512         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23513         Specify type and value.
23514         (TVERSLEN): Likewise.
23515         (REGTYPE): Likewise.
23516         (AREGTYPE): Likewise.
23517         (LNKTYPE): Likewise.
23518         (SYMTYPE): Likewise.
23519         (CHRTYPE): Likewise.
23520         (BLKTYPE): Likewise.
23521         (DIRTYPE): Likewise.
23522         (FIFOTYPE): Likewise.
23523         (CONTTYPE): Likewise.
23524         (TSUID): Likewise.
23525         (TSGID): Likewise.
23526         (TSVTX): Likewise.
23527         (TUREAD): Likewise.
23528         (TUWRITE): Likewise.
23529         (TUEXEC): Likewise.
23530         (TGREAD): Likewise.
23531         (TGWRITE): Likewise.
23532         (TGEXEC): Likewise.
23533         (TOREAD): Likewise.
23534         (TOWRITE): Likewise.
23535         (TOEXEC): Likewise.
23536         [POSIX] (TSVTX): Expect constant.
23538 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23540         * Makefile (tests): Change dependencies to ....
23541         (tests-special): ... additions to this variable.
23542         (tests): Depend on $(tests-special).
23543         * Makerules (check-abi-list): New variable.
23544         (check-abi): Depend on $(check-abi-list).
23545         [$(subdir) = elf] (tests-special): Add
23546         $(objpfx)check-abi-libc.out.
23547         [$(build-shared) = yes && subdir] (tests-special): Add
23548         $(check-abi-list).
23549         [$(build-shared) = yes && subdir] (tests): Do not depend on
23550         check-abi.
23551         * Rules (tests): Depend on $(tests-special).
23552         (xtests): Depend on $(xtests-special).
23553         * catgets/Makefile (tests): Change dependencies to ....
23554         (tests-special): ... additions to this variable.
23555         * conform/Makefile (tests): Change dependencies to ....
23556         (tests-special): ... additions to this variable.
23557         * elf/Makefile (tests): Change dependencies to ....
23558         (tests-special): ... additions to this variable.
23559         * grp/Makefile (tests): Change dependencies to ....
23560         (tests-special): ... additions to this variable.
23561         * iconv/Makefile (xtests): Change dependencies to ....
23562         (xtests-special): ... additions to this variable.
23563         * iconvdata/Makefile (tests): Change dependencies to ....
23564         (tests-special): ... additions to this variable.
23565         * intl/Makefile (tests): Change dependencies to ....
23566         (tests-special): ... additions to this variable.  Also add
23567         $(objpfx)tst-gettext.out.
23568         * io/Makefile (tests): Change dependencies to ....
23569         (tests-special): ... additions to this variable.
23570         * libio/Makefile (tests): Change dependencies to ....
23571         (tests-special): ... additions to this variable.
23572         * malloc/Makefile (tests): Change dependencies to ....
23573         (tests-special): ... additions to this variable.
23574         * misc/Makefile (tests): Change dependencies to ....
23575         (tests-special): ... additions to this variable.
23576         * nptl/Makefile (tests): Change dependencies to ....
23577         (tests-special): ... additions to this variable.
23578         * nptl_db/Makefile (tests): Change dependencies to ....
23579         (tests-special): ... additions to this variable.
23580         * posix/Makefile (tests): Change dependencies to ....
23581         (tests-special): ... additions to this variable.
23582         (xtests): Change dependencies to ....
23583         (xtests-special): ... additions to this variable.
23584         * resolv/Makefile (tests): Change dependencies to ....
23585         (tests-special): ... additions to this variable.
23586         (xtests): Change dependencies to ....
23587         (xtests-special): ... additions to this variable.
23588         * stdio-common/Makefile (tests): Change dependencies to ....
23589         (tests-special): ... additions to this variable.
23590         (do-tst-unbputc): Remove target.
23591         (do-tst-printf): Likewise.
23592         * stdlib/Makefile (tests): Change dependencies to ....
23593         (tests-special): ... additions to this variable.
23594         * string/Makefile (tests): Change dependencies to ....
23595         (tests-special): ... additions to this variable.
23596         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23597         (tests-special): ... additions to this variable.
23599         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23600         whole file.
23601         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23602         whole file.
23603         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23604         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23606         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23607         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23608         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23609         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23610         * conform/data/libgen.h-data [XPG3]: Likewise.
23611         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23612         * conform/data/ndbm.h-data [XPG3]: Likewise.
23613         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23614         * conform/data/netdb.h-data [XPG3]: Likewise.
23615         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23616         * conform/data/poll.h-data [XPG3]: Likewise.
23617         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23618         * conform/data/strings.h-data [XPG3]: Likewise.
23619         * conform/data/stropts.h-data [XPG3]: Likewise.
23620         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23621         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23622         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23623         Likewise.
23624         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23625         * conform/data/sys/time.h-data [XPG3]: Likewise.
23626         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23627         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23628         * conform/data/sys/un.h-data [XPG3]: Likewise.
23629         * conform/data/syslog.h-data [XPG3]: Likewise.
23630         * conform/data/ucontext.h-data [XPG3]: Likewise.
23631         * conform/data/utmpx.h-data [XPG3]: Likewise.
23632         * conform/data/varargs.h-data [UNIX98]: Enable file.
23634         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23636         * math/libm-test.inc (struct test_f_f_data): Move expected results
23637         into structure for each rounding mode.
23638         (struct test_ff_f_data): Likewise.
23639         (struct test_ff_f_data_nexttoward): Likewise.
23640         (struct test_fi_f_data): Likewise.
23641         (struct test_fl_f_data): Likewise.
23642         (struct test_if_f_data): Likewise.
23643         (struct test_fff_f_data): Likewise.
23644         (struct test_c_f_data): Likewise.
23645         (struct test_f_f1_data): Likewise.
23646         (struct test_fF_f1_data): Likewise.
23647         (struct test_ffI_f1_data): Likewise.
23648         (struct test_c_c_data): Likewise.
23649         (struct test_cc_c_data): Likewise.
23650         (struct test_f_i_data): Likewise.
23651         (struct test_ff_i_data): Likewise.
23652         (struct test_f_l_data): Likewise.
23653         (struct test_f_L_data): Likewise.
23654         (struct test_fFF_11_data): Likewise.
23655         (RM_): New macro.
23656         (RM_FE_DOWNWARD): Likewise.
23657         (RM_FE_TONEAREST): Likewise.
23658         (RM_FE_TOWARDZERO): Likewise.
23659         (RM_FE_UPWARD): Likewise.
23660         (RUN_TEST_LOOP_f_f): Update references to expected results.
23661         (RUN_TEST_LOOP_2_f): Likewise.
23662         (RUN_TEST_LOOP_fff_f): Likewise.
23663         (RUN_TEST_LOOP_c_f): Likewise.
23664         (RUN_TEST_LOOP_f_f1): Likewise.
23665         (RUN_TEST_LOOP_fF_f1): Likewise.
23666         (RUN_TEST_LOOP_fI_f1): Likewise.
23667         (RUN_TEST_LOOP_ffI_f1): Likewise.
23668         (RUN_TEST_LOOP_c_c): Likewise.
23669         (RUN_TEST_LOOP_cc_c): Likewise.
23670         (RUN_TEST_LOOP_f_i): Likewise.
23671         (RUN_TEST_LOOP_f_i_tg): Likewise.
23672         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23673         (RUN_TEST_LOOP_f_b): Likewise.
23674         (RUN_TEST_LOOP_f_b_tg): Likewise.
23675         (RUN_TEST_LOOP_f_l): Likewise.
23676         (RUN_TEST_LOOP_f_L): Likewise.
23677         (RUN_TEST_LOOP_fFF_11): Likewise.
23678         * math/gen-libm-test.pl (parse_args): Output four copies of
23679         expected results for each test.
23681         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23682         (__ASSUME_UTIMES): Remove.
23683         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23684         (__ASSUME_UTIMES): Likewise.
23686         * math/gen-auto-libm-tests.c: Update comment on output format.
23687         (output_for_one_input_case): Generate before-rounding and
23688         after-rounding information as conditions on output flags not
23689         floating-point format.
23690         * math/auto-libm-test-out: Regenerated.
23691         * math/gen-libm-test.pl (cond_value): New function.
23692         (or_cond_value): Use cond_value.
23693         (generate_testfile): Handle conditional exceptions.
23695 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23697         * math/libm-test.inc (max_valid_error): New variable.
23698         (init_max_error): Take new argument specifying whether function
23699         results are exactly determined.  Set max_valid_error and bound
23700         other variables for errors based on this argument.
23701         (set_max_error): Do not record results above max_valid_error.
23702         (check_float_internal): Only accept errors of up to 0.5ulps if
23703         also at most max_valid_error.
23704         (START): Take new argument EXACT and pass it to init_max_error.
23705         (acos_test): Update call to START.
23706         (acos_test_tonearest): Likewise.
23707         (acos_test_towardzero): Likewise.
23708         (acos_test_downward): Likewise.
23709         (acos_test_upward): Likewise.
23710         (acosh_test): Likewise.
23711         (asin_test): Likewise.
23712         (asin_test_tonearest): Likewise.
23713         (asin_test_towardzero): Likewise.
23714         (asin_test_downward): Likewise.
23715         (asin_test_upward): Likewise.
23716         (asinh_test): Likewise.
23717         (atan_test): Likewise.
23718         (atanh_test): Likewise.
23719         (atan2_test): Likewise.
23720         (cabs_test): Likewise.
23721         (cacos_test): Likewise.
23722         (cacosh_test): Likewise.
23723         (carg_test): Likewise.
23724         (casin_test): Likewise.
23725         (casinh_test): Likewise.
23726         (catan_test): Likewise.
23727         (catanh_test): Likewise.
23728         (cbrt_test): Likewise.
23729         (ccos_test): Likewise.
23730         (ccosh_test): Likewise.
23731         (ceil_test): Likewise.
23732         (cexp_test): Likewise.
23733         (cimag_test): Likewise.
23734         (clog_test): Likewise.
23735         (clog10_test): Likewise.
23736         (conj_test): Likewise.
23737         (copysign_test): Likewise.
23738         (cos_test): Likewise.
23739         (cos_test_tonearest): Likewise.
23740         (cos_test_towardzero): Likewise.
23741         (cos_test_downward): Likewise.
23742         (cos_test_upward): Likewise.
23743         (cosh_test): Likewise.
23744         (cosh_test_tonearest): Likewise.
23745         (cosh_test_towardzero): Likewise.
23746         (cosh_test_downward): Likewise.
23747         (cosh_test_upward): Likewise.
23748         (cpow_test): Likewise.
23749         (cproj_test): Likewise.
23750         (creal_test): Likewise.
23751         (csin_test): Likewise.
23752         (csinh_test): Likewise.
23753         (csqrt_test): Likewise.
23754         (ctan_test): Likewise.
23755         (ctan_test_tonearest): Likewise.
23756         (ctan_test_towardzero): Likewise.
23757         (ctan_test_downward): Likewise.
23758         (ctan_test_upward): Likewise.
23759         (ctanh_test): Likewise.
23760         (ctanh_test_tonearest): Likewise.
23761         (ctanh_test_towardzero): Likewise.
23762         (ctanh_test_downward): Likewise.
23763         (ctanh_test_upward): Likewise.
23764         (erf_test): Likewise.
23765         (erfc_test): Likewise.
23766         (exp_test): Likewise.
23767         (exp_test_tonearest): Likewise.
23768         (exp_test_towardzero): Likewise.
23769         (exp_test_downward): Likewise.
23770         (exp_test_upward): Likewise.
23771         (exp10_test): Likewise.
23772         (exp10_test_tonearest): Likewise.
23773         (exp10_test_towardzero): Likewise.
23774         (exp10_test_downward): Likewise.
23775         (exp10_test_upward): Likewise.
23776         (pow10_test): Likewise.
23777         (exp2_test): Likewise.
23778         (expm1_test): Likewise.
23779         (expm1_test_tonearest): Likewise.
23780         (expm1_test_towardzero): Likewise.
23781         (expm1_test_downward): Likewise.
23782         (expm1_test_upward): Likewise.
23783         (fabs_test): Likewise.
23784         (fdim_test): Likewise.
23785         (floor_test): Likewise.
23786         (fma_test): Likewise.
23787         (fma_test_towardzero): Likewise.
23788         (fma_test_downward): Likewise.
23789         (fma_test_upward): Likewise.
23790         (fmax_test): Likewise.
23791         (fmin_test): Likewise.
23792         (fmod_test): Likewise.
23793         (fpclassify_test): Likewise.
23794         (frexp_test): Likewise.
23795         (hypot_test): Likewise.
23796         (ilogb_test): Likewise.
23797         (isfinite_test): Likewise.
23798         (finite_test): Likewise.
23799         (isgreater_test): Likewise.
23800         (isgreaterequal_test): Likewise.
23801         (isinf_test): Likewise.
23802         (isless_test): Likewise.
23803         (islessequal_test): Likewise.
23804         (islessgreater_test): Likewise.
23805         (isnan_test): Likewise.
23806         (isnormal_test): Likewise.
23807         (issignaling_test): Likewise.
23808         (isunordered_test): Likewise.
23809         (j0_test): Likewise.
23810         (j1_test): Likewise.
23811         (jn_test): Likewise.
23812         (ldexp_test): Likewise.
23813         (lgamma_test): Likewise.
23814         (gamma_test): Likewise.
23815         (lrint_test): Likewise.
23816         (lrint_test_tonearest): Likewise.
23817         (lrint_test_towardzero): Likewise.
23818         (lrint_test_downward): Likewise.
23819         (lrint_test_upward): Likewise.
23820         (llrint_test): Likewise.
23821         (llrint_test_tonearest): Likewise.
23822         (llrint_test_towardzero): Likewise.
23823         (llrint_test_downward): Likewise.
23824         (llrint_test_upward): Likewise.
23825         (log_test): Likewise.
23826         (log10_test): Likewise.
23827         (log1p_test): Likewise.
23828         (log2_test): Likewise.
23829         (logb_test): Likewise.
23830         (logb_test_downward): Likewise.
23831         (lround_test): Likewise.
23832         (llround_test): Likewise.
23833         (modf_test): Likewise.
23834         (nearbyint_test): Likewise.
23835         (nextafter_test): Likewise.
23836         (nexttoward_test): Likewise.
23837         (pow_test): Likewise.
23838         (pow_test_tonearest): Likewise.
23839         (pow_test_towardzero): Likewise.
23840         (pow_test_downward): Likewise.
23841         (pow_test_upward): Likewise.
23842         (remainder_test): Likewise.
23843         (drem_test): Likewise.
23844         (remainder_test_tonearest): Likewise.
23845         (drem_test_tonearest): Likewise.
23846         (remainder_test_towardzero): Likewise.
23847         (drem_test_towardzero): Likewise.
23848         (remainder_test_downward): Likewise.
23849         (drem_test_downward): Likewise.
23850         (remainder_test_upward): Likewise.
23851         (drem_test_upward): Likewise.
23852         (remquo_test): Likewise.
23853         (rint_test): Likewise.
23854         (rint_test_tonearest): Likewise.
23855         (rint_test_towardzero): Likewise.
23856         (rint_test_downward): Likewise.
23857         (rint_test_upward): Likewise.
23858         (round_test): Likewise.
23859         (scalb_test): Likewise.
23860         (scalbn_test): Likewise.
23861         (scalbln_test): Likewise.
23862         (signbit_test): Likewise.
23863         (sin_test): Likewise.
23864         (sin_test_tonearest): Likewise.
23865         (sin_test_towardzero): Likewise.
23866         (sin_test_downward): Likewise.
23867         (sin_test_upward): Likewise.
23868         (sincos_test): Likewise.
23869         (sinh_test): Likewise.
23870         (sinh_test_tonearest): Likewise.
23871         (sinh_test_towardzero): Likewise.
23872         (sinh_test_downward): Likewise.
23873         (sinh_test_upward): Likewise.
23874         (sqrt_test): Likewise.
23875         (sqrt_test_tonearest): Likewise.
23876         (sqrt_test_towardzero): Likewise.
23877         (sqrt_test_downward): Likewise.
23878         (sqrt_test_upward): Likewise.
23879         (tan_test): Likewise.
23880         (tan_test_tonearest): Likewise.
23881         (tan_test_towardzero): Likewise.
23882         (tan_test_downward): Likewise.
23883         (tan_test_upward): Likewise.
23884         (tanh_test): Likewise.
23885         (tgamma_test): Likewise.
23886         (trunc_test): Likewise.
23887         (y0_test): Likewise.
23888         (y1_test): Likewise.
23889         (yn_test): Likewise.
23890         (significand_test): Likewise.
23892         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23893         individual tests in comment.
23894         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23895         (prev_max_error): New variable.
23896         (prev_real_max_error): Likewise.
23897         (prev_imag_max_error): Likewise.
23898         (compare_ulp_data): Don't refer to test names in comment.
23899         (find_test_ulps): Remove function.
23900         (find_function_ulps): Likewise.
23901         (find_complex_function_ulps): Likewise.
23902         (init_max_error): Take function name as argument.  Look up ulps
23903         for that function.
23904         (print_ulps): Remove function.
23905         (print_max_error): Use prev_max_error instead of calling
23906         find_function_ulps.
23907         (print_complex_max_error): Use prev_real_max_error and
23908         prev_imag_max_error instead of calling find_complex_function_ulps.
23909         (check_float_internal): Take max_ulp parameter instead of calling
23910         find_test_ulps.  Don't call print_ulps.
23911         (check_float): Update call to check_float_internal.
23912         (check_complex): Update calls to check_float_internal.
23913         (START): Pass argument to init_max_error.
23914         * math/gen-libm-test.pl (%results): Don't include "kind"
23915         information.
23916         (parse_ulps): Don't handle ulps of individual tests.
23917         (print_ulps_file): Likewise.
23918         (output_ulps): Likewise.
23919         * math/README.libm-test: Update.
23920         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23921         individual tests.
23922         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23923         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23924         * sysdeps/arm/libm-test-ulps: Likewise.
23925         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23926         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23927         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23928         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23929         * sysdeps/microblaze/libm-test-ulps: Likewise.
23930         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23931         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23932         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23933         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23934         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23935         * sysdeps/sh/libm-test-ulps: Likewise.
23936         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23937         * sysdeps/tile/libm-test-ulps: Likewise.
23938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23940 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23942         * math/libm-test.inc (print_complex_max_error): Check separately
23943         whether real and imaginary errors are within allowed range and
23944         pass 0 to print_complex_function_ulps instead of value within
23945         allowed range.
23947 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23949         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23950         formatting.
23951         (get_handles_fopen): Likewise.
23952         (do_write_test): Likewise.
23954         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23956         * libio/fileops.c (do_ftell): Use cached offset when
23957         available.
23958         * libio/iofwide.c (do_ftell_wide): Likewise.
23959         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23960         _IO_file_attach.
23961         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23963         [BZ #16532]
23964         * libio/libioP.h (get_file_offset): New function.
23965         * libio/fileops.c (get_file_offset): Likewise.
23966         (do_ftell): Likewise.
23967         (_IO_new_file_seekoff): Split out ftell logic.
23968         * libio/wfileops.c (do_ftell_wide): Likewise.
23969         (_IO_wfile_seekoff): Split out ftell logic.
23970         * libio/tst-ftell-active-handler.c: New test case.
23971         * libio/Makefile (tests): Add it.
23973 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23975         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23976         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23978 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23980         [BZ #16639]
23981         * nscd/connections.c (nscd_init): Call do_exit.
23982         (start_threads): Call do_exit and notify_parent.
23983         (begin_drop_privileges): Call do_exit.
23984         (finish_drop_privileges): Likewise.
23985         * nscd/selinux.c (preserve_capabilities): Likewise.
23986         (install_real_capabilities): Likewise.
23987         (nscd_selinux_enabled): Likewise.
23988         (avc_create_thread): Likewise.
23989         (avc_alloc_lock): Likewise.
23990         (nscd_avc_init): Likewise.
23991         * nscd/nscd.c (parent_fd): New static variable.
23992         (main): Create a pipe between parent and child processes.
23993         Skip closing parent_fd.
23994         (monitor_child): New function.
23995         (do_exit): Likewise.
23996         (notify_parent): Likewise.
23997         * nscd/nscd.h (notify_parent): Likewise.
23998         (do_exit): Likewise.
24000 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24002         * malloc/malloc.c (__libc_calloc): Revert last change.
24004 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24008 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24010         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24011         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24012         implementation.
24013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24014         (__libc_ifunc_impl_list): Likewise.
24015         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24016         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24017         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24018         * string/strrchr.c: Define STRRCHR.
24020 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24022         * benchtest/bench-strtok.c (simple_strtok): Delete.
24023         (strtok_string): Use as benchmark.
24024         * string/strtok (STRTOK): New macro.
24026 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24028         * manual/threads.texi: Add header and standard comments to all
24029         functions.
24031         * elf/dl-lookup.c (check_match): New function.
24032         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24033         (do_lookup_x): Remove nested function check_match. Use non-nested
24034         function check_match.
24036 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24038         * csu/Makefile (generated, before-compile): Use += rather than =.
24039         * catgets/Makefile (generated, generated-dirs): Likewise.
24040         * debug/Makefile (generated): Likewise.
24041         * dlfcn/Makefile (generated): Likewise.
24042         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24043         * iconvdata/Makefile (before-compile, generated): Likewise.
24044         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24045         * libio/Makefile (generated): Likewise.
24046         * malloc/Makefile (generated): Likewise.
24047         * manual/Makefile (generated, generated-dirs): Likewise.
24048         * misc/Makefile (generated): Likewise.
24049         * posix/Makefile (generated): Likewise.
24050         * resolv/Makefile (generated): Likewise.
24051         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24052         * timezone/Makefile (generated, generated-dirs): Likewise.
24054         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24056 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24059         power8 implementation.
24060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24061         file: POWER8 llround ifunc implementation.
24062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24063         (__lllround): Add POWER8 implementation.
24064         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24065         POWER8 llround implementation.
24067         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24068         power8 implementation.
24069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24070         file: POWER8 llrint ifunc implementation.
24071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24072         Add POWER8 implementation.
24073         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24074         POWER8 llrint implementation.
24076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24077         power8 implementation.
24078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24079         file: POWER8 finite ifunc implementation.
24080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24081         Add POWER8 implementation.
24082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24083         Likewise.
24084         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24085         POWER8 finite implementation.
24086         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24089         power8 implementation.
24090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24091         file: POWER8 isinf ifunc implementation.
24092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24093         POWER8 implementation.
24094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24095         Likewise.
24096         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24097         isinf implementation.
24098         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24100         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24101         (INIT_ARCH): Add hwcap2 initialization.
24102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24103         power8 implementation.
24104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24105         file: POWER8 isnan ifunc implementation.
24106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24107         POWER8 implementation.
24108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24109         Likewise.
24110         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24111         isnan implementation.
24112         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24114 2014-02-27  Joey Ye  <joey.ye@arm.com>
24116         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24117         (_FP_NANFRAC_Q): Set to zero.
24119 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24121         [BZ #16623]
24122         * math/auto-libm-test-in: New test inputs.
24123         * math/auto-libm-test-out: Regenerate.
24124         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24125         and DA.
24126         (__cos): Likewise.
24127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24129 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24131         * scripts/evaluate-test.sh: Take new argument indicating whether
24132         failure is expected.
24133         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24134         indicating whether failure is expected.
24135         * conform/Makefile (test-xfail-run-conformtest): New variable.
24136         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24137         level.
24138         * posix/Makefile (test-xfail-annexc): New variable.
24139         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24141 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24143         * argp/Makefile: Include Makeconfig immediately after defining
24144         subdir.
24145         * assert/Makefile: Likewise.
24146         * benchtests/Makefile: Likewise.
24147         * catgets/Makefile: Likewise.
24148         * conform/Makefile: Likewise.
24149         * crypt/Makefile: Likewise.
24150         * csu/Makefile: Likewise.
24151         (all): Remove target.
24152         * ctype/Makefile: Include Makeconfig immediately after defining
24153         subdir.
24154         * debug/Makefile: Likewise.
24155         * dirent/Makefile: Likewise.
24156         * dlfcn/Makefile: Likewise.
24157         * gmon/Makefile: Likewise.
24158         * gnulib/Makefile: Likewise.
24159         * grp/Makefile: Likewise.
24160         * gshadow/Makefile: Likewise.
24161         * hesiod/Makefile: Likewise.
24162         * hurd/Makefile: Likewise.
24163         (all): Remove target.
24164         * iconvdata/Makefile: Include Makeconfig immediately after
24165         defining subdir.
24166         * inet/Makefile: Likewise.
24167         * intl/Makefile: Likewise.
24168         * io/Makefile: Likewise.
24169         * libio/Makefile: Likewise.
24170         (all): Remove target.
24171         * locale/Makefile: Include Makeconfig immediately after defining
24172         subdir.
24173         * login/Makefile: Likewise.
24174         * mach/Makefile: Likewise.
24175         (all): Remove target.
24176         * malloc/Makefile: Include Makeconfig immediately after defining
24177         subdir.
24178         (all): Remove target.
24179         * manual/Makefile: Include Makeconfig immediately after defining
24180         subdir.
24181         * math/Makefile: Likewise.
24182         * misc/Makefile: Likewise.
24183         * nis/Makefile: Likewise.
24184         * nss/Makefile: Likewise.
24185         * po/Makefile: Likewise.
24186         (all): Remove target.
24187         * posix/Makefile: Include Makeconfig immediately after defining
24188         subdir.
24189         * pwd/Makefile: Likewise.
24190         * resolv/Makefile: Likewise.
24191         * resource/Makefile: Likewise.
24192         * rt/Makefile: Likewise.
24193         * setjmp/Makefile: Likewise.
24194         * shadow/Makefile: Likewise.
24195         * signal/Makefile: Likewise.
24196         * socket/Makefile: Likewise.
24197         * soft-fp/Makefile: Likewise.
24198         * stdio-common/Makefile: Likewise.
24199         * stdlib/Makefile: Likewise.
24200         * streams/Makefile: Likewise.
24201         * string/Makefile: Likewise.
24202         * sunrpc/Makefile: Likewise.
24203         (all): Remove target.
24204         * sysvipc/Makefile: Include Makeconfig immediately after defining
24205         subdir.
24206         * termios/Makefile: Likewise.
24207         * time/Makefile: Likewise.
24208         * timezone/Makefile: Likewise.
24209         (all): Remove target.
24210         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24211         subdir.
24212         * wctype/Makefile: Likewise.
24214 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24216         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24217         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24218         (libc_feholdexcept_setround_mips): Ditto.
24219         (libc_feholdsetround): New.
24220         (libc_feholdsetroundf): New.
24221         (libc_feholdsetroundl): New.
24222         (libc_feupdateenv_test_mips): New.
24223         (libc_feupdateenv_test): New.
24224         (libc_feupdateenv_testf): New.
24225         (libc_feupdateenv_testl): New.
24226         (libc_feresetround): New.
24227         (libc_feresetroundf): New.
24228         (libc_feresetroundl): New.
24229         (libc_fetestexcept_mips): New.
24230         (libc_fetestexcept): New.
24231         (libc_fetestexceptf): New.
24232         (libc_fetestexceptl): New.
24233         (HAVE_RM_CTX): New.
24234         (libc_feholdexcept_setround_mips_ctx): New.
24235         (libc_feholdexcept_setround_ctx): New.
24236         (libc_feholdexcept_setroundf_ctx): New.
24237         (libc_feholdexcept_setroundl_ctx): New.
24238         (libc_fesetenv_mips_ctx): New.
24239         (libc_fesetenv_ctx): New.
24240         (libc_fesetenv_ctxf): New.
24241         (libc_fesetenv_ctxl): New.
24242         (libc_feupdateenv_mips_ctx): New.
24243         (libc_feupdateenv_ctx): New.
24244         (libc_feupdateenvf_ctx): New.
24245         (libc_feupdateenvl_ctx): New.
24246         (libc_feholdsetround_mips_ctx): New.
24247         (libc_feholdsetround_ctx): New.
24248         (libc_feholdsetroundf_ctx): New.
24249         (libc_feholdsetroundl_ctx): New.
24250         (libc_feresetround_mips_ctx): New.
24251         (libc_feresetround_ctx): New.
24252         (libc_feresetroundf_ctx): New.
24253         (libc_feresetroundl_ctx): New.
24255 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24257         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24259         * manual/ipc.texi: New file.
24260         * manual/Makefile (chapters): Add ipc.
24261         * manual/job.texi: Add "Inter-Process Communication" to next.
24262         * manual/process.texi: Add "Inter-Process Communication" to prev.
24264 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24268 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24270         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24272         * manual/arith.texi: Fix spaces after sentences.
24273         * manual/charset.texi: Likewise.
24274         * manual/errno.texi: Likewise.
24275         * manual/install.texi: Likewise.
24276         * manual/llio.texi: Likewise.
24277         * manual/locale.texi: Likewise.
24278         * manual/maint.texi: Likewise.
24279         * manual/math.texi: Likewise.
24280         * manual/memory.texi: Likewise.
24281         * manual/message.texi: Likewise.
24282         * manual/probes.texi: Likewise.
24283         * manual/resource.texi: Likewise.
24284         * manual/signal.texi: Likewise.
24285         * manual/socket.texi: Likewise.
24286         * manual/stdio.texi: Likewise.
24287         * manual/string.texi: Likewise.
24288         * manual/time.texi: Likewise.
24289         * manual/users.texi: Likewise.
24291 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24293         [BZ #16632]
24294         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24295         _DEFAULT_SOURCE is defined.
24297 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24298             Carlos O'Donell  <carlos@redhat.com>
24300         [BZ #16613]
24301         * elf/dl-tls.c (_dl_count_modids): New function.
24302         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24303         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24304         audit library and increment generation counter.
24305         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24306         * elf/tst-audit9.c: New file.
24307         * elf/tst-auditmod9a.c: New file.
24308         * elf/tst-auditmod9b.c: New file.
24309         * elf/Makefile: Add rules to build and run tst-audit9.
24311 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24313         [BZ #15347]
24314         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24316 2014-02-25  Will Newton  <will.newton@linaro.org>
24318         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24319         (__longjmp): Restore sp and lr before restoring callee
24320         saved registers.  Add longjmp and longjmp_target
24321         SystemTap probe point.
24322         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24323         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24324         Define to zero to match jmpbuf layout.
24325         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24326         (__sigsetjmp): Save sp and lr before saving callee
24327         saved registers.  Add setjmp SystemTap probe point.
24329 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24331         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24333 2014-02-24  Andreas Schwab  <schwab@suse.de>
24335         [BZ #15804]
24336         * elf/pldd.c (wait_for_ptrace_stop): New function.
24337         (main): Call it after attaching.
24339 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24341         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24342         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24343         Versions files is now verboten.
24344         * hurd/Versions (libc: GLIBC_2.0):
24345         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24346         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24347         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24348         * mach/Versions: Likewise.
24350         * csu/Versions: Remove unused %include.
24351         * resolv/Versions: Likewise.
24353 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24355         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24356         ($(objpfx)check-local-headers.out): Likewise.
24357         ($(objpfx)begin-end-check.out): Likewise.
24358         * Makerules (check-abi-%.out): Likewise.
24359         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24360         ($(objpfx)test2.cat): Likewise.
24361         ($(objpfx)de/libc.cat): Likewise.
24362         ($(objpfx)test-gencat.out): Likewise.
24363         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24364         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24365         ($(objpfx)noload-mem): Likewise.
24366         ($(objpfx)tst-pathopt.out): Likewise.
24367         ($(objpfx)tst-rtld-load-self.out): Likewise.
24368         ($(objpfx)tst-array1-cmp.out): Likewise.
24369         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24370         ($(objpfx)tst-array2-cmp.out): Likewise.
24371         ($(objpfx)tst-array3-cmp.out): Likewise.
24372         ($(objpfx)tst-array4-cmp.out): Likewise.
24373         ($(objpfx)tst-array5-cmp.out): Likewise.
24374         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24375         ($(objpfx)check-textrel.out): Likewise.
24376         ($(objpfx)check-execstack.out): Likewise.
24377         ($(objpfx)check-localplt.out): Likewise.
24378         ($(objpfx)order2-cmp.out): Likewise.
24379         ($(objpfx)tst-leaks1-mem): Likewise.
24380         ($(objpfx)tst-leaks1-static-mem): Likewise.
24381         ($(objpfx)tst-initorder-cmp.out): Likewise.
24382         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24383         ($(objpfx)tst-unused-dep.out): Likewise.
24384         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24385         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24386         * iconv/Makefile (test-iconvconfig): Likewise.
24387         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24388         ($(objpfx)iconv-test.out): Likewise.
24389         ($(objpfx)tst-tables.out): Likewise.
24390         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24391         ($(objpfx)tst-gettext.out): Likewise.
24392         ($(objpfx)tst-translit.out): Likewise.
24393         ($(objpfx)tst-gettext2.out): Likewise.
24394         ($(objpfx)tst-gettext4.out): Likewise.
24395         ($(objpfx)tst-gettext6.out): Likewise.
24396         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24397         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24398         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24399         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24400         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24401         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24402         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24403         ($(objpfx)wordexp-tst.out): Likewise.
24404         ($(objpfx)annexc.out): Likewise.
24405         ($(objpfx)tst-fnmatch-mem): Likewise.
24406         ($(objpfx)bug-regex2-mem): Likewise.
24407         ($(objpfx)bug-regex14-mem): Likewise.
24408         ($(objpfx)bug-regex21-mem): Likewise.
24409         ($(objpfx)bug-regex31-mem): Likewise.
24410         ($(objpfx)tst-vfork3-mem): Likewise.
24411         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24412         ($(objpfx)tst-pcre-mem): Likewise.
24413         ($(objpfx)tst-boost-mem): Likewise.
24414         ($(objpfx)tst-getconf.out): Likewise.
24415         ($(objpfx)bug-ga2-mem): Likewise.
24416         ($(objpfx)bug-glob2-mem): Likewise.
24417         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24418         ($(objpfx)mtrace-tst-leaks2): Likewise.
24419         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24420         ($(objpfx)tst-printf.out): Likewise.
24421         ($(objpfx)tst-setvbuf1.out): Likewise.
24422         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24423         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24424         ($(objpfx)tst-fmtmsg.out): Likewise.
24425         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24426         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24428         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24429         * bits/sigaction.h [__USE_MISC]: Likewise.
24430         * bits/waitstatus.h: Update #endif comments.
24431         * ctype/ctype.h: Likewise.
24432         * dirent/dirent.h: Likewise.
24433         [__USE_MISC]: Remove redundant conditionals.
24434         * grp/grp.h: Update #endif comments.
24435         [__USE_GNU]: Remove redundant conditionals.
24436         [__USE_MISC]: Likewise.
24437         * inet/netinet/in.h [__USE_GNU]: Likewise.
24438         * io/sys/stat.h [__USE_MISC]: Likewise.
24439         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24440         * libio/bits/stdio.h: Update #endif comments.
24441         [__USE_MISC]: Remove redundant conditionals.
24442         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24443         * libio/stdio.h: Update #endif comments.
24444         [__USE_MISC]: Remove redundant conditionals.
24445         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24446         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24447         * math/math.h: Update #else and #endif comments.
24448         [__USE_MISC]: Remove redundant conditionals.
24449         * misc/sys/uio.h: Update #endif comments.
24450         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24451         * posix/glob.h [__USE_MISC]: Likewise.
24452         * posix/sys/types.h: Update #endif comments.
24453         [__USE_MISC]: Remove redundant conditionals.
24454         * posix/sys/wait.h: Update #endif comments.
24455         [__USE_MISC]: Remove redundant conditionals.
24456         * posix/unistd.h: Update #endif comments.
24457         [__USE_MISC]: Remove redundant conditionals.
24458         * pwd/pwd.h [__USE_GNU]: Likewise.
24459         [__USE_MISC]: Likewise.
24460         * resolv/netdb.h [__USE_GNU]: Likewise.
24461         * signal/signal.h: Update #endif comments.
24462         [__USE_MISC]: Remove redundant conditionals.
24463         * stdlib/stdlib.h: Update #else and #endif comments.
24464         [__USE_MISC]: Remove redundant conditionals.
24465         [__USE_GNU]: Likewise.
24466         * string/bits/string2.h [__USE_MISC]: Likewise.
24467         * string/string.h: Update #endif comments.
24468         [__USE_MISC]: Remove redundant conditionals.
24469         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24470         Likewise.
24471         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24472         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24473         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24474         Likewise.
24475         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24476         Likewise.
24477         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24478         comments.
24479         [__USE_MISC]: Remove redundant conditionals.
24480         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24481         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24482         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24483         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24484         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24485         Likewise.
24486         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24487         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24488         Likewise.
24489         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24490         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24491         Likewise.
24492         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24493         Likewise.
24494         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24495         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24496         Likewise.
24497         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24498         Likewise.
24499         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24500         * sysdeps/x86/bits/string.h: Update #endif comments.
24501         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24502         conditionals.
24503         * time/sys/time.h: Update #endif comments.
24504         * time/time.h: Likewise.
24505         [__USE_MISC]: Remove redundant conditionals.
24507 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24509         [BZ #16600]
24510         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24512 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24514         * Versions.def (librt): Add GLIBC_2.17.
24516 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24518         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24519         synonym for _SYS_AUXV_H to allow direct inclusion.
24520         * sysdeps/sparc/bits/hwcap.h: Likewise.
24521         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24522         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24523         * sysdeps/sparc/sysdep.h: Likewise.
24525 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24527         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24529 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24531         * benchtests/bench-strrchr.c: Print length instead of position.
24533 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24535         [BZ #16611]
24536         * sysdeps/unix/sysv/linux/kernel-features.h
24537         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24538         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24539         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24540         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24541         Likewise.
24542         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24543         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24544         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24545         (__ASSUME_SENDMMSG): Define instead of using previous
24546         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24547         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24548         (__ASSUME_SENDMMSG_SYSCALL): Define.
24549         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24550         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24551         Likewise.
24552         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24553         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24554         Likewise.
24555         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24556         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24557         Likewise.
24558         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24559         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24560         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24561         [__ASSUME_SENDMMSG]: Change conditionals to
24562         [__ASSUME_SENDMMSG_SOCKETCALL].
24563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24564         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24565         Define.
24566         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24567         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24568         Likewise.
24569         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24570         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24571         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24572         [!__ASSUME_SENDMMSG]: Change conditional to
24573         [!__ASSUME_SENDMMSG_SOCKETCALL].
24574         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24575         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24576         Define.
24578         [BZ #16610]
24579         * sysdeps/unix/sysv/linux/kernel-features.h
24580         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24581         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24582         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24583         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24584         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24585         [__i386__ || __sparc__]
24586         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24587         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24588         (__ASSUME_RECVMMSG): Define instead of using previous
24589         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24590         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24591         (__ASSUME_RECVMMSG_SYSCALL): Define.
24592         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24593         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24594         Likewise.
24595         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24596         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24597         Likewise.
24598         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24599         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24600         Likewise.
24601         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24602         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24603         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24604         [__ASSUME_RECVMMSG]: Change condition to
24605         [__ASSUME_RECVMMSG_SOCKETCALL].
24606         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24607         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24608         Define.
24609         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24610         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24611         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24612         Likewise.
24613         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24614         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24615         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24616         [!__ASSUME_RECVMMSG]: Change condition to
24617         [!__ASSUME_RECVMMSG_SOCKETCALL].
24618         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24619         (__ASSUME_RECVMMSG_SYSCALL): Define.
24621         [BZ #16609]
24622         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24623         __powerpc__ || __s390__ || __sh__ || __sparc__]
24624         (__ASSUME_SOCKETCALL): Define.
24625         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24626         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24627         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24628         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24629         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24630         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24631         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24632         (__ASSUME_ACCEPT4): Define instead of using previous
24633         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24634         __powerpc__ || __sparc__ || __s390__)] condition.
24635         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24636         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24637         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24638         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24639         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24640         [!__ASSUME_ACCEPT4]: Change condition to
24641         [!__ASSUME_ACCEPT4_SOCKETCALL].
24642         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24643         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24644         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24645         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24646         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24647         __ASSUME_ACCEPT4_SYSCALL.
24648         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24649         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24650         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24651         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24652         __ASSUME_ACCEPT4_SYSCALL.
24653         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24654         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24655         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24656         [__ASSUME_ACCEPT4]: Change condition to
24657         [__ASSUME_ACCEPT4_SOCKETCALL].
24658         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24659         (__ASSUME_SOCKETCALL): Define.
24660         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24661         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24662         (__ASSUME_SOCKETCALL): Define.
24663         (__ASSUME_ACCEPT4): Remove.
24664         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24665         Define.
24666         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24667         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24668         Likewise.
24669         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24670         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24672         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24673         macro.
24674         (HWCAP_ARM_LPAE): Likewise.
24675         (HWCAP_ARM_EVTSTRM): Likewise.
24676         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24677         Add vpfd32, lpae and evtstrm.
24678         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24679         Increase to 22.
24681 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24683         * math/auto-libm-test-in: Add tests of clog10.
24684         * math/auto-libm-test-out: Regenerated.
24685         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24686         * sysdeps/i386/fpu/libm-test-ulps: Update.
24687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24689 2014-02-18  Andreas Schwab  <schwab@suse.de>
24691         [BZ #16574]
24692         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24693         Store non-zero if the second buffer was newly allocated.
24694         (send_dg): Likewise.
24695         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24696         to send_vc and send_dg.
24697         (res_nsend): Pass NULL for ansp2_malloced.
24698         * resolv/res_query.c (__libc_res_nquery): Add parameter
24699         answerp2_malloced and pass it down to __libc_res_nsend.
24700         (res_nquery): Pass additional NULL to __libc_res_nquery.
24701         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24702         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24703         second answer buffer if answerp2_malloced was set.
24704         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24705         (__libc_res_nquerydomain): Add parameter
24706         answerp2_malloced and pass it down to __libc_res_nquery.
24707         (res_nquerydomain): Pass additional NULL to
24708         __libc_res_nquerydomain.
24709         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24710         additional NULL to __libc_res_nsend and __libc_res_nquery.
24711         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24712         additional NULL to __libc_res_nsearch.
24713         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24714         parameter of __libc_res_nsearch to check for separately allocated
24715         second buffer.
24716         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24717         __libc_res_nquery.
24718         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24719         additional NULL to __libc_res_nquery.
24720         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24721         __libc_res_nsearch.
24722         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24723         * include/resolv.h: Update prototypes of __libc_res_nquery,
24724         __libc_res_nsearch, __libc_res_nsend.
24726 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24728         * math/auto-libm-test-in: Add tests of fma.
24729         * math/auto-libm-test-out: Regenerated.
24730         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24731         (fma_towardzero_test_data): Likewise.
24732         (fma_downward_test_data): Likewise.
24733         (fma_upward_test_data): Likewise.
24734         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24735         mpc_mode.
24736         (rounding_modes): Add values for new field.
24737         (func_calc_method): Add value mpfr_fff_f.
24738         (func_calc_desc): Add mpfr_fff_f union field.
24739         (test_function): Add field exact_args.
24740         (FUNC): Add macro argument EXACT_ARGS.
24741         (FUNC_mpfr_f_f): Update call to FUNC.
24742         (FUNC_mpfr_f_f): Likewise.
24743         (FUNC_mpfr_ff_f): Likewise.
24744         (FUNC_mpfr_if_f): Likewise.
24745         (FUNC_mpc_c_f): Likewise.
24746         (FUNC_mpc_c_c): Likewise.
24747         (test_functions): Add fma.  Update calls to FUNC.
24748         (handle_input_arg): Add argument exact_args.
24749         (add_test): Update call to handle_input_arg.
24750         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24751         (output_for_one_input_case): Update call to calc_generic_results.
24752         Recalculate exact zero results in each rounding mode.
24754         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24755         non-negative before setting low bit.
24756         * math/auto-libm-test-in: Mark one asin test possibly having
24757         spurious underflow.
24758         * math/auto-libm-test-out: Regenerated.
24759         * sysdeps/i386/fpu/libm-test-ulps: Update.
24760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24762 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24764         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24765         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24766         ports/sysdeps/unix/sysv/linux/microblaze.
24767         * README: Add missing listing for microblaze*-*-linux-gnu.
24769 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24771         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24772         duplicate code
24774 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24776         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24777         * sysdeps/unix/sysv/linux/ia64: Move directory from
24778         ports/sysdeps/unix/sysv/linux/ia64.
24779         * README: Update listing for ia64-*-linux-gnu.
24781 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24782             Joseph Myers  <joseph@codesourcery.com>
24784         * Makeconfig (test-name): New variable.
24785         (evaluate-test): Likewise.
24786         * Makerules (do-test-clean): Remove .test-result files.
24787         (common-mostlyclean): Likewise.
24788         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24789         * scripts/evaluate-test.sh: New file.
24791 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24793         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24794         separate $(objpfx)tst-fopenloc-cmp.out and
24795         $(objpfx)tst-fopenloc-mem.out targets.
24796         (tests): Update dependencies.
24797         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24798         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24799         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24800         (tst-rxspencer-no-utf8-ARGS): New variable.
24801         (tst-rxspencer-no-utf8-ENV): Likewise.
24802         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24803         instead of $(objpfx)tst-rxspencer-mem.
24804         ($(objpfx)tst-rxspencer-mem): Change target to
24805         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24806         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24807         * posix/tst-rxspencer-no-utf8.c: New file.
24809         * elf/Makefile ($(objpfx)order.out): Remove rule.
24810         [$(run-built-tests) = yes] (tests): Depend on
24811         $(objpfx)order-cmp.out.
24812         ($(objpfx)order-cmp.out): New rule.
24813         [$(run-built-tests) = yes] (tests): Depend on
24814         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24815         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24816         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24817         $(objpfx)tst-array5-static-cmp.out.
24818         ($(objpfx)tst-array1.out): Remove rule.
24819         ($(objpfx)tst-array1-cmp.out): New rule.
24820         ($(objpfx)tst-array1-static.out): Remove rule.
24821         ($(objpfx)tst-array1-static-cmp.out): New rule.
24822         ($(objpfx)tst-array2.out): Remove rule.
24823         ($(objpfx)tst-array2-cmp.out): New rule.
24824         ($(objpfx)tst-array3.out): Remove rule.
24825         ($(objpfx)tst-array3-cmp.out): New rule.
24826         ($(objpfx)tst-array4.out): Remove rule.
24827         ($(objpfx)tst-array4-cmp.out): New rule.
24828         ($(objpfx)tst-array5.out): Remove rule.
24829         ($(objpfx)tst-array5-cmp.out): New rule.
24830         ($(objpfx)tst-array5-static.out): Remove rule.
24831         ($(objpfx)tst-array5-static-cmp.out): New rule.
24832         [$(run-built-tests) = yes] (tests): Depend on
24833         $(objpfx)order2-cmp.out.
24834         ($(objpfx)order2.out): Remove rule.
24835         ($(objpfx)order2-cmp.out): New rule.
24836         ($(objpfx)tst-initorder.out): Remove rule.
24837         [$(run-built-tests) = yes] (tests): Depend on
24838         $(objpfx)tst-initorder-cmp.out.
24839         ($(objpfx)tst-initorder-cmp.out): New rule.
24840         ($(objpfx)tst-initorder2.out): Remove rule.
24841         [$(run-built-tests) = yes] (tests): Depend on
24842         $(objpfx)tst-initorder2-cmp.out.
24843         ($(objpfx)tst-initorder2-cmp.out): New rule.
24844         [$(run-built-tests) = yes] (tests): Depend on
24845         $(objpfx)tst-unused-dep-cmp.out.
24846         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24847         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24848         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24849         on $(objpfx)tst-setvbuf1-cmp.out.
24850         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24851         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24852         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24853         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24854         ($(objpfx)tst-svc.out): Remove rule.
24855         ($(objpfx)tst-svc-cmp.out): New rule.
24857 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24859         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24860         * ctype/ctype.h [__USE_MISC]: Likewise.
24861         * dirent/dirent.h [__USE_MISC]: Likewise.
24862         * grp/grp.h [__USE_MISC]: Likewise.
24863         * io/fcntl.h [__USE_MISC]: Likewise.
24864         * io/sys/stat.h [__USE_MISC]: Likewise.
24865         * libio/stdio.h [__USE_MISC]: Likewise.
24866         * posix/unistd.h [__USE_MISC]: Likewise.
24867         * pwd/pwd.h [__USE_MISC]: Likewise.
24868         * stdlib.h [__USE_MISC]: Likewise.
24869         * string/bits/string2.h [__USE_MISC]: Likewise.
24870         * string/string.h [__USE_MISC]: Likewise.
24871         * time/time.h [__USE_MISC]: Likewise.
24873 2014-02-13  Andreas Schwab  <schwab@suse.de>
24875         [BZ #16574]
24876         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24877         second answer buffer if it was separately allocated.
24879 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24881         * sysdeps/mips/math-tests.h: Include <features.h>.
24882         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24883         (ROUNDING_TESTS_long_double): Do not define.
24884         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24885         (EXCEPTION_TESTS_long_double): Likewise.
24886         * sysdeps/mips/mips64/libm-test-ulps: Update.
24888         * include/features.h (__USE_BSD): Remove macro definitions.
24889         (__USE_SVID): Likewise.
24890         (_BSD_SOURCE): Likewise.
24891         (_SVID_SOURCE): Likewise.
24892         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24893         from definition of _DEFAULT_SOURCE.
24894         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24895         [_DEFAULT_SOURCE].
24896         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24897         * bits/mman.h [__USE_BSD]: Likewise.
24898         * bits/termios.h [__USE_BSD]: Likewise.
24899         * bits/waitstatus.h [__USE_BSD]: Likewise.
24900         * ctype/ctype.h [__USE_SVID]: Likewise.
24901         * dirent/dirent.h [__USE_BSD]: Likewise.
24902         * grp/grp.h [__USE_SVID]: Likewise.
24903         [__USE_BSD]: Likewise.
24904         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24905         * io/fcntl.h [__USE_BSD]: Likewise.
24906         * io/ftw.h [__USE_BSD]: Likewise.
24907         * io/sys/stat.h [__USE_BSD]: Likewise.
24908         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24909         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24910         * libio/stdio.h [__USE_SVID]: Likewise.
24911         [__USE_BSD]: Likewise.
24912         * math/math.h [__USE_SVID]: Likewise.
24913         [__USE_BSD]: Likewise.
24914         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24915         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24916         * misc/search.h [__USE_SVID]: Likewise.
24917         * misc/sys/mman.h [__USE_BSD]: Likewise.
24918         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24919         * misc/sys/uio.h [__USE_BSD]: Likewise.
24920         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24921         * posix/glob.h [__USE_BSD]: Likewise.
24922         * posix/regex.h [__USE_BSD]: Likewise.
24923         * posix/sys/types.h [__USE_BSD]: Likewise.
24924         [__USE_SVID]: Likewise.
24925         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24926         * posix/sys/wait.h [__USE_BSD]: Likewise.
24927         [__USE_SVID]: Likewise.
24928         * posix/unistd.h [__USE_BSD]: Likewise.
24929         [__USE_SVID]: Likewise.
24930         * pwd/pwd.h [__USE_SVID]: Likewise.
24931         * resolv/netdb.h [__USE_BSD]: Likewise.
24932         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24933         * signal/signal.h [__USE_BSD]: Likewise.
24934         [__USE_SVID]: Likewise.
24935         * socket/sys/socket.h [__USE_BSD]: Likewise.
24936         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24937         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24938         [__USE_SVID]: Likewise.
24939         * string/bits/string2.h [__USE_BSD]: Likewise.
24940         [__USE_SVID]: Likewise.
24941         * string/bits/string3.h [__USE_BSD]: Likewise.
24942         * string/endian.h [__USE_BSD]: Likewise.
24943         * string/string.h [__USE_SVID]: Likewise.
24944         [__USE_BSD]: Likewise.
24945         * string/strings.h [__USE_BSD]: Likewise.
24946         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24947         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24948         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24949         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24950         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24951         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24952         Likewise.
24953         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24954         Likewise.
24955         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24956         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24957         Likewise.
24958         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24959         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24960         Likewise.
24961         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24962         Likewise.
24963         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24964         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24965         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24966         Likewise.
24967         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24968         Likewise.
24969         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24970         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24971         * termios/termios.h [__USE_BSD]: Likewise.
24972         * time/sys/time.h [__USE_BSD]: Likewise.
24973         * time/time.h [__USE_BSD]: Likewise.
24974         [__USE_SVID]: Likewise.
24976         * Makefile (subdir_targets): Remove subdir_lint.out.
24978         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24979         (do-tst-printf): Likewise.
24980         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24981         $(objpfx)tst-printf.out.
24983         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24985         * Makerules (check-abi-%): Change target to
24986         $(objpfx)check-abi-%.out.
24987         (check-abi target): Update dependencies.
24988         (check-abi-pattern variable): Redirect output of diff to $@.
24989         (check-abi variable): Likewise.
24990         * elf/Makefile (check-abi): Update dependencies.
24992         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24993         unused.
24994         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24995         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24996         subnormal range.
24997         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24998         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24999         value has largest subnormal exponent.
25000         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25001         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25002         * sysdeps/aarch64/soft-fp/sfp-machine.h
25003         (_FP_TININESS_AFTER_ROUNDING): New macro.
25004         * sysdeps/alpha/soft-fp/sfp-machine.h
25005         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25006         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25007         Likewise.
25008         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25009         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25010         * sysdeps/mips/soft-fp/sfp-machine.h
25011         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25012         * sysdeps/powerpc/soft-fp/sfp-machine.h
25013         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25014         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25015         Likewise.
25016         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25017         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25018         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25019         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25020         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25021         Likewise.
25023 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25025         [BZ #16545]
25026         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25027         model 1.
25029 2014-02-12  Richard Henderson  <rth@redhat.com>
25031         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25032         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25033         * sysdeps/unix/sysv/linux/alpha: Move directory from
25034         ports/sysdeps/unix/sysv/linux/alpha.
25035         * README: Update listing for alpha-*-linux-gnu.
25037 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25039         * include/features.h: Update comment documenting feature test
25040         macros.
25041         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25042         _DEFAULT_SOURCE.
25043         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25044         (_SVID_SOURCE): Likewise.
25045         (_DEFAULT_SOURCE): Update description of default features.
25046         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25047         with _GNU_SOURCE.
25048         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25049         (S_ISVTX): Likewise.
25050         * manual/math.texi (Mathematical Constants): Likewise.
25051         * manual/signal.texi (Interrupted Primitives): Likewise.
25052         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25053         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25054         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25055         Don't refer to _SVID_SOURCE in warning text.
25057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25059         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25060         already defined.
25061         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25062         * sysdeps/mips/dl-lookup.c: Remove.
25063         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25065 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25067         [BZ #16447]
25068         * math/auto-libm-test-in: Add testcase for expl.
25069         * math/auto-libm-test-out: Regenerate.
25070         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25071         calculation of unsafe.
25072         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25074 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25076         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25077         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25078         ports/sysdeps/unix/sysv/linux/aarch64.
25079         * README: Update listing for aarch64*-*-linux-gnu.
25081 2014-02-11  Will Newton  <will.newton@linaro.org>
25083         * manual/probes.texi (Mathematical Function Probes): Use
25084         "triggered" instead of "hit".
25086         * manual/probes.texi (Internal Probes): Add documentation
25087         of setjmp, longjmp and longjmp_target probes.
25089         * include/stap-probe.h: Add comment about probe argument
25090         format.
25092         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25093         definition.  (tr_where, tr_freehook, tr_mallochook,
25094         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25096 2014-02-11  David S. Miller  <davem@davemloft.net>
25098         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25099         processing int_tests.
25101 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25103         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25104         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25105         * sysdeps/unix/sysv/linux/mips: Move directory from
25106         ports/sysdeps/unix/sysv/linux/mips.
25107         * README: Update listing for mips-*-linux-gnu and
25108         mips64-*-linux-gnu.
25110 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25112         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25113         * sysdeps/unix/sysv/linux/m68k: Move directory from
25114         ports/sysdeps/unix/sysv/linux/m68k.
25115         * README: Update listing for m68k-*-linux-gnu.
25117 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25119         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25120         * sysdeps/unix/sysv/linux/generic: Move directory from
25121         ports/sysdeps/unix/sysv/linux/generic.
25122         * sysdeps/unix/sysv/linux/tile: Move directory from
25123         ports/sysdeps/unix/sysv/linux/tile.
25124         * README: Update listing for tile*-*-linux-gnu.
25126 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25128         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25129         __builtin_expect.
25130         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25131         * catgets/open_catalog.c (__open_catalog): Likewise.
25132         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25133         * debug/confstr_chk.c: Likewise.
25134         * debug/fread_chk.c (__fread_chk): Likewise.
25135         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25136         * debug/getgroups_chk.c: Likewise.
25137         * debug/mbsnrtowcs_chk.c: Likewise.
25138         * debug/mbsrtowcs_chk.c: Likewise.
25139         * debug/mbstowcs_chk.c: Likewise.
25140         * debug/memcpy_chk.c: Likewise.
25141         * debug/memmove_chk.c: Likewise.
25142         * debug/mempcpy_chk.c: Likewise.
25143         * debug/memset_chk.c: Likewise.
25144         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25145         * debug/strcat_chk.c (__strcat_chk): Likewise.
25146         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25147         * debug/strncat_chk.c (__strncat_chk): Likewise.
25148         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25149         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25150         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25151         * debug/wcpncpy_chk.c: Likewise.
25152         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25153         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25154         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25155         * debug/wcsncpy_chk.c: Likewise.
25156         * debug/wcsnrtombs_chk.c: Likewise.
25157         * debug/wcsrtombs_chk.c: Likewise.
25158         * debug/wcstombs_chk.c: Likewise.
25159         * debug/wmemcpy_chk.c: Likewise.
25160         * debug/wmemmove_chk.c: Likewise.
25161         * debug/wmempcpy_chk.c: Likewise.
25162         * debug/wmemset_chk.c: Likewise.
25163         * dirent/scandirat.c (SCANDIRAT): Likewise.
25164         * dlfcn/dladdr1.c (dladdr1): Likewise.
25165         * dlfcn/dladdr.c (dladdr): Likewise.
25166         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25167         * dlfcn/dlerror.c (__dlerror): Likewise.
25168         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25169         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25170         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25171         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25172         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25173         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25174         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25175         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25176         Likewise.
25177         * elf/dl-conflict.c: Likewise.
25178         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25179         * elf/dl-dst.h: Likewise.
25180         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25181         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25182         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25183         * elf/dl-init.c (call_init, _dl_init): Likewise.
25184         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25185         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25186         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25187         Likewise.
25188         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25189         Likewise.
25190         * elf/dl-minimal.c (__libc_memalign): Likewise.
25191         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25192         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25193         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25194         * elf/dl-sym.c (do_sym): Likewise.
25195         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25196         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25197         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25198         * elf/dl-writev.h (_dl_writev): Likewise.
25199         * elf/ldconfig.c (search_dir): Likewise.
25200         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25201         (dl_main): Likewise.
25202         * elf/setup-vdso.h (setup_vdso): Likewise.
25203         * grp/compat-initgroups.c (compat_call): Likewise.
25204         * grp/fgetgrent.c (fgetgrent): Likewise.
25205         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25206         * grp/putgrent.c (putgrent): Likewise.
25207         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25208         Likewise.
25209         * hurd/hurdinit.c: Likewise.
25210         * iconvdata/8bit-gap.c (struct): Likewise.
25211         * iconvdata/ansi_x3.110.c : Likewise.
25212         * iconvdata/big5.c : Likewise.
25213         * iconvdata/big5hkscs.c : Likewise.
25214         * iconvdata/cp1255.c: Likewise.
25215         * iconvdata/cp1258.c : Likewise.
25216         * iconvdata/cp932.c : Likewise.
25217         * iconvdata/euc-cn.c: Likewise.
25218         * iconvdata/euc-jisx0213.c : Likewise.
25219         * iconvdata/euc-jp.c: Likewise.
25220         * iconvdata/euc-jp-ms.c : Likewise.
25221         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25222         * iconvdata/gb18030.c : Likewise.
25223         * iconvdata/gbbig5.c (const): Likewise.
25224         * iconvdata/gbgbk.c: Likewise.
25225         * iconvdata/gbk.c : Likewise.
25226         * iconvdata/ibm1364.c : Likewise.
25227         * iconvdata/ibm930.c : Likewise.
25228         * iconvdata/ibm932.c: Likewise.
25229         * iconvdata/ibm933.c : Likewise.
25230         * iconvdata/ibm935.c : Likewise.
25231         * iconvdata/ibm937.c : Likewise.
25232         * iconvdata/ibm939.c : Likewise.
25233         * iconvdata/ibm943.c: Likewise.
25234         * iconvdata/iso_11548-1.c: Likewise.
25235         * iconvdata/iso-2022-cn.c : Likewise.
25236         * iconvdata/iso-2022-cn-ext.c : Likewise.
25237         * iconvdata/iso-2022-jp-3.c: Likewise.
25238         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25239         * iconvdata/iso-2022-kr.c : Likewise.
25240         * iconvdata/iso646.c (gconv_end): Likewise.
25241         * iconvdata/iso_6937-2.c : Likewise.
25242         * iconvdata/iso_6937.c : Likewise.
25243         * iconvdata/iso8859-1.c: Likewise.
25244         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25245         * iconvdata/shift_jisx0213.c : Likewise.
25246         * iconvdata/sjis.c : Likewise.
25247         * iconvdata/t.61.c : Likewise.
25248         * iconvdata/tcvn5712-1.c : Likewise.
25249         * iconvdata/tscii.c: Likewise.
25250         * iconvdata/uhc.c : Likewise.
25251         * iconvdata/unicode.c (gconv_end): Likewise.
25252         * iconvdata/utf-16.c (gconv_end): Likewise.
25253         * iconvdata/utf-32.c (gconv_end): Likewise.
25254         * iconvdata/utf-7.c (base64): Likewise.
25255         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25256         * iconv/gconv_close.c (__gconv_close): Likewise.
25257         * iconv/gconv_open.c (__gconv_open): Likewise.
25258         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25259         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25260         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25261         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25262         (ucs4le_internal_loop_single): Likewise.
25263         * iconv/iconv.c (iconv): Likewise.
25264         * iconv/iconv_close.c: Likewise.
25265         * iconv/loop.c (SINGLE): Likewise.
25266         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25267         * include/atomic.h: Likewise.
25268         * inet/inet6_option.c (option_alloc): Likewise.
25269         * intl/bindtextdom.c (set_binding_values): Likewise.
25270         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25271         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25272         * intl/localealias.c (read_alias_file): Likewise.
25273         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25274         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25275         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25276         * libio/fmemopen.c (fmemopen): Likewise.
25277         * libio/iofgets.c (_IO_fgets): Likewise.
25278         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25279         * libio/iofgetws.c (fgetws): Likewise.
25280         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25281         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25282         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25283         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25284         * locale/findlocale.c (_nl_find_locale): Likewise.
25285         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25286         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25287         Likewise.
25288         * locale/setlocale.c (setlocale): Likewise.
25289         * login/programs/pt_chown.c (main): Likewise.
25290         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25291         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25292         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25293         (mmap, mmap64, mremap, munmap): Likewise.
25294         * math/e_exp2l.c: Likewise.
25295         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25296         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25297         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25298         * math/s_catan.c (__catan): Likewise.
25299         * math/s_catanf.c (__catanf): Likewise.
25300         * math/s_catanh.c (__catanh): Likewise.
25301         * math/s_catanhf.c (__catanhf): Likewise.
25302         * math/s_catanhl.c (__catanhl): Likewise.
25303         * math/s_catanl.c (__catanl): Likewise.
25304         * math/s_ccosh.c (__ccosh): Likewise.
25305         * math/s_ccoshf.c (__ccoshf): Likewise.
25306         * math/s_ccoshl.c (__ccoshl): Likewise.
25307         * math/s_cexp.c (__cexp): Likewise.
25308         * math/s_cexpf.c (__cexpf): Likewise.
25309         * math/s_cexpl.c (__cexpl): Likewise.
25310         * math/s_clog10.c (__clog10): Likewise.
25311         * math/s_clog10f.c (__clog10f): Likewise.
25312         * math/s_clog10l.c (__clog10l): Likewise.
25313         * math/s_clog.c (__clog): Likewise.
25314         * math/s_clogf.c (__clogf): Likewise.
25315         * math/s_clogl.c (__clogl): Likewise.
25316         * math/s_csin.c (__csin): Likewise.
25317         * math/s_csinf.c (__csinf): Likewise.
25318         * math/s_csinh.c (__csinh): Likewise.
25319         * math/s_csinhf.c (__csinhf): Likewise.
25320         * math/s_csinhl.c (__csinhl): Likewise.
25321         * math/s_csinl.c (__csinl): Likewise.
25322         * math/s_csqrt.c (__csqrt): Likewise.
25323         * math/s_csqrtf.c (__csqrtf): Likewise.
25324         * math/s_csqrtl.c (__csqrtl): Likewise.
25325         * math/s_ctan.c (__ctan): Likewise.
25326         * math/s_ctanf.c (__ctanf): Likewise.
25327         * math/s_ctanh.c (__ctanh): Likewise.
25328         * math/s_ctanhf.c (__ctanhf): Likewise.
25329         * math/s_ctanhl.c (__ctanhl): Likewise.
25330         * math/s_ctanl.c (__ctanl): Likewise.
25331         * math/w_pow.c: Likewise.
25332         * math/w_powf.c: Likewise.
25333         * math/w_powl.c: Likewise.
25334         * math/w_scalb.c (sysv_scalb): Likewise.
25335         * math/w_scalbf.c (sysv_scalbf): Likewise.
25336         * math/w_scalbl.c (sysv_scalbl): Likewise.
25337         * misc/error.c (error_tail): Likewise.
25338         * misc/pselect.c (__pselect): Likewise.
25339         * nis/nis_callback.c (__nis_create_callback): Likewise.
25340         * nis/nis_call.c (__nisfind_server): Likewise.
25341         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25342         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25343         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25344         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25345         * nis/nis_lookup.c (nis_lookup): Likewise.
25346         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25347         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25348         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25349         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25350         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25351         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25352         * nis/nss_compat/compat-initgroups.c (add_group)
25353         (internal_getgrent_r): Likewise.
25354         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25355         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25356         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25357         (internal_getspnam_r): Likewise.
25358         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25359         (_nss_nis_getaliasbyname_r): Likewise.
25360         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25361         (_nss_nis_getntohost_r): Likewise.
25362         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25363         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25364         (_nss_nis_getgrgid_r): Likewise.
25365         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25366         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25367         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25368         (_nss_nis_gethostbyname4_r): Likewise.
25369         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25370         (initgroups_netid): Likewise.
25371         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25372         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25373         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25374         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25375         (_nss_nis_getprotobynumber_r): Likewise.
25376         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25377         (_nss_nis_getsecretkey): Likewise.
25378         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25379         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25380         (_nss_nis_getpwuid_r): Likewise.
25381         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25382         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25383         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25384         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25385         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25386         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25387         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25388         Likewise.
25389         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25390         (_nss_nisplus_getntohost_r): Likewise.
25391         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25392         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25393         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25394         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25395         Likewise.
25396         * nis/nss_nisplus/nisplus-initgroups.c
25397         (_nss_nisplus_initgroups_dyn): Likewise.
25398         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25399         (_nss_nisplus_getnetbyaddr_r): Likewise.
25400         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25401         (_nss_nisplus_getprotobynumber_r): Likewise.
25402         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25403         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25404         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25405         Likewise.
25406         * nis/nss_nisplus/nisplus-service.c
25407         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25408         (_nss_nisplus_getservbyport_r): Likewise.
25409         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25410         (_nss_nisplus_getspnam_r): Likewise.
25411         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25412         Likewise.
25413         * nscd/aicache.c (addhstaiX): Likewise.
25414         * nscd/cache.c (cache_search, prune_cache): Likewise.
25415         * nscd/connections.c (register_traced_file, send_ro_fd)
25416         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25417         (main_loop_epoll): Likewise.
25418         * nscd/grpcache.c (addgrbyX): Likewise.
25419         * nscd/hstcache.c (addhstbyX): Likewise.
25420         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25421         * nscd/mem.c (gc, mempool_alloc): Likewise.
25422         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25423         (addinnetgrX): Likewise.
25424         * nscd/nscd-client.h (__nscd_acquire_maplock)
25425         (__nscd_drop_map_ref): Likewise.
25426         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25427         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25428         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25429         Likewise.
25430         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25431         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25432         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25433         (__nscd_get_map_ref): Likewise.
25434         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25435         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25436         Likewise.
25437         * nscd/pwdcache.c (addpwbyX): Likewise.
25438         * nscd/selinux.c (preserve_capabilities): Likewise.
25439         * nscd/servicescache.c (addservbyX): Likewise.
25440         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25441         * posix/fnmatch.c (fnmatch): Likewise.
25442         * posix/getopt.c (_getopt_internal_r): Likewise.
25443         * posix/glob.c (glob, glob_in_dir): Likewise.
25444         * posix/wordexp.c (exec_comm_child): Likewise.
25445         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25446         (getanswer_r, gaih_getanswer_slice): Likewise.
25447         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25448         * resolv/res_init.c: Likewise.
25449         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25450         * resolv/res_query.c (__libc_res_nquery): Likewise.
25451         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25452         Likewise.
25453         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25454         * stdio-common/perror.c (perror): Likewise.
25455         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25456         * stdio-common/tmpnam.c (tmpnam): Likewise.
25457         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25458         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25459         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25460         Likewise.
25461         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25462         * stdlib/putenv.c (putenv): Likewise.
25463         * stdlib/setenv.c (__add_to_environ): Likewise.
25464         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25465         * stdlib/strtol_l.c (INTERNAL): Likewise.
25466         * string/memmem.c (memmem): Likewise.
25467         * string/strerror.c (strerror): Likewise.
25468         * string/strnlen.c (__strnlen): Likewise.
25469         * string/test-memmem.c (simple_memmem): Likewise.
25470         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25471         * sunrpc/pm_getport.c (__get_socket): Likewise.
25472         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25473         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25474         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25475         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25476         Likewise.
25477         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25478         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25479         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25480         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25481         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25482         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25483         Likewise.
25484         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25485         Likewise.
25486         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25487         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25488         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25489         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25490         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25491         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25492         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25493         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25494         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25495         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25496         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25497         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25498         Likewise.
25499         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25500         Likewise.
25501         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25502         Likewise.
25503         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25504         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25505         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25506         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25507         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25508         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25509         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25510         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25511         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25512         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25513         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25514         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25515         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25516         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25517         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25518         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25519         Likewise.
25520         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25521         Likewise.
25522         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25523         Likewise.
25524         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25525         Likewise.
25526         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25527         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25528         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25529         Likewise.
25530         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25531         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25532         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25533         * sysdeps/posix/sleep.c: Likewise.
25534         * sysdeps/posix/tempname.c: Likewise.
25535         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25536         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25537         Likewise.
25538         * sysdeps/powerpc/powerpc32/dl-machine.h
25539         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25540         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25541         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25542         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25543         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25544         Likewise.
25545         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25546         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25547         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25548         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25549         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25550         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25551         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25552         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25553         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25554         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25555         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25556         (elf_machine_lazy_rel): Likewise.
25557         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25558         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25559         (elf_machine_lazy_rel): Likewise.
25560         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25561         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25562         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25563         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25564         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25565         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25566         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25567         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25568         Likewise.
25569         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25570         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25571         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25572         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25573         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25574         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25575         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25576         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25577         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25578         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25579         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25580         Likewise.
25581         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25582         (__posix_fallocate64_l64): Likewise.
25583         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25584         (posix_fallocate): Likewise.
25585         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25586         Likewise.
25587         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25588         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25589         (getifaddrs_internal): Likewise.
25590         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25591         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25592         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25593         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25594         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25595         (__posix_fallocate64_l64): Likewise.
25596         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25597         Likewise.
25598         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25599         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25600         (__get_clockfreq): Likewise.
25601         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25602         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25603         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25604         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25605         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25606         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25607         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25608         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25609         Likewise.
25610         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25611         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25612         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25613         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25614         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25615         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25616         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25617         Likewise.
25618         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25619         (posix_fallocate): Likewise.
25620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25621         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25622         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25623         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25624         (elf_machine_rela, elf_machine_rela_relative)
25625         (elf_machine_lazy_rel): Likewise.
25626         * time/asctime.c (asctime_internal): Likewise.
25627         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25628         * time/tzset.c (__tzset_parse_tz): Likewise.
25629         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25630         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25631         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25632         * wcsmbs/wcsmbsload.h: Likewise.
25634         [BZ #15894]
25635         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25637         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25638         (arena_get2): Remove THREAD_STATS conditionals.
25639         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25640         (__malloc_stats, int): Likewise.
25642 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25644         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25645         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25647         * manual/setjmp.texi: Fix typos/grammar errors.
25649         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25650         Only return early when n is <= 0.  Delete unused return statement.
25652         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25653         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25654         * debug/tst-longjmp_chk3.c: New file.
25656         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25657         (test_main): Replace code with set_fortify_handler call.
25658         * debug/test-strcpy_chk.c: Likewise.
25659         * debug/tst-chk1.c: Likewise.
25660         * debug/tst-longjmp_chk.c: Likewise.
25661         * test-skeleton.c: Include fcntl.h & paths.h
25662         (set_fortify_handler): Define.
25664         * debug/tst-longjmp_chk.c: Add header comment and include
25665         ../test-skeleton.c.
25666         (do_test): Mark static.
25667         (TEST_FUNCTION): Define.
25669         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25670         (IP_PMTUDISC_INTERFACE): Likewise.
25671         (IP_MULTICAST_IF): Likewise.
25672         (IP_MULTICAST_TTL): Likewise.
25673         (IP_MULTICAST_LOOP): Likewise.
25674         (IP_ADD_MEMBERSHIP): Likewise.
25675         (IP_DROP_MEMBERSHIP): Likewise.
25676         (IP_UNBLOCK_SOURCE): Likewise.
25677         (IP_BLOCK_SOURCE): Likewise.
25678         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25679         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25680         (IP_MSFILTER): Likewise.
25681         (MCAST_JOIN_GROUP): Likewise.
25682         (MCAST_BLOCK_SOURCE): Likewise.
25683         (MCAST_UNBLOCK_SOURCE): Likewise.
25684         (MCAST_LEAVE_GROUP): Likewise.
25685         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25686         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25687         (MCAST_MSFILTER): Likewise.
25688         (IP_MULTICAST_ALL): Likewise.
25689         (IP_UNICAST_IF): Likewise.
25691         * timezone/Makefile: Delete $(have-ksh) check.
25692         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25693         * timezone/tzselect.ksh: Add +x mode bits.
25695         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25696         (ANON_INODE_FS_MAGIC): Likewise.
25697         (BDEVFS_MAGIC): Likewise.
25698         (BINFMTFS_MAGIC): Likewise.
25699         (BTRFS_TEST_MAGIC): Likewise.
25700         (CRAMFS_MAGIC_WEND): Likewise.
25701         (DEBUGFS_MAGIC): Likewise.
25702         (ECRYPTFS_SUPER_MAGIC): Likewise.
25703         (EXT3_SUPER_MAGIC): Likewise.
25704         (EXT4_SUPER_MAGIC): Likewise.
25705         (FUTEXFS_SUPER_MAGIC): Likewise.
25706         (HOSTFS_SUPER_MAGIC): Likewise.
25707         (HUGETLBFS_MAGIC): Likewise.
25708         (MINIX3_SUPER_MAGIC): Likewise.
25709         (MTD_INODE_FS_MAGIC): Likewise.
25710         (NILFS_SUPER_MAGIC): Likewise.
25711         (OPENPROM_SUPER_MAGIC): Likewise.
25712         (PIPEFS_MAGIC): Likewise.
25713         (PSTOREFS_MAGIC): Likewise.
25714         (QNX6_SUPER_MAGIC): Likewise.
25715         (RAMFS_MAGIC): Likewise.
25716         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25717         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25718         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25719         (SECURITYFS_MAGIC): Likewise.
25720         (SELINUX_MAGIC): Likewise.
25721         (SMACK_MAGIC): Likewise.
25722         (SOCKFS_MAGIC): Likewise.
25723         (SQUASHFS_MAGIC): Likewise.
25724         (STACK_END_MAGIC): Likewise.
25725         (TMPFS_MAGIC): Likewise.
25726         (USBDEVICE_SUPER_MAGIC): Likewise.
25727         (V9FS_MAGIC): Likewise.
25728         (XENFS_SUPER_MAGIC): Likewise.
25729         (CRAMFS_MAGIC): Fix typo in comment.
25730         (EXT2_SUPER_MAGIC): Update comment.
25731         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25733 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25735         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25736         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25737         * sysdeps/unix/sysv/linux/arm: Move directory from
25738         ports/sysdeps/unix/sysv/linux/arm.
25739         * README: Update listing for arm-*-linux-gnueabi.
25741         * README: Remove mention of am33.
25743 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25745         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25746         than the comma operator, to avoid "rhs of comma has no effect"
25747         compiler warnings.
25748         (__sigfillset, __sigandset, __sigorset): Likewise.
25749         * include/signal.h (__sigemptyset): Likewise.
25750         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25752 2014-02-07  Allan McRae  <allan@archlinux.org>
25754         * version.h (RELEASE): Set to "development".
25755         (VERSION): Set to "2.19.90"
25756         * NEWS: Add 2.20 section.
25758 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25760         [BZ #16529]
25761         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25763 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25765         * manual/contrib.texi: Update entry for Carlos O'Donell,
25766         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25768 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25770         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25772         * sysdeps/unix/sysv/linux/kernel-features.h
25773         [__LINUX_KERNEL_VERSION >= 0x020621]
25774         (__ASSUME_PROC_PID_TASK_COMM): Define.
25776 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25778         [BZ #16398]
25779         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25780         conversion when destination buffer does not have enough space.
25781         * libio/tst-ftell-partial-wide.c: New test case.
25782         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25784         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25785         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25786         Leonard and Allan McRae.
25788 2014-02-04  David S. Miller  <davem@davemloft.net>
25790         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25791         32-bit.
25793 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25796         New file
25797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25798         New file
25799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25800         New file.
25801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25802         New file.
25803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25804         New file.
25805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25806         New file.
25807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25808         New file.
25809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25810         New file.
25811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25812         New file.
25813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25814         New file.
25815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25816         New file.
25817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25818         New file.
25819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25820         New file.
25822 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25824         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25825         * shlib-versions: Likewise.
25827 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25828             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25830         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25831         (abilist-pattern): New variable, set to %-le.abilist.
25833         * Makerules (abilist-pattern): New variable.
25834         (vpath): Use $(abilist-pattern) in place of %.abilist.
25835         (check-abi-% pattern rule): Likewise.
25836         (check-abi, update-abi): Likewise.
25838 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25842 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25844         * manual/startup.texi: Add next, previous, and top entries for
25845         the `Program Arguments' and `Environment Variables' nodes.
25847 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25849         * manual/macros.texi: Add comments before MTASC-safety macros.
25851         * manual/users.texi: Document MTASC-safety properties.
25853         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25854         (pthread_getspecific, pthread_setspecific): Format with
25855         @deftypefun, and add @safety note.
25856         * manual/signal.texi: Move comments that analyze the above
25857         functions to their home place.
25859 2014-02-03  Allan McRae  <allan@archlinux.org>
25861         * po/sl.po: Update Slovenian translation from translation project.
25863 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25865         * manual/time.texi (timegm): Add missing blank after @c.
25866         Reported by Joseph Myers <joseph@codesourcery.com>.
25868 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25870         * manual/check-safety.sh: New.
25871         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25873         * manual/terminal.texi: Document MTASC-safety properties.
25875         * manual/filesys.texi: Document MTASC-safety properties.
25877         * manual/errno.texi: Document MTASC-safety properties.
25879         * manual/intro.texi: Document safety identifiers and
25880         conditionals.
25882         * manual/string.texi (wcstok): Fix prototype.
25883         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25885         * manual/time.texi: Document MTASC-safety properties.
25887         * manual/string.texi: Document MTASC-safety properties.
25889         * manual/threads.texi: Document MTASC-safety properties.
25891         * manual/stdio.texi: Document MTASC-safety properties.
25893         * manual/syslog.texi: Document MTASC-safety properties.
25895         * manual/sysinfo.texi: Document MTASC-safety properties.
25897         * manual/startup.texi: Document MTASC-safety properties.
25899         * manual/socket.texi: Document MTASC-safety properties.
25901         * manual/signal.texi: Document MTASC-safety properties.
25903 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25905         * manual/setjmp.texi: Document MTASC-safety properties.
25907         * manual/search.texi: Document MTASC-safety properties.
25909         * manual/resource.texi: Document MTASC-safety properties.
25911         * manual/process.texi: Document MTASC-safety properties.
25913         * manual/platform.texi: Document MTASC-safety properties.
25915         * manual/pipe.texi: Document MTASC-safety properties.
25917         * manual/pattern.texi: Document MTASC-safety properties.
25919         * manual/message.texi: Document MTASC-safety properties.
25921         [BZ #12751]
25922         * manual/memory.texi: Document MTASC-safety properties.
25924         * manual/math.texi: Document MTASC-safety properties.
25926         * manual/locale.texi: Document MTASC-safety properties.
25928         * manual/llio.texi: Document MTASC-safety properties.
25930         * manual/libdl.texi: New.
25932         * manual/lang.texi: Document MTASC-safety properties.
25934         * manual/job.texi: Document MTASC-safety properties.
25936         * manual/getopt.texi: Document MTASC-safety properties.
25938         * manual/ctype.texi: Document MTASC-safety properties.
25940 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25942         [BZ #16046]
25943         * csu/libc-tls.c (static_map): Remove variable.
25944         (__libc_setup_tls): Use main executable's link map for TLS data.
25945         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25946         casing for LM_ID_BASE and GL(dl_nns).
25947         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25948         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25949         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25950         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25951         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25952         member.
25953         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25954         l_phnum members.
25956 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25958         * manual/debug.texi: Document MTASC-safety properties.
25960 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25962         [BZ #16510]
25963         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25964         of __x86_64__ when disabling x87 inline functions.
25966 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25968         * manual/charset.texi: Document MTASC-safety properties.
25970         * manual/crypt.texi: Document MTASC-safety properties.
25972         * manual/conf.texi: Document MTASC-safety properties.
25974         * manual/arith.texi: Document MTASC-safety properties.
25976         * manual/argp.texi: Document MTASC-safety properties.
25978         * manual/macros.texi: Introduce macros to document multi
25979         thread, asynchronous signal and asynchronous cancellation
25980         safety properties.
25981         * manual/intro.texi: Introduce the properties themselves.
25983 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25985         * sysdeps/sh/sh4/Makefile: New file.
25987 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25989         * math/gen-libm-test.pl ($srcdir): New variable.
25990         ($auto_input): Use it.
25992 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25994         [BZ #16506]
25995         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25996         access beyond array bounds when parsing netgroups file.
25998         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25999         the old buffer before realloc.
26001 2014-01-27  Allan McRae  <allan@archlinux.org>
26003         * po/fr.po: Update French translation from translation project.
26005 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26007         * sysdeps/sh/libm-test-ulps: Regenerate.
26009 2014-01-24  David S. Miller  <davem@davemloft.net>
26011         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26013 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26015         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26016         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26018 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26020         [BZ #16474]
26021         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26022         string pointers after reallocation.
26024 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26026         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26027         __SH4A__ instead of __SH_FPU_ANY__.
26029 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26031         * sysdeps/sh/fpu_control.h: New file.
26032         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26033         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26034         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26035         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26036         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26037         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26038         * sysdeps/sh/sys/ucontext.h: Remove.
26039         * sysdeps/sh/sys: Remove directory.
26041 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26043         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26044         s390/sys/ucontext.h.
26045         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26046         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26048 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26050         [BZ #15605]
26051         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26053 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26055         [BZ#16431]
26056         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26057         Adjust the vDSO correctly for internal calls.
26058         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26060 2014-01-20  Allan McRae  <allan@archlinux.org>
26062         * po/ca.po: Update Catalan translation from translation project.
26064 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26066         * sysdeps/s390/sotruss-lib.c: New file.
26068 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26070         [BZ#16430]
26071         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26072         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26073         local calls issues by not having a PLT stub required for IFUNC calls.
26074         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26076 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26078         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26079         * math/test-fpucw-static.c: Likewise.
26081 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26083         [BZ #16453]
26084         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26086 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26088         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26089         implementation for powerpc.
26091 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26093         [BZ #14782]
26094         * sysdeps/posix/system.c (__libc_system): Do not enable
26095         asynchronous cancellation.
26097 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26099         [BZ #16427]
26100         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26101         handling only for numbers special also in the IEEE case.
26103 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26105         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26107 2014-01-11  Allan McRae  <allan@archlinux.org>
26109         * po/bg.po: Update Bulgarian translation from translation project.
26111         * po/de.po: Update German translation from translation project.
26113 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26115         * sysdeps/generic/gcc-compat.h: New file.
26117 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26119         * benchtests/asin-inputs: Correct slow inputs.
26120         * benchtests/acos-inputs: Likewise.
26122 2014-01-10  Allan McRae  <allan@archlinux.org>
26124         * po:sv.po: Update Swedish translation from translation project.
26126         * po/vi.po: Update Vietnamese translation from translation project.
26128         * po/eo.po: Update Esperanto translation from translation project.
26130         * po/cs.po: Update Czech translation from translation project.
26132         * po/nl.po: Update Dutch translation from translation project.
26134         * po/pl.po: Update Polish translation from translation project.
26136         * po/ru.po: Update Russian translation from translation project.
26138         * po/uk.po: Update Ukrainian translation from translation project.
26140 2014-01-08  Brooks Moses  <bmoses@google.com>
26142         * elf/dl-load.c: Fix comment typo.
26144 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26146         * po/header.pot: Rename to...
26147         * po/pot.header: ... this.
26148         * po/Makefile: Use pot.header.
26150 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26151             Maxim Kuvyrkov  <maxim@kugelworks.com>
26153         [BZ #16394]
26154         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26155         SRC and DEST against LEN.
26157 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26159         [BZ #16414]
26160         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26161         implementation.
26162         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26164 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26168 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26170         [BZ #16408]
26171         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26172         for large positive arguments.
26174 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26176         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26178         * math/auto-libm-test-in: Mark various tests with
26179         xfail-rounding:ldbl-128ibm.
26180         * math/auto-libm-test-out: Regenerated.
26182         [BZ #16407]
26183         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26184         Increase overflow threshold.
26186 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26188         [BZ #14286]
26189         * stdio-common/vfprintf.c: Check for integer overflow.
26191 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26193         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26194         the first argument and return value of __tls_get_addr_internal.
26196 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26198         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26199         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26201 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26203         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26204         * sysdeps/s390/rtld-global-offsets.sym: New file.
26205         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26206         GLIBC_2.19 symbol.
26207         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26208         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26209         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26210         ... this.
26211         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26212         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26213         ... this.
26214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26215         Regenerate.
26216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26217         Regenerate.
26218         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26219         halfs of GPRs for high_gprs contexts.
26220         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26221         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26222         field.
26223         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26224         uc_flags field.
26225         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26226         64 bit versions:
26227         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26228         for high GPRs (uc_high_gprs) and for future extensions
26229         (__reserved).
26230         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26231         for future extensions (__reserved).
26232         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26233         64 bit versions:
26234         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26235         SC_HIGHGPRS offset definition.
26236         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26237         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26239         * Versions.def: Add GLIBC_2.19 for libpthread.
26240         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26241         siglongjmp for libpthread with GLIBC_2.19 symver.
26242         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26243         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26244         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26245         * sysdeps/s390/__longjmp.c: New file.
26246         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26247         * sysdeps/s390/longjmp.c: New file.
26248         * sysdeps/s390/setjmp.S: New file.
26249         * sysdeps/s390/sigjmp.S: New file.
26250         * sysdeps/s390/v1-longjmp.c: New file.
26251         * sysdeps/s390/v1-setjmp.h: New file.
26252         * sysdeps/s390/v1-sigjmp.c: New file.
26253         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26254         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26255         GLIBC_2.19 version.
26256         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26257         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26258         versioned symbols for ____longjmp_chk.
26259         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26260         Likewise.
26261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26262         Regenerate.
26263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26264         Regenerate.
26265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26266         Regenerate.
26267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26268         Regenerate.
26269         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26270         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26271         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26272         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26273         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26274         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26275         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26276         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26277         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26278         * sysdeps/s390/rtld-__longjmp.c: New file.
26279         * sysdeps/s390/rtld-setjmp.S: New file.
26281 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26283         [BZ #16400]
26284         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26285         Return -__logl (x) for small positive arguments without evaluating
26286         a polynomial.
26288 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26290         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26291         Rename to ...
26292         (__ptrace_peeksiginfo_args): ... this.
26293         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26294         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26295         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26297 2014-01-06  Allan McRae  <allan@archlinux.org>
26299         * inet/netinet/in.h: Fix typo in comment.
26301 2014-01-05  Andreas Jaeger  <aj@suse.de>
26303         * sysdeps/i386/fpu/libm-test-ulps: Update.
26305 2014-01-05  Allan McRae  <allan@archlinux.org>
26307         * po/libc.pot: Regenerated.
26309         * malloc/memusagestat.c: Fix gettext call formatting.
26311 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26313         * nscd/nscd.c: Improve usage() output.
26315 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26317         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26318         * sysdeps/unix/sysv/linux/configure: Regenerated.
26319         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26320         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26322 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26324         [BZ #16390]
26325         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26326         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26328 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26330         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26331         extra tokens at end of #undef directive.
26332         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26333         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26334         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26336 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26338         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26340         * math/auto-libm-test-in: Mark various tests with
26341         xfail-rounding:ldbl-128ibm.
26342         * math/auto-libm-test-out: Regenerated.
26344 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26346         [BZ #16386]
26347         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26348         numbers with subnormal high part when calculating exponent.
26350         [BZ #16385]
26351         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26352         fabs.
26354         [BZ #16384]
26355         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26356         M_LN2l.
26357         (__ieee754_acoshl): Use __log1pl not __log1p.
26359 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26361         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26362         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26363         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26364         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26365         (reused_arena, arena_get2): Convert to GNU style.
26366         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26367         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26368         (memalign_check, __malloc_set_state): Likewise.
26369         * malloc/mallocbug.c (main): Likewise.
26370         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26371         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26372         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26373         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26374         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26375         (__posix_memalign, malloc_info): Likewise.
26376         * malloc/malloc.h: Likewise.
26377         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26378         (mallochook, memalignhook, reallochook, mabort): Likewise.
26379         * malloc/mcheck.h: Likewise.
26380         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26381         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26382         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26383         * malloc/morecore.c (__default_morecore): Likewise.
26384         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26385         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26386         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26387         (print_and_abort): Likewise.
26388         * malloc/obstack.h: Likewise.
26389         * malloc/set-freeres.c (__libc_freeres): Likewise.
26390         * malloc/tst-mallocstate.c (main): Likewise.
26391         * malloc/tst-mtrace.c (main): Likewise.
26392         * malloc/tst-realloc.c (do_test): Likewise.
26394 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26396         [BZ #16366]
26397         * nscd/netgroupcache.c (do_notfound): New function.
26398         (addgetnetgrentX): Use it.
26400         [BZ # 16365]
26401         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26402         NSS_STATUS_NOTFOUND.
26404 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26406         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26409 2014-01-01  Allan McRae  <allan@archlinux.org>
26411         * scripts/update-copyrights: Update configure input file suffix.
26413         * NEWS: Update copyright year.
26414         * catgets/gencat.c: Likewise.
26415         * csu/version.c: Likewise.
26416         * debug/catchsegv.sh: Likewise.
26417         * debug/pcprofiledump.c: Likewise.
26418         * debug/xtrace.sh: Likewise.
26419         * elf/ldconfig.c: Likewise.
26420         * elf/ldd.bash.in: Likewise.
26421         * elf/pldd.c: Likewise.
26422         * elf/sotruss.ksh: Likewise.
26423         * elf/sprof.c: Likewise.
26424         * iconv/iconv_prog.c: Likewise.
26425         * iconv/iconvconfig.c: Likewise.
26426         * locale/programs/locale.c: Likewise.
26427         * locale/programs/localedef.c: Likewise.
26428         * login/programs/pt_chown.c: Likewise.
26429         * malloc/memusage.sh: Likewise.
26430         * malloc/memusagestat.c: Likewise.
26431         * malloc/mtrace.pl: Likewise.
26432         * manual/libc.texinfo: Likewise.
26433         * nscd/nscd.c: Likewise.
26434         * nss/getent.c: Likewise.
26435         * nss/makedb.c: Likewise.
26436         * posix/getconf.c: Likewise.
26437         * scripts/test-installation.pl: Likewise.
26439         * All files with FSF copyright notices: Update copyright dates
26440         using scripts/update-copyrights.
26441         * intl/plural.c: Regenerated.
26442         * locale/programs/charmap-kw.h: Likewise.
26443         * locale/programs/locfile-kw.h: Likewise.
26445 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26447         * sysdeps/unix/sysv/linux/configure: Regenerated.
26448         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26449         the linux/fanotify.h header.
26450         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26451         HAVE_LINUX_FANOTIFY_H is defined.
26453 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26455         * benchtests/cos-inputs: New inputs.
26456         * benchtests/sin-inputs: Likewise.
26458         * benchtests/atan-inputs: New inputs. Fix name of multiple
26459         precision fallback inputs.
26461         * benchtests/atanh-inputs: New inputs.
26462         * benchtests/tanh-inputs: Likewise.
26464         * benchtests/acosh-inputs: New inputs.
26465         * benchtests/asinh-inputs: Likewise.
26467         * benchtests/cosh-inputs: New inputs.
26468         * benchtests/sinh-inputs: Likewise.
26470         * benchtests/acos-inputs: Add more inputs.
26471         * benchtests/asin-inputs: Likewise.
26473 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26475         [BZ #16375]
26476         * manual/arith.texi: Fix spelling.
26477         * manual/charset.texi: Likewise.
26478         * manual/errno.texi: Likewise.
26479         * manual/filesys.texi: Likewise.
26480         * manual/lang.texi: Likewise.
26481         * manual/llio.texi: Likewise.
26482         * manual/locale.texi: Likewise.
26483         * manual/message.texi: Likewise.
26484         * manual/resource.texi: Likewise.
26485         * manual/search.texi: Likewise.
26486         * manual/setjmp.texi: Likewise.
26487         * manual/stdio.texi: Likewise.
26488         * manual/string.texi: Likewise.
26489         * manual/sysinfo.texi: Likewise.
26490         * manual/time.texi: Likewise.
26492 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26494         * po/sl.po: New file.
26496 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26498         * .gitignore: Add core/.gdbinit/.gdb_history.
26500 2013-12-27  Allan McRae  <allan@archlinux.org>
26502         [BZ #16369]
26503         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26504         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26506 2013-12-24  Brooks Moses  <bmoses@google.com>
26508         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26509         all compilers that claim C++98 compliance, not just GCC.
26510         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26511         Likewise.
26513 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26515         * NEWS: Restore accidentally deleted bug-fix entries.
26517 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26518             Ondřej Bílka  <neleai@seznam.cz>
26520         [BZ #15073]
26521         * malloc/malloc.c (_int_free): Perform sanity check only if we
26522         have_lock.
26524 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26526         [BZ #12986]
26527         * manual/stdio.texi (String Input Conversions): Clarify that character
26528         classes are not supported.
26530 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26534 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26536         [BZ #16337]
26537         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26538         Calculate results for small negative arguments directly rather
26539         than using reflection formula with special underflow handling.
26541         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26542         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26543         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26544         (fchflags): Likewise.
26545         (revoke): Likewise.
26546         (setlogin): Likewise.
26547         (sigaltstack): Likewise.
26548         (wait4): Likewise.
26549         (sigblock): Remove.
26550         (sigsetmask): Likewise.
26551         (wait3): Likewise.
26552         (waitpid): Likewise.
26553         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26554         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26555         file.
26556         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26557         * sysdeps/unix/bsd/Makefile: ... here.
26558         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26559         * sysdeps/unix/bsd/Versions: ... here.
26560         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26561         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26562         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26563         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26564         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26565         * sysdeps/unix/bsd/sigblock.c: ... here.
26566         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26567         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26568         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26569         * sysdeps/unix/bsd/sigvec.c: ... here.
26570         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26571         * sysdeps/unix/bsd/tcdrain.c: ... here.
26572         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26573         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26574         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26575         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26576         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26577         * sysdeps/unix/bsd/wait.c: ... here.
26578         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26579         * sysdeps/unix/bsd/wait3.c: ... here.
26580         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26581         * sysdeps/unix/bsd/waitpid.c: ... here.
26583 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26585         [BZ #16356]
26586         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26587         round-to-nearest for [!USE_AS_EXPM1L].
26588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26589         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26590         more tests of exp and exp10.  Expect some exp10 tests to miss
26591         exceptions or fail in directed rounding modes.
26592         * math/auto-libm-test-out: Regenerated.
26593         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26594         (exp10_test_tonearest): New function.
26595         (exp10_towardzero_test_data): New array.
26596         (exp10_test_towardzero): New function.
26597         (exp10_downward_test_data): New array.
26598         (exp10_test_downward): New function.
26599         (exp10_upward_test_data): New array.
26600         (exp10_test_upward): New function.
26601         (main): Call the new functions.
26602         * sysdeps/i386/fpu/libm-test-ulps: Update.
26603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26605 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26607         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26608         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26609         * math/auto-libm-test-out: Regenerated.
26610         * math/libm-test.inc (acosh_test_data): Add more tests.
26611         (atanh_test_data): Likewise.
26612         (ceil_test_data): Likewise.
26613         (copysign_test_data): Likewise.
26614         * sysdeps/i386/fpu/libm-test-ulps: Update.
26615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26617         * timezone/checktab.awk: Update from tzcode 2013i.
26618         * timezone/private.h: Likewise.
26619         * timezone/scheck.c: Likewise.
26620         * timezone/tzfile.h: Likewise.
26621         * timezone/tzselect.ksh: Likewise.
26622         * timezone/zdump.c: Likewise.
26623         * timezone/zic.c: Likewise.
26625         * math/auto-libm-test-in: Add tests of cpow.
26626         * math/auto-libm-test-out: Regenerated.
26627         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26628         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26629         mpc_cc_c.
26630         (func_calc_desc): Add mpc_cc_c union field.
26631         (test_functions): Add cpow.
26632         (special_fill_2pi): New function.
26633         (special_real_inputs): Add 2pi.
26634         (calc_generic_results): Handle mpc_cc_c.
26635         * sysdeps/i386/fpu/libm-test-ulps: Update.
26636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26638         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26639         csqrt, ctan and ctanh.
26640         * math/auto-libm-test-out: Regenerated.
26641         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26642         (TEST_COND_x86): Likewise.
26643         (ccos_test_data): Use AUTO_TESTS_c_c.
26644         (ccosh_test_data): Likewise.
26645         (cexp_test_data): Likewise.
26646         (clog_test_data): Likewise.
26647         (csqrt_test_data): Likewise.
26648         (ctan_test_data): Likewise.
26649         (ctan_tonearest_test_data): Likewise.
26650         (ctan_towardzero_test_data): Likewise.
26651         (ctan_downward_test_data): Likewise.
26652         (ctan_upward_test_data): Likewise.
26653         (ctanh_test_data): Likewise.
26654         (ctanh_tonearest_test_data): Likewise.
26655         (ctanh_towardzero_test_data): Likewise.
26656         (ctanh_downward_test_data): Likewise.
26657         (ctanh_upward_test_data): Likewise.
26658         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26659         mpc_c_c.
26660         (func_calc_desc): Add mpc_c_c union field.
26661         (FUNC_mpc_c_c): New macro.
26662         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26663         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26664         ctanh.
26665         (special_fill_min_subnorm_p120): New function.
26666         (special_real_inputs): Add min_subnorm_p120.
26667         (calc_generic_results): Handle mpc_c_c.
26668         * sysdeps/i386/fpu/libm-test-ulps: Update.
26669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26671 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26673         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26674         (do_sin_slow): New functions.
26675         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26676         (cslow2, csloww1, csloww2): Use the new functions.
26678         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26679         Use M to change sign of result instead of X.  Assume X is
26680         positive.
26681         (csloww1): Likewise.
26682         (__sin): Adjust.
26683         (__cos): Adjust.
26685         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26686         arguments A and DA.
26687         (__sin): Adjust.
26688         (__cos): Likewise.
26690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26691         (__cos): Likewise.
26692         (sloww1): Don't adjust sign of DX.
26693         (csloww1): Likewise.
26694         (sloww2): Use X directly and don't adjust sign of DX.
26695         (csloww2): Likewise.
26697 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26699         * math/auto-libm-test-in: Add tests of cabs and carg.
26700         * math/auto-libm-test-out: Regenerated.
26701         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26702         (carg_test_data): Likewise.
26703         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26704         mpc_c_f.
26705         (func_calc_desc): Add mpc_c_f union field.
26706         (test_functions): Add cabs and carg.
26707         (calc_generic_results): Handle mpc_c_f.
26709         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26710         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26711         as a macro and a compat symbol.
26712         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26713         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26714         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26715         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26716         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26717         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26718         not use .hidden.
26719         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26720         Likewise.
26721         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26722         Likewise.
26723         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26724         Likewise.
26725         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26726         Likewise.
26727         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26728         Likewise.
26729         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26730         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26731         from GLIBC_2.3.2.
26733 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26737 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26739         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26740         trailing whitespace removed.
26741         * scripts/config.guess: Update to version 2013-11-29.
26742         * scripts/config.sub: Update to version 2013-10-01.
26744         * math/auto-libm-test-in: Add tests of sincos.
26745         * math/auto-libm-test-out: Regenerated.
26746         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26747         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26748         mpfr_f_11.
26749         (func_calc_desc): Add mpfr_f_11 union field.
26750         (test_functions): Add sincos.
26751         (calc_generic_results): Handle mpfr_f_11.
26752         * sysdeps/i386/fpu/libm-test-ulps: Update.
26753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26755 2013-12-19  Andreas Schwab  <schwab@suse.de>
26757         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26758         CALL_MCOUNT.
26759         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26760         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26761         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26763 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26765         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26766         * sysdeps/i386/fpu/libm-test-ulps: Update.
26767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26769         [BZ #16293]
26770         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26771         round-to-nearest mode when using frndint.
26772         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26773         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26774         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26775         Likewise.
26776         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26777         sinh test to fail.
26778         * math/auto-libm-test-out: Regenerated.
26779         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26780         (TEST_COND_x86): Likewise.
26781         (expm1_tonearest_test_data): New array.
26782         (expm1_test_tonearest): New function.
26783         (expm1_towardzero_test_data): New array.
26784         (expm1_test_towardzero): New function.
26785         (expm1_downward_test_data): New array.
26786         (expm1_test_downward): New function.
26787         (expm1_upward_test_data): New array.
26788         (expm1_test_upward): New function.
26789         (main): Run the new test functions.
26790         * sysdeps/i386/fpu/libm-test-ulps: Update.
26791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26793         * include/features.h: Update comment documenting feature test
26794         macros.  Mention _DEFAULT_SOURCE in comment.
26795         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26796         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26797         _BSD_SOURCE and _SVID_SOURCE.
26798         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26799         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26800         !_SVID_SOURCE]: Likewise.
26801         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26802         (__USE_POSIX_IMPLICITLY): Define.
26803         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26804         (_POSIX_SOURCE): Undefine and redefine.
26805         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26806         (_POSIX_C_SOURCE): Likewise.
26807         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26808         (Feature Test Macros): Update documentation of default features.
26810 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26812         * benchtests/Makefile: Add bench-strtok.
26813         * benchtests/bench-strtok.c: New file: strtok benchtest.
26815 2013-12-19  Allan McRae  <allan@archlinux.org>
26817         * manual/install.texi: Suppress menu for plain text output.
26818         * INSTALL: Regenerated.
26820 2013-12-18  Brooks Moses  <bmoses@google.com>
26822         [BZ #15846]
26823         * misc/getauxval.c: Include errno.h.
26824         (__getauxval): Set errno to ENOENT if the requested type is not
26825         found.
26826         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26827         don't declare with __attribute_const__.
26828         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26829         * manual/startup.texi: Document that getauxval sets errno.
26831 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26833         * math/auto-libm-test-in: Add tests of jn and yn.
26834         * math/auto-libm-test-out: Regenerated.
26835         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26836         (yn_test_data): Likewise.
26837         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26838         mpfr_if_f.
26839         (func_calc_desc): Add mpfr_if_f union field.
26840         (FUNC_mpfr_if_f): New macro.
26841         (test_functions): Add jn and yn.
26842         (calc_generic_results): Assert type of second input for
26843         mpfr_ff_f.  Handle mpfr_if_f.
26844         (output_for_one_input_case): Disable all checking for arguments
26845         fitting floating-point types in case of an integer argument.
26846         * sysdeps/i386/fpu/libm-test-ulps: Update.
26847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26850         Don't expect fegetround reference in libm.so.
26852 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26854         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26855         $(config-cflags-nofma).
26857 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26859         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26860         * math/auto-libm-test-out: Regenerated.
26862         [BZ #16338]
26863         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26864         to determine exponent and adjust argument to have exponent of -1.
26865         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26866         log2.
26867         * math/auto-libm-test-out: Regenerated.
26868         * sysdeps/i386/fpu/libm-test-ulps: Update.
26869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26871 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26873         * manual/probes.texi: Remove cases when per-thread arenas are
26874         disabled.
26876 2013-12-18  Andreas Schwab  <schwab@suse.de>
26878         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26879         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26880         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26881         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26882         * sysdeps/i386/i686/multiarch/Makefile: Update.
26883         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26885 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26887         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26888         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26890 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26892         [BZ #15968]
26893         Support TZ transition times < 00:00:00.
26894         This is needed for version-3 tz-format files; it supports time
26895         stamps past 2037 for America/Godthab (the only entry in the tz
26896         database for which this change is relevant).
26897         * manual/time.texi (TZ Variable): Document transition times
26898         from -167:59:59 through -00:00:01.
26899         * time/tzset.c (tz_rule): Time of day is now signed.
26900         (__tzset_parse_tz): Parse negative time of day.
26902         Document TZ transition times >= 25:00:00.
26903         * manual/time.texi (TZ Variable): Document transition times from
26904         25:00:00 through 167:59:59.  These are already supported, and this
26905         support will help with version-3 tz-format files.
26907         * manual/time.texi (TZ Variable): Modernize North America example
26908         to reflect current (i.e., 2007-and-later) daylight saving rules.
26910         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26912 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26914         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26915         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26916         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26918         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26919         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26920         * sysdeps/unix/bsd/clock.c: Likewise.
26921         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26922         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26923         * sysdeps/unix/bsd/init-posix.c: Likewise.
26924         * sysdeps/unix/bsd/poll.c: Likewise.
26925         * sysdeps/unix/bsd/ptsname.c: Likewise.
26926         * sysdeps/unix/bsd/seekdir.c: Likewise.
26927         * sysdeps/unix/bsd/setegid.c: Likewise.
26928         * sysdeps/unix/bsd/seteuid.c: Likewise.
26929         * sysdeps/unix/bsd/setgid.c: Likewise.
26930         * sysdeps/unix/bsd/setrgid.c: Likewise.
26931         * sysdeps/unix/bsd/setruid.c: Likewise.
26932         * sysdeps/unix/bsd/setsid.c: Likewise.
26933         * sysdeps/unix/bsd/setuid.c: Likewise.
26934         * sysdeps/unix/bsd/sigaction.c: Likewise.
26935         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26936         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26937         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26938         * sysdeps/unix/bsd/telldir.c: Likewise.
26939         * sysdeps/unix/bsd/times.c: Likewise.
26940         * sysdeps/unix/bsd/usleep.c: Likewise.
26942         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26943         ($(objpfx)libbsd-compat.a): Remove rule.
26945         * include/features.h (__FAVOR_BSD): Do not define.
26946         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26947         features conflicting with POSIX.
26948         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26949         (_BSD_SOURCE): Remove description of not being a subset of other
26950         feature test macros.
26951         * manual/job.texi (getpgrp): Do not document BSD version.
26952         (getpgid): Do not document by reference to BSD getpgrp.
26953         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26954         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26955         * signal/signal.h [__FAVOR_BSD]: Likewise.
26956         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26957         instead of making contents conditional on [__FAVOR_BSD].
26958         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26960 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26964 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26966         [BZ #16314]
26967         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26968         values below 2**-450, not 2**-500.
26969         * math/auto-libm-test-in: Don't allow spurious underflow from
26970         hypot.
26971         * math/auto-libm-test-out: Regenerated.
26973         [BZ #16316]
26974         [BZ #16330]
26975         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26976         values of ha and hb and sort them after adjusting subnormal
26977         arguments.
26978         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26979         Likewise.
26980         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26981         values of ea and eb and sort them after adjusting subnormal
26982         arguments.
26983         * math/auto-libm-test-in: Do not expect some hypot tests of
26984         subnormals to fail.  Add more hypot tests.
26985         * math/auto-libm-test-out: Regenerated.
26987 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26989         [BZ #13304]
26990         * sysdeps/sh/s_fma.c: New file.
26991         * sysdeps/sh/s_fmaf.c: New file.
26992         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26993         version.
26994         * sysdeps/sh/Implies: Add sh/soft-fp.
26996 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26998         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26999         level of indirection to members `objname', `errstring', `malloced'.
27000         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27001         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27002         it as the __longjmp argument (just pass 1 instead).
27003         (_dl_catch_error): Initialize C with argument pointers and address of
27004         volatile local ERRCODE rather than copying values out of C at return.
27006 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27008         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27009         * math/auto-libm-test-out: Regenerated.
27010         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27011         (hypot_test_data): Likewise.
27012         (pow_test_data): Likewise.
27013         (pow_tonearest_test_data): Likewise.
27014         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27015         mpfr_ff_f.
27016         (func_calc_desc): Add mpfr_ff_f union field.
27017         (FUNC_mpfr_ff_f): New macro.
27018         (test_functions): Add atan2, hypot and pow.
27019         (special_fill_min): New function.
27020         (special_fill_minus_min): Likewise.
27021         (special_fill_min_subnorm): Likewise.
27022         (special_fill_minus_min_subnorm): Likewise.
27023         (special_real_inputs): Add min, -min, min_subnorm and
27024         -min_subnorm.
27025         (calc_generic_results): Handle mpfr_ff_f.
27026         * sysdeps/i386/fpu/libm-test-ulps: Update.
27027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27029 2013-12-16  Will Newton  <will.newton@linaro.org>
27031         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27032         (Aligned Memory Blocks): Add documentation for aligned_alloc
27033         and suggest it as an alternative to posix_memalign.
27034         (Hooks for Malloc): Document __memalign_hook is also called
27035         for aligned_alloc.  (Summary of Malloc): Add summary for
27036         aligned alloc.  Document __memalign_hook is also called
27037         for aligned_alloc.
27039 2013-12-16  Will Newton  <will.newton@linaro.org>
27041         * manual/memory.texi (Malloc Examples): Clarify default
27042         alignment documentation.  Suggest posix_memalign rather
27043         than memalign or valloc.
27044         (Aligned Memory Blocks): Remove suggestion to use memalign
27045         or valloc.  Remove obsolete comment about BSD.
27046         Document memalign errno values and mark the function obsolete.
27047         Document posix_memalign returned error codes.  Mark valloc
27048         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27049         called for posix_memalign and valloc.
27050         (Summary of Malloc): Add posix_memalign to function summary.
27051         __memalign_hook is also called for posix_memalign and valloc.
27053 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27055         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27056         TAYLOR_SIN.
27057         (__sin): Adjust.
27058         (__cos): Likewise.
27059         (sloww): Use mynumber union.  Expand ternary operator into
27060         if-else statements.
27061         (cslow): use mynumber union.
27063 2013-12-16  Allan McRae  <allan@archlinux.org>
27065         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27066         * configure: Regenerated.
27068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27070         [BZ #14120]
27071         * configure.ac: Added --enable-maintainer-mode. Check for
27072         autoconf when enabled.
27073         * configure: Regenerated.
27075         * nscd/nscd.service: New file.
27076         * nscd/nscd.tmpfiles: New file.
27078 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27080         [BZ #12100]
27081         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27082         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27083         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27084         (strstr): Add __strstr_sse2_unaligned ifunc.
27085         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27086         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27087         (strcasestr): Remove __strcasestr_sse42 ifunc.
27088         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27089         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27090         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27092 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27094         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27095         * sysdeps/sh/bits/fenv.h: ... here.
27096         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27098 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27100         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27103         hypotf multiarch implementations.
27104         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27105         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27106         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27107         multiarch hypot for PPC64.
27108         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27109         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27110         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27111         multiarch hypotf for PPC64.
27113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27114         modff multiarch implementations.
27115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27118         multiarch modf for PPC64.
27119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27122         multiarch modff for PPC64.
27124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27125         and logl multiarch implementations.
27126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27129         multiarch logb for PPC64.
27130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27133         multiarch logb for PPC64.
27134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27137         multiarch logb for PPC64.
27139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27140         isinff multiarch implementation.
27141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27142         file.
27143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27145         multiarch isinf for PPC64.
27146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27147         file.
27148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27149         multiarch isinff for PPC64.
27151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27152         finitef multiarch implementation.
27153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27154         file.
27155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27157         multiarch finite for PPC64.
27158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27159         file.
27160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27161         multiarch finitef for PPC64.
27163         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27164         lrint multiarch implementation.
27165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27166         file.
27167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27169         multiarch llrint for PPC64.
27170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27171         multiarch lrint for PPC64.
27173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27174         copysignf multiarch implementation.
27175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27176         file.
27177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27178         file.
27179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27180         multiarch copysign for PPC64.
27181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27182         multiarch copysignf for PPC64.
27184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27185         multiarch implementation.
27186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27187         file.
27188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27189         file.
27190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27191         file.
27192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27193         file.
27194         multiarch llround for PPC64.
27195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27196         multiarch trunc for PPC64.
27197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27198         multiarch truncf for PPC64.
27200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27201         multiarch implementation.
27202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27203         file.
27204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27205         file.
27206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27207         file.
27208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27209         file.
27210         multiarch llround for PPC64.
27211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27212         multiarch round for PPC64.
27213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27214         multiarch roundf for PPC64.
27216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27217         multiarch implementation.
27218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27219         file.
27220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27221         file.
27222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27223         file.
27224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27225         file.
27226         multiarch llround for PPC64.
27227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27228         multiarch floor for PPC64.
27229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27230         multiarch floorf for PPC64.
27232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27233         multiarch implementation.
27234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27235         file.
27236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27237         file.
27238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27239         file.
27240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27241         file.
27242         multiarch llround for PPC64.
27243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27244         multiarch ceil for PPC64.
27245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27246         multiarch ceilf for PPC64.
27248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27249         multiarch implementation.
27250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27251         file.
27252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27253         file.
27254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27255         file.
27256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27257         multiarch llround for PPC64.
27258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27259         multiarch lround for PPC64.
27261         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27262         multiarch implementation.
27263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27266         file.
27267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27270         multiarch isnan for PPC64.
27271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27272         multiarch isnanf for PPC64.
27274         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27275         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27276         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27277         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27278         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27281         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27282         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27283         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27284         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27287         multiarch implementations.
27288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27289         (__libc_ifunc_impl_list): Likewise.
27290         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27291         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27292         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27293         multiarch stpcpy for PPC64.
27295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27296         multiarch implementations.
27297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27298         (__libc_ifunc_impl_list): Likewise.
27299         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27300         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27301         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27302         multiarch strcpy for PPC64.
27304         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27305         redefine function name.
27306         (_wordcopy_fwd_dest_aligned): Likewise.
27307         (_wordcopy_bwd_aligned): Likewise.
27308         (_wordcopy_bwd_dest_aligned): Likewise.
27309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27310         multiarch implementations.
27311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27312         (__libc_ifunc_impl_list): Likewise.
27313         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27314         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27315         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27316         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27317         multiarch wcscpy for PPC64.
27319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27320         multiarch implementations.
27321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27322         (__libc_ifunc_impl_list): Likewise.
27323         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27324         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27325         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27326         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27327         multiarch wcscpy for PPC64.
27329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27330         multiarch implementations.
27331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27332         (__libc_ifunc_impl_list): Likewise.
27333         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27334         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27335         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27336         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27337         multiarch wcsrchr for PPC64.
27339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27340         multiarch implementations.
27341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27342         (__libc_ifunc_impl_list): Likewise.
27343         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27344         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27345         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27346         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27347         multiarch wcschr for PPC64.
27349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27350         multiarch implementations.
27351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27352         (__libc_ifunc_impl_list): Likewise.
27353         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27354         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27355         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27356         multiarch strchrnul for PPC64.
27358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27359         implementations.
27360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27361         (__libc_ifunc_impl_list): Likewise.
27362         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27363         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27364         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27365         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27366         strchr for PPC64.
27368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27369         implementations.
27370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27371         (__libc_ifunc_impl_list): Likewise.
27372         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27373         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27374         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27375         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27376         strncmp for PPC64.
27378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27379         multiarch implementations.
27380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27381         (__libc_ifunc_impl_list): Likewise.
27382         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27383         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27384         strncasecmp for PPC64.
27385         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27386         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27387         multiarch strncasecmp_l for PPC64.
27389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27390         multiarch implementations.
27391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27392         (__libc_ifunc_impl_list): Likewise.
27393         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27394         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27395         multiarch strcasecmp for PPC64.
27396         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27397         file.
27398         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27399         multiarch strcasecmp_l for PPC64.
27401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27402         implementations.
27403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27404         (__libc_ifunc_impl_list): Likewise.
27405         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27406         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27407         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27408         strnlen for PPC64.
27410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27411         implementations.
27412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27413         (__libc_ifunc_impl_list): Likewise.
27414         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27415         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27416         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27417         strlen for PPC64.
27419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27420         implementations.
27421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27422         (__libc_ifunc_impl_list): Likewise.
27423         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27424         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27425         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27426         rawmemrchr for PPC64.
27428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27429         implementation.
27430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27431         (__libc_ifunc_impl_list): Likewise.
27432         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27433         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27434         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27435         memrchr for PPC64.
27437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27438         implementation.
27439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27440         (__libc_ifunc_impl_list): Likewise.
27441         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27442         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27443         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27444         memchr for PPC64.
27446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27447         implementation.
27448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27449         (__libc_ifunc_impl_list): Likewise.
27450         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27451         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27452         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27453         mempcpy for PPC64.
27455         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27456         avoid cretion of __bzero symbol.
27457         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27458         Likewise.
27459         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27460         Likewise.
27461         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27462         Likewise.
27463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27464         multiarch implementations.
27465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27466         (__libc_ifunc_impl_list): Likewise.
27467         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27468         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27469         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27470         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27471         bzero for PPC32.
27472         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27473         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27474         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27475         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27476         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27477         memset for PPC64.
27478         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27480         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27482         implementations.
27483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27484         (__libc_ifunc_impl_list): Likewise.
27485         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27486         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27487         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27488         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27489         memcmp for PPC64.
27491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27492         multiarch for POWER/PPC64.
27493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27494         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27495         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27496         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27497         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27498         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27499         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27500         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27501         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27502         memcpy for PPC64.
27504         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27505         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27506         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27507         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27508         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27509         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27510         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27511         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27512         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27513         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27514         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27515         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27516         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27517         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27518         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27527 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27529         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27531 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27533         * benchtests/Makefile (bench): Add exp2 and log2.
27534         (LDLIBS-bench-exp2): Add -lm.
27535         (LDLIBS-bench-log2): Likewise.
27536         * benchtests/exp2-inputs: New inputs file.
27537         * benchtests/log2-inputs: New inputs file.
27538         * benchtests/log-inputs: Add new inputs.
27539         * benchtests/tan-inputs: Likewise.
27541 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27543         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27544         definition...
27545         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27546         (csloww2): ... from here.
27548         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27549         instead of structures.
27550         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27551         (POLYNOMIAL): Likewise.
27552         (TAYLOR_SLOW): Likewise.
27553         (__sin): Likewise.
27554         (__cos): Likewise.
27555         (slow1): Likewise.
27556         (slow2): Likewise.
27557         (sloww): Likewise.
27558         (sloww1); Likewise.
27559         (sloww2): Likewise.
27560         (bsloww1): Likewise.
27561         (bsloww2): Likewise.
27562         (cslow2): Likewise.
27563         (csloww): Likewise.
27564         (csloww1): Likewise.
27565         (csloww2): Likewise.
27567 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27569         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27570         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27571         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27572         * malloc/hooks.c (realloc_check): Likewise.
27574         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27575         * malloc/arena.c: Remove PER_THREAD conditional.
27576         [!PER_THREAD]: Remove code.
27577         (ptmalloc_unlock_all2): Likewise.
27578         (ptmalloc_init): Likewise.
27579         (_int_new_arena): Likewise.
27580         (arena_get2): Likewise.
27581         * malloc/hooks.c (__malloc_get_state): Likewise.
27582         (__malloc_set_state): Likewise.
27583         * malloc/malloc.c: Likewise.
27584         (struct malloc_state): Likewise.
27585         (struct malloc_par): Likewise.
27586         (__libc_realloc): Likewise.
27587         (__libc_mallopt): Likewise.
27589 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27591         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27593 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27595         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27596         macro to a function.  Check for zero perturb_byte.
27597         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27599         * malloc/malloc.c: (force_reg): Remove.
27600         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27601         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27602         force_reg by atomic_forced_read.
27603         * malloc/arena.c (ptmalloc_init): Likewise.
27604         * malloc/hooks.c (top_check): Likewise.
27606 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27610 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27614 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27616         * math/auto-libm-test-in: Add tests of lgamma.
27617         * math/auto-libm-test-out: Regenerated.
27618         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27619         (M_LOG_2_SQRT_PIl): Likewise.
27620         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27621         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27622         mpfr_f_f1.
27623         (func_calc_desc): Add mpfr_f_f1 union field.
27624         (ARGS1): New macro.
27625         (ARGS2): Likewise.
27626         (ARGS3): Likewise.
27627         (ARGS4): Likewise.
27628         (RET1): Likewise.
27629         (RET2): Likewise.
27630         (CALC): Likewise.
27631         (FUNC): Likewise.
27632         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27633         (test_functions): Add lgamma.
27634         (calc_generic_results): Handle mpfr_f_f1.
27635         * sysdeps/i386/fpu/libm-test-ulps: Update.
27636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27638 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27640         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27641         __mpn_add_n for PowerPC64/POWER7.
27642         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27643         __mpn_sub_n for PowerPC64/POWER7.
27645         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27646         __mpn_addmul_1 for PowerPC64.
27647         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27648         __mpn_submul_1 for PowerPC64.
27649         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27650         for PowerPC64.
27651         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27652         for PowerPC64.
27654 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27656         [BZ #15089]
27657         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27659 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27661         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27663         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27664         add multiarch folders.
27665         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27666         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27667         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27668         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27669         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27670         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27671         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27672         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27673         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27674         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27675         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27684         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27686         New file.
27687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27688         New file.
27689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27690         multiarch __ieee754_hypot for PowerPC32.
27691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27692         New file.
27693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27694         New file.
27695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27696         multiarch __ieee754_hypotf for PowerPC32.
27698         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27699         long_double_symbol only if __logbl is defined.
27700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27701         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27703         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27704         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27705         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27706         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27707         path for implementation.
27708         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27709         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27711         logb, and logbl multiarch implementations for PowerPC32.
27712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27713         file.
27714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27715         file.
27716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27717         multiarch logb for PowerPC32.
27718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27719         file.
27720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27721         file.
27722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27723         multiarch logbf for PowerPC32.
27724         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27726         file.
27727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27728         multiarch logbl implementation for PowerPC32.
27730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27731         and modff multiarch implementations.
27732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27733         New file.
27734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27735         New file.
27736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27737         multiarch modf for PowerPC32.
27738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27739         New file.
27740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27741         New file.
27742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27743         multiarch modff for PowerPC32.
27745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27746         and lrintf multiarch implementations.
27747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27748         New file.
27749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27750         New file.
27751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27752         multiarch lrint for PowerPC32.
27753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27754         file: multiarch lrintf for PowerPC32.
27756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27757         and lroundf multiarch implementations.
27758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27759         New file.
27760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27761         New file.
27762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27763         New file.
27764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27765         multiarch lround for PowerPC32.
27766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27767         file: multiarch lroundf for PowerPC32.
27769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27770         copysign and copysignf multiarch implementations.
27771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27772         New file.
27773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27774         New file.
27775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27776         file: multiarch copysign for PowerPC32.
27777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27778         file: multiarch copysignf for PowerPC32.
27780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27781         and truncf multiarch implementations.
27782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27783         New file.
27784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27785         file.
27786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27787         multiarch trunc for PowerPC32.
27788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27789         New file.
27790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27791         New file.
27792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27793         multiarch truncf for PowerPC32.
27795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27796         and roundf multiarch implementations.
27797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27798         New file.
27799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27800         file.
27801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27802         multiarch round for PowerPC32.
27803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27804         New file.
27805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27806         New file.
27807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27808         multiarch roundf for PowerPC32.
27810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27811         and floorf multiarch implementations.
27812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27813         New file.
27814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27815         file.
27816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27817         multiarch floor for PowerPC32.
27818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27819         New file.
27820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27821         New file.
27822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27823         multiarch floorf for PowerPC32.
27825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27826         and ceilf multiarch implementations.
27827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27828         New file.
27829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27830         file.
27831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27832         multiarch ceil for PowerPC32.
27833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27834         New file.
27835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27836         file.
27837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27838         multiarch ceilf for PowerPC32.
27840         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27841         is defined.
27842         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27843         FINITEF is defined.
27844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27845         and finitef multiarch implementations.
27846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27847         New file.
27848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27849         file.
27850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27851         multiarch finite for PowerPC32.
27852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27853         New file.
27854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27855         file: multiarch finitef for PowerPC32.
27857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27858         and isinff multiarch implementations.
27859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27860         file.
27861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27862         file.
27863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27864         multiarch isinf for PowerPC32.
27865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27866         New file.
27867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27868         multiarch isinff for PowerPC32.
27870         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27871         alias when __isnan is defined.
27872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27873         and isnanf multiarch implementations.
27874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27875         file.
27876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27877         file.
27878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27879         file.
27880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27881         file.
27882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27883         multiarch isnan for PowerPC32.
27884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27885         New file.
27886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27887         New file.
27888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27889         multiarch isnanf for PowerPC32.
27891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27892         and sqrtf multiarch implementations.
27893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27894         file.
27895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27896         file.
27897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27898         multiarch sqrt for PowerPC32.
27899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27900         file.
27901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27902         file.
27903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27904         multiarch sqrtf for PowerPC32.
27906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27907         and llroundf multiarch implementations.
27908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27909         New file.
27910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27911         New file.
27912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27913         New file.
27914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27915         file: multiarch llround for PowerPC32.
27916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27917         file: multiarch llroundf for PowerPC32.
27919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27920         multiarch PowerPC32 fpu implementations.
27921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27922         New file.
27923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27924         New file.
27925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27926         multiarch llrint for PowerPC32.
27927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27928         New file.
27929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27930         New file.
27931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27932         file.
27934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27936         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27937         file.
27938         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27939         file.
27940         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27941         file.
27942         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27943         multiarch wordcopy for PPC32.
27944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27945         wordcopy objects.
27946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27947         (__libc_ifunc_impl_list): Likewise.
27948         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27949         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27950         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27951         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27952         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27953         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27955         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27957         file.
27958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27959         file.
27960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27961         file.
27962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27963         multiarch wcscpy for PPC32.
27964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27965         multiarch objects.
27966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27967         (__libc_ifunc_impl_list): Likewise.
27968         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27969         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27970         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27971         sysdeps/powerpc/power6/wcscpy.c.
27973         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27975         file.
27976         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27977         file.
27978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27979         file.
27980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27981         multiarch wcsrchr for PPC32.
27982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27983         multiarch objects.
27984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27985         (__libc_ifunc_impl_list): Likewise.
27986         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27987         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27988         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27989         sysdeps/powerpc/power6/wcsrchr.c.
27991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27992         file.
27993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27994         file.
27995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27997         multiarch wcschr for PPc32.
27998         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27999         multiarch objects.
28000         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28001         (__libc_ifunc_impl_list): Likewise.
28002         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28003         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28004         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28005         sysdeps/powerpc/power6/wcschr.c.
28007         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28008         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28009         file.
28010         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28011         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28012         file: multiarch strchr for PPC32.
28013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28014         multiarch objects.
28015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28016         (__libc_ifunc_impl_list): Likewise.
28018         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28019         name.
28020         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28021         file.
28022         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28023         file.
28024         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28025         multiarch strchrnul for PPC32.
28026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28027         multiarch objects.
28028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28029         (__libc_ifunc_impl_list): Likewise.
28031         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28032         file.
28033         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28034         multiarch strncasecmp for PPC32.
28035         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28036         file.
28037         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28038         multiarch strncasecmp_l for PPC32.
28039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28040         strncasecmp multiarch objects.
28041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28042         (__libc_ifunc_impl_list): Likewise.
28044         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28045         file.
28046         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28047         multiarch strncasecmp for PPC32.
28048         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28049         New file.
28050         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28051         multiarch strcasecmp_l for PPC32.
28052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28053         multiarch objects.
28054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28055         (__libc_ifunc_impl_list): Likewise.
28057         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28058         file.
28059         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28060         file.
28061         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28062         multiarch strncmp for PPC32.
28063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28064         multiarch objects.
28065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28066         (__libc_ifunc_impl_list): Likewise.
28068         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28069         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28070         file.
28071         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28072         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28074         multiarch objects.
28075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28076         (__libc_ifunc_impl_list): Likewise.
28078         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28079         file.
28080         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28081         file.
28082         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28084         multiarch objects.
28085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28086         (__libc_ifunc_impl_list): Likewise.
28088         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28089         file.
28090         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28091         file.
28092         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28093         multiarch rawmemchr for PPC32.
28094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28095         multiarch objects.
28096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28097         (__libc_ifunc_impl_list): Likewise.
28099         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28100         file.
28101         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28102         file.
28103         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28104         file: memrchr multiarch for PPC32.
28105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28106         multiarch objects.
28107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28108         (__libc_ifunc_impl_list): Likewise.
28110         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28111         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28112         file.
28113         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28114         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28115         multiarch memchr for PPC32.
28116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28117         multiarch objects.
28118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28119         (__libc_ifunc_impl_list): Likewise.
28121         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28122         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28123         file.
28124         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28125         file.
28126         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28127         file: multiarch mempcpy for PPC32.
28128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28129         multiarch objects.
28130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28131         (__libc_ifunc_impl_list): Likewise.
28133         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28134         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28135         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28136         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28137         multiarch bzero for PPC32.
28138         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28139         file.
28140         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28141         file.
28142         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28143         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28144         file: multiarch memset for PPC32.
28145         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28147         memset multiarch objects.
28148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28149         (__libc_ifunc_impl_list): Likewise.
28151         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28152         file.
28153         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28154         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28155         memcmp for PPC32.
28156         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28158         multiarch objects.
28159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28160         (__libc_ifunc_impl_list): Likewise.
28162         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28163         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28164         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28165         file.
28166         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28167         file.
28168         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28169         file.
28170         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28171         multiarch memcpy for PPC32.
28172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28173         multiarch objects.
28174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28175         (__libc_ifunc_impl_list): Likewise.
28177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28178         support multiarch for POWER/PPC32.
28179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28180         Likewise.
28181         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28183         Implies file to make multiarch folder appers before the fpu and
28184         default folder for power4 configuration.
28186 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28188         * scripts/bench.pl: Append volatile keyword to type.
28190 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28192         * sysdeps/sh/sotruss-lib.c: New file.
28193         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28195 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28199 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28201         [BZ #6810]
28202         * math/w_tgamma.c: Include <errno.h>.
28203         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28204         * math/w_tgammaf.c: Include <errno.h>.
28205         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28206         * math/w_tgammal.c: Include <errno.h>.
28207         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28208         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28209         underflow.  Add more tgamma tests.
28210         * math/auto-libm-test-out: Regenerated.
28211         * sysdeps/i386/fpu/libm-test-ulps: Update.
28212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28214         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28215         sin, sinh, tan, tanh, tgamma, y0 and y1.
28216         * math/auto-libm-test-out: Regenerated.
28217         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28218         (TEST_COND_x86): Likewise.
28219         (M_E2l): Remove macro.
28220         (M_E3l): Likewise.
28221         (M_2_SQRT_PIl): Likewise.
28222         (M_SQRT_PIl): Likewise.
28223         (M_1_DIV_El): Likewise.
28224         (log_test_data): Use AUTO_TESTS_f_f.
28225         (log10_test_data): Likewise.
28226         (log1p_test_data): Likewise.
28227         (log2_test_data): Likewise.
28228         (sin_test_data): Likewise.
28229         (sin_tonearest_test_data): Likewise.
28230         (sin_towardzero_test_data): Likewise.
28231         (sin_downward_test_data): Likewise.
28232         (sin_upward_test_data): Likewise.
28233         (sinh_test_data): Likewise.
28234         (sinh_tonearest_test_data): Likewise.
28235         (sinh_towardzero_test_data): Likewise.
28236         (sinh_downward_test_data): Likewise.
28237         (sinh_upward_test_data): Likewise.
28238         (tan_test_data): Likewise.
28239         (tan_tonearest_test_data): Likewise.
28240         (tan_towardzero_test_data): Likewise.
28241         (tan_downward_test_data): Likewise.
28242         (tan_upward_test_data): Likewise.
28243         (tanh_test_data): Likewise.
28244         (tgamma_test_data): Likewise.
28245         (y0_test_data): Likewise.
28246         (y1_test_data): Likewise.
28247         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28248         (special_real_inputs): Add pi/4.
28249         * sysdeps/i386/fpu/libm-test-ulps: Update.
28250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28252 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28254         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28255         "longjmp_target" static probes.
28256         (__longjmp): Rename to __longjmp_symbol.
28257         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28258         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28259         on which longjmp to generate.
28260         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28261         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28262         probe.
28263         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28264         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28265         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28266         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28267         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28268         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28270         __longjmp_symbol based on which __longjmp to generate.
28271         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28272         probe.
28273         (setjmp): Rename to setjmp_symbol.
28274         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28275         (_setjmp): Rename to _setjmp_symbol.
28276         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28277         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28278         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28279         which setjmp to generate.
28280         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28281         "longjmp_target" static probes.
28283 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28285         * benchtests/README: Add note about output arguments.
28286         * benchtests/bench-sincos.c: Remove file.
28287         * benchtests/sincos-inputs: New file.
28288         * scripts/bench.pl: Identify output arguments and define
28289         static variables for them.
28291         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28293         [BZ #15941]
28294         * Makefile (INSTALL): Add install-plain.texi as the primary
28295         dependency.
28296         * manual/install-plain.texi: New file.
28297         * manual/install.texi: Include node directive only for
28298         non-plaintext output.
28300 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28302         * stdlib/longlong.h: Update from GCC.
28304         [BZ #6807]
28305         [BZ #15901]
28306         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28307         * math/w_j0f.c (y0f): Likewise.
28308         * math/w_j0l.c (__y0l): Likewise.
28309         * math/w_j1.c (y1): Likewise.
28310         * math/w_j1f.c (y1f): Likewise.
28311         * math/w_j1l.c (__y1l): Likewise
28312         * math/w_jn.c (yn): Likewise.
28313         * math/w_jnf.c (ynf): Likewise.
28314         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28315         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28316         value for Bessel function domain errors outside _SVID_ mode.
28317         Adjust sign of return value for yn (negative integer, 0).
28318         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28319         by zero in return for negative x and set sign appropriately for
28320         negative n.
28321         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28322         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28323         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28324         expectations in error cases.
28325         (y1_test_data): Likewise.
28326         (yn_test_data): Likewise.
28327         * sysdeps/i386/fpu/libm-test-ulps: Update.
28328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28330 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28332         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28333         "64" to "64-v1".  Add "64-v2".
28334         (abi-64-options): Rename to ...
28335         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28336         (abi-64-condition): Rename to ...
28337         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28338         (abi-64-ld-soname): Rename to ...
28339         (abi-64-v1-ld-soname): ... this.
28340         (abi-64-v2-options): Define.
28341         (abi-64-v2-condition): Likewise.
28342         (abi-64-v2-ld-soname): Likewise.
28343         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28344         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28349 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28350             Alan Modra  <amodra@gmail.com>
28352         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28353         New versions for use with the ELFv2 ABI.
28354         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28355         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28356         declaration.
28357         (struct La_ppc64v2_retval): Likewise.
28358         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28359         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28360         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28361         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28362         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28363         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28364         Do not save or restore CR.
28365         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28366         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28367         return values for ELFv2 ABI.  Fix location of FPR return registers.
28368         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28369         updated values for _CALL_ELF == 2.
28370         (La_regs, La_retval, int_retval): Likewise.
28372 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28374         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28375         (FRAME_MIN_SIZE_PARM): Likewise.
28376         (FRAME_BACKCHAIN): Likewise.
28377         (FRAME_CR_SAVE): Likewise.
28378         (FRAME_LR_SAVE): Likewise.
28379         (FRAME_TOC_SAVE): Likewise.
28380         (FRAME_PARM_SAVE): Likewise.
28381         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28382         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28383         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28384         (call_mcount_parm_offset): New macro.
28385         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28386         (PROF): Use symbolic stack frame offsets.
28387         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28388         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28389         Redefine in terms of FRAME_MIN_SIZE.
28390         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28391         (_dl_profile_resolve): Likewise.  Update comment.
28392         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28393         symbols stack frame offsets.
28394         (__sigsetjmp): Likewise.
28395         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28396         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28397         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28398         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28401         (FRAME_BACKCHAIN): Remove.
28402         (FRAME_CR_SAVE): Likewise.
28403         (FRAME_LR_SAVE): Likewise.
28404         (FRAME_COMPILER_DW): Likewise.
28405         (FRAME_LINKER_DW): Likewise.
28406         (FRAME_TOC_SAVE): Likewise.
28407         (FRAME_PARM_SAVE): Likewise.
28408         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28409         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28410         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28412         (CHECK_SP): Use symbolic stack frame offsets.
28413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28414         zone" instead of caller's parameter save area for temp storage.
28415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28416         Likewise.  Also, use symbolic stack frame offsets.
28417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28418         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28419         our own stack frame instead of the caller's.
28420         (__socket): Use symbolic stack frame offsets.
28422 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28423             Alan Modra  <amodra@gmail.com>
28425         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28426         Define.
28427         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28428         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28429         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28430         New function.
28431         (elf_machine_fixup_plt): Call it.
28432         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28433         reloc arguments.
28434         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28435         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28436         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28437         r2 before calling target.
28439 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28440             Alan Modra  <amodra@gmail.com>
28442         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28443         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28444         versions of macros to support ELFv2 ABI.
28445         (LOCALENTRY): New macro.
28446         (ENTRY, EALIGN): Use it.
28447         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28448         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28449         fall through into ENTRY entry point.
28450         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28451         Only define if _CALL_ELF != 2.
28453         (elf_machine_matches_host): Verify ABI version matches.
28454         (RTLD_START): Use LOCALENTRY.
28455         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28456         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28457         (PLT_ENTRY_WORDS): New macro.
28458         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28459         (elf_machine_runtime_setup): Support ELFv2 ABI.
28460         (elf_machine_fixup_plt): Likewise.
28461         (elf_machine_plt_conflict): Likewise.
28462         (resolve_ifunc): Likewise.
28463         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28464         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28465         Likewise.
28466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28467         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28469         (makecontext): Support ELFv2 ABI.
28470         * elf/elf.h (EF_PPC64_ABI): Define.
28472 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28474         * sysdeps/powerpc/powerpc64/sysdep.h
28475         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28476         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28477         (ENTRY) [ASSEMBLER]: ... but instead here ...
28478         (EALIGN) [ASSEMBLER]: ... and here.
28479         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28480         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28481         (ENTRY_2) [!ASSEMBLER]: Use it.
28482         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28483         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28484         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28485         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28486         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28488         Use PPC64_LOAD_FUNCPTR.
28490         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28492 2013-12-04  Alan Modra  <amodra@gmail.com>
28494         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28495         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28496         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28497         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28499         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28500         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28501         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28502         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28503         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28504         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28506 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28509         (__makecontext): Fix incorrect CFI when backtracing out of
28510         context created via makecontext.
28511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28512         (__setcontext): Fix incorrect CFI during switch to new context.
28513         (__novec_setcontext): Likewise.
28515 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28517         [BZ #4772]
28518         * time/strptime_l.c (__strptime_internal): Allow modifiers
28519         in strptime.
28520         * time/tst-strptime.c (day_tests): Add testcase.
28522 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28524         * scripts/bench.pl: Skip over blank lines.
28526 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28528         [BZ #926]
28529         * manual/time.texi (Calendar Time): Clarify what timezone functions
28530         use.
28532 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28536 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28538         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28539         implementation.
28540         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28541         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28542         * debug/memset_chk.c (__memset_chk): Likewise.
28543         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28544         * debug/strncpy_chk.c: Likewise.
28546 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28548         [BZ #15268]
28549         [BZ #15425]
28550         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28551         (__ieee754_exp): For possibly underflowing results, check size of
28552         result and force underflow exception if required.
28553         * math/auto-libm-test-in: Add more tests of exp.
28554         * math/auto-libm-test-out: Regenerated.
28555         * sysdeps/i386/fpu/libm-test-ulps: Update.
28556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28558         [BZ #16283]
28559         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28560         * math/w_exp2f.c (__exp2f): Likewise.
28561         * math/w_exp2l.c (__exp2l): Likewise.
28562         * math/auto-libm-test-in: Do not allow missing errno on exp2
28563         underflow.
28564         * math/auto-libm-test-out: Regenerated.
28566 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28568         [BZ #16274]
28569         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28570         handle filename validation.
28571         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28572         (do_open): Delete.
28574 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28576         [BZ #6786]
28577         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28578         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28579         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28580         <float.h>.
28581         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28582         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28583         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28584         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28585         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28586         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28587         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28588         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28589         Add more erfc tests.
28590         * math/auto-libm-test-out: Regenerated.
28591         * sysdeps/i386/fpu/libm-test-ulps: Update.
28592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28594         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28595         exp2, expm1, j0 and j1.
28596         * math/auto-libm-test-out: Regenerated.
28597         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28598         (erfc_test_data): Likewise.
28599         (exp_test_data): Likewise.
28600         (exp_tonearest_test_data): Likewise.
28601         (exp_towardzero_test_data): Likewise.
28602         (exp_downward_test_data): Likewise.
28603         (exp_upward_test_data): Likewise.
28604         (exp10_test_data): Likewise.
28605         (exp2_test_data): Likewise.
28606         (expm1_test_data): Likewise.
28607         (j0_test_data): Likewise.
28608         (j1_test_data): Likewise.
28609         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28610         (input_flag_type): Add flag_xfail_rounding.
28611         (input_flags): Add xfail-rounding.
28612         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28613         (output_for_one_input_case): Handle flag_xfail_rounding.
28614         * sysdeps/i386/fpu/libm-test-ulps: Update.
28615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28617 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28619         [BZ #16289]
28620         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28621         division by 0.
28623 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28625         [BZ #16195]
28626         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28627         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28628         (STAP_PROBE0): New macro.
28629         (STAP_PROBE1): Likewise.
28630         (STAP_PROBE2): Likewise.
28631         (STAP_PROBE3): Likewise.
28632         (STAP_PROBE4): Likewise.
28634 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28636         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28638 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28640         * benchtests/Makefile (bench): Add sqrt.
28641         (LDLIBS-bench-sqrt): New.
28642         * benchtests/sqrt-input: New.
28644 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28646         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28647         (GAIH_EAI): Likewise.
28648         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28649         (gaih_inet): Likewise.
28650         (getaddrinfo): Don't use GAIH_EAI.
28652         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28653         (struct gaih): Remove definition.
28655 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28657         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28658         Use HERRNOP directly.
28660 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28664 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28666         * math/gen-auto-libm-tests.c (test_functions): Add more
28667         single-argument functions.
28668         (special_fill_pi_2): New function.
28669         (special_fill_minus_pi_2): Likewise.
28670         (special_fill_pi_6): Likewise.
28671         (special_fill_minus_pi_6): Likewise.
28672         (special_fill_pi_3): Likewise.
28673         (special_fill_2pi_3): Likewise.
28674         (special_fill_e): Likewise.
28675         (special_fill_1_e): Likewise.
28676         (special_fill_e_minus_1): Likewise.
28677         (special_real_inputs): Add more special inputs.
28678         (output_for_one_input_case): Do not require ERANGE on underflow to
28679         zero if round-to-nearest result does not underflow to zero, unless
28680         exact results required.
28681         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28682         atan, atanh, cbrt, cos and cosh.
28683         * math/auto-libm-test-out: Regenerated.
28684         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28685         (acos_tonearest_test_data): Likewise.
28686         (acos_towardzero_test_data): Likewise.
28687         (acos_downward_test_data): Likewise.
28688         (acos_upward_test_data): Likewise.
28689         (acosh_test_data): Likewise.
28690         (asin_test_data): Likewise.
28691         (asin_tonearest_test_data): Likewise.
28692         (asin_towardzero_test_data): Likewise.
28693         (asin_upward_test_data): Likewise.
28694         (asinh_test_data): Likewise.
28695         (atan_test_data): Likewise.
28696         (atanh_test_data): Likewise.
28697         (cbrt_test_data): Likewise.
28698         (cos_test_data): Likewise.
28699         (cos_tonearest_test_data): Likewise.
28700         (cos_towardzero_test_data): Likewise.
28701         (cos_downward_test_data): Likewise.
28702         (cos_upward_test_data): Likewise.
28703         (cosh_test_data): Likewise.
28704         (cosh_tonearest_test_data): Likewise.
28705         (cosh_towardzero_test_data): Likewise.
28706         (cosh_downward_test_data): Likewise.
28707         (cosh_upward_test_data): Likewise.
28708         * sysdeps/i386/fpu/libm-test-ulps: Update.
28709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28711 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28713         [BZ #6787]
28714         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28715         * math/w_exp10f.c (__exp10f): Likewise.
28716         * math/w_exp10l.c (__exp10l): Likewise.
28717         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28718         errno settings in existing tests.
28720         [BZ #14032]
28721         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28722         precision control set to double precision.
28723         * sysdeps/i386/fpu/w_sqrt.c: New file.
28724         * math/auto-libm-test-in: Add more tests.
28725         * math/auto-libm-test-out: Update.
28727         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28728         (sqrt_test_tonearest): New function.
28729         (sqrt_towardzero_test_data): New variable.
28730         (sqrt_test_towardzero): New function.
28731         (sqrt_downward_test_data): New variable.
28732         (sqrt_test_downward): New function.
28733         (sqrt_upward_test_data): New variable.
28734         (sqrt_test_upward): New function.
28735         (main): Call the new functions.
28737         * math/gen-auto-libm-tests.c: New file.
28738         * math/auto-libm-test-in: Likewise.
28739         * math/auto-libm-test-out: New generated file.
28740         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28741         variables.
28742         (%beautify): Add generated representations of zero.
28743         (top level): Set $auto_input and call parse_auto_input.
28744         (beautify): Remove trailing "f" from hex float constants.
28745         (parse_args): Handle XFAIL_TEST.
28746         (convert_condition): New function.
28747         (or_value): Likewise.
28748         (or_cond_value): Likewise.
28749         (generate_testfile): Handle AUTO_TESTS_* lines.
28750         (parse_auto_input): New function.
28751         * math/libm-test.inc (XFAIL_TEST): New macro.
28752         (ERRNO_UNCHANGED): Update value.
28753         (ERRNO_EDOM): Likewise.
28754         (ERRNO_ERANGE): Likewise.
28755         (IGNORE_RESULT): Likewise.
28756         (TEST_COND_flt_32): New macro.
28757         (TEST_COND_dbl_64): Likewise.
28758         (TEST_COND_ldbl_96_intel): Likewise.
28759         (TEST_COND_ldbl_96_m68k): Likewise.
28760         (TEST_COND_ldbl_128): Likewise.
28761         (TEST_COND_ldbl_128ibm): Likewise.
28762         (TEST_COND_long32): Likewise.
28763         (TEST_COND_long64): Likewise.
28764         (TEST_COND_before_rounding): Likewise.
28765         (TEST_COND_after_rounding): Likewise.
28766         (enable_test): Handle XFAIL_TEST flag.
28767         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28768         with finite results.
28769         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28770         auto-libm-test-out.
28772 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28773             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28775         [BZ #16214]
28776         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28777         __tls_get_addr_internal instead of __tls_get_offset in order to
28778         avoid GOT pointer dependency.  Make rtld export
28779         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28780         __tls_get_addr since we are a __tls_get_offset platform.
28781         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28782         GOT pointer being set up before.
28783         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28785 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28787         * manual/math.texi (Errors in Math Functions): Document accuracy
28788         goals.
28790         [BZ #15004]
28791         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28792         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28793         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28794         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28795         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28796         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28797         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28798         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28799         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28800         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28801         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28802         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28803         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28804         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28805         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28806         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28808         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28809         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28810         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28811         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28812         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28813         Likewise.
28814         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28815         Likewise.
28816         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28817         Likewise.
28818         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28819         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28820         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28821         atomic-feupdateenv and flt-rounds.
28822         * sysdeps/powerpc/nofpu/Versions (libc): Add
28823         __atomic_feholdexcept, __atomic_feclearexcept,
28824         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28825         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28826         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28827         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28828         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28829         here.
28830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28831         Update.
28833         * manual/arith.texi (FP Exceptions): Document that exceptions may
28834         not be raised when matherr is used.
28835         (Math Error Reporting): Document overflow in directed rounding
28836         modes.  Document that errno may not be set when finite values are
28837         returned on overflow.  Document intent to set errno on underflow
28838         only for underflow to zero.
28840         [BZ #16271]
28841         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28842         round-to-nearest then adjust result for other rounding modes.
28843         * include/fenv.h (fegetround): Use libm_hidden_proto.
28844         * math/fegetround.c (fegetround): Use libm_hidden_def.
28845         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28846         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28847         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28848         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28849         Likewise.
28850         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28851         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28852         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28853         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28855 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28857         [BZ #16077]
28858         * nss/Versions (libnss_files): Add
28859         _nss_files_gethostbyname3_r.
28860         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28861         New function.
28862         (HOST_DB_LOOKUP): Remove macro.
28863         (_nss_files_gethostbyname_r): Implement function without the
28864         HOST_DB_LOOKUP macro.
28865         (_nss_files_gethostbyname2_r): Likewise.
28867 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28869         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28871 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28873         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28874         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28875         warning.
28877 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28879         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28880         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28881         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28882         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28883         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28884         __fe_nomask_env_priv and attribute_hidden.
28885         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28886         (libc_feupdateenv_test_ppc): Likewise.
28887         (libc_feresetround_ppc): Likewise.
28888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28889         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28890         compat_symbol macro.
28891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28892         (__fe_nomask_env): Likewise.
28893         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28895 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28897         * string/Makefile: Remove ifunc tests.
28898         * string/test-string.h: Define TEST_IFUNC.
28899         * string/test-bcopy-ifunc.c: Remove.
28900         * string/test-bzero-ifunc.c: Likewise.
28901         * string/test-memccpy-ifunc.c: Likewise.
28902         * string/test-memchr-ifunc.c: Likewise.
28903         * string/test-memcmp-ifunc.c: Likewise.
28904         * string/test-memcpy-ifunc.c: Likewise.
28905         * string/test-memmem-ifunc.c: Likewise.
28906         * string/test-memmove-ifunc.c: Likewise.
28907         * string/test-mempcpy-ifunc.c: Likewise.
28908         * string/test-memrchr-ifunc.c: Likewise.
28909         * string/test-memset-ifunc.c: Likewise.
28910         * string/test-rawmemchr-ifunc.c: Likewise.
28911         * string/test-stpcpy-ifunc.c: Likewise.
28912         * string/test-stpncpy-ifunc.c: Likewise.
28913         * string/test-strcasecmp-ifunc.c: Likewise.
28914         * string/test-strcasestr-ifunc.c: Likewise.
28915         * string/test-strcat-ifunc.c: Likewise.
28916         * string/test-strchr-ifunc.c: Likewise.
28917         * string/test-strchrnul-ifunc.c: Likewise.
28918         * string/test-strcmp-ifunc.c: Likewise.
28919         * string/test-strcpy-ifunc.c: Likewise.
28920         * string/test-strcspn-ifunc.c: Likewise.
28921         * string/test-strlen-ifunc.c: Likewise.
28922         * string/test-strncasecmp-ifunc.c: Likewise.
28923         * string/test-strncat-ifunc.c: Likewise.
28924         * string/test-strncmp-ifunc.c: Likewise.
28925         * string/test-strncpy-ifunc.c: Likewise.
28926         * string/test-strnlen-ifunc.c: Likewise.
28927         * string/test-strpbrk-ifunc.c: Likewise.
28928         * string/test-strrchr-ifunc.c: Likewise.
28929         * string/test-strspn-ifunc.c: Likewise.
28930         * string/test-strstr-ifunc.c: Likewise.
28932 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28934         * benchtests/Makefile: Remove ifunc tests.
28935         * benchtests/bench-string.h: Define TEST_IFUNC.
28936         * benchtests/bench-bcopy-ifunc.c: Remove.
28937         * benchtests/bench-bzero-ifunc.c: Likewise.
28938         * benchtests/bench-memccpy-ifunc.c: Likewise.
28939         * benchtests/bench-memchr-ifunc.c: Likewise.
28940         * benchtests/bench-memcmp-ifunc.c: Likewise.
28941         * benchtests/bench-memcpy-ifunc.c: Likewise.
28942         * benchtests/bench-memmem-ifunc.c: Likewise.
28943         * benchtests/bench-memmove-ifunc.c: Likewise.
28944         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28945         * benchtests/bench-memrchr-ifunc.c: Likewise.
28946         * benchtests/bench-memset-ifunc.c: Likewise.
28947         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28948         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28949         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28950         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28951         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28952         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28953         * benchtests/bench-strcat-ifunc.c: Likewise.
28954         * benchtests/bench-strchr-ifunc.c: Likewise.
28955         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28956         * benchtests/bench-strcmp-ifunc.c: Likewise.
28957         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28958         * benchtests/bench-strcpy-ifunc.c: Likewise.
28959         * benchtests/bench-strcspn-ifunc.c: Likewise.
28960         * benchtests/bench-strlen-ifunc.c: Likewise.
28961         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28962         * benchtests/bench-strncat-ifunc.c: Likewise.
28963         * benchtests/bench-strncmp-ifunc.c: Likewise.
28964         * benchtests/bench-strncpy-ifunc.c: Likewise.
28965         * benchtests/bench-strnlen-ifunc.c: Likewise.
28966         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28967         * benchtests/bench-strrchr-ifunc.c: Likewise.
28968         * benchtests/bench-strsep-ifunc.c: Likewise.
28969         * benchtests/bench-strspn-ifunc.c: Likewise.
28970         * benchtests/bench-strstr-ifunc.c: Likewise.
28972 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28974         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28976 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28978         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28979         * rt/aio.h: Likewise.
28980         * sysdeps/gnu/bits/utmp.h: Likewise.
28981         * sysdeps/gnu/bits/utmpx.h: Likewise.
28982         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28983         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28984         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28985         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28986         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28987         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28988         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28989         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28990         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28991         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28992         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28993         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28994         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28996         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28997         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28998         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28999         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29000         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29001         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29002         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29003         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29004         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29005         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29006         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29007         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29008         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29009         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29010         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29011         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29012         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29013         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29014         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29015         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29016         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29017         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29018         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29019         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29020         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29021         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29022         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29023         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29025 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29027         [BZ #16245]
29028         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29029         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29031 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29033         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29034         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29035         Likewise.
29037 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29039         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29040         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29041         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29042         (__fesetround): Remove define.
29043         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29044         rounding and exceptions handling.
29045         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29046         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29047         (__fe_nomask_env): Likewise.
29048         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29049         __fegetround instead of fegetround.
29050         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29051         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29053 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29055         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29056         it's there.
29058         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29060 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29062         [BZ #11157]
29063         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29064         (encrypt_r): Likewise.
29065         * malloc/obstack.h (obstack_free): Likewise.
29066         * posix/unistd.h (encrypt): Likewise.
29068 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29070         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29071         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29072         DL_CALL_DT_FINI() that call the functions directly.
29073         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29074         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29075         * elf/dl-fini.c: Likewise.
29077 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29079         * malloc/hooks.c (memalign_check): Add alignment rounding.
29080         * malloc/malloc.c (_mid_memalign): New function.
29081         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29082         Implement by calling _mid_memalign.
29083         * manual/probes.texi (Memory Allocation Probes): Remove
29084         memory_valloc_retry and memory_pvalloc_retry.
29086 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29088         * locale/programs/locarchive.c (open_archive): Add const
29089         qualifier to ARCHIVEFNAME and copy default fname to
29090         DEFAULT_FNAME.
29092         [BZ #15601]
29093         * libio/tst-widetext.input: Rename Oriya to Odia.
29094         * locale/iso-639.def: Likewise.
29096         * manual/probes.texi (Mathematical Function Probes): Add
29097         documentation for sin, cos, asin and acos probes.
29098         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29099         (__sin32): Add slowasin probe.
29100         (__cos32): Add slowacos probe.
29101         (__mpsin): Add slowsin probe.
29102         (__mpcos): Add slowcos probe.
29104 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29106         [BZ #15483]
29107         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29108         thread-local __sim_exceptions_thread and global
29109         __sim_exceptions_global.
29110         (__sim_disabled_exceptions): Change to thread-local
29111         __sim_disabled_exceptions_thread and global
29112         __sim_disabled_exceptions_global.
29113         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29114         and global __sim_round_mode_global.
29115         (__simulate_exceptions): Use thread-local floating-point state and
29116         set global state from it as needed.
29117         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29118         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29119         __sim_round_mode_thread.
29120         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29121         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29122         and global __sim_exceptions_global.
29123         (__sim_disabled_exceptions): Change to thread-local
29124         __sim_disabled_exceptions_thread and global
29125         __sim_disabled_exceptions_global.
29126         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29127         and global __sim_round_mode_global.
29128         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29129         (SIM_SET_GLOBAL): Likewise.
29130         * sysdeps/powerpc/soft-fp/sfp-machine.h
29131         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29132         __sim_round_mode_thread.
29133         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29134         __sim_disabled_exceptions_thread.
29135         (__sim_exceptions): Change to __sim_exceptions_thread.
29136         (__sim_disabled_exceptions): Change to
29137         __sim_disabled_exceptions_thread.
29138         (__sim_round_mode): Change to __sim_round_mode_thread.
29139         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29140         thread-local floating-point state and set global state from it as
29141         needed.
29142         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29143         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29144         (__sim_disabled_exceptions): Remove extern declaration.
29145         (feenableexcept): Use thread-local floating-point state and set
29146         global state from it as needed.
29147         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29148         extern declaration.
29149         (__sim_disabled_exceptions): Likewise.
29150         (__sim_round_mode): Likewise.
29151         (__fegetenv): Use thread-local floating-point state.
29152         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29153         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29154         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29155         floating-point state and set global state from it as needed.
29156         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29157         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29158         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29159         Likewise.
29160         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29161         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29162         Likewise.
29163         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29164         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29165         Use __sim_round_mode_thread.
29166         * math/test-fenv-tls.c: New file.
29167         * math/Makefile (tests): Add test-fenv-tls.
29168         ($(objpfx)test-fenv-tls): Depend on
29169         $(common-objpfx)nptl/libpthread.so.
29171 2013-11-19  Andreas Schwab  <schwab@suse.de>
29173         * locale/programs/locale.c (show_info): Decode wordarray elements.
29174         * locale/categories.def (LC_MONETARY): Add element for
29175         _NL_MONETARY_CRNCYSTR.
29176         * locale/C-monetary.c (conversion_rate): New variable.
29177         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29178         element.
29180 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29182         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29183         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29185 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29187         * elf/Makefile (tst-auxv): New test.
29188         * elf/tst-auxv.c: New
29189         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29191 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29193         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29194         (hidden_proto): Caller changed.
29195         (hidden_tls_proto): New macro.
29196         (libc_hidden_tls_proto): Likewise.
29197         (rtld_hidden_tls_proto): Likewise.
29198         (libm_hidden_tls_proto): Likewise.
29199         (libresolv_hidden_tls_proto): Likewise.
29200         (librt_hidden_tls_proto): Likewise.
29201         (libdl_hidden_tls_proto): Likewise.
29202         (libnss_files_hidden_tls_proto): Likewise.
29203         (libnsl_hidden_tls_proto): Likewise.
29204         (libnss_nisplus_hidden_tls_proto): Likewise.
29205         (libutil_hidden_tls_proto): Likewise.
29207 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29209         [BZ #10253]
29210         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29211         (decompose_rpath): Defer expansion to fillin_rpath.
29212         (_dl_init_paths): Pass linkmap to fillin_rpath.
29214 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29216         * benchtests/Makefile: Add strsep.
29217         * benchtests/bench-strsep.c: New file: strsep benchtest.
29218         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29220 2013-11-18  Andreas Schwab  <schwab@suse.de>
29222         * locale/programs/locale.c (show_info) [case byte]: Check for
29223         '\377' instead of '\177'.
29224         * locale/C-monetary.c (not_available): Always use "\377".
29225         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29226         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29227         detect unavailable sign_posn locale elements.
29228         * locale/localeconv.c (__localeconv): For grouping and
29229         mon_grouping handle "\177" and "\377" like no grouping.
29230         (INT_ELEM): New macro.  Use it to set all numeric members.
29231         * locale/programs/ld-monetary.c (monetary_read)
29232         <tok_mon_grouping>: Normalize single -1 to the empty string.
29233         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29234         Likewise.
29236 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29238         [BZ #16055]
29239         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29240         when we match (nil).
29241         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29243 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29245         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29246         (NO_TEST_INLINE): Update value.
29247         (ERRNO_UNCHANGED): Likewise.
29248         (ERRNO_EDOM): Likewise.
29249         (ERRNO_ERANGE): Likewise.
29250         (IGNORE_RESULT): Likewise.
29251         (check_float_internal): Check signs of NaN results if
29252         TEST_NAN_SIGN used.
29253         (check_complex): Pass TEST_NAN_SIGN flag through to second
29254         check_float_internal call.
29255         (copysign_test_data): Add tests with quiet NaNs as second
29256         argument.  Use TEST_NAN_SIGN.
29257         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29258         TEST_NAN_SIGN.
29259         (signbit_test_data): Add tests of quiet NaN argument.
29260         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29262         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29263         $ignore_result.
29264         (parse_args): Handle function results specified as IGNORE.
29265         * math/libm-test.inc (IGNORE_RESULT): New macro.
29266         (check_float_internal): Do not check numerical result if flag
29267         IGNORE_RESULT set.
29268         (check_complex): Pass through IGNORE_RESULT to second
29269         check_float_internal call.
29270         (check_int): Do not check numerical result if flag IGNORE_RESULT
29271         set.
29272         (check_long): Likewise.
29273         (check_bool): Likewise.
29274         (check_longlong): Likewise.
29275         (lrint_test_data): Add tests of infinite and NaN arguments.
29276         (lrint_tonearest_test_data): Likewise.
29277         (lrint_towardzero_test_data): Likewise.
29278         (lrint_downward_test_data): Likewise.
29279         (lrint_upward_test_data): Likewise.
29280         (llrint_test_data): Likewise.
29281         (llrint_tonearest_test_data): Likewise.
29282         (llrint_towardzero_test_data): Likewise.
29283         (llrint_downward_test_data): Likewise.
29284         (llrint_upward_test_data): Likewise.
29285         (lround_test_data): Likewise.
29286         (llround_test_data): Likewise.
29288         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29289         (ERRNO_UNCHANGED): Update value.
29290         (ERRNO_EDOM): Likewise.
29291         (ERRNO_ERANGE): Likewise.
29292         (NO_TEST_INLINE_FLOAT): New macro.
29293         (NO_TEST_INLINE_DOUBLE): Likewise.
29294         (enable_test): New function.
29295         (RUN_TEST_f_f): Check enable_test before running test.
29296         (RUN_TEST_2_f): Likewise.
29297         (RUN_TEST_fff_f): Likewise.
29298         (RUN_TEST_c_f): Likewise.
29299         (RUN_TEST_f_f1): Likewise.
29300         (RUN_TEST_fF_f1): Likewise.
29301         (RUN_TEST_fI_f1): Likewise.
29302         (RUN_TEST_ffI_f1): Likewise.
29303         (RUN_TEST_c_c): Likewise.
29304         (RUN_TEST_cc_c): Likewise.
29305         (RUN_TEST_f_i): Likewise.
29306         (RUN_TEST_f_i_tg): Likewise.
29307         (RUN_TEST_ff_i_tg): Likewise.
29308         (RUN_TEST_f_b): Likewise.
29309         (RUN_TEST_f_b_tg): Likewise.
29310         (RUN_TEST_f_l): Likewise.
29311         (RUN_TEST_f_L): Likewise.
29312         (RUN_TEST_fFF_11): Likewise.
29313         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29314         conditionals.
29315         (cosh_test_data): Likewise.
29316         (exp_test_data): Likewise.
29317         (expm1_test_data): Likewise.
29318         (hypot_test_data): Likewise.
29319         (pow_test_data): Likewise.
29320         (sinh_test_data): Likewise.
29321         (tanh_test_data): Likewise.
29322         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29323         flags argument.
29325         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29326         tests with quiet NaN input and output.
29327         (acosh_test_data): Likewise.
29328         (asin_test_data): Likewise.
29329         (asinh_test_data): Likewise.
29330         (atan_test_data): Likewise.
29331         (atanh_test_data): Likewise.
29332         (atan2_test_data): Likewise.
29333         (cbrt_test_data): Likewise.
29334         (cos_test_data): Likewise.
29335         (cosh_test_data): Likewise.
29336         (erf_test_data): Likewise.
29337         (erfc_test_data): Likewise.
29338         (exp_test_data): Likewise.
29339         (exp10_test_data): Likewise.
29340         (exp2_test_data): Likewise.
29341         (expm1_test_data): Likewise.
29342         (hypot_test_data): Likewise.
29343         (j0_test_data): Likewise.
29344         (j1_test_data): Likewise.
29345         (jn_test_data): Likewise.
29346         (lgamma_test_data): Likewise.
29347         (log_test_data): Likewise.
29348         (log10_test_data): Likewise.
29349         (log1p_test_data): Likewise.
29350         (log2_test_data): Likewise.
29351         (pow_test_data): Likewise.
29352         (scalb_test_data): Likewise.
29353         (sin_test_data): Likewise.
29354         (sincos_test_data): Likewise.
29355         (sinh_test_data): Likewise.
29356         (tan_test_data): Likewise.
29357         (tanh_test_data): Likewise.
29358         (tgamma_test_data): Likewise.
29359         (y0_test_data): Likewise.
29360         (y1_test_data): Likewise.
29361         (yn_test_data): Likewise.
29363         [BZ #16167]
29364         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29365         argument being NaN and avoid computations with second argument in
29366         that case.
29367         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29368         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29369         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29371 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29373         * locale/iso-639.def: Add Chitwani Tharu (the).
29375 2013-11-14  Andreas Schwab  <schwab@suse.de>
29377         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29378         word instead of empty string.
29380 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29383         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29385         (__fe_nomask_env): Likewise.
29387 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29389         * benchtests/bench-timing.h: Include time.h.
29391 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29393         [BZ #15997]
29394         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29395         to 3.4.0 for x32.
29396         * sysdeps/unix/sysv/linux/configure: Regenerated.
29398 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29400         [BZ #16151]
29401         * stdlib/strtod_l.c (round_and_return): Do not consider
29402         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29403         exponent one less than half the least subnormal exponent.
29404         * stdlib/test-strtod-round-data: Add more tests.
29405         * stdlib/tst-strtod-round.c (tests): Regenerated.
29407 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29409         [BZ #14143]
29410         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29411         (__fe_mask_env): Likewise.
29412         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29413         libm_hidden_proto and add function prototype.
29414         (__fe_mask_env): Add function prototype.
29415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29416         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29418         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29420         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29422 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29424         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29425         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29427 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29429         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29430         of htab_find_slot().
29432 2013-11-11  David S. Miller  <davem@davemloft.net>
29434         [BZ #16150]
29435         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29436         symbol in the non-vis3 case in static builds.
29437         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29438         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29439         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29440         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29442 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29444         [BZ #387]
29445         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29446         it is empty.
29448 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29450         * benchtests/Makefile: Add bench-strtod.
29451         * benchtests/bench-strtod.c: New file: strtod benchtest
29453 2013-11-11  Andreas Schwab  <schwab@suse.de>
29455         [BZ #16153]
29456         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29457         terminating NUL in key length.
29459 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29461         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29462         Add artificial ODP entry for vDSO symbol for PPC64.
29463         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29464         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29466 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29468         [BZ #15374]
29469         * nss/getent.c (services_keys): Recognize services starting with digit.
29471 2013-11-06  David S. Miller  <davem@davemloft.net>
29473         [BZ #15985]
29474         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29475         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29477 2013-11-06  Will Newton  <will.newton@linaro.org>
29479         * manual/memory.texi (Malloc Examples): Remove register
29480         keyword from examples.
29482 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29484         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29486 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29488         [BZ #6981]
29489         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29490         depending on [__GCC_IEC_559 > 0].
29491         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29492         depending on [__GCC_IEC_559_COMPLEX > 0].
29494 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29496         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29497         to iso-639.def.
29499 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29501         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29503 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29505         [BZ #16112]
29506         * malloc/malloc (malloc_info): Do not handle first bin as
29507         special case.
29509 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29511         * locale/iso-639.def: Add Central Nahuatl (nhn).
29513 2013-11-01  Bruno Haible  <bruno@clisp.org>
29515         [BZ #7003]
29516         * manual/math.texi (BSD Random): Specify range upper bound as
29517         in POSIX.
29519 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29521         * locale/iso-639.def: Add Meadow Mari (mhr).
29523 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29525         [BZ #14752], [BZ #15763]
29526         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29527         Validate name.
29528         * rt/tst_shm.c: Add test for escaping directory.
29530 2013-10-31  Andreas Schwab  <schwab@suse.de>
29532         [BZ #15917]
29533         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29534         followed by 'x' as part of digit sequence.
29535         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29537 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29539         [BZ #16037]
29540         * configure.ac: allow GNU Make 4.0 and greater.
29541         * configure: Regenerated.
29543 2013-10-30  Will Newton  <will.newton@linaro.org>
29545         [BZ #16038]
29546         * malloc/hooks.c (memalign_check): Limit alignment to the
29547         maximum representable power of two.
29548         * malloc/malloc.c (__libc_memalign): Likewise.
29549         * malloc/tst-memalign.c (do_test): Add test for very
29550         large alignment values.
29551         * malloc/tst-posix_memalign.c (do_test): Likewise.
29553 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29555         [BZ #11087]
29556         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29557         (munmap_chunk): Likewise.
29558         (mremap_chunk): Likewise.
29560 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29562         [BZ #15799]
29563         * stdlib/div.c (div): Remove obsolete code.
29564         * stdlib/ldiv.c (ldiv): Likewise.
29565         * stdlib/lldiv.c (lldiv): Likewise.
29567 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29569         [BZ #16071]
29570         * nss/nss_files/files-XXX.c (get_contents_ret): New
29571         enumerator.
29572         (get_contents): New function.
29573         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29575 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29577         * configure.in: Moved to ...
29578         * configure.ac: ... here. Change reference to configure.in
29579         to configure.ac.
29580         * sysdeps/arm/preconfigure.ac: ... here.
29581         configure.in to configure.ac.
29582         * sysdeps/gnu/configure.in: Moved to ...
29583         * sysdeps/gnu/configure.ac: ... here.
29584         * sysdeps/i386/configure.in: Moved to ...
29585         * sysdeps/i386/configure.ac: ... here.
29586         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29587         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29588         * sysdeps/mach/configure.in: Moved to ...
29589         * sysdeps/mach/configure.ac: ... here.
29590         * sysdeps/mach/hurd/configure.in: Moved to ...
29591         * sysdeps/mach/hurd/configure.ac: ... here.
29592         * sysdeps/powerpc/configure.in: Moved to ...
29593         * sysdeps/powerpc/configure.ac: ... here.
29594         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29595         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29596         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29597         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29598         * sysdeps/s390/s390-32/configure.in: Moved to ...
29599         * sysdeps/s390/s390-32/configure.ac: ... here.
29600         * sysdeps/s390/s390-64/configure.in: Moved to ...
29601         * sysdeps/s390/s390-64/configure.ac: ... here.
29602         * sysdeps/sh/configure.in: Moved to ...
29603         * sysdeps/sh/configure.ac: ... here.
29604         * sysdeps/sparc/configure.in: Moved to ...
29605         * sysdeps/sparc/configure.ac: ... here.
29606         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29607         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29608         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29609         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29610         * sysdeps/x86_64/configure.in: Moved to ...
29611         * sysdeps/x86_64/configure.ac: ... here.
29612         * sysdeps/x86_64/preconfigure.in: Moved to ...
29613         * sysdeps/x86_64/preconfigure.ac: ... here.
29614         * aclocal.m4: Change reference to configure.in to configure.ac.
29615         * config.h.in: Likewise.
29616         * manual/install.texi: Likewise.
29617         * manual/maint.texi: Likewise.
29618         * Makefile: Likewise.
29619         * malloc/Makefile: Likewise.
29620         * nscd/Makefile: Likewise.
29621         * Makeconfig: Change reference to configure.in and
29622         preconfigure.in to configure.ac and preconfigure.ac
29623         respectively.
29624         * INSTALL: Regenerated.
29625         * configure: Likewise.
29626         * sysdeps/gnu/configure: Likewise.
29627         * sysdeps/i386/configure: Likewise.
29628         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29629         * sysdeps/mach/configure: Likewise.
29630         * sysdeps/mach/hurd/configure: Likewise.
29631         * sysdeps/powerpc/configure: Likewise.
29632         * sysdeps/powerpc/powerpc32/configure: Likewise.
29633         * sysdeps/powerpc/powerpc64/configure: Likewise.
29634         * sysdeps/s390/s390-32/configure: Likewise.
29635         * sysdeps/s390/s390-64/configure: Likewise.
29636         * sysdeps/sh/configure: Likewise.
29637         * sysdeps/sparc/configure: Likewise.
29638         * sysdeps/unix/sysv/linux/configure: Likewise.
29639         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29640         * sysdeps/x86_64/configure: Likewise.
29641         * sysdeps/x86_64/preconfigure: Likewise.
29643 2013-10-29  Andreas Schwab  <schwab@suse.de>
29645         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29647 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29649         * benchtests/pow-inputs: Add new inputs.
29651         * benchtests/exp-inputs: Add new inputs.
29653         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29654         conditional check for return value.
29655         (__cos32): Likewise.
29657 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29659         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29660         to provide a boost for large inputs with word alignment.
29661         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29662         implementation based on optimized PPC64 strcpy.
29663         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29664         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29665         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29666         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29668 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29670         [BZ #2801]
29671         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29673 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29675         [BZ #14876]
29676         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29677         * time/tst-strptime.c (day_tests): Add testcase.
29679 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29681         [BZ #14029]
29682         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29684 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29686         [BZ #16074]
29687         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29688         MAP_FAILED on error.
29690 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29692         [BZ #16072]
29693         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29694         heap for large requests.
29696 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29698         [BZ #9954]
29699         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29700         result if the result has no associated interface.
29701         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29702         interface for all 127.X.Y.Z addresses.
29704 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29706         * locale/iso-639.def: Add Ligurian (lij)
29708 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29710         [BZ #15825]
29711         * sunrpc/rpc_main.c: Document rpcgen -5.
29713 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29715         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29717 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29719         [BZ #10278]
29720         * posix/glob.c: Match only directories when trailing slash is present.
29721         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29722         (main): Add testcase.
29724 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29726         [BZ #15670]
29727         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29729 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29731         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29732         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29733         AUTH_DES and cindex for FIPS 140-2.
29734         (DES Encryption): Add cindex FIPS 46-3.
29736         * locale/locarchive.h (struct locarhandle): Add fname.
29737         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29738         if an optional argument was specified to --list-archive,
29739         otherwise NULL.
29740         * locale/programs/locarchive.c (show_archive_content): Take new
29741         argument fname and pass it via ah.fname to open_archive.
29742         * locale/programs/localedef.h: Update decl.
29743         (open_archive): If AH->fname is non-null, open that file
29744         rather than the default file name, and don't ignore ENOENT.
29745         (create_archive): Set AH.fname to NULL.
29746         (delete_locales_from_archive): Likewise.
29747         (add_locales_to_archive): Likewise.
29748         * locale/programs/locfile.c (write_all_categories): Likewise.
29750 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29751             Aldy Hernandez  <aldyh@redhat.com>
29753         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29754         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29755         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29756         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29757         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29758         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29759         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29760         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29761         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29762         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29763         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29764         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29765         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29766         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29767         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29768         Likewise.
29769         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29770         Likewise.
29771         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29772         Likewise.
29773         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29774         Likewise.
29775         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29776         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29777         Likewise.
29778         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29779         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29780         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29781         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29782         Likewise.
29783         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29784         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29785         * sysdeps/powerpc/preconfigure: Likewise.
29786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29787         Likewise.
29788         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29789         Replace contents of file by #include of <fenv_libc.h>.
29790         * sysdeps/powerpc/soft-fp/sfp-machine.h
29791         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29792         and <sys/prctl.h>.
29793         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29794         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29795         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29796         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29797         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29798         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29800         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29801         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29802         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29803         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29804         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29806         Allow copysignl PLT reference to be missing.
29808 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29809             Joseph Myers  <joseph@codesourcery.com
29811         [BZ #15948]
29812         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29813         single character.
29814         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29816 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29818         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29819         * elf/tst-tls1.c: Likewise.
29820         * elf/tst-tls10.h: Likewise.
29821         * elf/tst-tls14.c: Likewise.
29822         * elf/tst-tls2.c: Likewise.
29823         * elf/tst-tls3.c: Likewise.
29824         * elf/tst-tls4.c: Likewise.
29825         * elf/tst-tls5.c: Likewise.
29826         * elf/tst-tls6.c: Likewise.
29827         * elf/tst-tls7.c: Likewise.
29828         * elf/tst-tls8.c: Likewise.
29829         * elf/tst-tls9.c: Likewise.
29830         * elf/tst-tlsmod1.c: Likewise.
29831         * elf/tst-tlsmod13.c: Likewise.
29832         * elf/tst-tlsmod13a.c: Likewise.
29833         * elf/tst-tlsmod14a.c: Likewise.
29834         * elf/tst-tlsmod16a.c: Likewise.
29835         * elf/tst-tlsmod16b.c: Likewise.
29836         * elf/tst-tlsmod2.c: Likewise.
29837         * elf/tst-tlsmod3.c: Likewise.
29838         * elf/tst-tlsmod4.c: Likewise.
29839         * elf/tst-tlsmod5.c: Likewise.
29840         * elf/tst-tlsmod6.c: Likewise.
29842 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29844         [BZ #12486]
29845         * malloc/malloc.c: remove checks for statistics.
29847 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29849         [BZ #15277]
29850         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29851         * inet/tst-network.c: Add testcase.
29853 2013-10-17  Andreas Schwab  <schwab@suse.de>
29855         [BZ #15218]
29856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29857         to determine canonical name.
29859 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29861         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29862         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29863         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29864         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29865         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29866         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29867         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29868         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29869         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29870         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29871         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29872         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29873         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29874         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29875         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29876         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29877         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29878         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29879         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29880         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29881         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29882         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29883         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29884         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29885         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29886         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29887         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29889         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29891         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29892         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29893         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29894         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29895         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29896         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29899         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29900         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29901         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29902         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29903         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29904         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29905         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29906         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29907         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29908         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29909         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29910         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29911         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29912         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29913         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29914         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29915         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29916         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29917         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29918         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29920 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29922         [BZ #16041]
29923         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29924         make result into a quiet NaN.
29926 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29928         * soft-fp/adddf3.c: Fix horizontal whitespace.
29929         * soft-fp/addsf3.c: Likewise.
29930         * soft-fp/addtf3.c: Likewise.
29931         * soft-fp/divdf3.c: Likewise.
29932         * soft-fp/divsf3.c: Likewise.
29933         * soft-fp/divtf3.c: Likewise.
29934         * soft-fp/double.h: Likewise.
29935         * soft-fp/eqdf2.c: Likewise.
29936         * soft-fp/eqsf2.c: Likewise.
29937         * soft-fp/eqtf2.c: Likewise.
29938         * soft-fp/extenddftf2.c: Likewise.
29939         * soft-fp/extended.h: Likewise.
29940         * soft-fp/extendsfdf2.c: Likewise.
29941         * soft-fp/extendsftf2.c: Likewise.
29942         * soft-fp/extendxftf2.c: Likewise.
29943         * soft-fp/fixdfdi.c: Likewise.
29944         * soft-fp/fixdfsi.c: Likewise.
29945         * soft-fp/fixdfti.c: Likewise.
29946         * soft-fp/fixsfdi.c: Likewise.
29947         * soft-fp/fixsfsi.c: Likewise.
29948         * soft-fp/fixsfti.c: Likewise.
29949         * soft-fp/fixtfdi.c: Likewise.
29950         * soft-fp/fixtfsi.c: Likewise.
29951         * soft-fp/fixtfti.c: Likewise.
29952         * soft-fp/fixunsdfdi.c: Likewise.
29953         * soft-fp/fixunsdfsi.c: Likewise.
29954         * soft-fp/fixunsdfti.c: Likewise.
29955         * soft-fp/fixunssfdi.c: Likewise.
29956         * soft-fp/fixunssfsi.c: Likewise.
29957         * soft-fp/fixunssfti.c: Likewise.
29958         * soft-fp/fixunstfdi.c: Likewise.
29959         * soft-fp/fixunstfsi.c: Likewise.
29960         * soft-fp/fixunstfti.c: Likewise.
29961         * soft-fp/floatdidf.c: Likewise.
29962         * soft-fp/floatdisf.c: Likewise.
29963         * soft-fp/floatditf.c: Likewise.
29964         * soft-fp/floatsidf.c: Likewise.
29965         * soft-fp/floatsisf.c: Likewise.
29966         * soft-fp/floatsitf.c: Likewise.
29967         * soft-fp/floattidf.c: Likewise.
29968         * soft-fp/floattisf.c: Likewise.
29969         * soft-fp/floattitf.c: Likewise.
29970         * soft-fp/floatundidf.c: Likewise.
29971         * soft-fp/floatundisf.c: Likewise.
29972         * soft-fp/floatunditf.c: Likewise.
29973         * soft-fp/floatunsidf.c: Likewise.
29974         * soft-fp/floatunsisf.c: Likewise.
29975         * soft-fp/floatunsitf.c: Likewise.
29976         * soft-fp/floatuntidf.c: Likewise.
29977         * soft-fp/floatuntisf.c: Likewise.
29978         * soft-fp/floatuntitf.c: Likewise.
29979         * soft-fp/fmadf4.c: Likewise.
29980         * soft-fp/fmasf4.c: Likewise.
29981         * soft-fp/fmatf4.c: Likewise.
29982         * soft-fp/gedf2.c: Likewise.
29983         * soft-fp/gesf2.c: Likewise.
29984         * soft-fp/getf2.c: Likewise.
29985         * soft-fp/ledf2.c: Likewise.
29986         * soft-fp/lesf2.c: Likewise.
29987         * soft-fp/letf2.c: Likewise.
29988         * soft-fp/muldf3.c: Likewise.
29989         * soft-fp/mulsf3.c: Likewise.
29990         * soft-fp/multf3.c: Likewise.
29991         * soft-fp/negdf2.c: Likewise.
29992         * soft-fp/negsf2.c: Likewise.
29993         * soft-fp/negtf2.c: Likewise.
29994         * soft-fp/op-1.h: Likewise.
29995         * soft-fp/op-2.h: Likewise.
29996         * soft-fp/op-4.h: Likewise.
29997         * soft-fp/op-8.h: Likewise.
29998         * soft-fp/op-common.h: Likewise.
29999         * soft-fp/quad.h: Likewise.
30000         * soft-fp/single.h: Likewise.
30001         * soft-fp/soft-fp.h: Likewise.
30002         * soft-fp/sqrtdf2.c: Likewise.
30003         * soft-fp/sqrtsf2.c: Likewise.
30004         * soft-fp/sqrttf2.c: Likewise.
30005         * soft-fp/subdf3.c: Likewise.
30006         * soft-fp/subsf3.c: Likewise.
30007         * soft-fp/subtf3.c: Likewise.
30008         * soft-fp/truncdfsf2.c: Likewise.
30009         * soft-fp/trunctfdf2.c: Likewise.
30010         * soft-fp/trunctfsf2.c: Likewise.
30011         * soft-fp/trunctfxf2.c: Likewise.
30012         * soft-fp/unorddf2.c: Likewise.
30013         * soft-fp/unordsf2.c: Likewise.
30014         * soft-fp/unordtf2.c: Likewise.
30016 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30018         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30019         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30021 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30023         * elf/dl-libc.c: Clear initfini list after freeing.
30025 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30027         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30028         * soft-fp/addsf3.c: Likewise.
30029         * soft-fp/addtf3.c: Likewise.
30030         * soft-fp/divdf3.c: Likewise.
30031         * soft-fp/divsf3.c: Likewise.
30032         * soft-fp/divtf3.c: Likewise.
30033         * soft-fp/double.h: Likewise.
30034         * soft-fp/eqdf2.c: Likewise.
30035         * soft-fp/eqsf2.c: Likewise.
30036         * soft-fp/eqtf2.c: Likewise.
30037         * soft-fp/extenddftf2.c: Likewise.
30038         * soft-fp/extended.h: Likewise.
30039         * soft-fp/extendsfdf2.c: Likewise.
30040         * soft-fp/extendsftf2.c: Likewise.
30041         * soft-fp/extendxftf2.c: Likewise.
30042         * soft-fp/fixdfdi.c: Likewise.
30043         * soft-fp/fixdfsi.c: Likewise.
30044         * soft-fp/fixdfti.c: Likewise.
30045         * soft-fp/fixsfdi.c: Likewise.
30046         * soft-fp/fixsfsi.c: Likewise.
30047         * soft-fp/fixsfti.c: Likewise.
30048         * soft-fp/fixtfdi.c: Likewise.
30049         * soft-fp/fixtfsi.c: Likewise.
30050         * soft-fp/fixtfti.c: Likewise.
30051         * soft-fp/fixunsdfdi.c: Likewise.
30052         * soft-fp/fixunsdfsi.c: Likewise.
30053         * soft-fp/fixunsdfti.c: Likewise.
30054         * soft-fp/fixunssfdi.c: Likewise.
30055         * soft-fp/fixunssfsi.c: Likewise.
30056         * soft-fp/fixunssfti.c: Likewise.
30057         * soft-fp/fixunstfdi.c: Likewise.
30058         * soft-fp/fixunstfsi.c: Likewise.
30059         * soft-fp/fixunstfti.c: Likewise.
30060         * soft-fp/floatdidf.c: Likewise.
30061         * soft-fp/floatdisf.c: Likewise.
30062         * soft-fp/floatditf.c: Likewise.
30063         * soft-fp/floatsidf.c: Likewise.
30064         * soft-fp/floatsisf.c: Likewise.
30065         * soft-fp/floatsitf.c: Likewise.
30066         * soft-fp/floattidf.c: Likewise.
30067         * soft-fp/floattisf.c: Likewise.
30068         * soft-fp/floattitf.c: Likewise.
30069         * soft-fp/floatundidf.c: Likewise.
30070         * soft-fp/floatundisf.c: Likewise.
30071         * soft-fp/floatunsidf.c: Likewise.
30072         * soft-fp/floatunsisf.c: Likewise.
30073         * soft-fp/floatuntidf.c: Likewise.
30074         * soft-fp/floatuntisf.c: Likewise.
30075         * soft-fp/floatuntitf.c: Likewise.
30076         * soft-fp/fmadf4.c: Likewise.
30077         * soft-fp/fmasf4.c: Likewise.
30078         * soft-fp/fmatf4.c: Likewise.
30079         * soft-fp/gedf2.c: Likewise.
30080         * soft-fp/gesf2.c: Likewise.
30081         * soft-fp/getf2.c: Likewise.
30082         * soft-fp/ledf2.c: Likewise.
30083         * soft-fp/lesf2.c: Likewise.
30084         * soft-fp/letf2.c: Likewise.
30085         * soft-fp/muldf3.c: Likewise.
30086         * soft-fp/mulsf3.c: Likewise.
30087         * soft-fp/multf3.c: Likewise.
30088         * soft-fp/negdf2.c: Likewise.
30089         * soft-fp/negsf2.c: Likewise.
30090         * soft-fp/negtf2.c: Likewise.
30091         * soft-fp/op-1.h: Likewise.
30092         * soft-fp/op-2.h: Likewise.
30093         * soft-fp/op-4.h: Likewise.
30094         * soft-fp/op-8.h: Likewise.
30095         * soft-fp/op-common.h: Likewise.
30096         * soft-fp/quad.h: Likewise.
30097         * soft-fp/single.h: Likewise.
30098         * soft-fp/soft-fp.h: Likewise.
30099         * soft-fp/sqrtdf2.c: Likewise.
30100         * soft-fp/sqrtsf2.c: Likewise.
30101         * soft-fp/sqrttf2.c: Likewise.
30102         * soft-fp/subdf3.c: Likewise.
30103         * soft-fp/subsf3.c: Likewise.
30104         * soft-fp/subtf3.c: Likewise.
30105         * soft-fp/truncdfsf2.c: Likewise.
30106         * soft-fp/trunctfdf2.c: Likewise.
30107         * soft-fp/trunctfsf2.c: Likewise.
30108         * soft-fp/trunctfxf2.c: Likewise.
30109         * soft-fp/unorddf2.c: Likewise.
30110         * soft-fp/unordsf2.c: Likewise.
30111         * soft-fp/unordtf2.c: Likewise.
30113 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30115         [BZ #15672]
30116         * misc/error.c (error_tail): Fix possible buffer overflow.
30118 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30120         [BZ #13028]
30121         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30122         address.
30124 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30126         [BZ #832]
30127         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30128         testing pipefail option.
30130 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30132         * soft-fp/double.h: Indent preprocessor directives inside #if.
30133         * soft-fp/extended.h: Likewise.
30134         * soft-fp/op-2.h: Likewise.
30135         * soft-fp/op-4.h: Likewise.
30136         * soft-fp/op-common.h: Likewise.
30137         * soft-fp/quad.h: Likewise.
30138         * soft-fp/single.h: Likewise.
30139         * soft-fp/soft-fp.h: Likewise.
30141 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30143         * iconv/iconv_prog.c: Fix typos.
30144         * stdio-common/psiginfo-data.h: Likewise.
30146 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30148         [BZ #15764]
30149         * locale/setlocale.c: Fix typo.
30151 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30153         [BZ #16036]
30154         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30155         signaling NaN arguments.
30156         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30157         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30159         [BZ #14910]
30160         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30161         unordered operands.
30162         * soft-fp/gesf2.c (__gesf2): Likewise.
30163         * soft-fp/getf2.c (__getf2): Likewise.
30164         * soft-fp/ledf2.c (__ledf2): Likewise.
30165         * soft-fp/lesf2.c (__lesf2): Likewise.
30166         * soft-fp/letf2.c (__letf2): Likewise.
30168         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30169         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30170         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30171         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30172         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30173         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30174         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30175         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30176         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30177         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30178         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30179         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30180         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30181         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30182         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30183         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30184         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30185         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30186         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30187         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30188         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30189         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30190         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30191         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30192         * soft-fp/floattidf.c (__floattidf): Likewise.
30193         * soft-fp/floattisf.c (__floattisf): Likewise.
30194         * soft-fp/floattitf.c (__floattitf): Likewise.
30195         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30196         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30197         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30198         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30199         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30200         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30201         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30202         * soft-fp/gesf2.c (__gesf2): Likewise.
30203         * soft-fp/getf2.c (__getf2): Likewise.
30204         * soft-fp/ledf2.c (__ledf2): Likewise.
30205         * soft-fp/lesf2.c (__lesf2): Likewise.
30206         * soft-fp/letf2.c (__letf2): Likewise.
30208         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30209         Undefine and redefine.
30210         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30211         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30212         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30213         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30214         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30215         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30216         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30217         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30218         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30219         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30220         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30221         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30222         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30223         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30224         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30226         [BZ #16032]
30227         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30228         without decrementing exponent if mantissa >= that for the
30229         denominator, not >.
30230         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30231         denominator, not >.  Decrement exponent in < case instead of
30232         incrementing in >= case.
30233         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30234         without decrementing exponent if mantissa >= that for the
30235         denominator, not >.
30237         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30238         computing saturated result for unsigned overflow.
30240 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30241             Jeff Law  <law@redhat.com>
30243         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30244         (atan2Mp): Add systemtap probe marker.
30245         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30246         (__ieee754_log): Add systemtap probe marker.
30247         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30248         (atanMp): Add systemtap probe marker.
30249         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30250         (tanMp): Add systemtap probe marker.
30251         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30252         (__slowexp): Add systemtap probe marker.
30253         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30254         (__slowpow): Add systemtap probe marker.
30255         * manual/probes.texi: Document probes.
30257 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30259         [BZ #15362]
30260         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30261         written.
30262         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30263         written.
30264         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30265         written to buffer but not flushed.
30266         * libio/iofwrite_u.c:  Likewise.
30267         * libio/iopadn.c:  Return bytes returned even if EOF was
30268         encountered.
30269         * libio/iowpadn.c:  Likewise.
30270         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30271         if _IO_padn does not write the whole buffer.
30272         [!COMPILE_WPRINTF] (PAD): Likewise.
30274 2013-10-10  David S. Miller  <davem@davemloft.net>
30276         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30277         directory block.
30279 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30281         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30282         instead of FSF address.
30283         * soft-fp/fixdfti.c: Likewise.
30284         * soft-fp/fixsfti.c: Likewise.
30285         * soft-fp/fixtfti.c: Likewise.
30286         * soft-fp/fixunsdfti.c: Likewise.
30287         * soft-fp/fixunssfti.c: Likewise.
30288         * soft-fp/fixunstfti.c: Likewise.
30289         * soft-fp/floattidf.c: Likewise.
30290         * soft-fp/floattisf.c: Likewise.
30291         * soft-fp/floattitf.c: Likewise.
30292         * soft-fp/floatuntidf.c: Likewise.
30293         * soft-fp/floatuntisf.c: Likewise.
30294         * soft-fp/floatuntitf.c: Likewise.
30295         * soft-fp/trunctfxf2.c: Likewise.
30297         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30298         * soft-fp/fixdfti.c: Likewise.
30299         * soft-fp/fixsfti.c: Likewise.
30300         * soft-fp/fixtfti.c: Likewise.
30301         * soft-fp/fixunsdfti.c: Likewise.
30302         * soft-fp/fixunssfti.c: Likewise.
30303         * soft-fp/fixunstfti.c: Likewise.
30304         * soft-fp/floattidf.c: Likewise.
30305         * soft-fp/floattisf.c: Likewise.
30306         * soft-fp/floattitf.c: Likewise.
30307         * soft-fp/floatuntidf.c: Likewise.
30308         * soft-fp/floatuntisf.c: Likewise.
30309         * soft-fp/floatuntitf.c: Likewise.
30310         * soft-fp/trunctfxf2.c: Likewise.
30312 2013-10-10  David S. Miller  <davem@davemloft.net>
30314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30316 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30318         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30319         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30320         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30321         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30322         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30323         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30324         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30326         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30327         for NaNs before doing comparisons on argument.
30328         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30329         Likewise.
30331 2013-10-10  Will Newton  <will.newton@linaro.org>
30333         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30334         passed to _int_memalign does not overflow.
30336 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30338         * scripts/bench.pl: Add include-sources directive.
30339         * benchtests/README: Update documentation.
30341 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30343         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30344         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30345         instead of FP_INIT_ROUNDMODE.
30346         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30347         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30349         [BZ #16034]
30350         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30351         copy class of input value.
30352         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30353         not handle exceptions.
30354         * soft-fp/negsf2.c (__negsf2): Likewise.
30355         * soft-fp/negtf2.c (__negtf2): Likewise.
30356         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30358 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30360         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30361         semicolon.  From Linux kernel.
30363 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30365         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30367 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30369         [BZ #156]
30370         * manual/socket.texi: Added statement about buffer
30371         for gethostbyname2_r.
30373 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30375         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30376         Use .p2align directive instead, throughout.
30377         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30378         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30379         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30380         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30381         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30382         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30383         * sysdeps/x86_64/strchr.S: Likewise.
30384         * sysdeps/x86_64/strrchr.S: Likewise.
30386 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30388         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30390         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30392         * sysdeps/generic/math_private.h (__mpsin1): Remove
30393         declaration.
30394         (__mpcos1): Likewise.
30395         (__mpsin): New argument __range_reduce.
30396         (__mpcos): Likewise.
30397         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30398         (slow): Use __mpsin and __mpcos.
30399         (slow1): Likewise.
30400         (slow2): Likewise.
30401         (sloww): Likewise.
30402         (sloww1): Likewise.
30403         (sloww2): Likewise.
30404         (bsloww): Likewise.
30405         (bsloww1): Likewise.
30406         (bsloww2): Likewise.
30407         (cslow2): Likewise.
30408         (csloww): Likewise.
30409         (csloww1): Likewise.
30410         (csloww2): Likewise.
30411         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30412         range_reduce.  Merge in __mpsin1.
30413         (__mpcos): Likewise.
30414         (__mpsin1): Remove.
30415         (__mpcos1): Likewise.
30417 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30419         * locale/loadlocale.c (_nl_intern_locale_data): Use
30420         LOCFILE_ALIGNED_P.
30421         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30422         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30423         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30424         obstack data is appropriately aligned.
30425         (obstack_int32_grow_fast): Likewise.
30426         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30427         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30428         (add_locale_uint32_array): Likewise.
30430 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30432         * benchtests/Makefile: Remove ARGLIST and RET variables.
30433         ($(objpfx)bench-%.c): Pass only function name to the script.
30434         * benchtests/README: Update documentation.
30435         * benchtests/acos-inputs: Add new directives.
30436         * benchtests/acosh-inputs: Likewise.
30437         * benchtests/asin-inputs: Likewise.
30438         * benchtests/asinh-inputs: Likewise.
30439         * benchtests/atan-inputs: Likewise.
30440         * benchtests/atanh-inputs: Likewise.
30441         * benchtests/cos-inputs: Likewise.
30442         * benchtests/cosh-inputs: Likewise.
30443         * benchtests/exp-inputs: Likewise.
30444         * benchtests/log-inputs: Likewise.
30445         * benchtests/pow-inputs: Likewise.
30446         * benchtests/rint-inputs: Likewise.
30447         * benchtests/sin-inputs: Likewise.
30448         * benchtests/sinh-inputs: Likewise.
30449         * benchtests/tan-inputs: Likewise.
30450         * benchtests/tanh-inputs: Likewise.
30451         * scripts/bench.pl: Add support for new directives.
30453 2013-10-07  Alan Modra  <amodra@gmail.com>
30455         * README: Fix careless merge.
30457 2013-10-05  Alan Modra  <amodra@gmail.com>
30459         * NEWS: Mention powerpc64le support and bugs fixed.
30460         * README: Both big-endian and little-endian powerpc64 supported.
30462 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30464         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30465         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30466         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30467         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30469 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30471         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30472         match prototype.
30474 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30476         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30477         Move -mhard-float appending from
30478         ports/sysdeps/powerpc/powerpc32/Makefile.
30479         [$(with-fp) = yes] (ASFLAGS): Likewise.
30480         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30481         * sysdeps/powerpc/nofpu: Move directory from
30482         ports/sysdeps/powerpc/nofpu.
30483         * sysdeps/powerpc/soft-fp: Move directory from
30484         ports/sysdeps/powerpc/soft-fp.
30485         * sysdeps/powerpc/powerpc32/405: Move directory from
30486         ports/sysdeps/powerpc/powerpc32/405.
30487         * sysdeps/powerpc/powerpc32/440: Move directory from
30488         ports/sysdeps/powerpc/powerpc32/440.
30489         * sysdeps/powerpc/powerpc32/464: Move directory from
30490         ports/sysdeps/powerpc/powerpc32/464.
30491         * sysdeps/powerpc/powerpc32/476: Move directory from
30492         ports/sysdeps/powerpc/powerpc32/476.
30493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30494         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30496         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30498         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30500         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30502         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30503         * README: Update for powerpc-*-linux-gnu software floating point
30504         support in libc.
30506         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30507         case to powerpc/powerpc32*.
30508         * sysdeps/unix/sysv/linux/configure: Regenerated.
30510         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30511         (_FPU_MASK_OM): Define as 0x04.
30512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30514         0x00c10080.
30515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30516         0x0000003c.
30517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30520         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30521         getcontext_e500.
30522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30523         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30524         setcontext_e500.
30525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30526         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30527         and setcontext_e500.
30529 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30531         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30533 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30535         * manual/threads.texi (Default Thread Attributes): Fix typo.
30537 2013-10-04  Will Newton  <will.newton@linaro.org>
30539         * malloc/Makefile: Add tst-memalign.
30540         * malloc/tst-memalign.c: New file.
30542         * malloc/tst-posix_memalign.c: Add comments.
30543         (do_test): Add comments and call free on all potentially
30544         allocated pointers. Add space after cast.
30546         * malloc/tst-pvalloc.c: Add comments.
30547         (do_test): Add comments and call free on all potentially
30548         allocated pointers. Remove duplicate check for NULL pointer.
30549         Add space after cast.
30551         * malloc/tst-valloc.c: Add comments.
30552         (do_test): Add comments and call free on all potentially
30553         allocated pointers. Remove duplicate check for NULL pointer.
30554         Add space after cast.
30556 2013-10-04  Alan Modra  <amodra@gmail.com>
30558         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30559         Use stdint types in rather than __attribute__((mode())).
30560         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30562 2013-10-04  Alan Modra  <amodra@gmail.com>
30564         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30565         Correct handling of unaligned relocs for little-endian.
30566         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30568 2013-10-04  Alan Modra  <amodra@gmail.com>
30570         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30571         * configure: Regenerate.
30572         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30573         * shlib-versions: Likewise.
30575 2013-10-04  Alan Modra  <amodra@gmail.com>
30577         * string/tester.c (test_memrchr): Increment reported test cycle.
30579 2013-10-04  Alan Modra  <amodra@gmail.com>
30581         * string/test-memcpy.c (do_one_test): When reporting errors, print
30582         string address and don't overrun end of string.
30584 2013-10-04  Alan Modra  <amodra@gmail.com>
30586         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30587         insrdi.  Make better use of reg selection to speed exit slightly.
30588         Schedule entry path a little better.  Remove useless "are we done"
30589         checks on entry to main loop.  Handle wrapping around zero address.
30590         Correct main loop count.  Handle single left-over word from main
30591         loop inline rather than by using loop_small.  Remove extra word
30592         case in loop_small caused by wrong loop count.  Add little-endian
30593         support.
30594         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30595         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30596         cache hint.
30597         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30598         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30599         support.  Avoid rlwimi.
30600         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30602 2013-10-04  Alan Modra  <amodra@gmail.com>
30604         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30605         insrdi.  Formatting.
30606         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30607         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30608         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30609         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30610         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30611         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30613 2013-10-04  Alan Modra  <amodra@gmail.com>
30615         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30616         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30617         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30618         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30619         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30620         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30621         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30622         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30623         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30624         use of regs.  Use power7 mtocrf.  Tidy function tails.
30626 2013-10-04  Alan Modra  <amodra@gmail.com>
30628         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30629         Formatting.  Consistently use rXXX register defines or rN defines.
30630         Use early exit labels that avoid restoring unused non-volatile regs.
30631         Make cr field use more consistent with rWORDn compares.  Rename
30632         regs used as shift registers for unaligned loop, using rN defines
30633         for short lifetime/multiple use regs.
30634         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30635         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30636         addi 1,1,64 to pop stack frame.  Simplify return value code.
30637         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30639 2013-10-04  Alan Modra  <amodra@gmail.com>
30641         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30642         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30643         rather than rlwimi.
30644         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30645         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30646         little-endian support.  Correct typos.
30647         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30648         rather than rlwimi.
30649         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30650         in loop and entry code to keep "and." results.
30651         (strchr): Add little-endian support.  Comment.  Move cntlzd
30652         earlier in tail.
30653         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30655 2013-10-04  Alan Modra  <amodra@gmail.com>
30657         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30658         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30659         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30660         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30662 2013-10-04  Alan Modra  <amodra@gmail.com>
30664         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30665         (rTMP): Define as r11.
30666         (strcmp): Add little-endian support.  Optimise tail.
30667         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30668         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30669         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30670         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30671         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30672         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30673         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30675 2013-10-04  Alan Modra  <amodra@gmail.com>
30677         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30678         little-endian support.  Remove unnecessary "are we done" tests.
30679         Handle "s" wrapping around zero and extremely large "size".
30680         Correct main loop count.  Handle single left-over word from main
30681         loop inline rather than by using small_loop.  Correct comments.
30682         Delete "zero" tail, use "end_max" instead.
30683         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30685 2013-10-04  Alan Modra  <amodra@gmail.com>
30687         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30688         support.  Don't branch over align.
30689         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30690         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30691         support.  Rearrange tmp reg use to suit.  Comment.
30692         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30694 2013-10-04  Alan Modra  <amodra@gmail.com>
30696         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30698 2013-10-04  Alan Modra  <amodra@gmail.com>
30700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30701         conditional form of branch and link when obtaining pc.
30702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30704 2013-10-04  Alan Modra  <amodra@gmail.com>
30706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30707         HIWORD/LOWORD.
30708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30711 2013-10-04  Alan Modra  <amodra@gmail.com>
30713         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30714         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30715         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30716         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30717         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30718         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30719         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30720         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30721         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30722         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30724 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30725             Alistair Popple <alistair@ozlabs.au.ibm.com>
30726             Alan Modra <amodra@gmail.com>
30728         [BZ #15723]
30729         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30730         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30731         _dl_hwcap access for little-endian.
30732         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30733         destroy vmx regs when saving unaligned.
30734         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30735         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30736         destroy vmx regs when saving unaligned.
30738 2013-10-04  Alan Modra  <amodra@gmail.com>
30740         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30741         Don't use a union to pack hi/low value.
30743 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30745         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30746         for little-endian.
30747         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30748         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30749         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30750         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30751         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30753 2013-10-04  Alan Modra  <amodra@gmail.com>
30755         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30756         constants to usual value for .cst8 section, and remove redundant
30757         high address load.
30758         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30759         constant for 0x1p52.  Load little-endian words of double from
30760         correct stack offsets.
30762 2013-10-04  Alan Modra  <amodra@gmail.com>
30764         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30765         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30766         words of double from correct stack offsets.
30767         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30768         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30769         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30770         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30771         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30772         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30773         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30774         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30775         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30776         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30777         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30778         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30779         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30780         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30781         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30782         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30783         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30785 2013-10-04  Alan Modra  <amodra@gmail.com>
30787         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30788         64-bit int/double union.
30789         (_FPU_SETCW): Likewise.
30790         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30791         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30793 2013-10-04  Alan Modra  <amodra@gmail.com>
30795         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30796         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30798 2013-10-04  Alan Modra  <amodra@gmail.com>
30800         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30801         use vector int constants.
30802         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30804 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30806         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30807         array with long long.
30808         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30809         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30810         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30811         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30812         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30813         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30814         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30815         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30816         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30817         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30818         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30819         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30820         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30822 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30824         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30825         (__signbit): Likewise.  Correct for little-endian.
30826         (__signbitl): Call __signbit.
30827         (lrint): Correct for little-endian.
30828         (lrintf): Call lrint.
30830 2013-10-04  Alan Modra  <amodra@gmail.com>
30832         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30833         union 32-bit int array member with 64-bit int array.
30834         (t515, tm256): Double rather than long double.
30835         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30837 2013-10-04  Alan Modra  <amodra@gmail.com>
30839         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30840         Delete.
30841         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30842         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30843         version of math_ldbl.h.
30845 2013-10-04  Alan Modra  <amodra@gmail.com>
30847         [BZ #15734], [BZ #15735]
30848         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30849         all uses of ieee875 long double macros and unions.  Simplify test
30850         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30851         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30852         normalize after ldbl_extract_mantissa, and don't add hidden bit
30853         already handled.  Don't treat low word of ieee854 mantissa like
30854         low word of IBM long double and mask off bit when testing for
30855         zero.
30856         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30857         all uses of ieee875 long double macros and unions.  Simplify tests
30858         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30859         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30860         two1022, instead use their values.  Recognise that tests for large
30861         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30862         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30863         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30864         test for 0.0L and nan.  Correct negation.
30865         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30866         ieee875 long double macros and unions.  Correct output for large
30867         magnitude x.  Correct absolute value calculation.
30868         (__erfcl): Likewise.
30869         * math/libm-test.inc: Add tests for errors discovered in IBM long
30870         double versions of fmodl, remainderl, erfl and erfcl.
30872 2013-10-04  Alan Modra  <amodra@gmail.com>
30874         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30875         all uses of ieee854 long double macros and unions.  Simplify tests
30876         for long doubles that are fully specified by the high double.
30877         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30878         Likewise.
30879         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30880         Remove dead code too.
30881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30882         (__ieee754_ynl): Likewise.
30883         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30884         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30885         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30886         Remove dead code too.
30887         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30888         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30889         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30890         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30891         Simplify.
30892         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30893         Simplify.
30894         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30895         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30896         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30897         Comment on variable precision.
30898         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30899         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30900         Likewise.
30901         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30902         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30903         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30904         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30905         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30907 2013-10-04  Alan Modra  <amodra@gmail.com>
30909         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30910         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30911         all uses of ieee854 long double macros and unions.
30912         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30913         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30914         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30915         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30916         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30917         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30918         Likewise.
30919         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30920         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30921         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30922         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30923         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30924         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30925         Simplify sign and nan test too.
30926         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30927         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30928         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30929         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30930         Likewise.
30931         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30932         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30933         Likewise.
30934         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30935         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30936         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30937         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30938         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30941 2013-10-04  Alan Modra  <amodra@gmail.com>
30943         * stdio-common/printf_size.c (__printf_size): Don't use
30944         union ieee854_long_double in fpnum union.
30945         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30946         signbit macro to retrieve sign from long double.
30947         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30948         retrieve sign from long double.
30949         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30950         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30951         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30952         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30953         * math/test-misc.c (main): Don't use union ieee854_long_double.
30955 2013-10-04  Alan Modra  <amodra@gmail.com>
30957         [BZ #15680]
30958         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30959         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30960         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30961         calculation.  Remove unnecessary test for denormal exponent.
30962         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30963         Correct handling of denormals.  Avoid undefined shift behaviour.
30964         Correct normalisation of low mantissa when low double is denormal.
30965         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30966         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30967         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30968         Correct normalisation of low mantissa.  Test for overflow of high
30969         mantissa and normalise.
30970         (ldbl_nearbyint): Use more readable constant for two52.
30971         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30972         (__mpn_construct_long_double): Fix test for overflow of high
30973         mantissa and correct normalisation.  Avoid undefined shift.
30975 2013-10-04  Alan Modra  <amodra@gmail.com>
30977         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30978         (union ibm_extended_long_double): Define as an array of ieee754_double.
30979         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30980         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30981         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30982         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30983         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30984         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30985         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30986         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30987         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30988         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30989         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30991 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30993         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30994         page size instead of calling getpagesize.
30996         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30997         (LOCFILE_ALIGN_MASK): Likewise.
30998         (LOCFILE_ALIGN_UP): Likewise.
30999         (LOCFILE_ALIGNED_P): Likewise.
31000         * locale/programs/ld-collate.c (collate_output): Use the new
31001         macros instead of __alignof__ (int32_t).
31002         * locale/weight.h (findidx): Likewise.
31004 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31006         [BZ #431]
31007         * manual/string.texi: Fix strncat and wcsncat.
31009 2013-10-03  Brooks Moses  <bmoses@google.com>
31011         [BZ #15915]
31012         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31013         * Makerules: ...here, and adjust associated comments.
31015 2013-10-02  Will Newton  <will.newton@linaro.org>
31017         * malloc/Makefile: Add tst-pvalloc.
31018         * malloc/tst-pvalloc.c: New file.
31020 2013-10-02  Will Newton  <will.newton@linaro.org>
31022         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31023         improve test coverage.
31025 2013-10-02  Will Newton  <will.newton@linaro.org>
31027         * malloc/Makefile: Add tst-posix_memalign.
31028         * malloc/tst-posix_memalign.c: New file.
31030 2013-10-01  Eric Blake  <eblake@redhat.com>
31032         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31033         Use __THROWNL rather than __THROW on static functions.
31035 2013-09-30  Petr Machata  <pmachata@redhat.com>
31037         * elf/elf.h (R_AARCH64_ABS16): New macro.
31038         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31039         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31040         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31041         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31042         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31043         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31044         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31045         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31046         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31047         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31048         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31049         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31050         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31051         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31052         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31053         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31054         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31055         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31056         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31057         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31058         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31059         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31060         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31061         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31062         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31063         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31064         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31065         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31066         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31067         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31068         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31069         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31070         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31071         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31072         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31073         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31074         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31075         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31076         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31077         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31078         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31079         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31080         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31081         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31082         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31083         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31084         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31085         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31086         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31087         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31088         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31089         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31090         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31091         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31092         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31093         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31094         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31095         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31096         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31097         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31098         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31099         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31100         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31101         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31102         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31103         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31104         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31105         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31106         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31107         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31108         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31109         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31110         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31111         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31112         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31113         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31114         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31115         (R_AARCH64_TLSDESC_LDR): Likewise.
31116         (R_AARCH64_TLSDESC_ADD): Likewise.
31117         (R_AARCH64_TLSDESC_CALL): Likewise.
31119 2013-09-30  Andreas Schwab  <schwab@suse.de>
31121         [BZ #15048]
31122         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31123         the nss database lookup.
31124         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31127 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31129         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31131 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31133         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31134         ${Bash-specific parameter/pattern/string} parameter expansion.
31135         * sysdeps/unix/make-syscalls.sh: Likewise.
31137 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31139         * sysdeps/sh/stackguard-macros.h: New file.
31141 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31145         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31146         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31147         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31148         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31150 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31152         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31153         Fix thread ID register.
31155 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31157         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31158         [POSIX || UNIX98]: Require rather than permitting all symbols from
31159         <time.h>.
31160         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31161         element of struct sched_param.
31162         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31163         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31164         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31165         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31166         constant.
31168 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31170         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31171         argument calculation.
31173 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31175         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31176         Expect macro.
31177         [POSIX] (pthread_attr_t): Do not require type.
31178         [POSIX] (pthread_cond_t): Likewise.
31179         [POSIX] (pthread_condattr_t): Likewise.
31180         [POSIX] (pthread_key_t): Likewise.
31181         [POSIX] (pthread_mutex_t): Likewise.
31182         [POSIX] (pthread_mutexattr_t): Likewise.
31183         [POSIX] (pthread_once_t): Likewise.
31184         [POSIX] (pthread_t): Likewise.
31185         [POSIX-based standards] (pthread_atfork): Expect function.
31187 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31188             Richard Sandiford  <richard@codesourcery.com>
31190         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31191         (swap_endianness_p): New extern variable.
31192         (set_big_endian): New inline function.
31193         (maybe_swap_uint32): Likewise.
31194         (maybe_swap_uint32_array): Likewise.
31195         (maybe_swap_uint32_obstack): Likewise.
31196         * locale/programs/locfile.c: Include <stdbool.h>.
31197         (swap_endianness_p): New variable.
31198         (add_locale_uint32): Call maybe_swap_uint32.
31199         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31200         (write_locale_data): Call maybe_swap_uint32_array.
31201         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31202         maybe_swap_uint32.
31203         (obstack_int32_grow_fast): Likewise.
31204         (output_weightwc): Call maybe_swap_uint32_obstack.
31205         (collate_output): Likewise.
31206         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31207         (OPT_LITTLE_ENDIAN): Likewise.
31208         (options): Add --little-endian and --big-endian options.
31209         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31210         * locale/programs/locarchive.c: Include "locfile.h".
31211         (GET): New macro.
31212         (SET): Likewise.
31213         (INC): Likewise.
31214         (create_archive): Use the new macros to access fields of
31215         structures directly mapped from or written to locale archives.
31216         (oldlocrecentcmp): Likewise.
31217         (enlarge_archive): Likewise.
31218         (insert_name): Likewise.
31219         (add_alias): Likewise.
31220         (add_locale): Likewise.
31221         (delete_locales_from_archive): Likewise.
31222         (show_archive_content): Likewise.
31223         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31224         locale data.
31226 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31228         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31229         http://www.gnu.org/doc/freemanuals.texi.
31230         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31232 2013-09-24  Will Newton  <will.newton@linaro.org>
31234         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31235         macro.
31237 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31239         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31240         unsigned char.
31242 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31244         * manual/threads.texi (POSIX Threads): Fix a typo.
31246 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31248         [BZ #14547]
31249         * string/tst-strcoll-overflow.c: New test case.
31250         * string/Makefile (xtests): Add tst-strcoll-overflow.
31251         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31252         cache if string sizes may cause integer overflow.
31254         [BZ #14547]
31255         * string/strcoll_l.c (coll_seq): New members rule, idx,
31256         save_idx and back_us.
31257         (get_next_seq_nocache): New function.
31258         (do_compare_nocache): New function.
31259         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31260         when malloc fails.
31262 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31264         [BZ #15754]
31265         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31266         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31267         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31269         [BZ #15754]
31270         * elf/Makefile (tests): Add tst-ptrguard1.
31271         (tests-static): Add tst-ptrguard1-static.
31272         (tst-ptrguard1-ARGS): Define.
31273         (tst-ptrguard1-static-ARGS): Define.
31274         * elf/tst-ptrguard1.c: New file.
31275         * elf/tst-ptrguard1-static.c: New file.
31276         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31277         * sysdeps/i386/stackguard-macros.h: Likewise.
31278         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31279         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31280         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31281         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31282         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31283         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31285 2013-09-23  Hector Marco  <hecmargi@upv.es>
31286             Ismael Ripoll  <iripoll@disca.upv.es>
31287             Carlos O'Donell  <carlos@redhat.com>
31289         [BZ #15754]
31290         * sysdeps/generic/stackguard-macros.h: Define
31291         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31292         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31293         Define __pointer_chk_guard_local.
31294         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31295         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31297 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31299         [BZ #15859]
31300         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31302 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31304         * include/string.h (__ffs): Declare as hidden.
31305         * string/ffs.c (__ffs): Define as hidden.
31306         * sysdeps/i386/ffs.c (__ffs): Likewise.
31307         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31308         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31309         * sysdeps/s390/ffs.c (__ffs): Likewise.
31310         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31312 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31314         * NEWS: Mention malloc probes.
31316         * malloc/arena.c (new_heap): New memory_heap_new probe.
31317         (grow_heap): New memory_heap_more probe.
31318         (shrink_heap): New memory_heap_less probe.
31319         (heap_trim): New memory_heap_free probe.
31320         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31321         (systrim): New memory_sbrk_less probe.
31322         * manual/probes.texi: Document them.
31324         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31325         * manual/probes.texi: Document it.
31327         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31328         (__libc_realloc): Add memory_realloc_retry probe.
31329         (__libc_memalign): Add memory_memalign_retry probe.
31330         (__libc_valloc): Add memory_valloc_retry probe.
31331         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31332         (__libc_calloc): Add memory_calloc_retry probe.
31333         * manual/probes.texi: Document them.
31335         * malloc/arena.c (get_free_list): Add probe
31336         memory_arena_reuse_free_list.
31337         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31338         and memory_arena_reuse.
31339         (arena_get2) [!PER_THREAD]: Likewise.
31340         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31341         memory_arena_reuse_realloc.
31342         * manual/probes.texi: Document them.
31344         * malloc/malloc.c (__libc_free): Add
31345         memory_mallopt_free_dyn_thresholds probe.
31346         (__libc_mallopt): Add multiple memory_mallopt probes.
31347         * manual/probes.texi: Document them.
31349         * malloc/malloc.c: Include stap-probe.h.
31350         (__libc_mallopt): Add memory_mallopt probe.
31351         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31352         * manual/probes.texi: New.
31353         * manual/Makefile (chapters): Add probes.
31354         * manual/threads.texi: Set next node.
31356 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31358         [BZ #15963, #13985]
31359         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31360         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31361         Add `Chinese' to `nan' entry name.
31363 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31365         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31366         (POLYNOMIAL): Likewise.
31367         (TAYLOR_SINCOS): Likewise.
31368         (TAYLOR_SLOW): Likewise.
31369         (__sin): Use TAYLOR_SINCOS.
31370         (__cos): Likewise.
31371         (slow): Use TAYLOR_SLOW.
31372         (sloww): Likewise.
31373         (bsloww): Likewise.
31374         (csloww): Likewise.
31376 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31378         * stdlib/strtod_l.c: Fix buffer overrun.
31380 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31382         * benchtests/Makefile (bench): Add sincos.
31383         * benchtests/bench-sincos.c: New file.
31385         * math/libm-test.inc (cos_test_data): New test inputs.
31386         (sin_test_data): Likewise.
31388         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31389         macro.
31390         (__sin): Use it.
31391         (__cos): Likewise.
31392         (slow1): Likewise.
31393         (slow2): Likewise.
31394         (sloww1): Likewise.
31395         (sloww2): Likewise.
31396         (bsloww1): Likewise.
31397         (bsloww2): Likewise.
31398         (cslow2): Likewise.
31399         (csloww1): Likewise.
31400         (csloww2): Likewise.
31402         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31403         function.
31404         (__sin): Use it.
31405         (__cos): Likewise.
31407         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31408         gotos.
31409         (__cos): Likewise.
31411 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31413         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31414         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31415         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31416         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31417         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31418         * elf/cache.c (print_entry): Handle the new cache flags.
31420 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31421             Aldy Hernandez  <aldyh@redhat.com>
31423         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31424         Change condition to [_SOFT_FLOAT].
31425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31429         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31430         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31432         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31433         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31434         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31435         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31437         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31440         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31441         declaration.
31443 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31445         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31446         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31447         (__longjmp): Use LOAD_GP to load saved GPRs.
31448         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31449         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31450         (__sigsetjmp): Use SAVE_GP to save GPRs.
31452         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31453         Do not append -msoft-float.
31454         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31456 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31458         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31460 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31462         [BZ #15966]
31463         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31464         (_FPU_GETCW): Use initial "__" on variable and field names but not
31465         on macro parameter name.
31466         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31467         parentheses around reference to macro parameter.
31469 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31471         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31472         prototype.
31473         (ctype_startup): Use uint32_t in cast and sizeof for
31474         ctype->charnames.
31476 2013-09-11  Jia Liu  <proljc@gmail.com>
31478         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31479         __daddr_t_defined.
31480         [__FreeBSD__]: Likewise.
31482 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31484         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31485         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31486         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31487         (strchr): Remove __strchr_sse42 ifunc selection.
31488         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31489         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31491 2013-09-11  Will Newton  <will.newton@linaro.org>
31493         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31494         parameter to RES. Remove hardcoded 1000 value.
31495         * benchtests/bench-skeleton.c (main): Pass RES parameter
31496         to TIMING_INIT and multiply result by 1000.
31498 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31502 2013-09-11  Andreas Schwab  <schwab@suse.de>
31504         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31505         if not defined.
31506         (O_TMPFILE) [__USE_GNU]: Define.
31507         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31508         Define.
31510 2013-09-11  Will Newton  <will.newton@linaro.org>
31512         [BZ #15857]
31513         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31514         does not overflow.
31516 2013-09-11  Will Newton  <will.newton@linaro.org>
31518         [BZ #15856]
31519         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31520         does not overflow.
31522 2013-09-11  Will Newton  <will.newton@linaro.org>
31524         [BZ #15855]
31525         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31526         does not overflow.
31528 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31530         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31531         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31532         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31533         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31534         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31536 2013-09-10  Allan McRae  <allan@archlinux.org>
31538         [BZ #15748]
31539         * manual/arith.texi (Parsing of Floats): Clarify
31540         cross-reference.
31542         [BZ #15849]
31543         * manual/install.texi (Running make install): Mention
31544         --enable-pt-chown.
31545         * INSTALL: Regenerated.
31547 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31549         * csu/init-first.c (_init): Remove the !SHARED condition around
31550         FPU control word initialization.
31551         * elf/dl-support.c (_dl_fpu_control): New variable.
31552         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31553         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31554         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31555         * math/test-fpucw-static.c: New file.
31556         * math/test-fpucw-ieee.c: New file.
31557         * math/test-fpucw-ieee-static.c: New file.
31558         * math/Makefile (tests): Add `test-fpucw-ieee' and
31559         `$(tests-static)'.
31560         (tests-static): New variable.
31561         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31562         dependency to...
31563         [($(build-shared),yes)]
31564         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31565         ... this.
31566         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31567         New dependency.
31569 2013-09-09  Allan McRae  <allan@archlinux.org>
31571         [BZ #15939]
31572         * manual/string.texi (Collation Functions): Fix typo in
31573         strcoll example.
31574         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31576         [BZ #15893]
31577         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31579         [BZ #15892]
31580         * libio/memstream.c (open_memstream): Fix memory leak.
31581         * libio/wmemstream.c (open_wmemstream): Likewise.
31583         [BZ #15895]
31584         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31586 2013-09-09  Will Newton  <will.newton@linaro.org>
31588         * malloc/Makefile: Add tst-realloc to tests.
31589         * malloc/tst-realloc.c: New file.
31591 2013-09-09  Allan McRae  <allan@archlinux.org>
31593         [BZ #15844]
31594         * COPYING: Update from GNU website to fix FSF address.
31595         * COPYING.LIB: Likewise.
31597 2013-09-06  David S. Miller  <davem@davemloft.net>
31599         * po/zh_TW.po: Update Chinese (traditional) translation from
31600         translation project.
31602 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31603             Joseph Myers  <joseph@codesourcery.com>
31605         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31606         "localeinfo.h".
31607         (obstack_chunk_alloc): New macro.
31608         (obstack_chunk_free): Likewise.
31609         (record_offset): New function.
31610         (init_locale_data): Likewise.
31611         (align_locale_data): Likewise.
31612         (add_locale_empty): Likewise.
31613         (add_locale_raw_data): Likewise.
31614         (add_locale_raw_obstack): Likewise.
31615         (add_locale_string): Likewise.
31616         (add_locale_wstring): Likewise.
31617         (add_locale_uint32): Likewise.
31618         (add_locale_uint32_array): Likewise.
31619         (add_locale_char): Likewise.
31620         (start_locale_structure): Likewise.
31621         (end_locale_structure): Likewise.
31622         (start_locale_prelude): Likewise.
31623         (end_locale_prelude): Likewise.
31624         (write_locale_data): Take locale_file structure rather than an
31625         iovec.
31626         * locale/programs/locfile.h: Include "obstack.h".
31627         (struct locale_file): Change to store locale file contents instead
31628         of header.
31629         (init_locale_data): New prototype.
31630         (align_locale_data): Likewise.
31631         (add_locale_empty): Likewise.
31632         (add_locale_raw_data): Likewise.
31633         (add_locale_raw_obstack): Likewise.
31634         (add_locale_string): Likewise.
31635         (add_locale_wstring): Likewise.
31636         (add_locale_uint32): Likewise.
31637         (add_locale_uint32_array): Likewise.
31638         (add_locale_char): Likewise.
31639         (start_locale_structure): Likewise.
31640         (end_locale_structure): Likewise.
31641         (start_locale_prelude): Likewise.
31642         (end_locale_prelude): Likewise.
31643         (write_locale_data): Update prototype.
31644         * locale/programs/3level.h (struct TABLE): Remove result field.
31645         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31646         Use new locale_file interface.
31647         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31648         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31649         * locale/programs/ld-address.c (address_output): Use new
31650         locale_file interface.
31651         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31652         NO_ADD_LOCALE.
31653         (collate_finish): Don't call collseq_table_finalize.
31654         (collate_output): Use new locale_file interface.
31655         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31656         in file.
31657         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31658         (TABLE): Move defines earlier in file.
31659         (ELEMENT): Likewise.
31660         (DEFAULT): Likewise.
31661         (wctrans_table_add): Move macro and inline function earlier in
31662         file.
31663         (struct wctype_table): Move type earlier in file.
31664         (add_locale_wctype_table): New static prototype.
31665         (struct locale_ctype_t): Use logical types instead of struct iovec
31666         pointers for members.
31667         (ctype_output): Use new locale_file interface.
31668         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31669         new locale_file interface.
31670         (allocate_arrays): Update for use of new locale_file interface.
31671         * locale/programs/ld-identification.c (identification_output): Use
31672         new locale_file interface.
31673         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31674         * locale/programs/ld-messages.c (messages_output): Likewise.
31675         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31676         * locale/programs/ld-name.c (name_output): Likewise.
31677         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31678         * locale/programs/ld-paper.c (paper_output): Likewise.
31679         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31680         * locale/programs/ld-time.c (time_output): Likewise.
31682 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31684         * benchtests/Makefile: Add memrchr benchmark.
31685         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31686         benchmark as memrchr.
31687         * benchtests/bench-memrchr-ifunc.c: New file.
31688         * benchtests/bench-memrchr.c: New file.
31690 2013-09-06   Will Newton  <will.newton@linaro.org>
31692         * benchtests/Makefile (string-bench): Add memcpy.
31694 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31695             Cong Wang  <amwang@redhat.com>
31697         [BZ #15850]
31698         * sysdeps/unix/sysv/linux/bits/in.h
31699         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31700         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31701         before __USE_KERNEL_IPV6_DEFS uses.
31702         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31703         IPPROTO_BEETPH.
31704         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31705         sockaddr_in6, or ipv6_mreq.
31707 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31709         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31710         memory access for final bytes in some large inputs.
31711         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31713 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31715         * string/test-memrchr.c: New file.
31716         * string/test-memrchr-ifunc.c: New file.
31717         * string/Makefile: Add new memrchr testcase.
31719 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31721         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31722         fanotify_init returns EPERM.
31724 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31726         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31727         errors.
31728         (top level): Treat second token from macro or constant entries for
31729         allowed headers as allowed.
31730         * include/complex.h: Condition internal declarations on
31731         [!_ISOMAC].
31732         * include/fenv.h: Condition include of <stdbool.h> and internal
31733         declarations on [!_ISOMAC].
31735 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31737         [BZ #15923]
31738         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31740 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31742         * configure.in (--enable-versioning): Remove configure option.
31743         (libc_cv_asm_symver_directive): Remove configure test.
31744         (libc_cv_ld_version_script_option): Likewise.
31745         (VERSIONING): Remove variable and AC_SUBST.
31746         (DO_VERSIONING): Remove AC_DEFINE.
31747         * configure: Regenerated.
31748         * config.h.in (DO_VERSIONING): Remove macro.
31749         * Makerules [$(versioning) = yes]: Change conditionals to
31750         [$(build-shared) = yes].
31751         * config.make.in (versioning): Remove variable.
31752         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31753         [$(build-shared) = yes].
31754         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31755         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31756         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31757         [$(build-shared) = yes].
31758         * extra-lib.mk [$(versioning) = yes]: Likewise.
31759         * hurd/Makefile [$(versioning) = yes]: Likewise.
31760         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31761         [SHARED].
31762         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31763         [SHARED].
31764         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31765         [SHARED && !NO_HIDDEN].
31766         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31767         [SHARED].
31768         [SHARED && DO_VERSIONING]: Likewise..
31769         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31770         [$(build-shared) = yes].
31771         * manual/install.texi (--disable-versioning): Remove
31772         documentation.
31773         * INSTALL: Regenerated.
31774         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31775         to [SHARED].
31776         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31777         [$(build-shared) = yes].
31778         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31779         * sysdeps/i386/i686/multiarch/strstr-c.c
31780         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31781         [SHARED && !NO_HIDDEN].
31782         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31783         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31784         * sysdeps/powerpc/powerpc32/dl-machine.c
31785         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31786         * sysdeps/powerpc/powerpc32/sysdep.h
31787         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31788         to [SHARED && PIC && !NO_HIDDEN].
31789         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31790         conditional to [SHARED].
31792 2013-09-04   Will Newton  <will.newton@linaro.org>
31794         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31795         * benchtests/bench-string.h: Include bench-timing.h instead
31796         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31797         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31798         call to HP_TIMING_DIFF_INIT.
31799         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31800         instead of hp-timing.h macros.
31801         * benchtests/bench-memchr.c: Likewise.
31802         * benchtests/bench-memcmp.c: Likewise.
31803         * benchtests/bench-memcpy.c: Likewise.
31804         * benchtests/bench-memmem.c: Likewise.
31805         * benchtests/bench-memmove.c: Likewise.
31806         * benchtests/bench-memset.c: Likewise.
31807         * benchtests/bench-rawmemchr.c: Likewise.
31808         * benchtests/bench-strcasecmp.c: Likewise.
31809         * benchtests/bench-strcasestr.c: Likewise.
31810         * benchtests/bench-strcat.c: Likewise.
31811         * benchtests/bench-strchr.c: Likewise.
31812         * benchtests/bench-strcmp.c: Likewise.
31813         * benchtests/bench-strcpy.c: Likewise.
31814         * benchtests/bench-strcpy_chk.c: Likewise.
31815         * benchtests/bench-strlen.c: Likewise.
31816         * benchtests/bench-strncasecmp.c: Likewise.
31817         * benchtests/bench-strncat.c: Likewise.
31818         * benchtests/bench-strncmp.c: Likewise.
31819         * benchtests/bench-strncpy.c: Likewise.
31820         * benchtests/bench-strnlen.c: Likewise.
31821         * benchtests/bench-strpbrk.c: Likewise.
31822         * benchtests/bench-strrchr.c: Likewise.
31823         * benchtests/bench-strspn.c: Likewise.
31824         * benchtests/bench-strstr.c: Likewise.
31826 2013-09-04  Will Newton  <will.newton@linaro.org>
31828         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31830 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31832         [BZ #15427]
31833         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31834         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31835         * math/libm-test.inc (lgamma_test_data): Add more tests.
31836         * sysdeps/i386/fpu/libm-test-ulps: Update.
31837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31839 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31841         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31843         Add ifunc.
31844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31845         Add strcmp-sse2-unaligned
31846         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31848 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31850         * Versions.def (libc): Add GLIBC_2.19.
31852 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31854         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31855         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31857 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31859         [BZ #14155]
31860         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31861         intermediate calculations in recurrence.
31862         (__ieee754_ynf): Likewise.
31863         * math/libm-test.inc (jn_test_data): Do not allow spurious
31864         underflow exception.  Add more tests.
31865         (yn_test_data): Add more tests.
31866         * sysdeps/i386/fpu/libm-test-ulps: Update.
31867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31869 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31871         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31873 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31875         * csu/init-first.c: Fix then/than typos.
31876         * locale/programs/ld-collate.c: Likewise.
31877         * locale/programs/linereader.h: Likewise.
31878         * manual/charset.texi: Likewise.
31879         * manual/filesys.texi: Likewise.
31880         * manual/stdio.texi: Likewise.
31881         * manual/string.texi: Likewise.
31882         * stdlib/fmtmsg.c: Likewise.
31883         * sysdeps/i386/stpncpy.S: Likewise.
31884         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31885         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31886         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31887         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31889 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31891         * elf/dl-open.c: Fix typos.
31892         * iconvdata/gbbig5.c: Likewise.
31893         * iconvdata/iso-2022-jp.c: Likewise.
31894         * iconv/gconv_int.h: Likewise.
31895         * iconv/loop.c: Likewise.
31896         * nis/rpcsvc/nis.h: Likewise.
31897         * resolv/ns_name.c: Likewise.
31898         * stdio-common/vfscanf.c: Likewise.
31899         * streams/stropts.h: Likewise.
31900         * sunrpc/rpc_thread.c: Likewise.
31901         * sysdeps/i386/strpbrk.S: Likewise.
31902         * sysdeps/ieee754/k_standard.c: Likewise.
31903         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31904         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31905         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31906         * sysdeps/mach/hurd/profil.c: Likewise.
31907         * sysdeps/s390/dl-procinfo.h: Likewise.
31908         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31909         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31910         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31911         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31912         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31914 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31916         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31917         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31919 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31921         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31922         aix specific files.
31923         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31924         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31925         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31926         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31927         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31928         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31929         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31930         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31932 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31933             Roland McGrath  <roland@hack.frob.com>
31935         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31936         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31938 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31940         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31941         __executable_start symbol instead of _start.
31943 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31945         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31946         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31947         Move macros to...
31948         * sysdeps/gnu/ldsodefs.h: ... this new file.
31950         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31951         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31952         instead of ELFOSABI_LINUX.
31954         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31955         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31956         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31957         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31958         Likewise.
31959         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31960         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31961         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31962         Likewise.
31963         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31964         (ibm_extended_long_double): Add ieee_nan member.
31965         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31966         (do_test): New function.
31968         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31969         TEST_TRUNC.
31970         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31971         functions, renamed from truncdfsf_test, trunctfsf_test,
31972         trunctfdf_test.
31973         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31974         functions.
31975         (do_test): Run all these.
31977 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31979         * argp/argp-help.c: Fix typos.
31980         * argp/argp-parse.c: Likewise.
31981         * debug/backtracesyms.c: Likewise.
31982         * elf/elf.h: Likewise.
31983         * malloc/malloc.c: Likewise.
31984         * nis/nis_print.c: Likewise.
31985         * resolv/res_comp.c: Likewise.
31986         * stdlib/stdlib.h: Likewise.
31987         * sunrpc/clnt_tcp.c: Likewise.
31988         * sunrpc/clnt_udp.c: Likewise.
31989         * sunrpc/clnt_unix.c: Likewise.
31990         * sysdeps/unix/bsd/ptsname.c: Likewise.
31991         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31992         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31994         Likewise.
31995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31996         Likewise.
31997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31998         Likewise.
31999         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32001 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32003         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32006 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32008         [BZ #15897]
32009         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32010         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32011         ($(objpfx)bug-dl-leaf): New rule.
32012         ($(objpfx)bug-dl-leaf.so): Likewise.
32013         ($(objpfx)bug-dl-leaf.out): Likewise.
32014         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32015         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32016         * dlfcn/bug-dl-leaf.c: New test.
32017         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32018         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32019         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32020         (dlclose): Likewise.
32021         (dlmopen): Likewise.
32023 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32025         * include/netdb.h [!_ISOMAC]:
32026         Don't include <tls.h>.
32027         (h_errno, __libc_h_errno): Move declaration and macros out of
32028         [_LIBC_REENTRANT].
32030         * include/resolv.h [_RESOLV_H_]:
32031         Don't include <tls.h>.
32032         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32033         * resolv/res_libc.c: Don't include <tls.h>.
32034         (_res): Use __attribute__ ((nocommon)) in place of
32035         __attribute__ ((section (".bss"))).
32037         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32038         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32040         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32042         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32043         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32045         * resolv/res_mkquery.c: Include <sys/time.h>.
32047         * inet/ifreq.c: Moved to ...
32048         * sysdeps/unix/ifreq.c: ... here.
32049         * inet/ifreq.c: New file, true stub version.
32051         * socket/sa_len.c: New file.
32052         * socket/Makefile (aux): Add it.
32053         * sysdeps/unix/sysv/linux/Makefile
32054         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32055         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32056         and #include <socket/sa_len.c>.
32057         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32058         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32060         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32061         * bits/socket.h: ... here.
32063         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32064         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32065         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32067 2013-08-27  Andreas Schwab  <schwab@suse.de>
32069         [BZ #15736]
32070         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32071         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32072         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32073         * string/test-strcasecmp.c (test_main): Run tests in several
32074         locales.
32075         * string/test-strncasecmp.c (test_main): Likewise.
32077         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32078         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32079         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32080         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32081         (__strncasecmp_ssse3) [PIC]: Likewise.
32083 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32085         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32087         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32088         instead of explicitly declaring xdecrypt.
32089         * nis/nss_nis/nis-publickey.c: Likewise.
32091 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32093         [BZ #15890]
32094         * nscd/aicache.c: Include res_hconf.h.
32095         (addhstaiX): Initialize res_hconf.
32097 2013-08-26  Andreas Schwab  <schwab@suse.de>
32099         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32100         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32102 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32104         * nscd/aicache.c (addhstaiX): Fix indentation.
32106 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32108         * configure.ac: Quote $build_pt_chown test.
32109         * configure: Regenerated.
32111 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32113         [BZ #15532]
32114         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32115         * math/s_cexpf.c (__cexpf): Likewise.
32116         * math/s_cexpl.c (__cexpl): Likewise.
32117         * math/libm-test.inc (cexp_test_data): Correct expected return
32118         value for NaN + i0.  Add another test.
32120 2013-08-22  David S. Miller  <davem@davemloft.net>
32122         * po/ca.po: Update Catalan translation from translation project.
32123         * po/uk.po: Add Ukrainian translations from translation project.
32125 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32127         [BZ #15797]
32128         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32129         is infinite, not alongside NaN test.
32130         * math/s_fdimf.c (__fdimf): Likewise.
32131         * math/s_fdiml.c (__fdiml): Likewise.
32132         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32133         errno is unchanged.
32135 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32137         * argp/argp-help.c: Fix typos.
32138         * crypt/speeds.c: Likewise.
32139         * csu/check_fds.c: Likewise.
32140         * elf/dl-load.c: Likewise.
32141         * elf/dl-open.c: Likewise.
32142         * elf/reldep3.c: Likewise.
32143         * elf/reldep.c: Likewise.
32144         * elf/sprof.c: Likewise.
32145         * iconv/iconv_charmap.c: Likewise.
32146         * iconv/skeleton.c: Likewise.
32147         * iconv/strtab.c: Likewise.
32148         * io/lockf64.c: Likewise.
32149         * libio/libioP.h: Likewise.
32150         * resolv/gai_notify.c: Likewise.
32151         * resolv/ns_name.c: Likewise.
32152         * resolv/ns_samedomain.c: Likewise.
32153         * resolv/res_send.c: Likewise.
32154         * stdlib/random.c: Likewise.
32155         * sunrpc/rpc/xdr.h: Likewise.
32156         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32157         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32158         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32159         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32160         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32161         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32162         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32163         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32164         * sysdeps/mach/hurd/check_fds.c: Likewise.
32165         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32166         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32167         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32168         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32169         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32170         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32171         * sysdeps/pthread/aio_notify.c: Likewise.
32172         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32173         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32174         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32175         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32176         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32178 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32180         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32181         version if bit_Slow_SSE4_2 is set.
32182         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32183         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32185 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32187         [BZ #15867]
32188         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32189         trampoline stack frame information.
32190         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32191         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32192         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32193         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32194         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32195         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32196         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32197         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32198         sa_flags value.
32199         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32200         interrupting a syscall and set with option SA_SIGINFO.
32202 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32204         [BZ #15531]
32205         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32206         argument is infinite.
32207         * math/s_cprojf.c (__cprojf): Likewise.
32208         * math/s_cprojl.c (__cprojl): Likewise.
32209         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32210         * math/libm-test.inc (cproj_test_data): Add more tests.
32212         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32214         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32215         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32216         size.  Use __ffs to determine corresponding shift.
32218 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32219             Roland McGrath  <roland@hack.frob.com>
32221         * Makefile (INSTALL): Remove trailing blank lines from output of
32222         makeinfo.
32224 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32226         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32227         Align 32 bit compat elf_greg to 8 bytes.
32229 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32231         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32233 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32235         * string/strcoll_l.c (coll_seq): New structure.
32236         (get_next_seq_cached): New function.
32237         (get_next_seq): New function.
32238         (do_compare): New function.
32239         (STRCOLL): Use GNU style definition.  Simplify implementation
32240         by using get_next_seq, get_next_seq_cached and do_compare.
32242 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32244         [BZ #14699]
32245         CVE-2013-4237
32246         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32247         member.
32248         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32249         member.
32250         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32251         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32252         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32253         conditional.
32254         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32255         GETDENTS_64BIT_ALIGNED.
32256         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32257         * manual/filesys.texi (Reading/Closing Directory): Document
32258         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32259         strongly.
32260         * manual/conf.texi (Limits for Files): Add portability note to
32261         NAME_MAX, PATH_MAX.
32262         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32264 2013-08-13  Andreas Schwab  <schwab@suse.de>
32266         [BZ #15749]
32267         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32268         of fabs.
32269         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32270         LDBL_MAX_EXP >= 16384]: Add tests for it.
32272 2013-08-12  David S. Miller  <davem@davemloft.net>
32274         * version.h (RELEASE): Set to "development".
32275         (VERSION): Set to "2.18.90".
32276         * NEWS: Add 2.19 section.
32278 2013-08-03  David S. Miller  <davem@davemloft.net>
32280         * po/ko.po: Update Korean translation from translation project.
32282 2013-08-01  David S. Miller  <davem@davemloft.net>
32284         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32285         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32286         Bilka.
32288 2013-07-30  David S. Miller  <davem@davemloft.net>
32290         * po/fr.po: Update French translation from translation project.
32292 2013-07-28  David S. Miller  <davem@davemloft.net>
32294         * po/cs.po: Update Czech translation from translation project.
32296         * po/sv.po: Update Swedish translation from translation project.
32298 2013-07-27  David S. Miller  <davem@davemloft.net>
32300         * po/eo.po: Update Esperanto translation from translation project.
32302         * po/vi.po: Update Vietnamese translation from translation project.
32304         * po/de.po: Update German translation from translation project.
32306 2013-07-26  David S. Miller  <davem@davemloft.net>
32308         * po/bg.po: Update Bulgarian translation from translation project.
32310         * po/nl.po: Update Dutch translation from translation project.
32311         * po/pl.po: Update Polish translation from translation project.
32312         * po/ru.po: Update Russian translation from translation project.
32314 2013-07-24  David S. Miller  <davem@davemloft.net>
32316         * po/libc.pot: Update.
32318 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32320         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32321         variable page size.
32322         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32323         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32324         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32326 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32328         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32330 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32331             Andreas Schwab  <schwab@suse.de>
32332             Roland McGrath  <roland@hack.frob.com>
32333             Joseph Myers  <joseph@codesourcery.com>
32334             Carlos O'Donell  <carlos@redhat.com>
32336         [BZ #15755]
32337         * config.h.in: Define HAVE_PT_CHOWN.
32338         * config.make.in (build-pt-chown): New variable.
32339         * configure.in (--enable-pt_chown): New configure option.
32340         * configure: Regenerate.
32341         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32342         build-pt-chown is enabled.
32343         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32344         pt_chown to fix pty ownership.
32345         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32346         CLOSE_ALL_FDS.
32347         * manual/install.texi (Configuring and compiling): Mention
32348         --enable-pt_chown. Add @findex for grantpt.
32349         * INSTALL: Regenerate.
32351 2013-07-20  David S. Miller  <davem@davemloft.net>
32353         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32354         difference between 32-bit and 64-bit.
32356 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32358         [BZ #15711]
32359         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32360         Avoid system header dependency with -ffreestanding.
32361         ($(objpfx)bits/syscall%d): Likewise.
32363 2013-07-13  David S. Miller  <davem@davemloft.net>
32365         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32366         underflows from atanl/atan2l due to bug 15319.
32367         (casinh_test_data): Likewise.
32369 2013-07-07  David S. Miller  <davem@davemloft.net>
32371         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32373 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32375         * sysdeps/i386/fpu/libm-test-ulps: Update.
32376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32378 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32380         * configure.in (--enable-lock-elision): Fix message text.
32381         * INSTALL: Regenerate.
32382         * configure: Regenerate.
32384 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32388 2013-07-03  Andreas Jaeger  <aj@suse.de>
32390         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32391         define.
32392         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32393         (ptrace_peeksiginfo_args): Add.
32394         (__ptrace_peeksiginfo_flags): Add.
32395         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32396         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32397         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32399 2013-07-03  Allan McRae  <allan@archlinux.org>
32401         * sysdeps/i386/fpu/libm-test-ulps: Update.
32403 2013-07-02  David S. Miller  <davem@davemloft.net>
32405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32407 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32411 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32413         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32416 2013-07-02  Andi Kleen <ak@linux.intel.com>
32418         * config.h.in (ENABLE_LOCK_ELISION): Add.
32419         * configure.in (--enable-lock-elision): Add option.
32420         * manual/install.texi: Document --enable lock elision.
32421         * configure: Regenerate
32422         * INSTALL: Regenerate.
32424 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32426         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32427         SSE4.2 strcasecmp for libc.a.
32428         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32430 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32432         [BZ #13304]
32433         * soft-fp/op-common.h (_FP_FMA): New macro.
32434         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32435         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32436         (_FP_MUL_MEAT_1_imm): ... here.
32437         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32438         (_FP_MUL_MEAT_1_wide): ... here.
32439         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32440         (_FP_MUL_MEAT_1_hard): ... here.
32441         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32442         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32443         (_FP_MUL_MEAT_2_wide): ... here.
32444         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32445         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32446         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32447         (_FP_MUL_MEAT_2_gmp): ... here.
32448         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32449         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32450         (_FP_MUL_MEAT_4_wide): ... here.
32451         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32452         (_FP_MUL_MEAT_4_gmp): ... here.
32453         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32454         (_FP_WFRACBITS_DW_S): Likewise.
32455         (_FP_WFRACXBITS_DW_S): Likewise.
32456         (_FP_HIGHBIT_DW_S): Likewise.
32457         (FP_FMA_S): Likewise.
32458         (_FP_FRAC_HIGH_DW_S): Likewise.
32459         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32460         (_FP_WFRACBITS_DW_D): Likewise.
32461         (_FP_WFRACXBITS_DW_D): Likewise.
32462         (_FP_HIGHBIT_DW_D): Likewise.
32463         (FP_FMA_D): Likewise.
32464         (_FP_FRAC_HIGH_DW_D): Likewise.
32465         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32466         (_FP_WFRACBITS_DW_E): Likewise.
32467         (_FP_WFRACXBITS_DW_E): Likewise.
32468         (_FP_HIGHBIT_DW_E): Likewise.
32469         (FP_FMA_E): Likewise.
32470         (_FP_FRAC_HIGH_DW_E): Likewise.
32471         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32472         (_FP_WFRACBITS_DW_Q): Likewise.
32473         (_FP_WFRACXBITS_DW_Q): Likewise.
32474         (_FP_HIGHBIT_DW_Q): Likewise.
32475         (FP_FMA_Q): Likewise.
32476         (_FP_FRAC_HIGH_DW_Q): Likewise.
32477         * soft-fp/fmasf4.c: New file.
32478         * soft-fp/fmadf4.c: Likewise.
32479         * soft-fp/fmatf4.c: Likewise.
32481 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32484         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32485         Silvermont.
32486         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32487         macro.
32488         (index_Slow_SSE4_2): Likewise.
32489         (index_Prefer_PMINUB_for_stringop): Likewise.
32490         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32491         bit_Slow_SSE4_2 is set.
32492         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32493         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32495 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32497         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32498         rtld_global._dl_hwcap2.
32499         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32500         POWER8.
32501         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32502         POWER8 feature descriptions defined in _dl_hwcap2.
32503         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32504         string handling for POWER8 feature bits.
32505         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32506         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32507         _dl_powerpc_cap_flags.
32508         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32509         * sysdeps/powerpc/rtld-global-offsets.sym
32510         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32511         _dl_hwcap2 in the rtld_global_ro structure.
32513 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32515         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32516         hardware capabilities in support of AT_HWCAP2.
32517         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32518         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32519         GLRO(dl_hwcap2).
32520         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32521         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32522         explicitly the unknown a_type display mechanism is used.
32523         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32524         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32525         struct member.
32526         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32527         to macro prototype for AT_HWCAP2 support.
32528         * sysdeps/i386/dl-procinfo.h: Likewise.
32529         * sysdeps/s390/dl-procinfo.h: Likewise.
32530         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32531         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32532         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32533         return -1 for unknown a_type display fallback.
32534         * sysdeps/sparc/dl-procinfo.h: Likewise.
32535         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32536         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32538 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32540         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32541         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32543 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32545         [BZ #12492]
32546         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32547         mprotect making __stack_prot writable.
32549 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32550             Joseph Myers  <joseph@codesourcery.com>
32552         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32553         as being properly aligned.
32555 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32557         * dlfcn/modstatic5.c: New file.
32558         * dlfcn/tststatic5.c: New file.
32559         * dlfcn/Makefile (tests): Add tststatic5.
32560         (tests-static): Likewise.
32561         (modules-names): Add modstatic5.
32562         (tststatic5-ENV): New variable.
32563         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32565         [BZ #15022]
32566         * elf/dl-support.c (_dl_main_map): New variable.
32567         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32568         (_dl_nns, _dl_load_adds): Set to 1.
32569         (_dl_initial_searchlist): Refer to _dl_main_map.
32570         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32571         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32572         call to _dl_get_origin.
32573         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32574         around call_map.
32575         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32576         * dlfcn/modstatic3.c: New file.
32577         * dlfcn/tststatic3.c: New file.
32578         * dlfcn/tststatic4.c: New file.
32579         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32580         (tests-static): Likewise.
32581         (modules-names): Add modstatic3.
32582         (tststatic3-ENV, tststatic4-ENV): New variables.
32583         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32584         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32586 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32588         * configure.in (CC): Require GCC version 4.4 or later.
32589         * configure: Regenerated.
32590         * manual/install.texi (Tools for Compilation): Update GCC version
32591         requirement.
32592         * INSTALL: Regenerated.
32594 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32596         [BZ #15674]
32597         * string/test-memcmp.c (check2): New.
32598         (main): Call check2.
32600         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32602 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32604         [BZ #15022]
32605         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32606         over to...
32607         (dl_open_worker) [!SHARED]: ... here.
32609 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32611         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32613 2013-06-25  Richard Henderson  <rth@redhat.com>
32615         * locale/programs/locarchive.c: Include <libc-internal.h>
32617 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32619         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32620         trailing whitespace removed.
32622 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32624         [BZ #10283]
32625         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32626         * locale/programs/locarchive.c: Include libc-mmap.h.
32627         (prepare_address_space): Take two new outputs (the mmap base and len).
32628         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32629         values.
32630         (create_archive): Declare new mmap base and len values for
32631         prepare_address_space, and store the result in ah.
32632         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32633         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32634         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32635         Declare new mmap base and len values for
32636         prepare_address_space, and store the result in new_ah.
32637         (open_archive): Declare new mmap base and len values for
32638         prepare_address_space, and store the result in ah.
32639         (close_archive): If ah->mmap_base is not NULL, use that and
32640         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32641         * sysdeps/generic/libc-mmap.h: New file.
32643 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32645         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32646         (ALIGN_UP): Likewise.
32647         (PTR_ALIGN_DOWN): Likewise.
32648         (PTR_ALIGN_UP): Likewise.
32650 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32652         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32653         entry mapped to PPC_PLATFORM_POWER8.
32654         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32655         POWER8.
32656         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32657         (_dl_string_platform): Add case for exporting platform position for
32658         POWER8.
32659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32660         search path to sysdeps/powerpc/powerpc32/power8 directory.
32661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32662         search path to sysdeps/powerpc/powerpc64/power8 directory.
32663         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32664         power7 directories.
32665         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32666         power7 directories.
32668 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32670         * INSTALL: Regenerate.
32672         * nscd/connections.c (nscd_init): Fix comment.
32674 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32676         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32678         [BZ #15667]
32679         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32680         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32682 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32684         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32685         DL_DST_REQ_STATIC.
32686         (DL_DST_REQ_STATIC): Remove macro.
32688 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32690         [BZ #7006]
32691         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32692         with a shift of 0 bits.
32694 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32696         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32697         $(tststatic-ENV).
32699 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32701         [BZ #15655]
32702         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32704 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32706         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32707         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32708         accepts -fno-tree-loop-distribute-patterns.
32709         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32710         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32711         recursive call.
32712         * string/memset.c (memset): Likewise.
32713         * string/test-memmove.c (simple_memmove): Disable loop transformation
32714         to library calls.
32715         * string/test-memset.c (simple_memset): Likewise.
32716         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32717         * benchtests/bench-memset.c (simple_memset): Likewise.
32718         * configure: Regenerated.
32720 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32722         * math/test-misc.c (main): Ignore fesetround failure when failures
32723         of subsequent rounding tests would be ignored.
32725         [BZ #15654]
32726         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32727         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32728         * math/fegetenv.c (__fegetenv): Return 0.
32729         * math/fegetexcept.c (fegetexcept): Return 0.
32730         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32731         FE_TONEAREST.
32732         * math/feholdexcpt.c (feholdexcept): Return 0.
32733         * math/fesetenv.c (__fesetenv): Return 0.
32734         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32735         argument FE_TONEAREST.
32736         * math/feupdateenv.c (__feupdateenv): Return 0.
32737         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32739 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32741         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32742         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32743         ($(objpfx)rtld-%.os rules): Use them.
32745 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32747         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32748         fields.
32750 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32752         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32753         length of target pattern, then descending length of dependency pattern.
32754         * configure.in (AWK): Require gawk 3.1.2 or newer.
32755         * manual/install.texi (Tools for Compilation): Say that we do.
32756         * configure: Regenerated.
32758         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32759         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32760         * scripts/sysd-rules.awk: ... this new script.
32761         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32762         than a glob-style pattern.
32764 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32766         * math/test-misc.c (main): Do not treat incorrectly rounded
32767         conversions as failure unless ROUNDING_TESTS passes.
32769 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32771         [BZ #15631]
32772         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32773         restore exception state around main square root computation, then
32774         check for inexactness explicitly.
32776         * math/libm-test.inc (fma_test_data): Add another test.
32778 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32780         * manual/threads.texi (Non-POSIX Extensions): New document
32781         node.  Document pthread_getattr_default_np and
32782         pthread_setattr_default_np.
32784         * Versions.def (libpthread): Add GLIBC_2.18.
32785         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32787         Likewise.
32788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32789         Likewise.
32790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32791         Likewise.
32792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32793         Likewise.
32794         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32795         Likewise.
32796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32797         Likewise.
32798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32799         Likewise.
32800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32801         Likewise.
32802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32803         Likewise.
32805 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32808         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32810 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32811             H.J. Lu  <hjl.tools@gmail.com>
32813         [BZ #15627]
32814         * sysdeps/x86_64/rtld-memset.c: Remove file.
32815         * sysdeps/x86_64/rtld-memset.S: New file.
32817 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32819         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32820         (test_in_one_mode): Take arguments for whether the rounding mode
32821         is supported for each floating-point type.
32822         (do_test): Pass new arguments to test_in_one_mode using
32823         ROUNDING_TESTS.
32825 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32827         * posix/tst-waitid.c (do_test): Distinguish different instances of
32828         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32829         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32830         before entering the kernel for waitpid.
32832 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32834         * NEWS: Fix note on clock function precision.  Text by Roland
32835         McGrath.
32837 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32839         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32840         it into place only when and if the sanity check passes.
32842 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32844         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32845         output for whether conversion result is exact.  Take argument
32846         indicating whether type is IBM long double.
32847         (round_for_all): Change need_exact field to ibm_ld.
32848         * stdlib/tst-strtod-round.c (struct exactness): New type.
32849         (struct test): Change bool ld_ok field to struct exactness exact.
32850         (TEST): Update all definitions for change to field.
32851         (tests): Regenerate array contents.
32852         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32853         field value.  Check for IBM long double here.
32854         (do_test): Update calls to test_in_one_mode.
32856 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32858         [BZ #12515]
32859         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32860         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32862 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32864         [BZ #15605]
32865         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32866         generated by the compiler on loop optimizations.
32867         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32868         general definitions.
32870 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32872         * math/bug-nextafter.c: Include <math-tests.h>.
32873         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32874         the relevant type.
32875         * math/bug-nexttoward.c: Include <math-tests.h>.
32876         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32877         the relevant type.
32878         * math/test-misc.c: Include <math-tests.h>.
32879         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32880         the relevant type.
32882 2013-06-12  Andreas Jaeger  <aj@suse.de>
32884         * po/ia.po: Update Interlingua translation from translation
32885         project.
32887 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32889         * include/fenv.h: Include stdbool.h.
32890         (struct rm_ctx): New structure.
32891         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32892         Define macro.
32893         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32894         (SET_RESTORE_ROUNDF): Likewise.
32895         (SET_RESTORE_ROUNDL): Likewise.
32896         (SET_RESTORE_ROUND_NOEX): Likewise.
32897         (SET_RESTORE_ROUND_NOEXF): Likewise.
32898         (SET_RESTORE_ROUND_NOEXL): Likewise.
32899         (SET_RESTORE_ROUND_53BIT): Likewise.
32900         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32901         (libc_feresetround_noexf_ctx): Likewise.
32902         (libc_feresetround_noexl_ctx): Likewise.
32903         (libc_feholdsetround_53bit_ctx): Likewise.
32904         (libc_feresetround_53bit_ctx): Likewise.
32905         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32906         (libc_feholdexcept_setround_sse_ctx): New function.
32907         (libc_fesetenv_sse_ctx): Likewise.
32908         (libc_feupdateenv_sse_ctx): Likewise.
32909         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32910         (libc_feholdexcept_setround_387_ctx): Likewise.
32911         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32912         (libc_feholdsetround_387_prec_ctx): Likewise.
32913         (libc_feholdsetround_387_ctx): Likewise.
32914         (libc_feholdsetround_387_53bit_ctx): Likewise.
32915         (libc_feholdsetround_sse_ctx): Likewise.
32916         (libc_feresetround_sse_ctx): Likewise.
32917         (libc_feresetround_387_ctx): Likewise.
32918         (libc_feupdateenv_387_ctx): Likewise.
32919         (libc_feholdexcept_setroundf_ctx): Define macro.
32920         (libc_fesetenvf_ctx): Likewise.
32921         (libc_feupdateenvf_ctx): Likewise.
32922         (libc_feholdsetroundf_ctx): Likewise.
32923         (libc_feresetroundf_ctx): Likewise.
32924         (libc_feholdexcept_setround_ctx): Likewise.
32925         (libc_fesetenv_ctx): Likewise.
32926         (libc_feupdateenv_ctx): Likewise.
32927         (libc_feholdsetround_ctx): Likewise.
32928         (libc_feresetround_ctx): Likewise.
32929         (libc_feholdexcept_setroundl_ctx): Likewise.
32930         (libc_feupdateenvl_ctx): Likewise.
32931         (libc_feholdsetroundl_ctx): Likewise.
32932         (libc_feresetroundl_ctx): Likewise.
32933         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32934         (libc_feresetround_53bit_ctx): Likewise.
32936 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32938         * locale/iso-639.def: Convert to UTF-8.
32940 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32942         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32943         (EXCEPTION_TESTS_double): Likewise.
32944         (EXCEPTION_TESTS_long_double): Likewise.
32945         (EXCEPTION_TESTS): Likewise.
32946         * math/libm-test.inc (test_exceptions): Only test exceptions if
32947         EXCEPTION_TESTS (FLOAT).
32949 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32951         * benchtests/Makefile (string-bench): Add strcpy_chk and
32952         stpcpy_chk.
32953         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32954         * benchtests/bench-stpcpy_chk.c: New file.
32955         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32956         * benchtests/bench-strcpy_chk.c: New file.
32957         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32958         code.
32959         (do_test): Likewise.
32961 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32963         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32964         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32965         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32966         with tabs where appropriate.
32967         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32968         dl-procinfo.h.
32969         [PPC_PLATFORM_PPC440]: Likewise.
32970         [PPC_PLATFORM_PPC464]: Likewise.
32971         [PPC_PLATFORM_PPC476]: Likewise.
32972         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32973         ppc464, and ppc476 platform strings merging from ports/
32974         dl-procinfo.h.
32976 2013-06-11  Andreas Schwab  <schwab@suse.de>
32978         [BZ #14991]
32979         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32980         (from_ucs4_idx): Regenerate.
32981         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32982         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32983         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32984         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32985         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32986         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32987         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32988         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32989         from FROM_LOOP and TO_LOOP specific macros.
32990         (BODY): Handle combining characters.
32991         * iconvdata/BIG5HKSCS.irreversible: Update.
32992         * iconvdata/BIG5HKSCS.precomposed: New file.
32993         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32994         characters.
32995         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32997 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32999         * include/sys/time.h: Fix indentation and add copyright header.
33001         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33002         (do_test): Likewise.
33003         * string/test-memchr.c (do_one_test): Likewise.
33004         (do_test): Likewise.
33005         * string/test-memcmp.c (do_one_test): Likewise.
33006         (do_test): Likewise.
33007         * string/test-memcpy.c (do_one_test): Likewise.
33008         (do_test): Likewise.
33009         * string/test-memmem.c (do_one_test): Likewise.
33010         (do_test): Likewise.
33011         (do_random_tests): Likewise.
33012         * string/test-memmove.c (do_one_test): Likewise.
33013         (do_test): Likewise.
33014         * string/test-memset.c (do_one_test): Likewise.
33015         (do_test): Likewise.
33016         * string/test-rawmemchr.c (do_one_test): Likewise.
33017         (do_test): Likewise.
33018         * string/test-strcasecmp.c (do_one_test): Likewise.
33019         (do_test): Likewise.
33020         * string/test-strcasestr.c (do_one_test): Likewise.
33021         (do_test): Likewise.
33022         * string/test-strcat.c (do_one_test): Likewise.
33023         (do_test): Likewise.
33024         * string/test-strchr.c (do_one_test): Likewise.
33025         (do_test): Likewise.
33026         * string/test-strcmp.c (do_one_test): Likewise.
33027         (do_test): Likewise.
33028         * string/test-strcpy.c (do_one_test): Likewise.
33029         (do_test): Likewise.
33030         * string/test-string.h: Likewise.
33031         (test_init): Likewise.
33032         * string/test-strlen.c (do_one_test): Likewise.
33033         (do_test): Likewise.
33034         * string/test-strncasecmp.c (do_one_test): Likewise.
33035         (do_test): Likewise.
33036         * string/test-strncat.c (do_one_test): Likewise.
33037         (do_test): Likewise.
33038         * string/test-strncmp.c (do_one_test): Likewise.
33039         (do_test_limit): Likewise.
33040         (do_test): Likewise.
33041         * string/test-strncpy.c (do_one_test): Likewise.
33042         (do_test): Likewise.
33043         * string/test-strnlen.c (do_one_test): Likewise.
33044         (do_test): Likewise.
33045         * string/test-strpbrk.c (do_one_test): Likewise.
33046         (do_test): Likewise.
33047         * string/test-strrchr.c (do_one_test): Likewise.
33048         (do_test): Likewise.
33049         * string/test-strspn.c (do_one_test): Likewise.
33050         (do_test): Likewise.
33051         * string/test-strstr.c (do_one_test): Likewise.
33052         (do_test): Likewise.
33054         * benchtests/Makefile (string-bench): Add string benchmarks.
33055         * benchtests/bench-bcopy-ifunc.c: New file.
33056         * benchtests/bench-bcopy.c: New file.
33057         * benchtests/bench-bzero-ifunc.c: New file.
33058         * benchtests/bench-bzero.c: New file.
33059         * benchtests/bench-memccpy-ifunc.c: New file.
33060         * benchtests/bench-memccpy.c: New file.
33061         * benchtests/bench-memchr-ifunc.c: New file.
33062         * benchtests/bench-memchr.c: New file.
33063         * benchtests/bench-memcmp-ifunc.c: New file.
33064         * benchtests/bench-memcmp.c: New file.
33065         * benchtests/bench-memmem-ifunc.c: New file.
33066         * benchtests/bench-memmem.c: New file.
33067         * benchtests/bench-memmove-ifunc.c: New file.
33068         * benchtests/bench-memmove.c: New file.
33069         * benchtests/bench-mempcpy-ifunc.c: New file.
33070         * benchtests/bench-mempcpy.c: New file.
33071         * benchtests/bench-memset-ifunc.c: New file.
33072         * benchtests/bench-memset.c: New file.
33073         * benchtests/bench-rawmemchr-ifunc.c: New file.
33074         * benchtests/bench-rawmemchr.c: New file.
33075         * benchtests/bench-stpcpy-ifunc.c: New file.
33076         * benchtests/bench-stpcpy.c: New file.
33077         * benchtests/bench-stpncpy-ifunc.c: New file.
33078         * benchtests/bench-stpncpy.c: New file.
33079         * benchtests/bench-strcasecmp-ifunc.c: New file.
33080         * benchtests/bench-strcasecmp.c: New file.
33081         * benchtests/bench-strcasestr-ifunc.c: New file.
33082         * benchtests/bench-strcasestr.c: New file.
33083         * benchtests/bench-strcat-ifunc.c: New file.
33084         * benchtests/bench-strcat.c: New file.
33085         * benchtests/bench-strchr-ifunc.c: New file.
33086         * benchtests/bench-strchr.c: New file.
33087         * benchtests/bench-strchrnul-ifunc.c: New file.
33088         * benchtests/bench-strchrnul.c: New file.
33089         * benchtests/bench-strcmp-ifunc.c: New file.
33090         * benchtests/bench-strcmp.c: New file.
33091         * benchtests/bench-strcpy-ifunc.c: New file.
33092         * benchtests/bench-strcpy.c: New file.
33093         * benchtests/bench-strcspn-ifunc.c: New file.
33094         * benchtests/bench-strcspn.c: New file.
33095         * benchtests/bench-strlen-ifunc.c: New file.
33096         * benchtests/bench-strlen.c: New file.
33097         * benchtests/bench-strncasecmp-ifunc.c: New file.
33098         * benchtests/bench-strncasecmp.c: New file.
33099         * benchtests/bench-strncat-ifunc.c: New file.
33100         * benchtests/bench-strncat.c: New file.
33101         * benchtests/bench-strncmp-ifunc.c: New file.
33102         * benchtests/bench-strncmp.c: New file.
33103         * benchtests/bench-strncpy-ifunc.c: New file.
33104         * benchtests/bench-strncpy.c: New file.
33105         * benchtests/bench-strnlen-ifunc.c: New file.
33106         * benchtests/bench-strnlen.c: New file.
33107         * benchtests/bench-strpbrk-ifunc.c: New file.
33108         * benchtests/bench-strpbrk.c: New file.
33109         * benchtests/bench-strrchr-ifunc.c: New file.
33110         * benchtests/bench-strrchr.c: New file.
33111         * benchtests/bench-strspn-ifunc.c: New file.
33112         * benchtests/bench-strspn.c: New file.
33113         * benchtests/bench-strstr-ifunc.c: New file.
33114         * benchtests/bench-strstr.c: New file.
33116         * benchtests/Makefile: Disable parallel execution of targets.
33117         (string-bench): Add memcpy.
33118         (benchset): New variable to store a list of benchmark sets.
33119         (bench-func): Renamed from bench.
33120         (bench-set): New target.
33121         (bench): Depend on bench-func and bench-set.
33122         * benchtests/README: Add section on benchmark sets.
33123         * benchtests/bench-memcpy-ifunc.c: New file.
33124         * benchtests/bench-memcpy.c: New file.
33125         * benchtests/bench-string.h: New file.
33127 2013-06-11  Andreas Schwab  <schwab@suse.de>
33129         [BZ #15577]
33130         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33131         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33132         values in the triple.
33133         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33134         terminator in the group key.
33136 2013-06-11  Andreas Jaeger  <aj@suse.de>
33138         * po/zh_TW.po: Update Chinese (traditional) translation from
33139         translation project.
33141 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33143         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33144         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33145         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33147         (clock_getcpuclockid): Likewise.
33148         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33149         Add weak_alias and libc_hidden_def.
33150         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33151         * rt/clock_gettime.c (clock_gettime): Rename to
33152         __clock_gettime.  Add weak_alias and libc_hidden_def.
33153         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33154         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33155         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33156         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33157         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33158         Likewise.
33159         * rt/clock_settime.c (clock_settime): Rename to
33160         __clock_settime.  Add weak_alias and libc_hidden_def.
33161         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33163 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33165         * mach/err_boot.sub: Remove trailing whitespace.
33166         * mach/err_ipc.sub: Likewise.
33167         * mach/err_mach.sub: Likewise.
33169         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33170         (ROUNDING_TESTS_double): Likewise.
33171         (ROUNDING_TESTS_long_double): Likewise.
33172         (ROUNDING_TESTS): Likewise.
33173         * math/libm-test.inc: Include <math-tests.h>.
33174         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33175         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33176         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33177         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33179 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33181         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33182         of assigning.
33184 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33186         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33187         otherwise empty TRANS lines.
33188         * sysdeps/gnu/errlist.c: Regenerated.
33190         * catgets/gencat.c (error_print): Use (void) in function
33191         definition.
33192         * crypt/crypt_util.c (__init_des): Likewise.
33193         * crypt/speeds.c (Stop): Likewise.
33194         (main): Likewise.
33195         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33196         * inet/ruserpass.c (token): Likewise.
33197         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33198         * intl/localealias.c (extend_alias_table): Likewise.
33199         * intl/plural-exp.c (init_germanic_plural): Likewise.
33200         * libio/fcloseall.c (__fcloseall): Likewise.
33201         * libio/genops.c (_IO_flush_all): Likewise.
33202         (_IO_flush_all_linebuffered): Likewise.
33203         (_IO_cleanup): Likewise.
33204         (_IO_iter_begin): Likewise.
33205         (_IO_iter_end): Likewise.
33206         (_IO_list_lock): Likewise.
33207         (_IO_list_unlock): Likewise.
33208         (_IO_list_resetlock): Likewise.
33209         * libio/getchar.c (getchar): Likewise.
33210         * libio/getchar_u.c (getchar_unlocked): Likewise.
33211         * libio/getwchar.c (getwchar): Likewise.
33212         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33213         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33214         * login/getpt.c (__getpt): Likewise.
33215         * login/tst-utmp.c (main): Likewise.
33216         * malloc/hooks.c (__malloc_check_init): Likewise.
33217         * malloc/malloc.c (__malloc_stats): Likewise.
33218         * malloc/mtrace.c (tr_break): Likewise.
33219         (mtrace): Likewise.
33220         (muntrace): Likewise.
33221         * misc/fstab.c (endfsent): Likewise.
33222         * misc/getclktck.c (__getclktck): Likewise.
33223         * misc/getdtsz.c (__getdtablesize): Likewise.
33224         * misc/gethostid.c (gethostid): Likewise.
33225         * misc/getpagesize.c (__getpagesize): Likewise.
33226         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33227         (__get_nprocs): Likewise.
33228         (__get_phys_pages): Likewise.
33229         (__get_avphys_pages): Likewise.
33230         * misc/getttyent.c (getttyent): Likewise.
33231         (setttyent): Likewise.
33232         (endttyent): Likewise.
33233         * misc/getusershell.c (getusershell): Likewise.
33234         (endusershell): Likewise.
33235         (setusershell): Likewise.
33236         (initshells): Likewise.
33237         * misc/hsearch.c (__hdestroy): Likewise.
33238         * misc/sync.c (sync): Likewise.
33239         * misc/syslog.c (closelog_internal): Likewise.
33240         (closelog): Likewise.
33241         * misc/ttyslot.c (ttyslot): Likewise.
33242         * misc/vhangup.c (vhangup): Likewise.
33243         * posix/fork.c (__fork): Likewise.
33244         * posix/getegid.c (__getegid): Likewise.
33245         * posix/geteuid.c (__geteuid): Likewise.
33246         * posix/getgid.c (__getgid): Likewise.
33247         * posix/getpid.c (__getpid): Likewise.
33248         * posix/getppid.c (__getppid): Likewise.
33249         * posix/getuid.c (__getuid): Likewise.
33250         * posix/pause.c (pause): Likewise.
33251         * posix/setpgrp.c (setpgrp): Likewise.
33252         * posix/setsid.c (__setsid): Likewise.
33253         * posix/test-vfork.c (noop): Likewise.
33254         * resolv/gethnamaddr.c (_endhtent): Likewise.
33255         (_gethtent): Likewise.
33256         (ht_endhostent): Likewise.
33257         (gethostent): Likewise.
33258         (dns_service): Likewise.
33259         * stdlib/drand48.c (drand48): Likewise.
33260         * stdlib/lrand48.c (lrand48): Likewise.
33261         * stdlib/mrand48.c (mrand48): Likewise.
33262         * stdlib/rand.c (rand): Likewise.
33263         * stdlib/random.c (__random): Likewise.
33264         * stdlib/setenv.c (clearenv): Likewise.
33265         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33266         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33267         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33268         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33269         (__get_nprocs): Likewise.
33270         (__get_phys_pages): Likewise.
33271         (__get_avphys_pages): Likewise.
33272         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33273         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33274         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33275         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33276         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33277         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33278         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33279         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33280         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33281         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33282         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33283         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33284         * sysdeps/posix/clock.c (clock): Likewise.
33285         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33286         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33287         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33288         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33289         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33291         (__get_nprocs_conf): Likewise.
33292         (__get_phys_pages): Likewise.
33293         (__get_avphys_pages): Likewise.
33294         * time/clock.c (clock): Likewise.
33295         * time/tzset.c (__tzname_max): Likewise.
33297 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33299         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33300         (__bswap_32): Do not use "register".
33301         * crypt/crypt.c (_ufc_doit_r): Likewise.
33302         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33303         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33304         * gmon/gmon.c (__monstartup): Likewise.
33305         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33306         * hurd/hurdmalloc.c (more_memory): Likewise.
33307         (malloc): Likewise.
33308         (free): Likewise.
33309         (realloc): Likewise.
33310         (malloc_fork_prepare): Likewise.
33311         (malloc_fork_parent): Likewise.
33312         (malloc_fork_child): Likewise.
33313         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33314         (_svcauth_des): Likewise.
33315         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33316         * inet/inet_net.c (inet_network): Likewise.
33317         * inet/inet_netof.c (inet_netof): Likewise.
33318         * inet/rcmd.c (__validuser2_sa): Likewise.
33319         * io/fts.c (fts_open): Likewise.
33320         (fts_load): Likewise.
33321         (fts_close): Likewise.
33322         (fts_read): Likewise.
33323         (fts_children): Likewise.
33324         (fts_build): Likewise.
33325         (fts_stat): Likewise.
33326         (fts_sort): Likewise.
33327         (fts_alloc): Likewise.
33328         (fts_lfree): Likewise.
33329         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33330         (_IO_file_xsgetn): Likewise.
33331         (_IO_file_xsgetn_mmap): Likewise.
33332         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33333         (_IO_cookie_write): Likewise.
33334         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33335         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33336         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33337         * malloc/obstack.c (_obstack_begin): Likewise.
33338         (_obstack_begin_1): Likewise.
33339         (_obstack_newchunk): Likewise.
33340         (_obstack_allocated_p): Likewise.
33341         (obstack_free): Likewise.
33342         (_obstack_memory_used): Likewise.
33343         * misc/getttyent.c (getttynam): Likewise.
33344         (getttyent): Likewise.
33345         (skip): Likewise.
33346         (value): Likewise.
33347         * misc/getusershell.c (initshells): Likewise.
33348         * misc/syslog.c (__vsyslog_chk): Likewise.
33349         * misc/ttyslot.c (ttyslot): Likewise.
33350         * nis/nis_hash.c (__nis_hash): Likewise.
33351         * posix/fnmatch_loop.c (FCT): Likewise.
33352         * posix/getconf.c (print_all): Likewise.
33353         (main): Likewise.
33354         * posix/getopt.c (exchange): Likewise.
33355         * posix/glob.c (globfree): Likewise.
33356         (prefix_array): Likewise.
33357         (__glob_pattern_type): Likewise.
33358         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33359         (NS_GET32): Likewise.
33360         (NS_PUT16): Likewise.
33361         (NS_PUT32): Likewise.
33362         * resolv/gethnamaddr.c (getanswer): Likewise.
33363         (gethostbyname2): Likewise.
33364         (gethostbyaddr): Likewise.
33365         (_gethtent): Likewise.
33366         (_gethtbyname2): Likewise.
33367         (_gethtbyaddr): Likewise.
33368         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33369         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33370         * resolv/res_init.c (__res_vinit): Likewise.
33371         (net_mask): Likewise.
33372         * resolv/res_mkquery.c (outchar): Likewise.
33373         (PRINT): Likewise.
33374         * stdio-common/printf_fp.c (outchar): Likewise.
33375         (PRINT): Likewise.
33376         * stdio-common/printf_fphex.c (outchar): Likewise.
33377         (PRINT): Likewise.
33378         * stdio-common/printf_size.c (outchar): Likewise.
33379         (PRINT): Likewise.
33380         * stdio-common/test_rdwr.c (main): Likewise.
33381         * stdio-common/tfformat.c (matches): Likewise.
33382         * stdio-common/vfprintf.c (outchar): Likewise.
33383         (printf_unknown): Likewise.
33384         (buffered_vfprintf): Likewise.
33385         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33386         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33387         (ReadFile): Likewise.
33388         * stdlib/qsort.c (SWAP): Likewise.
33389         (_quicksort): Likewise.
33390         * stdlib/setenv.c (__add_to_environ): Likewise.
33391         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33392         * stdlib/strtol_l.c (__strtol_l): Likewise.
33393         * stdlib/tst-strtod.c (main): Likewise.
33394         * stdlib/tst-strtol.c (main): Likewise.
33395         * stdlib/tst-strtoll.c (main): Likewise.
33396         * string/bits/string2.h (__strcmp_cc): Likewise.
33397         (__strcmp_cg): Likewise.
33398         (__strcspn_c1): Likewise.
33399         (__strcspn_c2): Likewise.
33400         (__strcspn_c3): Likewise.
33401         (__strspn_c1): Likewise.
33402         (__strspn_c2): Likewise.
33403         (__strspn_c3): Likewise.
33404         (__strsep_1c): Likewise.
33405         (__strsep_2c): Likewise.
33406         (__strsep_3c): Likewise.
33407         * string/memccpy.c (__memccpy): Likewise.
33408         * string/stpcpy.c (__stpcpy): Likewise.
33409         * string/strcmp.c (strcmp): Likewise.
33410         * string/strrchr.c (strrchr): Likewise.
33411         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33412         Likewise.
33413         * sysdeps/mach/hurd/getcwd.c
33414         (_hurd_canonicalize_directory_name_internal): Likewise.
33415         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33416         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33417         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33418         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33419         Likewise, in both definitions.
33420         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33421         definitions.
33422         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33423         64] (__bswap_64): Likewise.
33424         * time/test_time.c (main): Likewise.
33425         * time/tzfile.c (__tzfile_read): Likewise.
33426         (__tzfile_compute): Likewise.
33427         * time/tzset.c (__tzset_parse_tz): Likewise.
33428         (tzset_internal): Likewise.
33429         (compute_change): Likewise.
33430         * wcsmbs/wcscat.c (__wcscat): Likewise.
33431         * wcsmbs/wcschr.c (wcschr): Likewise.
33432         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33433         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33434         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33435         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33436         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33437         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33438         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33439         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33440         * wcsmbs/wmemset.c (wmemset): Likewise.
33442 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33444         * scripts/config.guess: Update to version 2013-05-16.
33445         * scripts/config.sub: Update to version 2013-04-24.
33446         * scripts/install-sh: Update to version 2011-11-20.07.
33447         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33448         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33450 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33452         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33453         * elf/sln.c: Likewise.
33454         * hurd/hurd/ioctl.h: Likewise.
33455         * hurd/hurdmalloc.c: Likewise.
33456         * hurd/xattr.c: Likewise.
33457         * include/shlib-compat.h: Likewise.
33458         * inet/ruserpass.c: Likewise.
33459         * libio/iofgets_u.c: Likewise.
33460         * libio/iofgetws_u.c: Likewise.
33461         * locale/programs/ld-identification.c: Likewise.
33462         * locale/programs/ld-time.c: Likewise.
33463         * mach/msg-destroy.c: Likewise.
33464         * nss/nss_files/files-netgrp.c: Likewise.
33465         * resolv/res_data.c: Likewise.
33466         * soft-fp/op-1.h: Likewise.
33467         * soft-fp/op-2.h: Likewise.
33468         * soft-fp/op-4.h: Likewise.
33469         * soft-fp/op-common.h: Likewise.
33470         * stdio-common/printf_fphex.c: Likewise.
33471         * stdlib/strtod_l.c: Likewise.
33472         * sunrpc/rpc/clnt.h: Likewise.
33473         * sysdeps/generic/framestate.c: Likewise.
33474         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33475         * sysdeps/i386/bsd-setjmp.S: Likewise.
33476         * sysdeps/i386/__longjmp.S: Likewise.
33477         * sysdeps/i386/setjmp.S: Likewise.
33478         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33479         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33480         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33481         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33482         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33483         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33484         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33485         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33486         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33487         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33488         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33489         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33490         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33491         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33492         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33493         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33494         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33495         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33496         * sysdeps/ieee754/support.c: Likewise.
33497         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33498         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33499         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33500         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33501         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33502         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33503         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33504         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33505         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33506         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33507         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33508         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33509         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33510         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33511         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33512         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33513         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33516 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33518         * posix/transbug.c: Remove executable mode.
33520 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33522         * crypt/speeds.c: Remove trailing whitespace.
33523         * dlfcn/default.c: Likewise.
33524         * elf/ifuncdep2.c: Likewise.
33525         * elf/ifuncmain1.c: Likewise.
33526         * elf/ifuncmain1vis.c: Likewise.
33527         * elf/testobj.h: Likewise.
33528         * elf/tst-stackguard1.c: Likewise.
33529         * gmon/sys/gmon.h: Likewise.
33530         * hurd/hurdmsg.c: Likewise.
33531         * hurd/new-fd.c: Likewise.
33532         * hurd/ports-get.c: Likewise.
33533         * iconvdata/ibm1008_420.c: Likewise.
33534         * inet/tst-getni1.c: Likewise.
33535         * inet/tst-getni2.c: Likewise.
33536         * libio/ioungetc.c: Likewise.
33537         * libio/wfiledoalloc.c: Likewise.
33538         * manual/libm-err-tab.pl: Likewise.
33539         * math/w_dremf.c: Likewise.
33540         * misc/ftruncate.c: Likewise.
33541         * posix/bug-glob2.c: Likewise.
33542         * posix/tst-pcre.c: Likewise.
33543         * posix/wait4.c: Likewise.
33544         * resolv/README: Likewise.
33545         * resolv/res_debug.h: Likewise.
33546         * resolv/tst-inet_ntop.c: Likewise.
33547         * setjmp/bug269-setjmp.c: Likewise.
33548         * soft-fp/extended.h: Likewise.
33549         * soft-fp/op-1.h: Likewise.
33550         * soft-fp/op-2.h: Likewise.
33551         * soft-fp/op-4.h: Likewise.
33552         * soft-fp/op-8.h: Likewise.
33553         * soft-fp/testit.c: Likewise.
33554         * stdio-common/bug16.c: Likewise.
33555         * stdlib/random.c: Likewise.
33556         * sunrpc/rpcsvc/rquota.x: Likewise.
33557         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33558         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33559         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33560         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33561         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33562         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33563         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33564         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33565         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33566         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33567         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33568         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33569         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33570         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33571         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33572         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33573         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33574         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33575         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33576         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33577         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33578         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33579         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33580         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33581         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33582         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33583         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33584         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33585         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33586         * sysdeps/ieee754/s_lib_version.c: Likewise.
33587         * sysdeps/mach/hurd/check_fds.c: Likewise.
33588         * sysdeps/mach/hurd/getsockname.c: Likewise.
33589         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33590         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33591         * sysdeps/powerpc/bits/link.h: Likewise.
33592         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33593         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33594         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33595         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33596         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33597         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33598         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33599         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33600         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33601         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33602         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33603         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33604         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33605         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33606         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33607         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33608         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33609         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33610         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33611         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33612         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33613         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33614         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33615         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33616         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33617         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33618         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33619         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33620         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33621         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33622         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33623         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33624         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33625         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33626         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33627         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33628         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33629         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33630         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33631         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33632         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33633         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33634         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33635         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33636         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33637         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33638         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33639         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33640         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33641         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33642         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33643         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33644         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33645         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33646         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33647         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33648         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33649         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33650         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33651         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33652         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33653         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33654         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33655         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33656         * sysdeps/powerpc/sysdep.h: Likewise.
33657         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33658         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33659         * sysdeps/sh/dl-trampoline.S: Likewise.
33660         * sysdeps/sh/memset.S: Likewise.
33661         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33662         * sysdeps/sh/strlen.S: Likewise.
33663         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33664         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33665         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33666         * sysdeps/sparc/sparc32/rem.S: Likewise.
33667         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33668         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33669         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33670         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33671         * sysdeps/sparc/sparc32/urem.S: Likewise.
33672         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33673         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33674         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33675         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33676         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33677         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33678         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33679         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33680         * sysdeps/unix/bsd/times.c: Likewise.
33681         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33682         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33686         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33687         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33688         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33689         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33690         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33691         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33692         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33693         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33694         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33695         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33696         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33697         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33698         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33699         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33700         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33701         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33702         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33703         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33704         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33705         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33706         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33707         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33708         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33709         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33710         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33711         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33712         * sysdeps/x86_64/strcspn.S: Likewise.
33714 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33716         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33717         generated file.  Regenerate properly from gen-translit.pl.
33718         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33719         locale/C-translit.h.
33721 2013-06-05  Andreas Schwab  <schwab@suse.de>
33723         [BZ #15100]
33724         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33725         week as 6 instead of -1.
33726         * time/tst-strptime.c (day_tests): Add test case.
33728 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33730         * sysdeps/generic/math_private.h
33731         (libc_feholdexcept_setround_53bit): Replace with
33732         libc_feholdsetround_53bit.
33733         (libc_feupdateenv_53bit): Replace with
33734         libc_feresetround_53bit.
33735         (SET_RESTORE_ROUND_53BIT): Adjust.
33737 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33739         * string/test-strchrnul.c: Add copyright header.
33741         * posix/tst-getaddrinfo4.c: Increase test timeout.
33743 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33745         [BZ #15536]
33746         * math/libm-test.inc (MAX_EXP): Remove
33747         (MIN_EXP): Define.
33748         (ulp): Use MIN_EXP - MANT_DIG.
33749         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33751 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33753         * po/be.po: Revert last change.
33754         * po/zh_CN.po: Likewise.
33755         * po/header.pot: Likewise.
33757 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33759         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33760         link-libc-deps to empty as target-specific variable.
33761         * Makerules (link-libc-args): New variable.
33762         (libc-for-link): Likewise.
33763         (link-libc-deps): Likewise.
33764         (lib%.so): Depend on $(link-libc-deps).  Link with
33765         $(link-libc-args).
33766         (build-module): Link with $(link-libc-args).
33767         (build-module-asneeded): Likewise.
33768         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33769         list of objects.
33770         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33771         target-specific variable.
33772         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33773         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33774         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33775         libc.
33776         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33777         libc and ld.so.
33778         ($(objpfx)libpcprofile.so): Likewise.
33779         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33780         libc_nonshared.a.
33781         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33782         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33783         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33784         $(link-libc-deps).
33785         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33786         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33787         * login/Makefile ($(objpfx)libutil.so): Likewise.
33788         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33789         * math/Makefile ($(objpfx)libm.so): Likewise.
33790         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33791         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33792         variable instead of depending directly on libc.
33793         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33794         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33795         $(link-libc-deps).
33796         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33797         libc.
33798         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33799         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33800         ($(objpfx)libanl.so): Likewise.
33801         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33802         ld.so.
33803         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33804         $(link-libc-deps).
33805         * sysdeps/i386/fpu/Makefile: Remove file.
33806         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33807         ($(objpfx)libm.so): Remove dependency on ld.so.
33809 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33811         [BZ # 15553]
33812         * nis/yp_xdr.c (XDRMAXNAME): Define.
33813         (XDRMAXRECORD): Define.
33814         (xdr_domainname): Use XDRMAXNAME.
33815         (xdr_mapname): Likewise.
33816         (xdr_peername): Likewise.
33817         (xdr_keydat): Use XDRMAXRECORD.
33818         (xdr_valdat): Likewise.
33820 2013-05-30  Jeff Law  <law@redhat.com>
33822         [BZ #14256]
33823         * manual/errno.texi (ESTALE): Update to account for more than
33824         just NFS file systems.
33825         * sysdeps/gnu/errlist.c: Regenerated.
33827 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33829         [BZ #15465]
33830         * elf/Makefile (tests): Add tst-null-argv.
33831         (modules-names):  Add tst-null-argv-lib.
33832         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33833         (tst-null-argv-ENV): Set environment for tst-null-argv.
33834         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33835         (RTLD_PROGNAME): New macro.
33836         * elf/tst-null-argv.c: New test case.
33837         * elf/tst-null-argv-lib.c: Library for test case.
33838         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33839         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33840         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33841         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33842         * elf/dl-init.c (call_init): Likewise.
33843         (_dl_init): Likewise.
33844         * elf/dl-load.c (print_search_path): Likewise.
33845         (_dl_map_object): Likewise.
33846         * elf/dl-lookup.c (do_lookup_x): Likewise.
33847         (add_dependency): Likewise.
33848         (_dl_lookup_symbol_x): Likewise.
33849         (_dl_debug_bindings): Likewise.
33850         * elf/dl-open.c (_dl_show_scope): Likewise.
33851         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33852         * elf/dl-version.c (match_symbol): Likewise.
33853         (_dl_check_map_versions): Likewise.
33854         * elf/rtld.c (dl_main): Likewise.
33855         (print_unresolved): Use RTLD_PROGNAME.
33856         (print_missing_version): Likewise.
33857         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33858         (elf_machine_rela): Likewise.
33859         * sysdeps/powerpc/powerpc32/dl-machine.c
33860         (__process_machine_rela): Likewise.
33861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33862         Likewise.
33863         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33864         Likewise.
33865         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33866         Likewise.
33867         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33868         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33869         Likewise.
33870         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33871         Likewise.
33872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33874 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33876         * po/be.po: Add descriptive title.
33877         * po/zh_CN.po: Likewise.
33878         * po/header.pot: Likewise.
33880 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33882         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33883         error message.
33884         (enlarge_archive): Likewise.
33886 2013-05-28  Ben North  <ben@redfrontdoor.org>
33888         * manual/arith.texi (frexp): It is the magnitude of the return
33889         value which lies in [0.5, 1), not the return value itself.
33891 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33895 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33897         * stdio-common/bug26.c (main): Correct fscanf template.
33899         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33900         declare _dl_skip_args.
33902         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33903         Don't declare.
33905         * manual/platform.texi: Add missing @end deftypefun.
33907 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33909         [BZ #15529]
33910         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33911         bit of mantissa of 2^16382.
33912         * math/libm-test.inc (hypot_test_data): Add more tests.
33914         * math/libm-test.inc: Add drem and pow10 to list of tested
33915         functions.
33916         (pow10_test): New function.
33917         (drem_test): Likewise.
33918         (drem_test_tonearest): Likewise.
33919         (drem_test_towardzero): Likewise.
33920         (drem_test_downward): Likewise.
33921         (drem_test_upward): Likewise.
33922         (main): Call the new functions.
33924         * math/libm-test.inc (finite_test_data): Remove.
33925         (finite_test): Run tests from isfinite_test_data.
33926         (gamma_test_data): Remove.
33927         (gamma_test): Run tests from lgamma_test_data.
33928         * sysdeps/i386/fpu/libm-test-ulps: Update.
33929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33931 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33933         * manual/platform.texi: Add PowerPC PPR function set documentation.
33934         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33935         implementation.
33937 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33939         * math/libm-test.inc (MAX_EXP): Define.
33940         (ULPDIFF): Define.
33941         (ulp): New function.
33942         (check_float_internal): Use ULPDIFF.
33943         (cpow_test): Disable failing test.
33944         (check_ulp): Test ulp() implemetnation.
33945         (main): Call check_ulp before starting tests.
33947 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33949         * math/gen-libm-test.pl (generate_testfile): Do not handle
33950         START_DATA and END_DATA.
33951         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33952         END_DATA.
33953         (acos_tonearest_test_data): Likewise.
33954         (acos_towardzero_test_data): Likewise.
33955         (acos_downward_test_data): Likewise.
33956         (acos_upward_test_data): Likewise.
33957         (acosh_test_data): Likewise.
33958         (asin_test_data): Likewise.
33959         (asin_tonearest_test_data): Likewise.
33960         (asin_towardzero_test_data): Likewise.
33961         (asin_downward_test_data): Likewise.
33962         (asin_upward_test_data): Likewise.
33963         (asinh_test_data): Likewise.
33964         (atan_test_data): Likewise.
33965         (atanh_test_data): Likewise.
33966         (atan2_test_data): Likewise.
33967         (cabs_test_data): Likewise.
33968         (cacos_test_data): Likewise.
33969         (cacosh_test_data): Likewise.
33970         (carg_test_data): Likewise.
33971         (casin_test_data): Likewise.
33972         (casinh_test_data): Likewise.
33973         (catan_test_data): Likewise.
33974         (catanh_test_data): Likewise.
33975         (cbrt_test_data): Likewise.
33976         (ccos_test_data): Likewise.
33977         (ccosh_test_data): Likewise.
33978         (ceil_test_data): Likewise.
33979         (cexp_test_data): Likewise.
33980         (cimag_test_data): Likewise.
33981         (clog_test_data): Likewise.
33982         (clog10_test_data): Likewise.
33983         (conj_test_data): Likewise.
33984         (copysign_test_data): Likewise.
33985         (cos_test_data): Likewise.
33986         (cos_tonearest_test_data): Likewise.
33987         (cos_towardzero_test_data): Likewise.
33988         (cos_downward_test_data): Likewise.
33989         (cos_upward_test_data): Likewise.
33990         (cosh_test_data): Likewise.
33991         (cosh_tonearest_test_data): Likewise.
33992         (cosh_towardzero_test_data): Likewise.
33993         (cosh_downward_test_data): Likewise.
33994         (cosh_upward_test_data): Likewise.
33995         (cpow_test_data): Likewise.
33996         (cproj_test_data): Likewise.
33997         (creal_test_data): Likewise.
33998         (csin_test_data): Likewise.
33999         (csinh_test_data): Likewise.
34000         (csqrt_test_data): Likewise.
34001         (ctan_test_data): Likewise.
34002         (ctan_tonearest_test_data): Likewise.
34003         (ctan_towardzero_test_data): Likewise.
34004         (ctan_downward_test_data): Likewise.
34005         (ctan_upward_test_data): Likewise.
34006         (ctanh_test_data): Likewise.
34007         (ctanh_tonearest_test_data): Likewise.
34008         (ctanh_towardzero_test_data): Likewise.
34009         (ctanh_downward_test_data): Likewise.
34010         (ctanh_upward_test_data): Likewise.
34011         (erf_test_data): Likewise.
34012         (erfc_test_data): Likewise.
34013         (exp_test_data): Likewise.
34014         (exp_tonearest_test_data): Likewise.
34015         (exp_towardzero_test_data): Likewise.
34016         (exp_downward_test_data): Likewise.
34017         (exp_upward_test_data): Likewise.
34018         (exp10_test_data): Likewise.
34019         (exp2_test_data): Likewise.
34020         (expm1_test_data): Likewise.
34021         (fabs_test_data): Likewise.
34022         (fdim_test_data): Likewise.
34023         (finite_test_data): Likewise.
34024         (floor_test_data): Likewise.
34025         (fma_test_data): Likewise.
34026         (fma_towardzero_test_data): Likewise.
34027         (fma_downward_test_data): Likewise.
34028         (fma_upward_test_data): Likewise.
34029         (fmax_test_data): Likewise.
34030         (fmin_test_data): Likewise.
34031         (fmod_test_data): Likewise.
34032         (fpclassify_test_data): Likewise.
34033         (frexp_test_data): Likewise.
34034         (gamma_test_data): Likewise.
34035         (hypot_test_data): Likewise.
34036         (ilogb_test_data): Likewise.
34037         (isfinite_test_data): Likewise.
34038         (isgreater_test_data): Likewise.
34039         (isgreaterequal_test_data): Likewise.
34040         (isinf_test_data): Likewise.
34041         (isless_test_data): Likewise.
34042         (islessequal_test_data): Likewise.
34043         (islessgreater_test_data): Likewise.
34044         (isnan_test_data): Likewise.
34045         (isnormal_test_data): Likewise.
34046         (issignaling_test_data): Likewise.
34047         (isunordered_test_data): Likewise.
34048         (j0_test_data): Likewise.
34049         (j1_test_data): Likewise.
34050         (jn_test_data): Likewise.
34051         (ldexp_test_data): Likewise.
34052         (lgamma_test_data): Likewise.
34053         (lrint_test_data): Likewise.
34054         (lrint_tonearest_test_data): Likewise.
34055         (lrint_towardzero_test_data): Likewise.
34056         (lrint_downward_test_data): Likewise.
34057         (lrint_upward_test_data): Likewise.
34058         (llrint_test_data): Likewise.
34059         (llrint_tonearest_test_data): Likewise.
34060         (llrint_towardzero_test_data): Likewise.
34061         (llrint_downward_test_data): Likewise.
34062         (llrint_upward_test_data): Likewise.
34063         (log_test_data): Likewise.
34064         (log10_test_data): Likewise.
34065         (log1p_test_data): Likewise.
34066         (log2_test_data): Likewise.
34067         (logb_test_data): Likewise.
34068         (logb_downward_test_data): Likewise.
34069         (lround_test_data): Likewise.
34070         (llround_test_data): Likewise.
34071         (modf_test_data): Likewise.
34072         (nearbyint_test_data): Likewise.
34073         (nextafter_test_data): Likewise.
34074         (nexttoward_test_data): Likewise.
34075         (pow_test_data): Likewise.
34076         (pow_tonearest_test_data): Likewise.
34077         (pow_towardzero_test_data): Likewise.
34078         (pow_downward_test_data): Likewise.
34079         (pow_upward_test_data): Likewise.
34080         (remainder_test_data): Likewise.
34081         (remainder_tonearest_test_data): Likewise.
34082         (remainder_towardzero_test_data): Likewise.
34083         (remainder_downward_test_data): Likewise.
34084         (remainder_upward_test_data): Likewise.
34085         (remquo_test_data): Likewise.
34086         (rint_test_data): Likewise.
34087         (rint_tonearest_test_data): Likewise.
34088         (rint_towardzero_test_data): Likewise.
34089         (rint_downward_test_data): Likewise.
34090         (rint_upward_test_data): Likewise.
34091         (round_test_data): Likewise.
34092         (scalb_test_data): Likewise.
34093         (scalbn_test_data): Likewise.
34094         (scalbln_test_data): Likewise.
34095         (signbit_test_data): Likewise.
34096         (sin_test_data): Likewise.
34097         (sin_tonearest_test_data): Likewise.
34098         (sin_towardzero_test_data): Likewise.
34099         (sin_downward_test_data): Likewise.
34100         (sin_upward_test_data): Likewise.
34101         (sincos_test_data): Likewise.
34102         (sinh_test_data): Likewise.
34103         (sinh_tonearest_test_data): Likewise.
34104         (sinh_towardzero_test_data): Likewise.
34105         (sinh_downward_test_data): Likewise.
34106         (sinh_upward_test_data): Likewise.
34107         (sqrt_test_data): Likewise.
34108         (tan_test_data): Likewise.
34109         (tan_tonearest_test_data): Likewise.
34110         (tan_towardzero_test_data): Likewise.
34111         (tan_downward_test_data): Likewise.
34112         (tan_upward_test_data): Likewise.
34113         (tanh_test_data): Likewise.
34114         (tgamma_test_data): Likewise.
34115         (trunc_test_data): Likewise.
34116         (y0_test_data): Likewise.
34117         (y1_test_data): Likewise.
34118         (yn_test_data): Likewise.
34119         (significand_test_data): Likewise.
34121         * math/gen-libm-test.pl (@functions): Remove variable.
34122         (generate_testfile): Don't handle START and END lines.
34123         * math/libm-test.inc (START): New macro.
34124         (END): Likewise.
34125         (END_COMPLEX): Likewise.
34126         (acos_test): Use END macro without arguments.
34127         (acos_test_tonearest): Likewise.
34128         (acos_test_towardzero): Likewise.
34129         (acos_test_downward): Likewise.
34130         (acos_test_upward): Likewise.
34131         (acosh_test): Likewise.
34132         (asin_test): Likewise.
34133         (asin_test_tonearest): Likewise.
34134         (asin_test_towardzero): Likewise.
34135         (asin_test_downward): Likewise.
34136         (asin_test_upward): Likewise.
34137         (asinh_test): Likewise.
34138         (atan_test): Likewise.
34139         (atanh_test): Likewise.
34140         (atan2_test): Likewise.
34141         (cabs_test): Likewise.
34142         (cacos_test): Use END_COMPLEX macro without arguments.
34143         (cacosh_test): Likewise.
34144         (carg_test): Use END macro without arguments.
34145         (casin_test): Use END_COMPLEX macro without arguments.
34146         (casinh_test): Likewise.
34147         (catan_test): Likewise.
34148         (catanh_test): Likewise.
34149         (cbrt_test): Use END macro without arguments.
34150         (ccos_test): Use END_COMPLEX macro without arguments.
34151         (ccosh_test): Likewise.
34152         (ceil_test): Use END macro without arguments.
34153         (cexp_test): Use END_COMPLEX macro without arguments.
34154         (cimag_test): Use END macro without arguments.
34155         (clog_test): Use END_COMPLEX macro without arguments.
34156         (clog10_test): Likewise.
34157         (conj_test): Likewise.
34158         (copysign_test): Use END macro without arguments.
34159         (cos_test): Likewise.
34160         (cos_test_tonearest): Likewise.
34161         (cos_test_towardzero): Likewise.
34162         (cos_test_downward): Likewise.
34163         (cos_test_upward): Likewise.
34164         (cosh_test): Likewise.
34165         (cosh_test_tonearest): Likewise.
34166         (cosh_test_towardzero): Likewise.
34167         (cosh_test_downward): Likewise.
34168         (cosh_test_upward): Likewise.
34169         (cpow_test): Use END_COMPLEX macro without arguments.
34170         (cproj_test): Likewise.
34171         (creal_test): Use END macro without arguments.
34172         (csin_test): Use END_COMPLEX macro without arguments.
34173         (csinh_test): Likewise.
34174         (csqrt_test): Likewise.
34175         (ctan_test): Likewise.
34176         (ctan_test_tonearest): Likewise.
34177         (ctan_test_towardzero): Likewise.
34178         (ctan_test_downward): Likewise.
34179         (ctan_test_upward): Likewise.
34180         (ctanh_test): Likewise.
34181         (ctanh_test_tonearest): Likewise.
34182         (ctanh_test_towardzero): Likewise.
34183         (ctanh_test_downward): Likewise.
34184         (ctanh_test_upward): Likewise.
34185         (erf_test): Use END macro without arguments.
34186         (erfc_test): Likewise.
34187         (exp_test): Likewise.
34188         (exp_test_tonearest): Likewise.
34189         (exp_test_towardzero): Likewise.
34190         (exp_test_downward): Likewise.
34191         (exp_test_upward): Likewise.
34192         (exp10_test): Likewise.
34193         (exp2_test): Likewise.
34194         (expm1_test): Likewise.
34195         (fabs_test): Likewise.
34196         (fdim_test): Likewise.
34197         (finite_test): Likewise.
34198         (floor_test): Likewise.
34199         (fma_test): Likewise.
34200         (fma_test_towardzero): Likewise.
34201         (fma_test_downward): Likewise.
34202         (fma_test_upward): Likewise.
34203         (fmax_test): Likewise.
34204         (fmin_test): Likewise.
34205         (fmod_test): Likewise.
34206         (fpclassify_test): Likewise.
34207         (frexp_test): Likewise.
34208         (gamma_test): Likewise.
34209         (hypot_test): Likewise.
34210         (ilogb_test): Likewise.
34211         (isfinite_test): Likewise.
34212         (isgreater_test): Likewise.
34213         (isgreaterequal_test): Likewise.
34214         (isinf_test): Likewise.
34215         (isless_test): Likewise.
34216         (islessequal_test): Likewise.
34217         (islessgreater_test): Likewise.
34218         (isnan_test): Likewise.
34219         (isnormal_test): Likewise.
34220         (issignaling_test): Likewise.
34221         (isunordered_test): Likewise.
34222         (j0_test): Likewise.
34223         (j1_test): Likewise.
34224         (jn_test): Likewise.
34225         (ldexp_test): Likewise.
34226         (lgamma_test): Likewise.
34227         (lrint_test): Likewise.
34228         (lrint_test_tonearest): Likewise.
34229         (lrint_test_towardzero): Likewise.
34230         (lrint_test_downward): Likewise.
34231         (lrint_test_upward): Likewise.
34232         (llrint_test): Likewise.
34233         (llrint_test_tonearest): Likewise.
34234         (llrint_test_towardzero): Likewise.
34235         (llrint_test_downward): Likewise.
34236         (llrint_test_upward): Likewise.
34237         (log_test): Likewise.
34238         (log10_test): Likewise.
34239         (log1p_test): Likewise.
34240         (log2_test): Likewise.
34241         (logb_test): Likewise.
34242         (logb_test_downward): Likewise.
34243         (lround_test): Likewise.
34244         (llround_test): Likewise.
34245         (modf_test): Likewise.
34246         (nearbyint_test): Likewise.
34247         (nextafter_test): Likewise.
34248         (nexttoward_test): Likewise.
34249         (pow_test): Likewise.
34250         (pow_test_tonearest): Likewise.
34251         (pow_test_towardzero): Likewise.
34252         (pow_test_downward): Likewise.
34253         (pow_test_upward): Likewise.
34254         (remainder_test): Likewise.
34255         (remainder_test_tonearest): Likewise.
34256         (remainder_test_towardzero): Likewise.
34257         (remainder_test_downward): Likewise.
34258         (remainder_test_upward): Likewise.
34259         (remquo_test): Likewise.
34260         (rint_test): Likewise.
34261         (rint_test_tonearest): Likewise.
34262         (rint_test_towardzero): Likewise.
34263         (rint_test_downward): Likewise.
34264         (rint_test_upward): Likewise.
34265         (round_test): Likewise.
34266         (scalb_test): Likewise.
34267         (scalbn_test): Likewise.
34268         (scalbln_test): Likewise.
34269         (signbit_test): Likewise.
34270         (sin_test): Likewise.
34271         (sin_test_tonearest): Likewise.
34272         (sin_test_towardzero): Likewise.
34273         (sin_test_downward): Likewise.
34274         (sin_test_upward): Likewise.
34275         (sincos_test): Likewise.
34276         (sinh_test): Likewise.
34277         (sinh_test_tonearest): Likewise.
34278         (sinh_test_towardzero): Likewise.
34279         (sinh_test_downward): Likewise.
34280         (sinh_test_upward): Likewise.
34281         (sqrt_test): Likewise.
34282         (tan_test): Likewise.
34283         (tan_test_tonearest): Likewise.
34284         (tan_test_towardzero): Likewise.
34285         (tan_test_downward): Likewise.
34286         (tan_test_upward): Likewise.
34287         (tanh_test): Likewise.
34288         (tgamma_test): Likewise.
34289         (trunc_test): Likewise.
34290         (y0_test): Likewise.
34291         (y1_test): Likewise.
34292         (yn_test): Likewise.
34293         (significand_test): Likewise.
34295 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34297         [BZ #15381]
34298         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34300 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34302         [BZ #14894]
34303         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34304         __ppc_mdoio and __ppc_mdoom.
34305         * manual/platform.texi: Document new functions __ppc_yield,
34306         __ppc_mdoio and __ppc_mdoom.
34308 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34310         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34311         (main): Mention "tls" pseudo-hwcap is legacy.
34312         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34314 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34316         * math/gen-libm-test.pl (parse_args): Output only string of
34317         arguments as text for test name, not full call or descriptions of
34318         tests for extra outputs.
34319         (generate_testfile): Do not pass function name to parse_args.
34320         Generate this_func variable from START.
34321         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34322         field to arg_str.
34323         (struct test_ff_f_data): Likewise.
34324         (test_ff_f_data_nexttoward): Likewise.
34325         (struct test_fi_f_data): Likewise.
34326         (struct test_fl_f_data): Likewise.
34327         (struct test_if_f_data): Likewise.
34328         (struct test_fff_f_data): Likewise.
34329         (struct test_c_f_data): Likewise.
34330         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34331         (struct test_fF_f1_data): Likewise.
34332         (struct test_ffI_f1_data): Likewise.
34333         (struct test_c_c_data): Rename test_name field to arg_str.
34334         (struct test_cc_c_data): Likewise.
34335         (struct test_f_i_data): Likewise.
34336         (struct test_ff_i_data): Likewise.
34337         (struct test_f_l_data): Likewise.
34338         (struct test_f_L_data): Likewise.
34339         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34340         and extra2_name.
34341         (COMMON_TEST_SETUP): New macro.
34342         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34343         (COMMON_TEST_CLEANUP): Likewise.
34344         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34345         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34346         macros.
34347         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34348         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34349         macros.
34350         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34351         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34352         cleanup macros.
34353         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34354         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34355         macros.
34356         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34357         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34358         macros.
34359         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34360         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34361         cleanup macros.
34362         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34363         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34364         cleanup macros.
34365         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34366         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34367         cleanup macros.
34368         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34369         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34370         macros.
34371         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34372         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34373         macros.
34374         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34375         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34376         macros.
34377         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34378         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34379         cleanup macros.
34380         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34381         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34382         cleanup macros.
34383         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34384         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34385         macros.
34386         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34387         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34388         cleanup macros.
34389         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34390         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34391         macros.
34392         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34393         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34394         macros.
34395         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34396         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34397         cleanup macros.
34398         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34400 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34402         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34403         to _sifields.sigfault.
34404         (si_addr_lsb): Define new macro.
34405         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34406         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34407         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34409 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34411         [BZ #15441]
34412         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34413         returns -1.
34414         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34415         null return -1.
34416         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34417         loading the domain.
34419 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34421         * math/gen-libm-test.pl (parse_args): Do not include expected
34422         result in test name.
34423         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34424         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34425         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34426         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34427         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34430 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34432         * benchtests/Makefile: Sort function entries.
34434         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34435         tanh, asinh, acosh, atanh.
34436         * benchtests/acos-inputs: New file.
34437         * benchtests/acosh-inputs: New file.
34438         * benchtests/asin-inputs: New file.
34439         * benchtests/asinh-inputs: New file.
34440         * benchtests/atanh-inputs: New file.
34441         * benchtests/cosh-inputs: New file.
34442         * benchtests/log-inputs: New file.
34443         * benchtests/sinh-inputs: New file.
34444         * benchtests/tanh-inputs: New file.
34446 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34448         [BZ #15339]
34449         * posix/tst-getaddrinfo4.c: New test.
34450         * posix/Makefile (tests): Add it.
34452 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34454         [BZ #15339]
34455         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34456         when no services were used.
34457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34458         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34460 2013-05-21  Andreas Schwab  <schwab@suse.de>
34462         [BZ #15014]
34463         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34464         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34465         successful.
34466         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34467         redundant variable declarations and reallocation of buffer when
34468         parsing as IPv6 address.  Always set NSS status when called from
34469         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34470         buffer too small.  Correct computation of needed size.
34471         * nss/Makefile (tests): Add test-digits-dots.
34472         * nss/test-digits-dots.c: New test.
34474 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34476         * benchtests/Makefile: Remove instructions for adding
34477         benchmark tests.
34478         * benchtests/README: New file to explain how to execute and
34479         enhance the benchmark tests.
34481 2013-05-21  Andreas Schwab  <schwab@suse.de>
34483         [BZ #15493]
34484         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34485         * setjmp/tst-sigsetjmp.c: New test.
34487 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34489         * sysdeps/x86_64/memset.S (memset): New implementation.
34490         (__bzero): Likewise.
34491         (__memset_tail): New function.
34493 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34495         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34496         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34497         __memcpy_sse2_unaligned ifunc selection.
34498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34499         Add memcpy-sse2-unaligned.S.
34500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34501         Add: __memcpy_sse2_unaligned.
34503 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34505         [BZ #15490]
34506         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34507         math_force_eval before restoring floating-point envrionment.
34508         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34509         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34510         Likewise.
34511         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34512         <math_private.h>.
34513         (__nearbyintl): Use math_force_eval before restoring
34514         floating-point environment.
34515         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34517         * math/gen-libm-test.pl (special_functions): Remove.
34518         (parse_args): Don't handle TEST_extra.  Handle functions with no
34519         return value.
34520         * math/libm-test.inc (struct test_sincos_data): Replace with
34521         struct test_fFF_11_data.
34522         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34523         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34524         (sincos_test_data): Change element type to struct
34525         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34526         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34527         RUN_TEST_LOOP_sincos.
34528         * math/README.libm-test: Don't mention special handling of
34529         individual functions.
34530         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34531         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34532         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34533         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34534         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34537         * math/gen-libm-test.pl (get_variable): Remove function.
34538         (parse_args): Don't show pointer parameters to call in test
34539         names.  Use "extra output N" in test names for extra outputs
34540         rather than naming variables.
34542 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34544         [BZ #15488]
34545         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34546         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34547         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34548         double tests.
34549         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34550         disable.
34551         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34552         check_long_double.
34554         * math/gen-libm-test.pl (@tests): Remove variable.
34555         ($count): Likewise.
34556         (new_test): Remove function.
34557         (show_exceptions): New function.
34558         (special_functions): Use show_exceptions instead of new_test.
34559         (parse_args): Likewise.
34560         (generate_testfile): Pass only function name in generated call to
34561         print_max_error or print_complex_max_error.
34562         (get_ulps): Do not handle complex tests specially.
34563         (output_test): Rename to ...
34564         (get_all_ulps_for_test): ... this.  Return a string rather than
34565         printing to a file.  Require ulps to be present.
34566         (output_ulps): Generate arrays rather than #defines.
34567         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34568         (struct ulp_data): New type.
34569         (BUILD_COMPLEX_ULP): Remove macro.
34570         (compare_ulp_data): New function.
34571         (find_ulps): Likewise.
34572         (find_test_ulps): Likewise.
34573         (find_function_ulps): Likewise.
34574         (find_complex_function_ulps): Likewise.
34575         (print_max_error): Determine allowed ulps using
34576         find_function_ulps.
34577         (print_complex_max_error): Determine allowed ulps using
34578         find_complex_function_ulps.
34579         (check_float_internal): Determine max ulps using find_test_ulps.
34580         (check_float): Do not take max_ulp parameter.  Update call to
34581         check_float_internal.
34582         (check_complex): Likewise.
34583         (check_int): Do not take max_ulp parameter.
34584         (check_long): Likewise.
34585         (check_bool): Likewise.
34586         (check_longlong): Likewise.
34587         (struct test_f_f_data): Remove max_ulp field.
34588         (struct test_ff_f_data): Likewise.
34589         (struct test_ff_f_data_nexttoward): Likewise.
34590         (struct test_fi_f_data): Likewise.
34591         (struct test_fl_f_data): Likewise.
34592         (struct test_if_f_data): Likewise.
34593         (struct test_fff_f_data): Likewise.
34594         (struct test_c_f_data): Likewise.
34595         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34596         (struct test_fF_f1_data): Likewise.
34597         (struct test_ffI_f1_data): Likewise.
34598         (struct test_c_c_data): Remove max_ulp field.
34599         (struct test_cc_c_data): Likewise.
34600         (struct test_f_i_data): Likewise.
34601         (struct test_ff_i_data): Likewise.
34602         (struct test_f_l_data): Likewise.
34603         (struct test_f_L_data): Likewise.
34604         (struct test_sincos_data): Likewise.
34605         (RUN_TEST_f_f): Do not handle ulps.
34606         (RUN_TEST_LOOP_f_f): Likewise.
34607         (RUN_TEST_2_f): Likewise.
34608         (RUN_TEST_LOOP_2_f): Likewise.
34609         (RUN_TEST_fff_f): Likewise.
34610         (RUN_TEST_LOOP_fff_f): Likewise.
34611         (RUN_TEST_c_f): Likewise.
34612         (RUN_TEST_LOOP_c_f): Likewise.
34613         (RUN_TEST_f_f1): Likewise.
34614         (RUN_TEST_LOOP_f_f1): Likewise.
34615         (RUN_TEST_fF_f1): Likewise.
34616         (RUN_TEST_LOOP_fF_f1): Likewise.
34617         (RUN_TEST_fI_f1): Likewise.
34618         (RUN_TEST_LOOP_fI_f1): Likewise.
34619         (RUN_TEST_ffI_f1): Likewise.
34620         (RUN_TEST_LOOP_ffI_f1): Likewise.
34621         (RUN_TEST_c_c): Likewise.
34622         (RUN_TEST_LOOP_c_c): Likewise.
34623         (RUN_TEST_cc_c): Likewise.
34624         (RUN_TEST_LOOP_cc_c): Likewise.
34625         (RUN_TEST_f_i): Likewise.
34626         (RUN_TEST_LOOP_f_i): Likewise.
34627         (RUN_TEST_f_i_tg): Likewise.
34628         (RUN_TEST_LOOP_f_i_tg): Likewise.
34629         (RUN_TEST_ff_i_tg): Likewise.
34630         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34631         (RUN_TEST_f_b): Likewise.
34632         (RUN_TEST_LOOP_f_b): Likewise.
34633         (RUN_TEST_f_b_tg): Likewise.
34634         (RUN_TEST_LOOP_f_b_tg): Likewise.
34635         (RUN_TEST_f_l): Likewise.
34636         (RUN_TEST_LOOP_f_l): Likewise.
34637         (RUN_TEST_f_L): Likewise.
34638         (RUN_TEST_LOOP_f_L): Likewise.
34639         (RUN_TEST_sincos): Likewise.
34640         (RUN_TEST_LOOP_sincos): Likewise.
34642 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34644         [BZ #15480]
34645         [BZ #15485]
34646         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34647         main case of finite arguments, set rounding mode to FE_TONEAREST
34648         and discard exceptions.
34649         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34650         exceptions.
34651         (remainder_tonearest_test_data): New variable.
34652         (remainder_test_tonearest): New function.
34653         (remainder_towardzero_test_data): New variable.
34654         (remainder_test_towardzero): New function.
34655         (remainder_downward_test_data): New variable.
34656         (remainder_test_downward): New function.
34657         (remainder_upward_test_data): New variable.
34658         (remainder_test_upward): New function.
34659         (main): Call the new test functions.
34661         * math/libm-test.inc (struct test_f_f1_data): Remove field
34662         extra_init.
34663         (struct test_fF_f1_data): Likewise.
34664         (struct test_ffI_f1_data): Likewise.
34665         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34666         based on value of EXTRA_EXPECTED.
34667         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34668         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34669         EXTRA_VAR based on value of EXTRA_EXPECTED.
34670         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34671         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34672         EXTRA_VAR based on value of EXTRA_EXPECTED.
34673         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34674         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34675         EXTRA_VAR based on value of EXTRA_EXPECTED.
34676         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34677         * math/gen-libm-test.pl (parse_args): Don't output initializers
34678         for extra output values.
34680         * math/libm-test.inc (check_int): Expect result to be exactly
34681         equal to expected value and do not handle ulps.
34682         (check_long): Likewise.
34683         (check_longlong): Likewise.
34685         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34686         exceptions.
34687         (cimag_test_data): Likewise.
34688         (conj_test_data): Likewise.
34689         (copysign_test_data): Likewise.
34690         (cproj_test_data): Likewise.
34691         (creal_test_data): Likewise.
34692         (fabs_test_data): Likewise.
34693         (fdim_test_data): Likewise.
34694         (finite_test_data): Likewise.
34695         (floor_test_data): Likewise.
34696         (fmax_test_data): Likewise.
34697         (fmin_test_data): Likewise.
34698         (fmod_test_data): Likewise.
34699         (fpclassify_test_data): Likewise.
34700         (frexp_test_data): Likewise.
34701         (ilogb_test_data): Likewise.
34702         (isfinite_test_data): Likewise.
34703         (isgreater_test_data): Likewise.
34704         (isgreaterequal_test_data): Likewise.
34705         (isinf_test_data): Likewise.
34706         (isless_test_data): Likewise.
34707         (islessequal_test_data): Likewise.
34708         (islessgreater_test_data): Likewise.
34709         (isnan_test_data): Likewise.
34710         (isnormal_test_data): Likewise.
34711         (issignaling_test_data): Likewise.
34712         (isunordered_test_data): Likewise.
34713         (ldexp_test_data): Likewise.
34714         (lrint_test_data): Likewise.
34715         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34716         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34717         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34718         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34719         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34720         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34721         test input.
34722         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34723         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34724         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34725         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34726         that test input.
34727         (lrint_downward_test_data): Test for "inexact" exceptions.
34728         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34729         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34730         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34731         test input.
34732         (lrint_upward_test_data): Test for "inexact" exceptions.
34733         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34734         test input.
34735         (llrint_test_data): Test for "inexact" exceptions.
34736         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34737         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34738         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34739         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34740         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34741         (llrint_downward_test_data): Test for "inexact" exceptions.
34742         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34743         (llrint_upward_test_data): Test for "inexact" exceptions.
34744         (logb_test_data): Likewise.
34745         (logb_downward_test_data): Likewise.
34746         (nextafter_test_data): Likewise.
34747         (nexttoward_test_data): Likewise.
34748         (remainder_test_data): Likewise.
34749         (remquo_test_data): Likewise.
34750         (scalbn_test_data): Likewise.
34751         (scalbln_test_data): Likewise.
34752         (signbit_test_data): Likewise.
34753         (sqrt_test_data): Likewise.
34754         (significand_test_data): Likewise.
34756 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34758         [BZ #15424]
34759         * benchtests/bench-modf.c (struct args): Mark arg0 as
34760         volatile.
34761         * scripts/bench.pl: Mark members of struct args as volatile.
34763 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34765         [BZ # 15497]
34766         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34767         negative infinity on POWER6 or lower.
34768         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34770 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34772         [BZ #15442]
34773         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34774         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34775         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34776         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34777         (_FP_SETQNAN): New macro.
34778         (_FP_SETQNAN_SEMIRAW): Likewise.
34779         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34780         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34781         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34782         (FP_EXTEND): Use _FP_FRAC_SNANP.
34783         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34784         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34785         into account.
34786         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34787         New macro.
34788         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34789         Likewise.
34791 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34793         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34794         with DIVIDE_BY_ZERO_EXCEPTION.
34795         (gamma_test_data): Likewise.
34796         (lgamma_test_data): Likewise.
34797         (log_test_data): Likewise.
34798         (log10_test_data): Likewise.
34799         (log2_test_data): Likewise.
34800         (tgamma_test_data): Likewise.
34802         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34803         (acos_test_tonearest): Likewise.
34804         (acos_test_towardzero): Likewise.
34805         (acos_test_downward): Likewise.
34806         (acos_test_upward): Likewise.
34807         (acosh_test): Likewise.
34808         (asin_test): Likewise.
34809         (asin_test_tonearest): Likewise.
34810         (asin_test_towardzero): Likewise.
34811         (asin_test_downward): Likewise.
34812         (asin_test_upward): Likewise.
34813         (asinh_test): Likewise.
34814         (atan_test): Likewise.
34815         (atanh_test): Likewise.
34816         (atan2_test): Likewise.
34817         (cabs_test): Likewise.
34818         (cacos_test): Likewise.
34819         (cacosh_test): Likewise.
34820         (casin_test): Likewise.
34821         (casinh_test): Likewise.
34822         (catan_test): Likewise.
34823         (catanh_test): Likewise.
34824         (cbrt_test): Likewise.
34825         (ccos_test): Likewise.
34826         (ccosh_test): Likewise.
34827         (cexp_test): Likewise.
34828         (clog_test): Likewise.
34829         (clog10_test): Likewise.
34830         (cos_test): Likewise.
34831         (cos_test_tonearest): Likewise.
34832         (cos_test_towardzero): Likewise.
34833         (cos_test_downward): Likewise.
34834         (cos_test_upward): Likewise.
34835         (cosh_test): Likewise.
34836         (cosh_test_tonearest): Likewise.
34837         (cosh_test_towardzero): Likewise.
34838         (cosh_test_downward): Likewise.
34839         (cosh_test_upward): Likewise.
34840         (cpow_test): Likewise.
34841         (csin_test): Likewise.
34842         (csinh_test): Likewise.
34843         (csqrt_test): Likewise.
34844         (ctan_test): Likewise.
34845         (ctan_test_tonearest): Likewise.
34846         (ctan_test_towardzero): Likewise.
34847         (ctan_test_downward): Likewise.
34848         (ctan_test_upward): Likewise.
34849         (ctanh_test): Likewise.
34850         (ctanh_test_tonearest): Likewise.
34851         (ctanh_test_towardzero): Likewise.
34852         (ctanh_test_downward): Likewise.
34853         (ctanh_test_upward): Likewise.
34854         (erf_test): Likewise.
34855         (erfc_test): Likewise.
34856         (exp_test): Likewise.
34857         (exp_test_tonearest): Likewise.
34858         (exp_test_towardzero): Likewise.
34859         (exp_test_downward): Likewise.
34860         (exp_test_upward): Likewise.
34861         (exp10_test): Likewise.
34862         (exp2_test): Likewise.
34863         (expm1_test): Likewise.
34864         (fmod_test): Likewise.
34865         (gamma_test): Likewise.
34866         (hypot_test): Likewise.
34867         (j0_test): Likewise.
34868         (j1_test): Likewise.
34869         (jn_test): Likewise.
34870         (lgamma_test): Likewise.
34871         (log_test): Likewise.
34872         (log10_test): Likewise.
34873         (log1p_test): Likewise.
34874         (log2_test): Likewise.
34875         (logb_test_downward): Likewise.
34876         (pow_test): Likewise.
34877         (pow_test_tonearest): Likewise.
34878         (pow_test_towardzero): Likewise.
34879         (pow_test_downward): Likewise.
34880         (pow_test_upward): Likewise.
34881         (remainder_test): Likewise.
34882         (remquo_test): Likewise.
34883         (sin_test): Likewise.
34884         (sin_test_tonearest): Likewise.
34885         (sin_test_towardzero): Likewise.
34886         (sin_test_downward): Likewise.
34887         (sin_test_upward): Likewise.
34888         (sincos_test): Likewise.
34889         (sinh_test): Likewise.
34890         (sinh_test_tonearest): Likewise.
34891         (sinh_test_towardzero): Likewise.
34892         (sinh_test_downward): Likewise.
34893         (sinh_test_upward): Likewise.
34894         (sqrt_test): Likewise.
34895         (tan_test): Likewise.
34896         (tan_test_tonearest): Likewise.
34897         (tan_test_towardzero): Likewise.
34898         (tan_test_downward): Likewise.
34899         (tan_test_upward): Likewise.
34900         (tanh_test): Likewise.
34901         (tgamma_test): Likewise.
34902         (y0_test): Likewise.
34903         (y1_test): Likewise.
34904         (yn_test): Likewise.
34906         * math/gen-libm-test.pl (adjust_arg): Remove function.
34907         (special_function): Remove argument $in_func.  Only handle
34908         generating output for tables of tests, not inside functions.
34909         (parse_args): Likewise.
34910         (generate_testfile): Remove variable $in_func.  Update call to
34911         parse_args.
34912         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34913         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34914         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34915         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34916         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34917         (MAX_VALUE_INIT): Rename macro to max_value.
34918         (MIN_VALUE_INIT): Rename macro to min_value.
34919         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34920         (plus_zero): Remove variable.
34921         (minus_zero): Likewise.
34922         (plus_infty): Likewise.
34923         (minus_infty): Likewise.
34924         (qnan_value): Likewise.
34925         (max_value): Likewise.
34926         (min_value): Likewise.
34927         (min_subnorm_value): Likewise.
34929 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34931         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34932         uint64_t or uint32_t usage.
34933         * crypt/sha256-block.c: Likewise.
34934         * crypt/sha256-crypt.c: Likewise.
34935         * crypt/sha256.c: Likewise.
34936         * crypt/sha512-block.c: Likewise.
34937         * crypt/sha512-crypt.c: Likewise.
34938         * crypt/sha512.c: Likewise.
34939         * debug/backtrace-tst.c: Likewise.
34940         * debug/pcprofiledump.c: Likewise.
34941         * elf/cache.c: Likewise.
34942         * elf/dl-cache.c: Likewise.
34943         * elf/dl-misc.c: Likewise.
34944         * elf/dl-profile.c: Likewise.
34945         * elf/dl-support.c: Likewise.
34946         * elf/ldconfig.c: Likewise.
34947         * elf/sprof.c: Likewise.
34948         * iconv/dummy-repertoire.c: Likewise.
34949         * iconv/iconv_charmap.c: Likewise.
34950         * iconv/skeleton.c: Likewise.
34951         * iconvdata/8bit-generic.c: Likewise.
34952         * iconvdata/cp737.h: Likewise.
34953         * iconvdata/cp775.h: Likewise.
34954         * iconvdata/ibm1008.h: Likewise.
34955         * iconvdata/ibm1025.h: Likewise.
34956         * iconvdata/ibm1046.h: Likewise.
34957         * iconvdata/ibm1097.h: Likewise.
34958         * iconvdata/ibm1112.h: Likewise.
34959         * iconvdata/ibm1122.h: Likewise.
34960         * iconvdata/ibm1123.h: Likewise.
34961         * iconvdata/ibm1124.h: Likewise.
34962         * iconvdata/ibm1129.h: Likewise.
34963         * iconvdata/ibm1130.h: Likewise.
34964         * iconvdata/ibm1132.h: Likewise.
34965         * iconvdata/ibm1133.h: Likewise.
34966         * iconvdata/ibm1137.h: Likewise.
34967         * iconvdata/ibm1140.h: Likewise.
34968         * iconvdata/ibm1141.h: Likewise.
34969         * iconvdata/ibm1142.h: Likewise.
34970         * iconvdata/ibm1143.h: Likewise.
34971         * iconvdata/ibm1144.h: Likewise.
34972         * iconvdata/ibm1145.h: Likewise.
34973         * iconvdata/ibm1146.h: Likewise.
34974         * iconvdata/ibm1147.h: Likewise.
34975         * iconvdata/ibm1148.h: Likewise.
34976         * iconvdata/ibm1149.h: Likewise.
34977         * iconvdata/ibm1153.h: Likewise.
34978         * iconvdata/ibm1154.h: Likewise.
34979         * iconvdata/ibm1155.h: Likewise.
34980         * iconvdata/ibm1156.h: Likewise.
34981         * iconvdata/ibm1157.h: Likewise.
34982         * iconvdata/ibm1158.h: Likewise.
34983         * iconvdata/ibm1160.h: Likewise.
34984         * iconvdata/ibm1161.h: Likewise.
34985         * iconvdata/ibm1162.h: Likewise.
34986         * iconvdata/ibm1163.h: Likewise.
34987         * iconvdata/ibm1164.h: Likewise.
34988         * iconvdata/ibm1166.h: Likewise.
34989         * iconvdata/ibm1167.h: Likewise.
34990         * iconvdata/ibm12712.h: Likewise.
34991         * iconvdata/ibm1390.h: Likewise.
34992         * iconvdata/ibm1399.h: Likewise.
34993         * iconvdata/ibm16804.h: Likewise.
34994         * iconvdata/ibm4517.h: Likewise.
34995         * iconvdata/ibm4899.h: Likewise.
34996         * iconvdata/ibm4909.h: Likewise.
34997         * iconvdata/ibm4971.h: Likewise.
34998         * iconvdata/ibm5347.h: Likewise.
34999         * iconvdata/ibm803.h: Likewise.
35000         * iconvdata/ibm856.h: Likewise.
35001         * iconvdata/ibm901.h: Likewise.
35002         * iconvdata/ibm902.h: Likewise.
35003         * iconvdata/ibm9030.h: Likewise.
35004         * iconvdata/ibm9066.h: Likewise.
35005         * iconvdata/ibm921.h: Likewise.
35006         * iconvdata/ibm922.h: Likewise.
35007         * iconvdata/ibm9448.h: Likewise.
35008         * iconvdata/isiri-3342.h: Likewise.
35009         * iconvdata/jis0201.h: Likewise.
35010         * include/link.h: Likewise.
35011         * include/netdb.h: Likewise.
35012         * inet/check_native.c: Likewise.
35013         * inet/check_pf.c: Likewise.
35014         * inet/getipv4sourcefilter.c: Likewise.
35015         * inet/getnameinfo.c: Likewise.
35016         * inet/getsourcefilter.c: Likewise.
35017         * inet/htonl.c: Likewise.
35018         * inet/setipv4sourcefilter.c: Likewise.
35019         * inet/setsourcefilter.c: Likewise.
35020         * inet/test-inet6_opt.c: Likewise.
35021         * inet/tst-network.c: Likewise.
35022         * locale/C-collate.c: Likewise.
35023         * locale/C-ctype.c: Likewise.
35024         * locale/C-time.c: Likewise.
35025         * locale/C-translit.h: Likewise.
35026         * locale/loadarchive.c: Likewise.
35027         * locale/programs/3level.h: Likewise.
35028         * locale/programs/charmap.c: Likewise.
35029         * locale/programs/charmap.h: Likewise.
35030         * locale/programs/ld-address.c: Likewise.
35031         * locale/programs/ld-collate.c: Likewise.
35032         * locale/programs/ld-ctype.c: Likewise.
35033         * locale/programs/ld-identification.c: Likewise.
35034         * locale/programs/ld-measurement.c: Likewise.
35035         * locale/programs/ld-messages.c: Likewise.
35036         * locale/programs/ld-monetary.c: Likewise.
35037         * locale/programs/ld-name.c: Likewise.
35038         * locale/programs/ld-numeric.c: Likewise.
35039         * locale/programs/ld-paper.c: Likewise.
35040         * locale/programs/ld-telephone.c: Likewise.
35041         * locale/programs/ld-time.c: Likewise.
35042         * locale/programs/linereader.c: Likewise.
35043         * locale/programs/locale.c: Likewise.
35044         * locale/programs/locarchive.c: Likewise.
35045         * locale/programs/locfile.h: Likewise.
35046         * locale/programs/repertoire.c: Likewise.
35047         * locale/programs/simple-hash.c: Likewise.
35048         * locale/programs/simple-hash.h: Likewise.
35049         * malloc/memusage.c: Likewise.
35050         * malloc/memusagestat.c: Likewise.
35051         * nis/nis_defaults.c: Likewise.
35052         * nis/nis_hash.c: Likewise.
35053         * nis/nis_print.c: Likewise.
35054         * nis/nis_xdr.c: Likewise.
35055         * nscd/connections.c: Likewise.
35056         * nscd/hstcache.c: Likewise.
35057         * nscd/nscd_gethst_r.c: Likewise.
35058         * nscd/nscd_getserv_r.c: Likewise.
35059         * nscd/nscd_helper.c: Likewise.
35060         * nscd/servicescache.c: Likewise.
35061         * nss/makedb.c: Likewise.
35062         * nss/nss_db/db-XXX.c: Likewise.
35063         * nss/nss_db/db-initgroups.c: Likewise.
35064         * nss/nss_db/db-netgrp.c: Likewise.
35065         * nss/nss_files/files-network.c: Likewise.
35066         * nss/nss_files/files-parse.c: Likewise.
35067         * posix/bug-regex5.c: Likewise.
35068         * posix/fnmatch_loop.c: Likewise.
35069         * posix/regcomp.c: Likewise.
35070         * posix/regexec.c: Likewise.
35071         * posix/tst-rfc3484-2.c: Likewise.
35072         * posix/tst-rfc3484-3.c: Likewise.
35073         * posix/tst-rfc3484.c: Likewise.
35074         * resolv/nss_dns/dns-canon.c: Likewise.
35075         * resolv/nss_dns/dns-network.c: Likewise.
35076         * resolv/res_init.c: Likewise.
35077         * resolv/res_mkquery.c: Likewise.
35078         * resolv/tst-aton.c: Likewise.
35079         * stdlib/cxa_atexit.c: Likewise.
35080         * stdlib/cxa_finalize.c: Likewise.
35081         * stdlib/gen-fpioconst.c: Likewise.
35082         * stdlib/strtol_l.c: Likewise.
35083         * string/tst-endian.c: Likewise.
35084         * sunrpc/auth_des.c: Likewise.
35085         * sunrpc/clnt_udp.c: Likewise.
35086         * sunrpc/rtime.c: Likewise.
35087         * sunrpc/svcauth_des.c: Likewise.
35088         * sunrpc/xdr.c: Likewise.
35089         * sunrpc/xdr_intXX_t.c: Likewise.
35090         * sunrpc/xdr_rec.c: Likewise.
35091         * sysdeps/generic/ldconfig.h: Likewise.
35092         * sysdeps/generic/ldsodefs.h: Likewise.
35093         * sysdeps/generic/memusage.h: Likewise.
35094         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35095         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35096         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35097         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35098         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35099         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35100         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35101         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35102         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35103         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35104         * sysdeps/posix/getaddrinfo.c: Likewise.
35105         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35106         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35107         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35108         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35109         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35110         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35111         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35112         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35113         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35114         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35115         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35116         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35117         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35118         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35119         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35120         * sysdeps/x86_64/dl-tls.h: Likewise.
35121         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35122         * time/alt_digit.c: Likewise.
35123         * time/era.c: Likewise.
35124         * wcsmbs/tst-c16c32-1.c: Likewise.
35126 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35128         * math/libm-test.inc (struct test_sincos_data): New type.
35129         (RUN_TEST_LOOP_sincos): New macro.
35130         (sincos_test_data): New variable.
35131         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35133 2013-05-16  Richard Henderson  <rth@redhat.com>
35135         * math/atest-exp2.c (LIMB64): New macro.
35136         (CONSTSZ): New macro.
35137         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35138         (hexdig): Move ...
35139         (print_mpn_fp): ... to function scope.
35140         (read_mpn_hex): Remove.
35141         (get_log2): Remove.
35142         (exp2_mpn): Use mp_log2.
35143         (main): Use mp_exp1.
35145 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35147         * math/libm-test.inc: Remove comment about not testing "inexact"
35148         exceptions.
35149         (INEXACT_EXCEPTION): New macro.
35150         (NO_INEXACT_EXCEPTION): Likewise.
35151         (INVALID_EXCEPTION_OK): Update value.
35152         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35153         (OVERFLOW_EXCEPTION_OK): Likewise.
35154         (UNDERFLOW_EXCEPTION_OK): Likewise.
35155         (IGNORE_ZERO_INF_SIGN): Likewise.
35156         (ERRNO_UNCHANGED): Likewise.
35157         (ERRNO_EDOM): Likewise.
35158         (ERRNO_ERANGE): Likewise.
35159         (test_exceptions): Handle testing "inexact" exceptions.
35160         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35161         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35162         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35163         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35164         INEXACT_EXCEPTION.
35165         (rint_towardzero_test_data): Likewise.
35166         (rint_downward_test_data): Likewise.
35167         (rint_upward_test_data): Likewise.
35169         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35170         with OVERFLOW_EXCEPTION.
35171         (exp10_test_data): Likewise.
35172         (exp2_test_data): Likewise.
35173         (expm1_test_data): Likewise.
35174         (lgamma_test_data): Likewise.
35175         (pow_test_data): Likewise.
35176         (tgamma_test_data): Likewise.
35177         (yn_test_data): Remove duplicate test of overflow.
35179         * math/libm-test.inc (struct test_cc_c_data): New type.
35180         (RUN_TEST_LOOP_cc_c): New macro.
35181         (cpow_test_data): New variable.
35182         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35184         * math/libm-test.inc (struct test_f_L_data): New type.
35185         (RUN_TEST_LOOP_f_L): New macro.
35186         (llrint_test_data): New variable.
35187         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35188         (llrint_tonearest_test_data): New variable.
35189         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35190         (llrint_towardzero_test_data): New variable.
35191         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35192         (llrint_downward_test_data): New variable.
35193         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35194         (llrint_upward_test_data): New variable.
35195         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35196         (llround_test_data): New variable.
35197         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35199 2013-05-13  Peter Collingbourne  <pcc@google.com>
35201         * math/atest-exp2.c (get_log2): Remove const attribute.
35203 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35205         * math/libm-test.inc (struct test_f_l_data): New type.
35206         (RUN_TEST_LOOP_f_l): New macro.
35207         (lrint_test_data): New variable.
35208         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35209         (lrint_tonearest_test_data): New variable.
35210         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35211         (lrint_towardzero_test_data): New variable.
35212         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35213         (lrint_downward_test_data): New variable.
35214         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35215         (lrint_upward_test_data): New variable.
35216         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35217         (lround_test_data): New variable.
35218         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35220 2013-05-15  Peter Collingbourne  <pcc@google.com>
35222         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35223         (EXTRACT_WORDS64) Use where appropriate.
35224         (INSERT_WORDS64) Likewise.
35226         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35227         constraints with x constraints.
35228         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35230         * malloc/obstack.c (_obstack_compat): Add initializer.
35232 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35234         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35235         si_trapno and add si_addr_lsb to _sifields.sigfault.
35236         (si_trapno): Remove macro.
35237         (si_addr_lsb): Define new macro.
35238         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35240 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35242         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35243         instead of TEST_f_l.
35244         (llrint_test_tonearest): Likewise.
35245         (llrint_test_towardzero): Likewise.
35246         (llrint_test_downward): Likewise.
35247         (llrint_test_upward): Likewise.
35248         (llround_test): Likewise.
35250         * math/libm-test.inc (struct test_f_i_data): Add comment.
35251         (RUN_TEST_LOOP_f_b): New macro.
35252         (RUN_TEST_LOOP_f_b_tg): Likewise.
35253         (finite_test_data): New variable.
35254         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35255         (isfinite_test_data): New variable.
35256         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35257         (isinf_test_data): New variable.
35258         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35259         (isnan_test_data): New variable.
35260         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35261         (isnormal_test_data): New variable.
35262         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35263         (issignaling_test_data): New variable.
35264         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35265         (signbit_test_data): New variable.
35266         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35268         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35269         with INVALID_EXCEPTION.
35270         (acosh_test_data): Likewise.
35271         (asin_test_data): Likewise.
35272         (atanh_test_data): Likewise.
35273         (fmod_test_data): Likewise.
35274         (log_test_data): Likewise.
35275         (log10_test_data): Likewise.
35276         (log2_test_data): Likewise.
35277         (pow_test_data): Likewise.
35278         (sqrt_test_data): Likewise.
35279         (y0_test_data): Likewise.
35280         (y1_test_data): Likewise.
35281         (yn_test_data): Likewise.
35283         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35284         function contents.
35286         * math/libm-test.inc (struct test_ff_i_data): New type.
35287         (RUN_TEST_LOOP_ff_i_tg): New macro.
35288         (isgreater_test_data): New variable.
35289         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35290         (isgreaterequal_test_data): New variable.
35291         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35292         (isless_test_data): New variable.
35293         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35294         (islessequal_test_data): New variable.
35295         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35296         (islessgreater_test_data): New variable.
35297         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35298         (isunordered_test_data): New variable.
35299         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35301 2013-05-14  David S. Miller  <davem@davemloft.net>
35303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35305 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35307         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35309         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35310         extra_test to int.
35311         (struct test_f_i_data): Change type of max_ulp to int.
35313         * math/libm-test.inc (test_ffI_f1_data): New type.
35314         (RUN_TEST_LOOP_ffI_f1): New macro.
35315         (remquo_test_data): New variable.
35316         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35318         * setjmp/tst-setjmp-fp.c: New file.
35319         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35320         (link-libm): New variable.
35321         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35323         * math/libm-test.inc (struct test_f_i_data): New type.
35324         (RUN_TEST_LOOP_f_i): New macro.
35325         (RUN_TEST_LOOP_f_i_tg): Likewise.
35326         (fpclassify_test_data): New variable.
35327         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35328         (ilogb_test_data): New variable.
35329         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35331         * math/libm-test.inc (scalbln_test): Correct function name in END
35332         call.
35334         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35335         (RUN_TEST_LOOP_fI_f1): New macro.
35336         (frexp_test_data): New variable.
35337         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35339         * math/libm-test.inc (struct test_fF_f1_data): New type.
35340         (RUN_TEST_LOOP_fF_f1): New macro.
35341         (modf_test_data): New variable.
35342         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35344         * math/libm-test.inc (struct test_f_f1_data): New type.
35345         (RUN_TEST_LOOP_f_f1): New macro.
35346         (gamma_test_data): New variable.
35347         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35348         (lgamma_test_data): New variable.
35349         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35351 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35353         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35354         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35355         (main): Comment "tls" pseudo-hwcap.
35357 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35359         * math/libm-test.inc (struct test_fl_f_data): New type.
35360         (RUN_TEST_LOOP_fl_f): New variable.
35361         (scalbln_test_data): New variable.
35362         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35364         * math/libm-test.inc (struct test_fi_f_data): New type.
35365         (RUN_TEST_LOOP_fi_f): New macro.
35366         (ldexp_test_data): New variable.
35367         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35368         (scalbn_test_data): New variable.
35369         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35371         * math/libm-test.inc (struct test_c_f_data): New type.
35372         (RUN_TEST_LOOP_c_f): New macro.
35373         (cabs_test_data): New variable.
35374         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35375         (carg_test_data): New variable.
35376         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35377         (cimag_test_data): New variable.
35378         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35379         (creal_test_data): New variable.
35380         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35382         * math/libm-test.inc (struct test_if_f_data): New type.
35383         (RUN_TEST_LOOP_if_f): New macro.
35384         (jn_test_data): New variable.
35385         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35386         (yn_test_data): New variable.
35387         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35389         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35391 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35393         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35394         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35396 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35398         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35399         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35400         (bench-deps): Add bench-timing.h.
35401         * benchtests-bench-skeleton.c: Include bench-timing.h.
35402         (main): Use TIMING_* macros instead of clock_gettime.
35403         * benchtests/bench-timing.h: New file.
35405         [BZ #14582]
35406         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35407         Renamed from _LIB_VERSION.
35408         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35410 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35412         * math/libm-test.inc (struct test_fff_f_data): New type.
35413         (RUN_TEST_LOOP_fff_f): New macro.
35414         (fma_test_data): New variable.
35415         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35416         (fma_towardzero_test_data): New variable.
35417         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35418         (fma_downward_test_data): New variable.
35419         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35420         (fma_upward_test_data): New variable.
35421         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35423         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35424         (struct test_c_c_data): New type.
35425         (RUN_TEST_LOOP_c_c): New macro.
35426         (cacos_test_data): New variable.
35427         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35428         (cacosh_test_data): New variable.
35429         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35430         (casin_test_data): New variable.
35431         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35432         (casinh_test_data): New variable.
35433         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35434         (catan_test_data): New variable.
35435         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35436         (catanh_test_data): New variable.
35437         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35438         (ccos_test_data): New variable.
35439         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35440         (ccosh_test_data): New variable.
35441         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35442         (cexp_test_data): New variable.
35443         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35444         (clog_test_data): New variable.
35445         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35446         (clog10_test_data): New variable.
35447         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35448         (conj_test_data): New variable.
35449         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35450         (cproj_test_data): New variable.
35451         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35452         (csin_test_data): New variable.
35453         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35454         (csinh_test_data): New variable.
35455         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35456         (csqrt_test_data): New variable.
35457         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35458         (ctan_test_data): New variable.
35459         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35460         (ctan_tonearest_test_data): New variable.
35461         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35462         (ctan_towardzero_test_data): New variable.
35463         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35464         (ctan_downward_test_data): New variable.
35465         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35466         (ctan_upward_test_data): New variable.
35467         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35468         (ctanh_test_data): New variable.
35469         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35470         (ctanh_tonearest_test_data): New variable.
35471         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35472         (ctanh_towardzero_test_data): New variable.
35473         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35474         (ctanh_downward_test_data): New variable.
35475         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35476         (ctanh_upward_test_data): New variable.
35477         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35478         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35479         of BUILD_COMPLEX.
35481         * math/libm-test.inc (struct test_ff_f_data): New type.
35482         (struct test_ff_f_data_nexttoward): Likewise.
35483         (RUN_TEST_LOOP_2_f): New macro.
35484         (RUN_TEST_LOOP_ff_f): Likewise.
35485         (atan2_test_data): New variable.
35486         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35487         (copysign_test_data): New variable.
35488         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35489         (fdim_test_data): New variable.
35490         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35491         (fmax_test_data): New variable.
35492         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35493         (fmin_test_data): New variable.
35494         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35495         (fmod_test_data): New variable.
35496         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35497         (hypot_test_data): New variable.
35498         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35499         (nextafter_test_data): New variable.
35500         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35501         (nexttoward_test_data): New variable.
35502         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35503         (pow_test_data): New variable.
35504         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35505         (pow_tonearest_test_data): New variable.
35506         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35507         (pow_towardzero_test_data): New variable.
35508         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35509         (pow_downward_test_data): New variable.
35510         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35511         (pow_upward_test_data): New variable.
35512         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35513         (remainder_test_data): New variable.
35514         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35515         (scalb_test_data): New variable.
35516         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35517         * sysdeps/i386/fpu/libm-test-ulps: Update.
35519 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35521         * math/libm-test.inc (fma_test): Use max_value instead of local
35522         variable fltmax.
35523         (nextafter_test): Likewise.
35525         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35526         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35527         (acos_downward_test_data): New variable.
35528         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35529         (acos_upward_test_data): New variable.
35530         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35531         (acosh_test_data): New variable.
35532         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35533         (asin_test_data): New variable.
35534         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35535         (asin_tonearest_test_data): New variable.
35536         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35537         (asin_towardzero_test_data): New variable.
35538         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35539         (asin_downward_test_data): New variable.
35540         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35541         (asin_upward_test_data): New variable.
35542         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35543         (asinh_test_data): New variable.
35544         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35545         (atan_test_data): New variable.
35546         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35547         (atanh_test_data): New variable.
35548         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35549         (cbrt_test_data): New variable.
35550         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35551         (ceil_test_data): New variable.
35552         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35553         (cos_test_data): New variable.
35554         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35555         (cos_tonearest_test_data): New variable.
35556         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35557         (cos_towardzero_test_data): New variable.
35558         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35559         (cos_downward_test_data): New variable.
35560         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35561         (cos_upward_test_data): New variable.
35562         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35563         (cosh_test_data): New variable.
35564         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35565         (cosh_tonearest_test_data): New variable.
35566         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35567         (cosh_towardzero_test_data): New variable.
35568         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35569         (cosh_downward_test_data): New variable.
35570         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35571         (cosh_upward_test_data): New variable.
35572         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35573         (erf_test_data): New variable.
35574         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35575         (erfc_test_data): New variable.
35576         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35577         (exp_test_data): New variable.
35578         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35579         (exp_tonearest_test_data): New variable.
35580         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35581         (exp_towardzero_test_data): New variable.
35582         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35583         (exp_downward_test_data): New variable.
35584         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35585         (exp_upward_test_data): New variable.
35586         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35587         (exp10_test_data): New variable.
35588         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35589         (exp2_test_data): New variable.
35590         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35591         (expm1_test_data): New variable.
35592         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35593         (fabs_test_data): New variable.
35594         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35595         (floor_test_data): New variable.
35596         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35597         (j0_test_data): New variable.
35598         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35599         (j1_test_data): New variable.
35600         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35601         (log_test_data): New variable.
35602         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35603         (log10_test_data): New variable.
35604         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35605         (log1p_test_data): New variable.
35606         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35607         (log2_test_data): New variable.
35608         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35609         (logb_test_data): New variable.
35610         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35611         (logb_downward_test_data): New variable.
35612         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35613         (nearbyint_test_data): New variable.
35614         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35615         (rint_test_data): New variable.
35616         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35617         (rint_tonearest_test_data): New variable.
35618         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35619         (rint_towardzero_test_data): New variable.
35620         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35621         (rint_downward_test_data): New variable.
35622         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35623         (rint_upward_test_data): New variable.
35624         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35625         (round_test_data): New variable.
35626         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35627         (sin_test_data): New variable.
35628         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35629         (sin_tonearest_test_data): New variable.
35630         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35631         (sin_towardzero_test_data): New variable.
35632         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35633         (sin_downward_test_data): New variable.
35634         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35635         (sin_upward_test_data): New variable.
35636         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35637         (sinh_test_data): New variable.
35638         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35639         (sinh_tonearest_test_data): New variable.
35640         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35641         (sinh_towardzero_test_data): New variable.
35642         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35643         (sinh_downward_test_data): New variable.
35644         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35645         (sinh_upward_test_data): New variable.
35646         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35647         (sqrt_test_data): New variable.
35648         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35649         (tan_test_data): New variable.
35650         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35651         (tan_tonearest_test_data): New variable.
35652         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35653         (tan_towardzero_test_data): New variable.
35654         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35655         (tan_downward_test_data): New variable.
35656         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35657         (tan_upward_test_data): New variable.
35658         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35659         (tanh_test_data): New variable.
35660         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35661         (tgamma_test_data): New variable.
35662         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35663         (trunc_test_data): New variable.
35664         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35665         (y0_test_data): New variable.
35666         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35667         (y1_test_data): New variable.
35668         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35669         (significand_test_data): New variable.
35670         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35672 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35674         [BZ #12387]
35675         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35677 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35679         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35681 2013-05-10  Andreas Jaeger  <aj@suse.de>
35683         [BZ #15448]
35684         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35685         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35687 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35689         * math/gen-libm-test.pl (adjust_arg): New function.
35690         (special_functions): Handle generating output in both functions
35691         and arrays.
35692         (parse_args): Likewise.
35693         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35694         $in_func argument to parse_args.
35695         * math/libm-test.inc (struct test_f_f_data): New type.
35696         (IF_ROUND_INIT_): New macro.
35697         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35698         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35699         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35700         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35701         (ROUND_RESTORE_): Likewise.
35702         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35703         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35704         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35705         (ROUND_RESTORE_FE_UPWARD): Likewise.
35706         (RUN_TEST_LOOP_f_f): New macro.
35707         (acos_test_data): New variable.
35708         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35709         (acos_tonearest_test_data): New variable.
35710         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35712 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35714         * benchtests/bench-skeleton.c (startup): Fix coding style.
35716 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35718         [BZ #6809]
35719         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35720         negative infinity argument.
35721         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35722         negative infinity argument.
35723         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35724         negative infinity argument.
35725         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35726         domain errors.
35728 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35730         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35731         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35732         * iconv/iconv_prog.c (main): Likewise.
35733         * locale/programs/charmap-dir.c (charmap_readdir)
35734         (fopen_uncompressed): Likewise.
35735         * locale/programs/locfile.c (siblings_uncached)
35736         (write_locale_data): Use lstat64 instead of lstat.
35737         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35738         stat.
35740 2013-05-10  Andreas Jaeger  <aj@suse.de>
35742         [BZ #15395]
35743         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35744         localization.
35745         Include <locale.h>.
35747 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35749         * elf/dl-close.c (_dl_close_worker): Add comments.
35751 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35753         [BZ #15359]
35754         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35755         high part of pi/2.
35756         (__ieee754_rem_pio2l): Update comments.
35758         [BZ #15429]
35759         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35760         high part of pi/2.
35761         (__ieee754_rem_pio2l): Update comments.
35763         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35764         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35766         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35767         M_PI_4l.
35769         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35770         (M_PI_34_LOG10El): Likewise.
35771         (M_PI2_LOG10El): Likewise.
35772         (M_PI4_LOG10El): Likewise.
35773         (M_PI_LOG10El): Likewise.
35775 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35779 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35781         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35782         (MINUS_ZERO_INIT): Likewise.
35783         (PLUS_INFTY_INIT): Likewise.
35784         (MINUS_INFTY_INIT): Likewise.
35785         (QNAN_VALUE_INIT): Likewise.
35786         (MAX_VALUE_INIT): Likewise.
35787         (MIN_VALUE_INIT): Likewise.
35788         (MIN_SUBNORM_VALUE_INIT): Likewise.
35789         (plus_zero): Initialize with PLUS_ZERO_INIT.
35790         (minus_zero): Initialize with MINUS_ZERO_INIT.
35791         (plus_infty): Initialize with PLUS_INFTY_INIT.
35792         (minus_infty): Initialize with MINUS_INFTY_INIT.
35793         (qnan_value): Initialize with QNAN_VALUE_INIT.
35794         (max_value): Initialize with MAX_VALUE_INIT.
35795         (min_value): Initialize with MIN_VALUE_INIT.
35796         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35798         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35799         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35800         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35801         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35803         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35804         (RUN_TEST_2_f): Likewise.
35805         (RUN_TEST_ff_f): Likewise.
35806         (RUN_TEST_fi_f): Likewise.
35807         (RUN_TEST_fl_f): Likewise.
35808         (RUN_TEST_fff_f): Likewise.
35809         (RUN_TEST_c_f): Likewise.
35810         (RUN_TEST_f_f1): Likewise.
35811         (RUN_TEST_fF_f1): Likewise.
35812         (RUN_TEST_fI_f1): Likewise.
35813         (RUN_TEST_ffI_f1): Likewise.
35814         (RUN_TEST_c_c): Likewise.
35815         (RUN_TEST_cc_c): Likewise.
35816         (RUN_TEST_f_i): Likewise.
35817         (RUN_TEST_f_i_tg): Likewise.
35818         (RUN_TEST_ff_i_tg): Likewise.
35819         (RUN_TEST_f_b): Likewise.
35820         (RUN_TEST_f_b_tg): Likewise.
35821         (RUN_TEST_f_l): Likewise.
35822         (RUN_TEST_f_L): Likewise.
35823         (RUN_TEST_sincos): Likewise.
35824         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35825         whether to show exceptions.  Do not include ");\n" in return
35826         value.
35827         (special_functions): Output call to RUN_TEST_sincos instead of
35828         check_float calls.  Update calls to new_test.
35829         (parse_args): Output call to single RUN_TEST_* macro instead of
35830         check_* calls and other assignments.  Update calls to new_test.
35832         [BZ #2546]
35833         [BZ #2560]
35834         [BZ #5159]
35835         [BZ #15426]
35836         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35837         input to result for tgamma overflow.
35838         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35839         (gamma_coeff): New variable.
35840         (NCOEFF): New macro.
35841         (gamma_positive): New function.
35842         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35843         underflow here.  Use gamma_positive instead of exp (lgamma) for
35844         other arguments.
35845         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35846         (gamma_coeff): New variable.
35847         (NCOEFF): New macro.
35848         (gammaf_positive): New function.
35849         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35850         underflow here.  Use gamma_positive instead of exp (lgamma) for
35851         other arguments.
35852         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35853         (gamma_coeff): New variable.
35854         (NCOEFF): New macro.
35855         (gammal_positive): New function.
35856         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35857         underflow here.  Use gamma_positive instead of exp (lgamma) for
35858         other arguments.
35859         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35860         (gamma_coeff): New variable.
35861         (NCOEFF): New macro.
35862         (gammal_positive): New function.
35863         (__ieee754_gammal_r): Handle positive infinity, overflow and
35864         underflow here.  Handle NaN the same as positive infinity.  Remove
35865         check x < 0xffffffff for negative integers.  Use gamma_positive
35866         instead of exp (lgamma) for other arguments.
35867         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35868         (gamma_coeff): New variable.
35869         (NCOEFF): New macro.
35870         (gammal_positive): New function.
35871         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35872         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35873         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35874         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35875         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35876         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35877         * sysdeps/generic/math_private.h (__gamma_productf): New
35878         prototype.
35879         (__gamma_product): Likewise.
35880         (__gamma_productl): Likewise.
35881         * math/Makefile (libm-calls): Add gamma_product.
35882         * math/libm-test.inc (tgamma_test): Add more tests.
35883         * sysdeps/i386/fpu/libm-test-ulps: Update.
35884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35886 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35888         * benchtests/bench-skeleton.c (main): Preheat CPU.
35890 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35892         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35894 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35896         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35897         and _dl_skip_args_internal.
35899 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35901         * manual/message.texi (Message Translation): Talk about users.
35902         Message to key mapping impacts design.
35904 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35906         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35908         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35910         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35911         * sysdeps/wordsize-64/glob64.c: ... here.
35913         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35914         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35915         New macros.
35917         * debug/getlogin_r_chk.c: Moved to ...
35918         * login/getlogin_r_chk.c: ... here.
35919         * debug/Makefile (routines): Move getlogin_r_chk to ...
35920         * login/Makefile (routines): ... here.
35921         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35922         * login/Versions (libc: GLIBC_2.4): ... here.
35924         * io/poll.c (__poll): Renamed from poll.
35925         Add libc_hidden_def.
35926         (poll): Define as weak alias.
35928         * debug/ptsname_r_chk.c: Moved to ...
35929         * login/ptsname_r_chk.c: ... here.
35930         * debug/Makefile (routines): Move ptsname_r_chk to ...
35931         * login/Makefile (routines): ... here.
35932         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35933         * login/Versions (libc: GLIBC_2.4): ... here.
35935         * posix/getlogin.c: Moved to ...
35936         * login/getlogin.c: ... here.
35937         * posix/getlogin_r.c: Moved to ...
35938         * login/getlogin_r.c: ... here.
35939         * posix/getlogin_r.c: Moved to ...
35940         * login/getlogin_r.c: ... here.
35941         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35942         * login/Makefile (routines): ... here.
35943         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35944         * login/Versions (libc: GLIBC_2.0): ... here.
35946         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35947         (setrlimit): Define as weak alias.
35949         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35950         Call __ names for open, ftruncate, and close.
35951         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35952         (truncate): Define as weak alias.
35954 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35956         * math/gen-libm-test.pl (parse_args): Initialize x before each
35957         test of frexp, modf and remquo.
35959         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35960         test signgam value.
35962 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35964         [BZ #15418]
35965         [BZ #15419]
35966         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35967         internal tests.
35968         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35970 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35972         * elf/dl-writev.h: New file.
35973         * elf/dl-misc.c: Include it.
35974         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35975         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35977 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35979         * math/libm-test.inc (noXFails): Remove variable.
35980         (noXPasses): Likewise.
35981         (BUILD_COMPLEX_INT): Remove macro.
35982         (print_screen): Remove xfail argument.
35983         (print_screen_max_error): Likewise.
35984         (update_stats): Likewise.
35985         (print_max_error): Likewise.  Update calls to other affected
35986         functions.
35987         (print_complex_max_error): Likewise.
35988         (test_single_exception): Update calls to print_screen.
35989         (test_single_errno): Likewise.
35990         (check_float_internal): Remove xfail argument.  Update calls to
35991         other affected functions.
35992         (check_float): Likewise.
35993         (check_complex): Likewise.
35994         (check_int): Likewise.
35995         (check_long): Likewise.
35996         (check_bool): Likewise.
35997         (check_longlong): Likewise.
35998         (main): Don't print noXFails and noXPasses.
35999         * math/gen-libm-test.pl (top level): Don't mention expected
36000         failure handling in comment.
36001         (new_test): Don't handle expected failures.
36002         (parse_args): Don't mention expected failure handling in comment.
36003         (generate_testfile): Don't handle expected failures.
36004         (parse_ulps): Likewise.
36005         (print_ulps_file): Likewise.
36006         (get_failure): Remove function.
36007         (output_test): Don't handle expected failures.
36008         * make/README.libm-test: Don't mention expected failure handling.
36010         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36011         (minus_zero): Likewise.
36012         (plus_infty): Likewise.
36013         (minus_infty): Likewise.
36014         (qnan_value): Likewise.
36015         (max_value): Likewise.
36016         (min_value): Likewise.
36017         (min_subnorm_value): Likewise.
36018         (initialize): Do not initialize those variables dynamically.
36020 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36022         * io/open.c (__open_2): Moved to ...
36023         * io/open_2.c: ... this new file.
36024         * io/open64.c (__open64_2): Moved to ...
36025         * io/open64_2.c: ... this new file.
36026         * io/openat.c (__openat_2): Moved to ...
36027         * io/openat_2.c: ... this new file.
36028         * io/openat64.c (__openat64_2): Moved to ...
36029         * io/openat64_2.c: ... this new file.
36030         * io/Makefile (routines): Add them.
36031         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36032         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36033         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36034         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36035         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36036         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36037         (__openat64): Add hidden_ver.
36038         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36039         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36041         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36042         Separately conditionalize setting of GLRO(dl_sysinfo) so
36043         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36044         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36046 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36048         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36049         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36050         definition.
36051         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36052         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36053         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36054         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36055         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36057 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36059         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36060         test signgam value.
36062         * math/libm-test.inc (hypot_test): Do not use
36063         IGNORE_ZERO_INF_SIGN.
36065 2013-05-03  Andreas Jaeger  <aj@suse.de>
36067         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36068         Linux 3.9.
36069         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36070         (PF_MAX): Adjust for VSOCK change.
36072 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36076 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36078         [BZ #15264]
36079         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36080         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36081         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36083 2013-05-02  David S. Miller  <davem@davemloft.net>
36085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36087 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36089         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36091 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36093         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36095 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36097         [BZ #14952]
36098         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36099         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36100         Use __attribute__ ((__gnu_inline__)).
36101         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36102         Don't use __attribute__ ((__gnu_inline__)).
36104 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36106         [BZ #15423]
36107         * math/s_catan.c (__catan): Handle small real or imaginary part of
36108         input specially to avoid spurious underflow.
36109         * math/s_catanf.c (__catanf): Likewise.
36110         * math/s_catanh.c (__catanh): Likewise.
36111         * math/s_catanhf.c (__catanhf): Likewise.
36112         * math/s_catanhl.c (__catanhl): Likewise.
36113         * math/s_catanl.c (__catanl): Likewise.
36114         * math/libm-test.inc (catan_test): Add more tests.
36115         (catanh_test): Likewise.
36116         * sysdeps/i386/fpu/libm-test-ulps: Update.
36117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36119 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36123 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36125         [BZ #15416]
36126         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36127         accurately for denominator in atan2.
36128         * math/s_catanf.c (__catanf): Likewise.
36129         * math/s_catanh.c (__catanh): Likewise.
36130         * math/s_catanhf.c (__catanhf): Likewise.
36131         * math/s_catanhl.c (__catanhl): Likewise.
36132         * math/s_catanl.c (__catanl): Likewise.
36133         * math/libm-test.inc (catan_test): Add more tests.
36134         (catanh_test): Likewise.
36135         * sysdeps/i386/fpu/libm-test-ulps: Update.
36136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36138 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36140         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36142         * benchtests/Makefile (bench): Remove slow benchmarks.
36143         * benchtests/atan-inputs: Add slow benchmark inputs.
36144         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36145         (BENCH_FUNC): Accept variant offset.
36146         (VARIANT): Define.
36147         * benchtests/bench-skeleton.c (main): Run benchmark for each
36148         variant.
36149         * benchtests/cos-inputs: Add slow benchmark inputs.
36150         * benchtests/exp-inputs: Likewise.
36151         * benchtests/pow-inputs: Likewise.
36152         * benchtests/sin-inputs: Likewise.
36153         * benchtests/slowatan-inputs: Remove.
36154         * benchtests/slowatan.c: Remove.
36155         * benchtests/slowcos-inputs: Remove.
36156         * benchtests/slowcos.c: Remove.
36157         * benchtests/slowexp-inputs: Remove.
36158         * benchtests/slowexp.c: Remove.
36159         * benchtests/slowpow-inputs: Remove.
36160         * benchtests/slowpow.c: Remove.
36161         * benchtests/slowsin-inputs: Remove.
36162         * benchtests/slowsin.c: Remove.
36163         * benchtests/slowtan-inputs: Remove.
36164         * benchtests/slowtan.c: Remove.
36165         * benchtests/tan-inputs: Add slow benchmark inputs.
36166         * scripts/bench.pl: Parse comments and directives.
36168         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36169         in CPPFLAGS.
36170         ($(objpfx)bench-%.c): Remove *-ITER.
36171         * benchtests/bench-modf.c: Remove definition of ITER.
36172         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36173         (main): Loop for DURATION seconds instead of fixed number of
36174         iterations.
36175         * scripts/bench.pl: Don't expect iterations in parameters.
36177 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36179         * io/fchdir.c (__fchdir): Renamed from fchdir.
36180         (fchdir): Define as weak alias.
36182 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36184         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36185         (ERRNO_EDOM): Likewise.
36186         (ERRNO_ERANGE): Likewise.
36187         (noErrnoTests): New variable.
36188         (init_max_error): Set errno to 0.
36189         (test_single_errno): New function.
36190         (test_errno): Likewise.
36191         (check_float_internal): Call test_errno.  Set errno to 0.
36192         (check_complex): Refer to errno tests in comment.
36193         (check_int): Call test_errno.  Set errno to 0.
36194         (check_long): Likewise.
36195         (check_bool): Likewise.
36196         (check_longlong): Likewise.
36197         (cos_test): Use ERRNO_* flags for errno tests instead of
36198         check_int.
36199         (expm1_test): Likewise.
36200         (fmod_test): Likewise.
36201         (ilogb_test): Likewise.
36202         (lgamma_test): Likewise.
36203         (pow_test): Likewise.
36204         (remainder_test): Likewise.
36205         (sin_test): Likewise.
36206         (tan_test): Likewise.
36207         (yn_test): Likewise.
36208         (initialize): Set errno to 0.
36209         (main): Print number of errno tests.
36210         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36212 2013-04-29  Andreas Jaeger  <aj@suse.de>
36214         [BZ #15084]
36215         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36216         and RES_USEVC.
36218         [BZ #15085]
36219         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36220         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36221         unimplemented.
36223         [BZ #15380]
36224         * stdlib/random.c (__initstate): Return NULL if
36225         __initstate fails.
36227         [BZ #15086]
36228         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36229         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36230         RES_SNGLKUPREOP.
36232 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36236 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36238         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36239         of individual tests.
36240         (casin_test): Likewise.
36241         (casinh_test): Likewise.
36243 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36245         [BZ #15409]
36246         * math/s_catan.c (__catan): Handle arguments with large real or
36247         imaginary part separately without squaring.
36248         * math/s_catanf.c (__catanf): Likewise.
36249         * math/s_catanh.c (__catanh): Likewise.
36250         * math/s_catanhf.c (__catanhf): Likewise.
36251         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36252         and redefine.
36253         (__catanhl): Handle arguments with large real or imaginary part
36254         separately without squaring.
36255         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36256         and redefine.
36257         (__catanl): Handle arguments with large real or imaginary part
36258         separately without squaring.
36259         * math/libm-test.inc (catan_test): Add more tests.
36260         (catanh_test): Likewise.
36261         * sysdeps/i386/fpu/libm-test-ulps: Update.
36262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36264 2013-04-27  Andreas Jaeger  <aj@suse.de>
36266         [BZ #15007]
36267         * stdlib/stdlib.h: Update guards for qecvt.
36268         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36269         <stdlib.h>.
36271 2013-04-27  Allan McRae  <allan@archlinux.org>
36273         * sysdeps/i386/fpu/libm-test-ulps: Update.
36275 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36277         [BZ #15406]
36278         * math/s_catan.c: Include <float.h>.
36279         (__catan): Ensure underflow exception occurs for underflowed
36280         result.
36281         * math/s_catanf.c: Include <float.h>.
36282         (__catanf): Ensure underflow exception occurs for underflowed
36283         result.
36284         * math/s_catanh.c: Include <float.h>.
36285         (__catanh): Ensure underflow exception occurs for underflowed
36286         result.
36287         * math/s_catanhf.c: Include <float.h>.
36288         (__catanhf): Ensure underflow exception occurs for underflowed
36289         result.
36290         * math/s_catanhl.c: Include <float.h>.
36291         (__catanhl): Ensure underflow exception occurs for underflowed
36292         result.
36293         * math/s_catanl.c: Include <float.h>.
36294         (__catanl): Ensure underflow exception occurs for underflowed
36295         result.
36296         * math/libm-test.inc (catan_test): Add more tests.
36297         (catanh_test): Likewise.
36299         [BZ #15405]
36300         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36301         underflowed result.
36302         * math/s_ccoshf.c (__ccoshf): Likewise.
36303         * math/s_ccoshl.c (__ccoshl): Likewise.
36304         * math/s_csin.c (__csin): Likewise.
36305         * math/s_csinf.c (__csinf): Likewise.
36306         * math/s_csinh.c (__csinh): Likewise.
36307         * math/s_csinhf.c (__csinhf): Likewise.
36308         * math/s_csinhl.c (__csinhl): Likewise.
36309         * math/s_csinl.c (__csinl): Likewise.
36310         * math/libm-test.inc (ccos_test): Add more tests.
36311         (ccosh_test): Likewise.
36312         (csin_test): Likewise.
36313         (csinh_test): Likewise.
36315 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36317         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36318         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36319         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36320         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36321         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36322         powerpc/power5+/fpu folders.
36323         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36326 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36330 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36332         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36333         additions to variable.
36334         [$(config-machine) = x86_64] (modules-names): Likewise.
36335         ($(objpfx)tst-audit3): Remove dependency.
36336         ($(objpfx)tst-audit3.out): Likewise.
36337         ($(objpfx)tst-audit4): Likewise.
36338         ($(objpfx)tst-audit4.out): Likewise.
36339         ($(objpfx)tst-audit5): Likewise.
36340         ($(objpfx)tst-audit5.out): Likewise.
36341         ($(objpfx)tst-audit6): Likewise.
36342         ($(objpfx)tst-audit6.out): Likewise.
36343         ($(objpfx)tst-audit7): Likewise.
36344         ($(objpfx)tst-audit7.out): Likewise.
36345         (tst-audit3-ENV): Remove variable.
36346         (tst-audit4-ENV): Likewise.
36347         (tst-audit5-ENV): Likewise.
36348         (tst-audit6-ENV): Likewise.
36349         (tst-audit7-ENV): Likewise.
36350         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36351         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36352         addition to variable.
36353         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36354         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36355         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36356         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36357         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36358         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36359         tst-audit3, tst-audit4 and tst-audit5.
36360         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36361         tst-audit6 and tst-audit7.
36362         [$(subdir) = elf] (modules-names): Add audit modules for those
36363         tests.
36364         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36365         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36366         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36367         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36368         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36369         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36370         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36371         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36372         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36373         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36374         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36375         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36376         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36377         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36378         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36379         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36380         Likewise.
36381         [$(subdir) = elf && $(config-cflags-avx) = yes]
36382         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36383         [$(subdir) = elf && $(config-cflags-avx) = yes]
36384         (CFLAGS-tst-auditmod4a.c): Likewise.
36385         [$(subdir) = elf && $(config-cflags-avx) = yes]
36386         (CFLAGS-tst-auditmod4b.c): Likewise.
36387         [$(subdir) = elf && $(config-cflags-avx) = yes]
36388         (CFLAGS-tst-auditmod6b.c): Likewise.
36389         [$(subdir) = elf && $(config-cflags-avx) = yes]
36390         (CFLAGS-tst-auditmod6c.c): Likewise.
36391         [$(subdir) = elf && $(config-cflags-avx) = yes]
36392         (CFLAGS-tst-auditmod7b.c): Likewise.
36393         * elf/tst-audit3.c: Move to ...
36394         * sysdeps/x86_64/tst-audit3.c: ... here.
36395         * elf/tst-audit4.c: Move to ...
36396         * sysdeps/x86_64/tst-audit4.c: ... here.
36397         * elf/tst-audit5.c: Move to ...
36398         * sysdeps/x86_64/tst-audit5.c: ... here.
36399         * elf/tst-audit6.c: Move to ...
36400         * sysdeps/x86_64/tst-audit6.c: ... here.
36401         * elf/tst-audit7.c: Move to ...
36402         * sysdeps/x86_64/tst-audit7.c: ... here.
36403         * elf/tst-auditmod3a.c: Move to ...
36404         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36405         * elf/tst-auditmod3b.c: Move to ...
36406         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36407         * elf/tst-auditmod4a.c: Move to ...
36408         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36409         * elf/tst-auditmod4b.c: Move to ...
36410         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36411         * elf/tst-auditmod5a.c: Move to ...
36412         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36413         * elf/tst-auditmod5b.c: Move to ...
36414         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36415         * elf/tst-auditmod6a.c: Move to ...
36416         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36417         * elf/tst-auditmod6b.c: Move to ...
36418         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36419         * elf/tst-auditmod6c.c: Move to ...
36420         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36421         * elf/tst-auditmod7a.c: Move to ...
36422         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36423         * elf/tst-auditmod7b.c: Move to ...
36424         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36426 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36428         [BZ #15366]
36429         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36430         define unconditionally.
36431         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36432         define unconditionally.
36433         (INT8_C, INT16_C, etc.): Likewise.
36435 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36437         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36438         __ehdr_start with hidden visibility.
36440         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36442 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36444         * math/libm-test.inc (cos_test): Use accurate hex constants.
36445         (sincost_test): Likewise.
36447 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36449         * math/libm-test.inc (catan_test): Add more tests.
36450         (catanh_test): Likewise.
36452         * math/s_catanf.c (__catanf): Use suffixed floating-point
36453         constants.
36454         * math/s_catanhf.c (__catanhf): Likewise.
36455         * math/s_catanhl.c (__catanhl): Likewise.
36456         * math/s_catanl.c (__catanl): Likewise.
36458         [BZ #15394]
36459         * math/s_catan.c (__catan): Calculate imaginary part of result
36460         with log1p not log unless computing log of number close to 0.
36461         * math/s_catanf.c (__catanf): Likewise.
36462         * math/s_catanl.c (__catanl): Likewise.
36463         * math/s_catanh.c (__catanh): Calculate real part of result with
36464         log1p not log unless computing log of number close to 0.
36465         * math/s_catanhf.c (__catanhf): Likewise.
36466         * math/s_catanhl.c (__catanhl): Likewise.
36467         * math/libm-test.inc (catan_test): Add more tests.
36468         (catanh_test): Likewise.
36469         * sysdeps/i386/fpu/libm-test-ulps: Update.
36470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36472 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36474         * benchtests/Makefile: Mention files in which fast and slow
36475         paths of math functions are implemented.
36477 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36479         * sysdeps/posix/timespec_get.c: New file.
36481 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36483         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36484         POWER.
36485         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36486         for POWER.
36487         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36488         powerpc/power5/fpu folders.
36489         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36490         * benchtests/Makefile: Add modf testcase.
36491         * benchtests/bench-modf.c: New file: Benchmark test for mo
36493 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36495         [BZ #14888]
36496         * time/Makefile (tests): Add tst-strptime-whitespace.
36497         * time/strptime_l.c (get_number): Use ISSPACE.
36498         (__strptime_internal): Likewise.
36499         * time/tst-strptime-whitespace.c: New test case.
36501 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36503         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36504         member.
36505         (_nss_files_init): Set it here.
36507 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36509         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36510         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36511         unsigned.
36513 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36515         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36517 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36519         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36520         size just once.
36522 2013-04-21  David S. Miller  <davem@davemloft.net>
36524         * po/ru.po: Update Russion translation from translation project.
36526 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36528         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36529         and setfsgid.
36531 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36533         * configure.in: Remove i386 configure warning. Remove i386 case.
36534         * configure: Regenerate.
36535         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36536         Add example to error message.
36537         * sysdeps/i386/configure: Regenerate.
36539 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36541         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36542         slowtan.
36543         * benchtests/cos-inputs: New file.
36544         * benchtests/slowcos-inputs: New file.
36545         * benchtests/slowcos.c: New file.
36546         * benchtests/slowtan-inputs: New file.
36547         * benchtests/slowtan.c: New file.
36548         * benchtests/tan-inputs: New file.
36550 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36552         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36553         considered kosher.
36555 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36557         * benchtests/Makefile: Include cppflags-iterator.mk to add
36558         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36560         * Makefile.in (bench-clean): New target.
36561         * benchtests/Makefile (bench-clean): Likewise.
36563 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36565         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36567 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36569         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36571 2013-04-15  Andreas Schwab  <schwab@suse.de>
36573         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36574         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36575         * nscd/pwdcache.c (cache_addpw): Likewise.
36576         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36577         more than recsize.
36579 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36581         * benchtests/Makefile (bench): Write all output to
36582         bench-out.tmp together.
36584 2013-04-15  Andreas Schwab  <schwab@suse.de>
36586         * nscd/nscd.c (main): Don't fork again after closing files.
36588 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36590         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36592         * benchtests/Rules (bench-deps): Collect dependencies into a
36593         single variable.  Add Makefile to dependencies.
36594         ($(objpfx)bench-%.c): Depend on bench-deps.
36596 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36597             Xavier Roche  <roche+kml2@exalead.com>
36599         [BZ #15361]
36600         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36601         just that it's a file descriptor.
36602         * manual/llio.texi (Synchronizing AIO Operations): Update description
36603         for EBADF error from aio_fsync.
36605 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36607         * Rules (bench): Move target definition...
36608         * benchtests/Makefile: ... here.
36610 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36612         * math/libm-test.inc (cos_test): Fix PI/2 test.
36613         (sincos_test): Likewise.
36614         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36615         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36617 2013-04-11  Andreas Schwab  <schwab@suse.de>
36619         [BZ #13988]
36620         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36621         accept exponent character only when digits were seen.
36622         * stdio-common/Makefile (tests): Add bug26.
36623         * stdio-common/bug26.c: New file.
36625         [BZ #14293]
36626         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36627         non-freeable.
36629 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36631         * Makeconfig (rtld-prefix): Define built linker prefix.
36632         * Rules (run-bench): Use it.
36633         * math/Makefile (run-regen-ulps): Likewise.
36635         * Rules (bench): Remove eval.
36637 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36638             Roland McGrath  <roland@hack.frob.com>
36639             Ondrej Bilka  <neleai@seznam.cz>
36641         [BZ #15346]
36642         * time/getdate.c: Include ctype.h and alloca.h.
36643         (__getdate_r): Trim leading and trailing spaces of input.
36644         * time/tst-getdate.c (tests): Add tests with leading and
36645         trailing spaces.
36647 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36649         [BZ #14280]
36650         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36651         when computing value.
36653 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36655         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36656         Use testrun.sh to run libm tests.
36658         [BZ #15309]
36659         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36661 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36663         [BZ #15264]
36664         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36666 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36668         * Makefile.in (regen-ulps): New target.
36669         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36670         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36671         [ifneq (no,$(PERL)] (regen-ulps): New target.
36672         [ifeq (no,$(PERL)] (regen-ulps): New target.
36673         * math/libm-test.inc (ulps_file_name): Define.
36674         (output_dir): New variable.
36675         (options): Add "output-dir" option.
36676         (parse_opt): Handle 'o' case.
36677         (main): If output_dir is non-NULL use it as a prefix
36678         otherwise use "".
36679         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36681 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36683         [BZ #10060, #10062]
36684         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36685         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36686         fail configure if __sync_val_compare_and_swap is not inlined.
36687         * sysdeps/i386/configure: Regenerate.
36688         * configure.in: Build for i686 when configured for i386.
36689         * configure: Regenerate.
36690         * README: Remove i386 reference.
36692 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36694         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36695         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36697 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36699         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36700         (lmsnanval): New variables.
36701         (F): Add conversion tests.
36702         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36703         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36705         * stdio-common/tstdiomisc.c (F): Properly collect individual
36706         tests' results.
36708         [BZ #14686, #15336]
36709         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36710         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36711         Instead, use input NaN values or generate a qNaN by arithmetic
36712         operation.  Also fix bugs to comply with the standard.
36713         * math/libm-test.inc (remainder_test): Add more tests.
36715         [BZ #15335, #15342]
36716         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36717         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36718         input NaN values or generate a qNaN by arithmetic operation.
36720         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36721         unreachable code.
36723         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36724         definitions.
36726 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36728         [BZ #14478]
36729         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36730         underflowed result.
36731         * math/s_cexpf.c (__cexpf): Likewise.
36732         * math/s_cexpl.c (__cexpl): Likewise.
36733         * math/libm-test.inc (cexp_test): Add more tests.
36735 2013-04-03  Andreas Schwab  <schwab@suse.de>
36737         [BZ #15330]
36738         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36739         order arrays from heap if bigger than alloca cutoff.
36741 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36743         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36744         (SNAN_TESTS_double): Refer to GCC PR56831.
36745         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36746         GCC PR56828.
36748 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36750         * Rules (bench): Move bench.out after the run is complete.
36752         * Rules (bench): Echo currently running benchmark.
36754         * benchtests/Makefile (bench): Add atan and slowatan.
36755         * benchtests/atan-inputs: New file.
36756         * benchtests/slowatan-inputs: New file.
36757         * benchtests/slowatan.c: New file.
36759         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36760         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36761         its value.
36763         [BZ #15305]
36764         * sysdeps/unix/sysv/linux/kernel-features.h
36765         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36766         __ASSUME_XFS_RESTRICTED_CHOWN.
36767         * sysdeps/unix/sysv/linux/pathconf.c
36768         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36769         Save and restore errno.
36771 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36773         [BZ #15327]
36774         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36775         arguments using __kernel_casinh.
36776         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36777         arguments using __kernel_casinhf.
36778         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36779         arguments using __kernel_casinhl.
36780         * math/libm-test.inc (cacosh_test): Add more tests.
36781         * sysdeps/i386/fpu/libm-test-ulps: Update.
36782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36784 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36786         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36789         * bench/Makefile (bench): Add sin and slowsin.
36790         * benchtests/sin-inputs: New file.
36791         * benchtests/slowsin-inputs: New file.
36792         * benchtests/slowsin.c: New file.
36794         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36795         (bench): Add slowexp and slowpow.
36796         (exp-ITER): Increase iterations.
36797         (pow-ITER): Likewise.
36798         * benchtests/exp-inputs: Change input.
36799         * benchtests/pow-inputs: Likewise.
36800         * benchtests/slowexp-inputs: New file.
36801         * benchtests/slowexp.c: New file.
36802         * benchtests/slowpow-inputs: New file.
36803         * benchtests/slowpow.c: New file.
36805 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36807         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36808         instructions.
36809         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36810         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36811         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36812         * benchtests/Makefile: Add rint benchtest.
36813         * benchtests/rint-inputs: Input for rint benchtest.
36815 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36817         * Versions.def (libm): Add GLIBC_2.18.
36818         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36819         hidden libm prototypes.
36820         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36821         * math/Makefile (libm-calls): Add s_issignaling.
36822         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36823         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36824         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36825         declaration.
36826         * math/math.h [__USE_GNU] (issignaling): New macro.
36827         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36828         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36829         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36830         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36831         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36832         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36833         * manual/arith.texi (issignaling): New section.
36834         * manual/libm-err-tab.pl (@all_functions): Update comment.
36835         * math/gen-libm-test.pl (parse_args): Apply special handling for
36836         issignaling.
36837         * math/libm-test.inc (print_float, issignaling_test): New
36838         functions.
36839         (check_float_internal): Add issignaling checks.
36840         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36841         default definition.
36842         * sysdeps/powerpc/math-tests.h: New file.
36843         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36844         tests.
36845         * math/test-snan.c (TEST_FUNC): Likewise.
36847 2013-03-30  David S. Miller  <davem@davemloft.net>
36849         * po/de.po: Update from translation team.
36851 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36853         [BZ #10357]
36854         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36855         imaginary part less than 1.0 and real part less than 0.5
36856         specially.
36857         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36858         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36859         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36860         (cacos_test): Add more tests.
36861         (casin_test): Likewise.
36862         (casinh_test): Likewise.
36863         * sysdeps/i386/fpu/libm-test-ulps: Update.
36864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36866 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36868         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36869         ONE with its value.
36871         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36872         (__pow_mp): Replace ONE and MONE with their values.
36873         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36874         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36875         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36876         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36877         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36878         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36880         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36882         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36883         (__pow_mp): Replace ZERO and MZERO with their values.
36884         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36885         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36886         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36887         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36888         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36889         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36890         (__sqr): Likewise.
36892         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36894         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36896 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36898         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36899         Declare with __attribute__ ((weak)).
36900         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36901         Call __call_tls_dtors only if it's not NULL.
36903 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36905         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36906         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36907         magic __ehdr_start linker symbol if it's defined.
36908         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36909         them up here if it was already done.
36911         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36912         (_dl_aux_init): Use const in cast when setting it.
36913         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36914         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36915         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36917         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36918         Declare them here.
36919         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36920         * csu/libc-tls.c: Nor here.
36921         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36923         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36924         (__libc_message): Never call vsyslog.
36926 2013-03-28  Alan Modra  <amodra@gmail.com>
36928         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36929         Define as empty.
36930         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36931         Likewise.
36933 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36935         [BZ #15214]
36936         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36937         underflow.
36938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36940 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36942         [BZ #15304]
36943         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36944         Don't add gid passed as argument.
36946         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36948 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36950         [BZ #15307]
36951         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36952         imaginary part between 1.0 and 1.5 and real part less than 0.5
36953         specially.
36954         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36955         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36956         * math/libm-test.inc (cacos_test): Add more tests.
36957         (casin_test): Likewise.
36958         (casinh_test): Likewise.
36959         * sysdeps/i386/fpu/libm-test-ulps: Update.
36960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36962 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36964         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36965         constants.
36966         (norm): Likewise.
36967         (denorm): Likewise.
36968         (__dbl_mp): Likewise.
36969         (add_magnitudes): Likewise.
36970         (sub_magnitudes): Likewise.
36971         (__add): Likewise.
36972         (__sub): Likewise.
36973         (__mul): Likewise.
36974         (__sqr): Likewise.
36975         (__inv): Likewise.
36976         (__dvd): Likewise.
36978         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36979         commented code.
36980         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36981         (__dubcos): Likewise.
36982         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36983         (__ieee754_acos): Likewise.
36984         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36985         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36986         (__exp1): Likewise.
36987         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36988         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36989         (log1): Likewise.
36990         (my_log2): Likewise.
36991         (checkint): Likewise.
36992         * sysdeps/ieee754/dbl-64/e_remainder.c
36993         (__ieee754_remainder): Likewise.
36994         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36995         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36996         (bsloww): Likewise.
36997         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36999         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37000         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37001         MANTISSA_STORE_T to store computations on mantissa.  Use
37002         macros for rounding and division.
37003         (denorm): Likewise.
37004         (__dbl_mp): Likewise.
37005         (add_magnitudes): Likewise.
37006         (sub_magnitudes): Likewise.
37007         (__mul): Likewise.
37008         (__sqr): Likewise.
37009         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37010         powers of two in terms of TWOPOW macro.
37011         (mp_no): Make type of mantissa as MANTISSA_T.
37012         [!RADIXI]: Define RADIXI.
37013         [!TWO52]: Define TWO52.
37014         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37016 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37018         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37019         llroundl symbol when building for PPC32.
37021 2013-03-24  Mark H Weaver  <mhw@netris.org>
37023         * manual/arith.texi (Normalization Functions): Fix prototypes for
37024         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37026 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37028         [BZ #13889]
37029         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37030         high value to check if expl overflow.
37031         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37032         to check for underflow and overflow.
37033         * math/libm-test.inc: Add exp test.
37035 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37037         [BZ #11120]
37038         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37039         with NOT_IN_libc.
37041 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37043         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37044         symbol.
37046 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37048         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37049         wrap blocks consisting of several statements.
37051         * sysdeps/generic/math-tests.h: New file.
37052         * sysdeps/i386/fpu/math-tests.h: Likewise.
37053         * math/test-snan.c: Include it.
37054         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37056 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37058         [BZ #15285]
37059         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37060         (__ieee754_j0l): Do not improve calculations using cos of twice
37061         input for inputs above LDBL_MAX / 2.0L.
37062         (__ieee754_y0l): Likewise.
37063         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37064         (__ieee754_j1l): Do not improve calculations using cos of twice
37065         input for inputs above LDBL_MAX / 2.0L.
37066         (__ieee754_y1l): Likewise.
37067         * math/libm-test.inc (j0_test): Add another test.
37068         (j1_test): Likewise.
37069         (y0_test): Likewise.
37070         (y1_test): Likewise.
37071         * sysdeps/i386/fpu/libm-test-ulps: Update.
37073 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37075         * Rules ($(objpfx)bench-%.c): Include code from a C source
37076         file.
37078 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37080         [BZ #15287]
37081         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37082         imaginary part 1.0 and real part less than 0.5 specially.
37083         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37084         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37085         * math/libm-test.inc (cacos_test): Add more tests.
37086         (casin_test): Likewise.
37087         (casinh_test): Likewise.
37088         * sysdeps/i386/fpu/libm-test-ulps: Update.
37089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37091 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37093         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37094         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37096 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37098         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37099         * config.make.in (config-cflags-sse4): Remove variable.
37100         (config-cflags-avx): Likewise.
37101         (config-cflags-sse2avx): Likewise.
37102         (config-cflags-novzeroupper): Likewise.
37103         (config-asflags-i686): Likewise.
37104         (have-mfma4): Likewise.
37105         (have-as-vis3): Likewise.
37106         (MIG): Likewise.
37107         * configure.in (MIG): Do not AC_SUBST.
37108         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37109         (libc_cv_cc_sse4): Do not AC_SUBST.
37110         (libc_cv_cc_avx): Likewise.
37111         (libc_cv_cc_sse2avx): Likewise.
37112         (libc_cv_cc_novzeroupper): Likewise.
37113         (libc_cv_cc_fma4): Likewise.
37114         (libc_cv_as_i686): Likewise.
37115         (libc_cv_sparc_as_vis3): Likewise.
37116         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37117         LIBC_CONFIG_VAR.
37118         (config-asflags-i686): Likewise.
37119         (config-cflags-avx): Likewise.
37120         (config-cflags-sse2avx): Likewise.
37121         (have-mfma4): Likewise.
37122         (config-cflags-novzeroupper): Likewise.
37123         * sysdeps/mach/configure.in (MIG): Likewise.
37124         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37125         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37126         LIBC_CONFIG_VAR.
37127         (config-cflags-avx): Likewise.
37128         (config-cflags-sse2avx): Likewise.
37129         (have-mfma4): Likewise.
37130         (config-cflags-novzeroupper): Likewise.
37131         * configure: Regenerated.
37132         * sysdeps/i386/configure: Likewise.
37133         * sysdeps/mach/configure: Likewise.
37134         * sysdeps/sparc/configure: Likewise.
37135         * sysdeps/x86_64/configure: Likewise.
37137 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37139         [BZ #14812]
37140         * locale/programs/localedef.c (options): Put N_ translation marker
37141         on argument names, not just descriptions.
37143 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37145         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37147 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37149         [BZ #14176]
37150         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37152 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37154         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37155         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37156         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37157         [!BEFORE_ABORT] (before_abort): New function.
37158         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37159         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37160         (writev_for_fatal): New function.
37161         (WRITEV_FOR_FATAL): New macro; call that.
37162         (backtrace_and_maps): New function.
37163         (BEFORE_ABORT): New macro; call that.
37164         (struct str_list): Type removed.
37165         (__libc_message, __libc_fatal): Functions removed.
37166         Include <sysdeps/posix/libc_fatal.c> instead.
37168 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37170         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37171         constants.
37172         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37173         double constants.
37175 2013-03-19  Andreas Schwab  <schwab@suse.de>
37177         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37178         * sysdeps/gnu/configure: Regenerate.
37180         * configure.in: Substitute libc_cv_rtlddir.
37181         * configure: Regenerate.
37182         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37183         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37184         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37185         * elf/Makefile (install-others, CFLAGS-interp.c)
37186         (ldso_install, common-ldd-rewrite): Likewise.
37187         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37188         $(inst_slibdir)/$(rtld-installed-name).
37189         * scripts/rellns-sh: Add -p option.
37190         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37191         for source.
37193 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37195         * manual/nptl.texi: Renamed to ...
37196         * manual/threads.texi: ... this.
37197         * manual/Makefile (chapters): Update.
37199 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37201         [BZ #14812]
37202         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37203         on argument names, not just descriptions.
37204         * malloc/memusagestat.c (options): Likewise.
37205         * nss/getent.c (options): Likewise.
37207 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37209         [BZ #14812]
37210         * iconv/iconv_prog.c (options): Put N_ translation marker
37211         on argument names, not just descriptions.
37212         * iconv/iconvconfig.c (options): Likewise.
37214 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37216         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37217         implementation which is faster on all x86_64 architectures.
37218         Tested on AMD, Intel Nehalem, SNB, IVB.
37219         * sysdeps/x86_64/strnlen.S: Likewise.
37221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37222         Remove all multiarch strlen and strnlen versions.
37223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37224         Remove strlen and strnlen related parts.
37226         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37227         Inline strlen part.
37228         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37230         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37231         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37232         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37233         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37234         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37235         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37237 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37239         * manual/memory.texi (Malloc Tunable Parameters):
37240         Sort parameters alphabetically. Add comments for missing entries.
37242 2013-03-17  David S. Miller  <davem@davemloft.net>
37244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37246 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37248         [BZ #15283]
37249         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37250         for arguments at most half maximum finite value.
37251         * math/libm-test.inc (j0_test): Add more tests.
37252         (j1_test): Likewise.
37253         (y0_test): Likewise.
37254         (y1_test): Likewise.
37255         * sysdeps/i386/fpu/libm-test-ulps: Update.
37256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37258         [BZ #14155]
37259         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37260         1 / x and functions P and Q for arguments above 0x1p256L.
37261         (__ieee754_y0l): Likewise.
37262         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37263         (__ieee754_y1l): Likewise.
37264         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37265         (j1_test): Likewise.
37266         (y0_test): Likewise.
37267         (y1_test): Likewise.
37269 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37271         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37272         variable.
37274 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37276         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37277         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37278         zero since it's initialized to EXEC_PAGESIZE.
37280         * sysdeps/unix/sysv/linux/ldsodefs.h
37281         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37282         * sysdeps/generic/ldsodefs.h: ... here.
37284 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37286         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37288         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37289         math/test-snan.c.
37290         * math/test-snan.c: Renamed from
37291         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37292         * math/Makefile (tests): Add test-snan.
37293         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37294         test-powerpc-snan.
37296         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37297         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37298         functions.
37299         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37300         __builtin_nan family of functions.
37301         * math/libm-test.inc (initialize): Initialize qnan_value with
37302         __builtin_nan family of functions.
37303         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37304         Remove variables.
37305         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37306         Remove functions.
37307         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37308         storage class.  Initialize qNaN_var and sNaN_var with
37309         __builtin_nan and __builtin_nans families of functions,
37310         respectively.
37312         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37313         (sqrt_test): Remove duplicate test with qNaN input.
37314         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37315         (round_test, signbit_test, significand_test): Note missing +/-Inf
37316         as well as qNaN tests.
37318         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37319         qNaN_var.  Fix a few strings, too.
37320         * math/libm-test.inc (nan_value): Rename to qnan_value.
37321         * math/gen-libm-test.pl (%beautify): Adjust to that.
37322         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37323         * math/test-misc.c (main): Likewise.
37324         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37325         to __qnan_bytes, and __qnan_union, respectively.
37326         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37327         Likewise.
37328         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37329         and lqnanval, respectively.
37330         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37331         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37332         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37333         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37335         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37336         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37337         doubles.
37339         * math/test-misc.c (main): Fix copy'n'pastos.
37340         * misc/tst-efgcvt.c (special): Likewise.
37342         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37343         Remove declarations.
37345 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37347         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37348         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37349         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37350         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37352 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37354         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37355         macro to return vdso values correctly in IFUNC implementations.
37356         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37357         Optimization by using IFUNC.
37359 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37360             Richard Henderson  <rth@redhat.com>
37361             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37363         * Makefile.in (bench): New target.
37364         * NEWS: Mention the benchmark framework.
37365         * Rules (bench): Likewise.
37366         (binaries-bench): Generate binaries for functions to
37367         benchmark.
37368         * benchtests/Makefile: New makefile for benchmark tests.
37369         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37370         programs.
37371         * benchtests/exp-inputs: New input file for EXP function.
37372         * benchtests/pow-inputs: New input file for POW function.
37373         * scripts/bench.pl: New script to generate source files for
37374         benchmark programs.
37376 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37378         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37379         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37380         computations on mantissa.  Use macros for rounding and
37381         division.
37382         (denorm): Likewise.
37383         (__dbl_mp): Likewise.
37384         (add_magnitudes): Likewise.
37385         (sub_magnitudes): Likewise.
37386         (__mul): Likewise.
37387         (__sqr): Likewise.
37388         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37389         powers of two in terms of TWOPOW macro.
37390         (mp_no): Make type of mantissa as MANTISSA_T.
37391         [!RADIXI]: Define RADIXI.
37392         [!TWO52]: Define TWO52.
37393         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37395         * manual/nptl.texi (cindex): Modify threads to pthreads.
37397 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37399         * sysdeps/x86_64/preconfigure: Regenerated.
37401 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37403         [BZ #14155]
37404         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37405         0x1p28 and above.
37406         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37407         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37408         0x1p28 and above.
37409         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37410         * math/libm-test.inc (j0_test): Do not allow one spurious
37411         underflow exception.
37412         (y1_test): Likewise.
37414 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37416         * manual/Makefile (chapters): Add nptl.
37417         * manual/debug.texi (Debugging Support): Add link to Threads
37418         chapter.
37419         * manual/nptl.texi: New file.
37421         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37423 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37425         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37426         for non-NULL pointer before the memory validity test. Pointed
37427         out by Holger Brunck <holger.brunck@keymile.com>.
37429 2013-03-13  Andreas Schwab  <schwab@suse.de>
37431         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37432         instead of .os.
37434 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37436         * timezone/zic.c: Update from tzcode 2013b.
37438 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37440         * manual/install.texi (Configuring and compiling):
37441         Mention i686 and i586.
37442         * INSTALL: Regenerate.
37444 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37446         * sysdeps/init_array/elf-init.c: New file.
37447         * csu/elf-init.c
37448         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37449         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37451         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37452         __gmon_start__ as global, but as static with a .preinit_array pointer.
37453         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37454         * sysdeps/init_array/crti.S: New file, empty except for comments.
37455         * sysdeps/init_array/crtn.S: Likewise.
37457 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37459         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37460         definining bcopy.
37461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37462         Remove Prefer_SSE_for_memop.
37463         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37464         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37465         HAS_PREFER_SSE_FOR_MEMOP.
37466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37467         memset-x86-64.
37468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37469         Remove bzero, memset ifunc support.
37470         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37471         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37472         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37473         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37475 2013-03-11  Andreas Schwab  <schwab@suse.de>
37477         [BZ #15234]
37478         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37479         by SHLIB_COMPAT.
37480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37481         (GLIBC_2.16): Remove pthread_atfork.
37483 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37485         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37486         (ptestcases.h): Likewise.
37488 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37490         * Makeconfig ($(common-objpfx)config.status): Depend on
37491         sysdeps/*/preconfigure{,.in} too.
37493 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37495         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37496         (__free_hook): Use void * instead of __malloc_ptr_t.
37497         (__malloc_hook): Likewise.
37498         (__realloc_hook): Likewise.
37499         (__memalign_hook): Likewise.
37500         (__after_morecore_hook): Likewise.
37501         * malloc/arena.c (save_malloc_hook): Likewise.
37502         (save_free_hook): Likewise.
37503         * malloc/hooks.c (malloc_hook_ini): Likewise.
37504         (realloc_hook_ini): Likewise.
37505         (memalign_hook_ini): Likewise.
37506         * malloc/malloc.c (malloc_hook_ini): Likewise.
37507         (realloc_hook_ini): Likewise.
37508         (memalign_hook_ini): Likewise.
37509         (__free_hook): Likewise.
37510         (__malloc_hook): Likewise.
37511         (__realloc_hook): Likewise.
37512         (__memalign_hook): Likewise.
37513         (__libc_malloc): Likewise.
37514         (__libc_free): Likewise.
37515         (__libc_realloc): Likewise.
37516         (__libc_memalign): Likewise.
37517         (__libc_valloc): Likewise.
37518         (__libc_pvalloc): Likewise.
37519         (__libc_calloc): Likewise.
37520         (__posix_memalign): Likewise.
37521         * malloc/morecore.c (__sbrk): Likewise.
37522         (__default_morecore): Likewise.
37524         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37526         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37527         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37528         __malloc_ptrdiff_t.
37530         * malloc/malloc.h (__malloc_size_t): Remove macro.
37531         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37532         __malloc_size_t.
37533         (old_memalign_hook): Likewise.
37534         (old_realloc_hook): Likewise.
37535         (struct hdr): Likewise.
37536         (flood): Likewise.
37537         (mallochook): Likewise.
37538         (memalignhook): Likewise.
37539         (reallochook): Likewise.
37540         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37541         (tr_old_realloc_hook): Likewise.
37542         (tr_old_memalign_hook): Likewise.
37543         (tr_mallochook): Likewise.
37544         (tr_reallochook): Likewise.
37545         (tr_memalignhook): Likewise.
37547 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37549         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37550         default_ldbl_pack and using as default implementation.
37551         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37552         implementation.
37553         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37554         redundant definition.
37555         (ldbl_insert_mantissa): Likewise.
37556         (ldbl_canonicalize): Likewise.
37557         (ldbl_nearbyint): Likewise.
37558         (ldbl_pack): Rename to ldbl_pack_ppc.
37559         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37560         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37561         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37563 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37566         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37567         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37568         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37569         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37570         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37571         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37572         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37574 2013-03-07  Andreas Jaeger  <aj@suse.de>
37576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37577         bits/mman-linux.h.
37579 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37581         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37582         Include mpa.h and declare __MPEXP.
37583         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37584         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37585         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37586         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37587         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37588         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37589         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37591         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37592         (__slowpow): Use long double EXPL and LOGL functions to
37593         compute POW.
37594         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37595         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37596         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37597         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37598         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37599         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37602         intermediate variable to calculate exponent.
37603         (__sqr): Likewise.
37604         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37605         Likewise.
37606         (__sqr): Likewise.
37608         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37609         [!NO__SQR]: Define __sqr.
37610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37611         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37612         sysdeps/ieee754/dbl-64/mpa.c.
37613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37615         [BZ #12723]
37616         * posix/Makefile (tests): Add tst-pathconf.
37617         * posix/tst-pathconf.c: New test case.
37618         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37619         _PC_PIPE_BUF.
37620         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37622 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37624         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37626 2013-03-06  Andreas Jaeger  <aj@suse.de>
37628         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37629         definition via __MAP_ANONYMOUS.
37631         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37632         it's not part of Linux headers.
37634         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37635         (MAP_HUGE_MASK): Define.
37637         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37638         Define.
37639         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37640         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37641         Define.
37642         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37643         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37644         Define.
37645         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37646         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37647         Define.
37648         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37650         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37651         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37652         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37653         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37654         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37655         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37657         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37658         Handle f2fs.
37660         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37661         Handle f2fs and efivarfs.
37663         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37664         f2fs.
37666         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37667         (EFIVARFS_MAGIC): Add.
37668         (F2FS_LINK_MAX): Add.
37670 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37672         * stdio-common/vfprintf.c: Replace __builtin_expect with
37673         __glibc_unlikely.
37675 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37677         [BZ #13550]
37678         * sysdeps/generic/bp-sym.h: Remove file.
37679         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37680         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37681         <bp-sym.h> and <bp-asm.h>.
37682         (__longjmp): Don't use BP_SYM.
37683         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37684         and <bp-asm.h>.
37685         (memcpy): Don't use BP_SYM.
37686         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37687         <bp-sym.h> and <bp-asm.h>.
37688         (memcpy): Don't use BP_SYM.
37689         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37690         <bp-asm.h>.
37691         (memcpy): Don't use BP_SYM.
37692         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37693         <bp-asm.h>.
37694         (memset): Don't use BP_SYM.
37695         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37696         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37697         (__bzero): Don't use BP_SYM.
37698         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37699         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37700         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37701         <bp-sym.h> and <bp-asm.h>.
37702         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37703         pointers.
37704         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37705         <bp-sym.h> and <bp-asm.h>.
37706         (memcpy): Don't use BP_SYM.
37707         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37708         <bp-sym.h> and <bp-asm.h>.
37709         (memset): Don't use BP_SYM.
37710         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37711         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37712         (__bzero): Don't use BP_SYM.
37713         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37714         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37715         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37716         <bp-sym.h> and <bp-asm.h>.
37717         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37718         pointers.
37719         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37720         <bp-sym.h> and <bp-asm.h>.
37721         (memcpy): Don't use BP_SYM.
37722         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37723         <bp-sym.h> and <bp-asm.h>.
37724         (memset): Don't use BP_SYM.
37725         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37726         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37727         (__bzero): Don't use BP_SYM.
37728         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37729         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37730         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37731         <bp-sym.h> and <bp-asm.h>.
37732         (__memchr): Don't use BP_SYM.
37733         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37734         <bp-sym.h> and <bp-asm.h>.
37735         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37736         pointers.
37737         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37738         <bp-sym.h> and <bp-asm.h>.
37739         (memcpy): Don't use BP_SYM.
37740         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37741         <bp-sym.h> and <bp-asm.h>.
37742         (__mempcpy): Don't use BP_SYM.
37743         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37744         <bp-sym.h> and <bp-asm.h>.
37745         (__memrchr): Don't use BP_SYM.
37746         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37747         <bp-sym.h> and <bp-asm.h>.
37748         (memset): Don't use BP_SYM.
37749         (__bzero): Likewise.
37750         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37751         <bp-sym.h> and <bp-asm.h>.
37752         (__rawmemchr): Don't use BP_SYM.
37753         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37754         <bp-sym.h> and <bp-asm.h>.
37755         (__STRCMP): Don't use BP_SYM.
37756         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37757         <bp-sym.h> and <bp-asm.h>.
37758         (strchr): Don't use BP_SYM.
37759         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37760         <bp-sym.h> and <bp-asm.h>.
37761         (__strchrnul): Don't use BP_SYM.
37762         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37763         <bp-sym.h> and <bp-asm.h>.
37764         (strlen): Don't use BP_SYM.
37765         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37766         <bp-sym.h> and <bp-asm.h>.
37767         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37768         pointers.
37769         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37770         <bp-sym.h> and <bp-asm.h>.
37771         (__strnlen): Don't use BP_SYM.
37772         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37773         <bp-sym.h> and <bp-asm.h>.
37774         (__GI__setjmp): Don't use BP_SYM.
37775         (_setjmp): Likewise.
37776         (__sigsetjmp): Likewise.
37777         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37778         (L(start_addresses)): Don't use BP_SYM.
37779         (_start): Likewise.
37780         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37781         <bp-asm.h>.
37782         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37783         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37784         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37785         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37786         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37787         <bp-asm.h>.
37788         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37789         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37790         about bounded pointers.
37791         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37792         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37793         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37794         <bp-asm.h>.
37795         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37796         about bounded pointers.  Remove GKM FIXME comments.
37797         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37798         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37799         <bp-asm.h>.
37800         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37801         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37802         Remove GKM FIXME comments.
37803         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37804         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37805         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37806         <bp-asm.h>.
37807         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37808         about bounded pointers.  Remove GKM FIXME comment.
37809         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37810         and <bp-asm.h>.
37811         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37812         pointers.
37813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37814         <bp-sym.h> and <bp-asm.h>.
37815         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37817         <bp-sym.h> and <bp-asm.h>.
37818         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37819         comment.
37821 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37823         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37824         call free(NULL).
37826 2013-03-05  David S. Miller  <davem@davemloft.net>
37828         * po/es.po: Update from translation team.
37830 2013-03-05  Andreas Jaeger  <aj@suse.de>
37832         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37833         <bits/mman-linux.h>.
37834         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37835         is fine.
37836         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37837         <bits/mman-linux.h> to end of file.
37838         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37839         is fine.
37840         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37841         <bits/mman-linux.h> to end of file.
37842         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37843         is fine.
37844         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37845         <bits/mman-linux.h> to end of file.
37847         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37848         (MCL_CURRENT, MCL_FUTURE): Define here.
37850 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37852         [BZ #15232]
37853         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37854         attribute_hidden.
37855         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37857 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37859         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37860         fourth parameter needed for rt_sigprocmask syscall.
37861         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37862         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37863         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37864         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37865         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37866         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37868 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37870         [BZ #13550]
37871         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37872         comment about bounded pointers.
37873         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37874         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37876 2013-03-04  Andreas Jaeger  <aj@suse.de>
37878         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37879         common definitions.
37881         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37882         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37883         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37884         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37885         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37886         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37888 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37890         [BZ #15055]
37891         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37892         __ieee754_sqrl instead of __sqrl.
37894 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37896         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37897         * sysdeps/powerpc/fpu_control.h: ... here.
37898         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37899         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37900         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37901         * sysdeps/powerpc/bits/mathinline.h: ... here.
37903 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37905         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37906         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37907         to just [NEED_DL_SYSINFO_DSO].
37908         * elf/dl-support.c: Likewise.
37909         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37910         * elf/rtld.c (dl_main): Likewise.
37911         * elf/setup-vdso.h (setup_vdso): Likewise.
37912         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37913         * sysdeps/unix/sysv/linux/dl-sysdep.c
37914         (_dl_discover_osversion): Likewise.
37916 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37918         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37919         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37921 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37923         * NEWS: Mention libm performance improvements and non-x86 PI
37924         futex support.
37926         * csu/libc-start.c (__pthread_initialize_minimal): Change
37927         function arguments.
37928         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37930 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37932         [BZ #13550]
37933         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37934         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37935         <bp-sym.h> and <bp-asm.h>.
37936         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37937         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37938         and <bp-asm.h>.
37939         (memcpy): Don't use BP_SYM.
37940         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37941         <bp-asm.h>.
37942         (__mpn_add_n): Don't use BP_SYM.
37943         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37944         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37945         and <bp-asm.h>.
37946         (__mpn_addmul_1): Don't use BP_SYM.
37947         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37948         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37949         <bp-sym.h>.
37950         (_setjmp): Don't use BP_SYM.
37951         (__novmx_setjmp): Likewise.
37952         (__GI__setjmp): Likewise.
37953         (__vmx_setjmp): Likewise.
37954         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37955         <bp-sym.h>.
37956         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37957         (__bzero): Don't use BP_SYM.
37958         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37959         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37960         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37961         <bp-sym.h> and <bp-asm.h>.
37962         (memcpy): Don't use BP_SYM.
37963         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37964         <bp-sym.h> and <bp-asm.h>.
37965         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37966         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37967         <bp-sym.h> and <bp-asm.h>.
37968         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37969         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37970         <bp-asm.h>.
37971         (__mpn_lshift): Don't use BP_SYM.
37972         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37973         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37974         <bp-asm.h>.
37975         (memset): Don't use BP_SYM.
37976         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37977         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37978         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37979         <bp-asm.h>.
37980         (__mpn_mul_1): Don't use BP_SYM.
37981         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37982         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37983         <bp-sym.h> and <bp-asm.h>.
37984         (memcmp): Don't use BP_SYM.
37985         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37986         <bp-sym.h> and <bp-asm.h>.
37987         (memcpy): Don't use BP_SYM.
37988         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37989         <bp-sym.h> and <bp-asm.h>.
37990         (memset): Don't use BP_SYM.
37991         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37992         <bp-sym.h> and <bp-asm.h>.
37993         (strncmp): Don't use BP_SYM.
37994         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37995         <bp-sym.h> and <bp-asm.h>.
37996         (memcpy): Don't use BP_SYM.
37997         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37998         <bp-sym.h> and <bp-asm.h>.
37999         (memset): Don't use BP_SYM.
38000         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38001         <bp-sym.h> and <bp-asm.h>.
38002         (__memchr): Don't use BP_SYM.
38003         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38004         <bp-sym.h> and <bp-asm.h>.
38005         (memcmp): Don't use BP_SYM.
38006         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38007         <bp-sym.h> and <bp-asm.h>.
38008         (memcpy): Don't use BP_SYM.
38009         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38010         <bp-sym.h> and <bp-asm.h>.
38011         (__mempcpy): Don't use BP_SYM.
38012         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38013         <bp-sym.h> and <bp-asm.h>.
38014         (__memrchr): Don't use BP_SYM.
38015         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38016         <bp-sym.h> and <bp-asm.h>.
38017         (memset): Don't use BP_SYM.
38018         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38019         <bp-sym.h> and <bp-asm.h>.
38020         (__rawmemchr): Don't use BP_SYM.
38021         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38022         <bp-sym.h> and <bp-asm.h>.
38023         (__STRCMP): Don't use BP_SYM.
38024         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38025         <bp-sym.h> and <bp-asm.h>.
38026         (strchr): Don't use BP_SYM.
38027         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38028         <bp-sym.h> and <bp-asm.h>.
38029         (__strchrnul): Don't use BP_SYM.
38030         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38031         <bp-sym.h> and <bp-asm.h>.
38032         (strlen): Don't use BP_SYM.
38033         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38034         <bp-sym.h> and <bp-asm.h>.
38035         (strncmp): Don't use BP_SYM.
38036         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38037         <bp-sym.h> and <bp-asm.h>.
38038         (__strnlen): Don't use BP_SYM.
38039         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38040         <bp-asm.h>.
38041         (__mpn_rshift): Don't use BP_SYM.
38042         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38043         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38044         <bp-sym.h> and <bp-asm.h>.
38045         (__sigsetjmp): Don't use BP_SYM.
38046         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38047         (L(start_addresses)): Don't use BP_SYM.
38048         (_start): Likewise.
38049         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38050         <bp-asm.h>.
38051         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38052         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38053         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38054         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38055         <bp-asm.h>.
38056         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38057         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38058         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38059         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38060         <bp-asm.h>.
38061         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38062         comments.
38063         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38064         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38065         <bp-asm.h>.
38066         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38067         FIXME comments.
38068         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38069         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38070         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38071         <bp-asm.h>.
38072         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38073         comment.
38074         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38075         and <bp-asm.h>.
38076         (strncmp): Don't use BP_SYM,
38077         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38078         <bp-asm.h>.
38079         (__mpn_sub_n): Don't use BP_SYM.
38080         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38081         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38082         and <bp-asm.h>.
38083         (__mpn_submul_1): Don't use BP_SYM.
38084         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38086         <bp-sym.h> and <bp-asm.h>.
38087         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38089         <bp-sym.h> and <bp-asm.h>.
38090         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38091         comment.
38093 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38095         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38096         Use ZK to minimize writes to Z.
38097         (sub_magnitudes): Simplify code a bit.
38098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38099         Use ZK to minimize writes to Z.
38100         (sub_magnitudes): Simplify code a bit.
38102 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38104         * csu/gmon-start.c: Add special exception to license text.
38106 2013-02-27  Richard Henderson  <rth@redhat.com>
38108         * scripts/config.guess: Update from config.git.
38109         * scripts/config.sub: Likewise.
38111 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38113         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38115         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38117         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38119         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38121         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38123 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38125         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38126         [$(build-shared = yes].
38128 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38130         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38131         (__mul): Reduce iterations for calculating mantissa.
38133         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38134         MPTWO.
38135         (__mpranred): Likewise.
38137         [BZ #15160]
38138         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38139         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38141 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38143         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38144         Define __attribute__.
38146 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38148         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38149         unused.
38150         * posix/regex_internal.h (__attribute): Remove.
38151         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38152         (re_string_context_at): Likewise.
38153         (bitset_not): Use __attribute__ and mark function as possibly
38154         unused.
38155         (bitset_merge): Likewise.
38156         (bitset_mask): Likewise.
38157         (re_string_char_size_at): Likewise.
38158         (re_string_wchar_at): Likewise.
38159         (re_string_elem_size_at): Likewise.
38161 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38163         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38164         code.
38165         (cc32): Likewise.
38167         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38168         (__acr): Likewise.
38169         (__cpy): Likewise.
38170         (norm): Likewise.
38171         (denorm): Likewise.
38172         (__dbl_mp): Likewise.
38173         (add_magnitudes): Likewise.
38174         (sub_magnitudes): Likewise.
38175         (__mul): Likewise.
38176         (__inv): Likewise.
38178         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38179         style.
38181         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38182         style.
38184         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38185         code.
38187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38188         up changes with default code.
38189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38190         Likewise.
38192 2013-02-24  Allan McRae  <allan@archlinux.org>
38194         * manual/socket.texi (The Internet Namespace): Order menu items
38195         to match that in the file.
38197         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38198         node listing of the info page menu.
38200 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38202         [BZ #13550]
38203         * sysdeps/i386/bp-asm.h: Remove file.
38204         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38205         (PARMS): Do not use macros from bp-asm.h.
38206         (S1): Likewise.
38207         (S2): Likewise.
38208         (SIZE): Likewise.
38209         (__mpn_add_n): Do not use BP_SYM
38210         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38211         "bp-asm.h".
38212         (PARMS): Do not use macros from bp-asm.h.
38213         (S1): Likewise.
38214         (SIZE): Likewise.
38215         (__mpn_addmul_1): Do not use BP_SYM
38216         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38217         "bp-asm.h".
38218         (PARMS): Do not use macros from bp-asm.h.
38219         (SIGMSK): Likewise.
38220         (_setjmp): Likewise.  Do not use BP_SYM.
38221         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38222         "bp-asm.h".
38223         (PARMS): Do not use macros from bp-asm.h.
38224         (SIGMSK): Likewise.
38225         (setjmp): Likewise.  Do not use BP_SYM.
38226         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38227         "bp-asm.h".
38228         (PARMS): Do not use macros from bp-asm.h.
38229         (__frexp): Do not use BP_SYM.
38230         (frexp): Likewise.
38231         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38232         "bp-asm.h".
38233         (PARMS): Do not use macros from bp-asm.h.
38234         (__frexpf): Do not use BP_SYM.
38235         (frexpf): Likewise.
38236         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38237         "bp-asm.h".
38238         (PARMS): Do not use macros from bp-asm.h.
38239         (__frexpl): Do not use BP_SYM.
38240         (frexpl): Likewise.
38241         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38242         "bp-asm.h".
38243         (PARMS): Do not use macros from bp-asm.h.
38244         (__remquo): Do not use BP_SYM.
38245         (remquo): Likewise.
38246         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38247         "bp-asm.h".
38248         (PARMS): Do not use macros from bp-asm.h.
38249         (__remquof): Do not use BP_SYM.
38250         (remquof): Likewise.
38251         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38252         "bp-asm.h".
38253         (PARMS): Do not use macros from bp-asm.h.
38254         (__remquol): Do not use BP_SYM.
38255         (remquol): Likewise.
38256         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38257         "bp-asm.h".
38258         (PARMS): Do not use macros from bp-asm.h.
38259         (DEST): Likewise.
38260         (SRC): Likewise.
38261         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38262         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38263         "bp-asm.h".
38264         (PARMS): Do not use macros from bp-asm.h.
38265         (strlen): Do not use BP_SYM.
38266         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38267         "bp-asm.h".
38268         (PARMS): Do not use macros from bp-asm.h.
38269         (S1): Likewise.
38270         (S2): Likewise.
38271         (SIZE): Likewise.
38272         (__mpn_add_n): Do not use BP_SYM.
38273         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38274         "bp-asm.h".
38275         (PARMS): Do not use macros from bp-asm.h.
38276         (S1): Likewise.
38277         (SIZE): Likewise.
38278         (__mpn_addmul_1): Do not use BP_SYM.
38279         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38280         weak_alias.
38281         (bzero): Likewise.
38282         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38283         "bp-asm.h".
38284         (PARMS): Do not use macros from bp-asm.h.
38285         (S): Likewise.
38286         (SIZE): Likewise.
38287         (__mpn_lshift): Do not use BP_SYM.
38288         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38289         "bp-asm.h".
38290         (PARMS): Do not use macros from bp-asm.h.
38291         (DEST): Likewise.
38292         (SRC): Likewise.
38293         (LEN): Likewise.
38294         (memcpy): Likewise.  Do not use BP_SYM.
38295         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38296         libc_hidden_def and weak_alias.
38297         (mempcpy): Do not use BP_SYM in weak_alias.
38298         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38299         "bp-asm.h".
38300         (PARMS): Do not use macros from bp-asm.h.
38301         (DEST): Likewise.
38302         (LEN): Likewise.
38303         [!BZERO_P] (CHR): Likewise.
38304         (memset): Likewise.  Do not use BP_SYM.
38305         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38306         "bp-asm.h".
38307         (PARMS): Do not use macros from bp-asm.h.
38308         (S1): Likewise.
38309         (SIZE): Likewise.
38310         (__mpn_mul_1): Do not use BP_SYM.
38311         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38312         "bp-asm.h".
38313         (PARMS): Do not use macros from bp-asm.h.
38314         (S): Likewise.
38315         (SIZE): Likewise.
38316         (__mpn_rshift): Do not use BP_SYM.
38317         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38318         "bp-asm.h".
38319         (PARMS): Do not use macros from bp-asm.h.
38320         (STR): Likewise.
38321         (CHR): Likewise.
38322         (strchr): Likewise.  Do not use BP_SYM.
38323         (index): Do not use BP_SYM in weak_alias.
38324         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38325         "bp-asm.h".
38326         (PARMS): Do not use macros from bp-asm.h.
38327         (DEST): Likewise.
38328         (SRC): Likewise.
38329         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38330         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38331         "bp-asm.h".
38332         (PARMS): Do not use macros from bp-asm.h.
38333         (strlen): Do not use BP_SYM.
38334         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38335         "bp-asm.h".
38336         (PARMS): Do not use macros from bp-asm.h.
38337         (S1): Likewise.
38338         (S2): Likewise.
38339         (SIZE): Likewise.
38340         (__mpn_sub_n): Do not use BP_SYM.
38341         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38342         "bp-asm.h".
38343         (PARMS): Do not use macros from bp-asm.h.
38344         (S1): Likewise.
38345         (SIZE): Likewise.
38346         (__mpn_submul_1): Do not use BP_SYM.
38347         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38348         "bp-asm.h".
38349         (PARMS): Do not use macros from bp-asm.h.
38350         (S1): Likewise.
38351         (S2): Likewise.
38352         (SIZE): Likewise.
38353         (__mpn_add_n): Do not use BP_SYM.
38354         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38355         weak_alias.
38356         (bzero): Likewise.
38357         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38358         "bp-asm.h".
38359         (PARMS): Do not use macros from bp-asm.h.
38360         (BLK2): Likewise.
38361         (LEN): Likewise.
38362         (memcmp): Do not use BP_SYM.
38363         (bcmp): Do not use BP_SYM in weak_alias.
38364         * sysdeps/i386/i686/memcpy.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         (SRC): Likewise.
38369         (LEN): Likewise.
38370         (memcpy): Likewise.  Do not use BP_SYM.
38371         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38372         "bp-asm.h".
38373         (PARMS): Do not use macros from bp-asm.h.
38374         (DEST): Likewise.
38375         (SRC): Likewise.
38376         (LEN): Likewise.
38377         (memmove): Likewise.  Do not use BP_SYM.
38378         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38379         "bp-asm.h".
38380         (PARMS): Do not use macros from bp-asm.h.
38381         (DEST): Likewise.
38382         (SRC): Likewise.
38383         (LEN): Likewise.
38384         (__mempcpy): Likewise.  Do not use BP_SYM.
38385         (mempcpy): Do not use BP_SYM in weak_alias.
38386         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38387         "bp-asm.h".
38388         (PARMS): Do not use macros from bp-asm.h.
38389         (DEST): Likewise.
38390         (LEN): Likewise.
38391         [!BZERO_P] (CHR): Likewise.
38392         (memset): Likewise.  Do not use BP_SYM.
38393         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38394         "bp-asm.h".
38395         (PARMS): Do not use macros from bp-asm.h.
38396         (STR2): Likewise.
38397         (strcmp): Do not use BP_SYM.
38398         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38399         "bp-asm.h".
38400         (PARMS): Do not use macros from bp-asm.h.
38401         (STR): Likewise.
38402         (DELIM): Likewise.
38403         [USE_AS_STRTOK_R] (SAVE): Likewise.
38404         (FUNCTION): Likewise.  Do not use BP_SYM.
38405         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38406         aliases.
38407         (strtok_r): Likewise.
38408         (__GI___strtok_r): Likewise.
38409         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38410         (PARMS): Do not use macros from bp-asm.h.
38411         (S): Likewise.
38412         (SIZE): Likewise.
38413         (__mpn_lshift): Do not use BP_SYM.
38414         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38415         (PARMS): Do not use macros from bp-asm.h.
38416         (STR): Likewise.
38417         (CHR): Likewise.
38418         (__memchr): Do not use BP_SYM.
38419         (memchr): Do not use BP_SYM in weak_alias.
38420         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38421         (PARMS): Do not use macros from bp-asm.h.
38422         (BLK2): Likewise.
38423         (LEN): Likewise.
38424         (memcmp): Do not use BP_SYM.
38425         (bcmp): Do not use BP_SYM in weak_alias.
38426         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38427         (PARMS): Do not use macros from bp-asm.h.
38428         (S1): Likewise.
38429         (SIZE): Likewise.
38430         (__mpn_mul_1): Do not use BP_SYM.
38431         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38432         "bp-asm.h".
38433         (PARMS): Do not use macros from bp-asm.h.
38434         (STR): Likewise.
38435         (CHR): Likewise.
38436         (__rawmemchr): Do not use BP_SYM.
38437         (rawmemchr): Do not use BP_SYM in weak_alias.
38438         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38439         (PARMS): Do not use macros from bp-asm.h.
38440         (S): Likewise.
38441         (SIZE): Likewise.
38442         (__mpn_rshift): Do not use BP_SYM.
38443         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38444         (PARMS): Do not use macros from bp-asm.h.
38445         (SIGMSK): Likewise.
38446         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38447         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38448         (_start): Do not use BP_SYM.
38449         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38450         (PARMS): Do not use macros from bp-asm.h.
38451         (DEST): Likewise.
38452         (SRC): Likewise.
38453         (__stpcpy): Likewise.  Do not use BP_SYM.
38454         (stpcpy): Do not use BP_SYM in weak_alias.
38455         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38456         "bp-asm.h".
38457         (PARMS): Do not use macros from bp-asm.h.
38458         (DEST): Likewise.
38459         (SRC): Likewise.
38460         (LEN): Likewise.
38461         (__stpncpy): Likewise.  Do not use BP_SYM.
38462         (stpncpy): Do not use BP_SYM in weak_alias.
38463         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38464         (PARMS): Do not use macros from bp-asm.h.
38465         (STR): Likewise.
38466         (CHR): Likewise.
38467         (strchr): Likewise.  Do not use BP_SYM.
38468         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38469         "bp-asm.h".
38470         (PARMS): Do not use macros from bp-asm.h.
38471         (STR): Likewise.
38472         (CHR): Likewise.
38473         (__strchrnul): Likewise.  Do not use BP_SYM.
38474         (strchrnul): Do not use BP_SYM in weak_alias.
38475         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38476         "bp-asm.h".
38477         (PARMS): Do not use macros from bp-asm.h.
38478         (STOP): Likewise.
38479         (strcspn): Do not use BP_SYM.
38480         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38481         "bp-asm.h".
38482         (PARMS): Do not use macros from bp-asm.h.
38483         (STR): Likewise.
38484         (STOP): Likewise.
38485         (strpbrk): Likewise.  Do not use BP_SYM.
38486         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38487         "bp-asm.h".
38488         (PARMS): Do not use macros from bp-asm.h.
38489         (STR): Likewise.
38490         (CHR): Likewise.
38491         (strrchr): Likewise.  Do not use BP_SYM.
38492         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38493         (PARMS): Do not use macros from bp-asm.h.
38494         (SKIP): Likewise.
38495         (strspn): Do not use BP_SYM.
38496         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38497         (PARMS): Do not use macros from bp-asm.h.
38498         (STR): Likewise.
38499         (DELIM): Likewise.
38500         (SAVE): Likewise.
38501         (FUNCTION): Likewise.  Do not use BP_SYM.
38502         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38503         aliases.
38504         (strtok_r): Likewise.
38505         (__GI___strtok_r): Likewise.
38506         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38507         (PARMS): Do not use macros from bp-asm.h.
38508         (S1): Likewise.
38509         (S2): Likewise.
38510         (SIZE): Likewise.
38511         (__mpn_sub_n): Do not use BP_SYM.
38512         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38513         "bp-asm.h".
38514         (PARMS): Do not use macros from bp-asm.h.
38515         (S1): Likewise.
38516         (SIZE): Likewise.
38517         (__mpn_submul_1): Do not use BP_SYM.
38518         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38519         <bp-sym.h>.
38520         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38521         and <bp-asm.h>.
38522         (PARMS): Do not use macros from bp-asm.h.
38523         (FLAGS): Likewise.
38524         (PTID): Likewise.
38525         (TLS): Likewise.
38526         (CTID): Likewise.
38527         (__clone): Do not use BP_SYM.
38528         (clone): Do not use BP_SYM in weak_alias.
38529         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38530         and <bp-asm.h>.
38531         (PARMS): Do not use macros from bp-asm.h.
38532         (LEN): Likewise.
38533         (__mmap64): Do not use BP_SYM.
38534         (mmap64): Do not use BP_SYM in weak_alias.
38535         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38536         <bp-sym.h> and <bp-asm.h>.
38537         (PARMS): Do not use macros from bp-asm.h.
38538         (__posix_fadvise64_l64): Do not use BP_SYM.
38539         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38540         (PARMS): Do not use macros from bp-asm.h.
38541         (NSOPS): Likewise.
38542         (semtimedop): Do not use BP_SYM.
38543         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38544         and <bp-asm.h>.
38546 2013-02-21  Allan McRae  <allan@archlinux.org>
38548         * manual/message.texi (Charset conversion in gettext):
38549         Move @end statement to beginning of line.
38551 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38554         static.
38555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38556         Likewise.
38558         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38559         (denorm): Likewise.
38560         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38563 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38565         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38566         tail-call to the resolved function if pltexit isn't needed.
38568 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38571         or Y being zero as being unlikely.
38572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38573         Likewise.
38575 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38577         * manual/nss.texi (System Databases and Name Service Switch):
38578         Remove frobnicate @pxref.
38580 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38582         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38583         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38585 2013-02-20  Petr Machata  <pmachata@redhat.com>
38587         * elf/elf.h (R_ARM_TARGET1): New macro.
38588         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38589         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38590         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38591         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38592         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38593         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38594         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38595         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38596         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38597         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38598         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38599         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38600         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38601         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38602         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38603         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38604         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38605         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38606         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38607         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38608         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38609         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38610         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38611         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38612         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38613         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38614         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38615         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38616         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38617         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38618         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38619         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38620         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38621         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38622         (R_ARM_THM_GOT_BREL12): Likewise.
38623         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38624         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38625         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38626         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38627         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38628         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38629         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38630         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38631         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38633 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38635         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38636         __attribute_used__ to __attribute__ ((unused)).
38638 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38640         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38641         powerpc mpa.c.
38642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38643         comment formatting.
38644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38646 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38648         [BZ #13550]
38649         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38650         Remove macro.
38651         (ENTER): Remove both macro definitions.
38652         (LEAVE): Likewise.
38653         (CHECK_BOUNDS_LOW): Likewise.
38654         (CHECK_BOUNDS_HIGH): Likewise.
38655         (CHECK_BOUNDS_BOTH): Likewise.
38656         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38657         (RETURN_BOUNDED_POINTER): Likewise.
38658         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38659         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38660         (POP_ERRNO_LOCATION_RETURN): Likewise.
38661         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38662         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38663         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38664         macros.
38665         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38666         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38667         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38668         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38669         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38670         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38671         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38672         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38673         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38674         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38675         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38676         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38677         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38678         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38679         removed macros.
38680         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38681         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38682         macros.
38683         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38684         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38685         * sysdeps/i386/i586/memset.S (memset): Likewise.
38686         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38687         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38688         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38689         macros.
38690         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38691         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38692         Change uses of L(2) to L(out).
38693         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38694         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38695         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38696         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38697         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38698         removed macros.
38699         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38700         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38701         macros.
38702         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38703         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38704         (RETURN): Do not use macro LEAVE.
38705         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38706         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38707         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38708         * sysdeps/i386/i686/memset.S (memset): Likewise.
38709         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38710         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38711         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38712         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38713         Likewise.
38714         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38715         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38716         L(1_2) and L(1_3) into L(1).
38717         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38718         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38719         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38720         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38721         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38722         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38723         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38724         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38725         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38726         macros.
38727         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38728         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38729         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38730         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38731         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38732         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38733         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38734         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38735         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38736         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38737         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38738         * sysdeps/i386/strspn.S (strspn): Likewise.
38739         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38740         conditional code.
38741         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38742         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38743         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38744         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38745         L(1_3) into L(1_1).
38746         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38747         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38748         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38749         macros.
38750         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38752 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38754         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38755         macro.
38757 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38759         * math/atest-exp.c (exp_mpn): Remove ROUND.
38760         * math/atest-exp2.c (exp_mpn): Likewise.
38761         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38763         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38764         * stdlib/tst-tls-atexit-lib.c: Likewise.
38765         * stdlib/tst-tls-atexit.c: Likewise.
38767 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38769         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38770         and __attribute_alloc_size__.
38772 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38774         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38775         __attribute_alloc_size__.
38776         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38777         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38779 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38781         * include/programs/xmalloc.h: New file.
38782         * catgets/gencat.c: Include it.
38783         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38784         * elf/pldd.c: Likewise.
38785         * iconv/iconv_charmap.c: Likewise.
38786         * iconv/iconvconfig.c: Likewise.
38787         * iconv/strtab.c: Likewise.
38788         * locale/programs/locale.c: Likewise.
38789         * locale/programs/localedef.h: Likewise.
38790         * locale/programs/simple-hash.c: Likewise.
38791         * nscd/nscd.h: Likewise.
38792         * nss/makedb.c: Likewise.
38793         * sysdeps/generic/ldconfig.h: Likewise.
38795 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38797         * Versions.def: Add GLIBC_2.18.
38798         * include/link.h (struct link_map): New member l_tls_dtor_count.
38799         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38800         (__call_tls_dtors): Likewise.
38801         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38802         __cxa_thread_atexit_impl.
38803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38804         Likewise.
38805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38806         Likewise.
38807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38808         Likewise.
38809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38810         Likewise.
38811         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38813         Likewise.
38814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38815         Likewise.
38816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38818         Likewise.
38819         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38820         (tests): Add test case tst-tls-atexit.
38821         (modules-names): Add shared library for tst-tls-atexit.
38822         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38823         (GLIBC_PRIVATE): Add __call_tls_dtors.
38824         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38825         for libstdc++.
38826         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38827         * stdlib/tst-tls-atexit.c: New test case.
38828         * stdlib/tst-tls-atexit-lib.c: New test case.
38830         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38832         * elf/Versions (ld): Add _dl_find_dso_for_object.
38833         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38834         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38835         (dl_open_worker): Use _dl_find_dso_for_object.
38836         * elf/dl-sym.c (do_sym): Likewise.
38837         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38839 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38841         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38842         Syntactic changes only.
38843         (_dl_runtime_profile): Do a tail-call to the resolved function.
38845 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38847         [BZ #13550]
38848         * sysdeps/x86_64/bp-asm.h: Remove file.
38849         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38850         <bp-sym.h> and <bp-asm.h>.
38851         (__clone): Do not use BP_SYM.
38852         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38853         <bp-sym.h> and <bp-asm.h>.
38854         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38855         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38856         "bp-asm.h".
38857         (_setjmp): Do not use BP_SYM.
38858         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38859         "bp-asm.h".
38860         (setjmp): Do not use BP_SYM.
38861         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38862         libc_hidden_def.
38863         (mempcpy): Do not use BP_SYM in weak_alias.
38864         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38865         "bp-asm.h".
38866         (strchr): Do not use BP_SYM.
38867         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38868         "bp-asm.h".
38869         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38870         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38871         (_start): Do not use BP_SYM.
38872         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38873         "bp-asm.h".
38874         (strcat): Do not use BP_SYM.
38875         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38876         "bp-asm.h".
38877         (STRCMP): Do not use BP_SYM.
38878         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38879         "bp-asm.h".
38880         (STRCPY): Do not use BP_SYM.
38881         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38882         "bp-asm.h".
38883         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38884         "bp-asm.h".
38885         (FUNCTION): Do not use BP_SYM.
38886         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38887         weak_alias.
38888         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38890 2013-02-17  Andreas Jaeger  <aj@suse.de>
38892         * time/Versions: Sort entries.
38893         * string/Versions: Likewise.
38894         * resolv/Versions: Likewise.
38895         * posix/Versions: Likewise.
38896         * iconv/Versions: Likewise.
38897         * elf/Versions: Likewise.
38898         * wcsmbs/Versions: Likewise.
38900 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38902         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38903         loop termination condition.
38905         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38906         variable to calculate EZ.
38907         (__sqr): Likewise.
38909         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38910         the lower precision input.
38912 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38914         [BZ #13550]
38915         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38916         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38917         (run-via-rtld-prefix): Do not handle %-bp tests.
38918         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38919         (all-object-suffixes): Remove .ob.
38920         (bppfx): Remove variable.
38921         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38922         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38923         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38924         [$(build-bounded) = yes] (libtype.ob): Likewise.
38925         * Makerules (elide-routines.ob): Remove variable.
38926         (do-tests-clean): Do not handle *-bp.out.
38927         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38928         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38929         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38930         (tests): Do not include $(tests-bp.out).
38931         (xtests): Do not include $(xtests-bp.out).
38932         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38933         [$(build-bounded) = yes] ($(addprefix
38934         $(objpfx),$(binaries-bounded))): Remove rule.
38935         ($(objpfx)%-bp.out): Remove rule.
38936         * config.make.in (build-bounded): Remove variable.
38937         * crypt/Makefile [$(build-bounded) = yes]
38938         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38939         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38940         append to variable.
38941         [$(build-bounded) = yes] (install-lib): Likewise.
38942         [$(build-bounded) = yes] (generated): Likewise.
38943         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38944         Remove rule.
38945         * intl/Makefile [$(build-bounded) = yes]
38946         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38947         * math/Makefile [$(build-bounded) = yes]
38948         ($(tests:%=$(objpfx)%-bp): Likewise.
38949         * misc/Makefile [$(build-bounded) = yes]
38950         ($(objpfx)tst-tsearch-bp): Likewise.
38951         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38952         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38953         Remove dependency.
38954         * string/Makefile (o-objects.ob): Remove variable.
38955         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38956         (CFLAGS-.ob): Remove variable.
38957         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38958         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38959         both definitions of variable.
38960         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38961         (ASFLAGS-.ob): Remove variable.
38963 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38965         [BZ #13550]
38966         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38967         Remove __BOUNDED_POINTERS__ from condition.
38968         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38969         * string/bits/string2.h [!__NO_STRING_INLINES &&
38970         !__BOUNDED_POINTERS__]: Likewise.
38971         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38972         Likewise.
38973         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38974         Remove conditional code.
38975         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38976         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38977         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38978         condition.
38980         [BZ #13550]
38981         * csu/libc-start.c: Do not include <bp-sym.h>.
38982         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38983         * elf/dl-open.c: Do not include <bp-sym.h>.
38984         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38985         * math/fegetenv.c: Do not include <bp-sym.h>.
38986         (fegetenv): Do not use BP_SYM in versioned symbols.
38987         * nptl/sysdeps/pthread/bits/libc-lockP.h
38988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38989         <bp-sym.h>.
38990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38991         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38993         (__pthread_mutex_destroy): Likewise.
38994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38995         (__pthread_mutex_lock): Likewise.
38996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38997         (__pthread_mutex_trylock): Likewise.
38998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38999         (__pthread_mutex_unlock): Likewise.
39000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39001         (__pthread_mutexattr_init): Likewise.
39002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39003         (__pthread_mutexattr_destroy): Likewise.
39004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39005         (__pthread_mutexattr_settype): Likewise.
39006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39007         (__pthread_rwlock_init): Likewise.
39008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39009         (__pthread_rwlock_destroy): Likewise.
39010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39011         (__pthread_rwlock_rdlock): Likewise.
39012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39013         (__pthread_rwlock_tryrdlock): Likewise.
39014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39015         (__pthread_rwlock_wrlock): Likewise.
39016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39017         (__pthread_rwlock_trywrlock): Likewise.
39018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39019         (__pthread_rwlock_unlock): Likewise.
39020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39021         (__pthread_key_create): Likewise.
39022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39023         (__pthread_setspecific): Likewise.
39024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39025         (__pthread_getspecific): Likewise.
39026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39027         Likewise.
39028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39029         (_pthread_cleanup_push_defer): Likewise.
39030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39031         (_pthread_cleanup_pop_restore): Likewise.
39032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39033         (pthread_setcancelstate): Likewise.
39034         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39035         <bp-sym.h>.
39036         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39037         (memchr): Do not use BP_SYM in weak_alias.
39038         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39039         (fegetenv): Do not use BP_SYM in versioned symbols.
39040         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39041         (fesetenv): Do not use BP_SYM in versioned symbols.
39042         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39043         (feupdateenv): Do not use BP_SYM in versioned symbols.
39044         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39045         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39046         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39047         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39048         (open64): Do not use BP_SYM in weak_alias.
39049         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39050         (fegetenv): Do not use BP_SYM in versioned symbols.
39051         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39052         (fesetenv): Do not use BP_SYM in versioned symbols.
39053         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39054         (feupdateenv): Do not use BP_SYM in versioned symbols.
39055         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39056         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39057         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39058         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39059         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39060         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39061         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39062         <bp-sym.h>.
39063         (__libc_start_main): Do not use BP_SYM.
39065 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39068         redundant return line.
39069         (norm): Likewise.
39070         (denorm): Likewise.
39071         (dbl_mp): Likewise.
39072         (sub_magnitudes): Likewise.
39073         (__add): Likewise.
39074         (__sub): Likewise.
39075         (__mul): Likewise.
39076         (__inv): Likewise.
39077         (__dvd): Likewise.
39078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39079         (norm): Likewise.
39080         (denorm): Likewise.
39081         (dbl_mp): Likewise.
39082         (sub_magnitudes): Likewise.
39083         (__add): Likewise.
39084         (__sub): Likewise.
39085         (__mul): Likewise.
39086         (__inv): Likewise.
39087         (__dvd): Likewise.
39089         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39090         instead of __mul.
39091         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39092         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39093         (cc32): Likewise.
39095         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39096         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39097         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39098         of __mul for squares.
39099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39100         function
39101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39102         Likewise.
39103         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39104         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39106 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39108         [BZ #13550]
39109         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39110         code.
39111         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39112         prototype or function definition.  Rename ubp_* variables and
39113         parameters.  Remove argv definitions conditional on
39114         [__BOUNDED_POINTERS__].
39115         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39116         * elf/dl-runtime.c (_dl_fixup): Likewise.
39117         * include/set-hooks.h (RUN_HOOK): Likewise.
39118         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39119         definition.
39120         * string/strcpy.c (strcpy): Do not use __unbounded.
39121         * sysdeps/generic/frame.h (struct layout): Likewise.
39122         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39123         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39124         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39125         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39126         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39127         (__backtrace): Likewise.
39128         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39129         use __ptrvalue.
39130         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39131         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39132         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39133         Likewise.
39134         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39135         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39136         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39137         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39138         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39139         Do not use __unbounded.
39140         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39141         Rename __unboundedrlimits parameter to rlimits in prototype.
39142         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39143         Do not use __unbounded.
39144         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39145         not use __ptrvalue.
39146         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39147         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39148         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39149         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39150         __ptrvalue or __unbounded.
39151         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39152         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39153         use __unbounded.
39154         (__new_msgctl): Do not use __ptrvalue.
39155         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39156         __unbounded.
39157         (__libc_msgrcv): Do not use __ptrvalue.
39158         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39159         startup_info): Do not use __unbounded.
39160         (__libc_start_main): Likewise.  Rename ubp_* variables and
39161         parameters.  Remove argv definitions conditional on
39162         [__BOUNDED_POINTERS__].
39163         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39164         __ptrvalue.
39165         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39166         use __unbounded.
39167         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39168         or __ptrvalue.
39169         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39170         use __unbounded.
39171         (__new_shmctl): Do not use __ptrvalue.
39172         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39173         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39174         Likewise.
39175         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39176         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39177         (__libc_sigaction): Likewise.
39178         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39179         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39180         Likewise.
39181         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39183 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39185         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39187         * string/mempcpy.c: Implement by calling memcpy.
39189 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39191         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39194         evaluation.
39196         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39197         values in the mantissa.
39199         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39200         minimize writes to Z.
39201         (sub_magnitudes): Simplify code a bit.
39203 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39205         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39206         from the message.  The linker prefixes all warnings with that already.
39208 2013-02-12  Andreas Schwab  <schwab@suse.de>
39210         [BZ #15078]
39211         * posix/regexec.c (extend_buffers): Add parameter min_len.
39212         (check_matching): Pass minimum needed length.
39213         (clean_state_log_if_needed): Likewise.
39214         (get_subexp): Likewise.
39215         * posix/Makefile (tests): Add bug-regex34.
39216         (bug-regex34-ENV): Define.
39217         * posix/bug-regex34.c: New file.
39219         [BZ #11561]
39220         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39221         elements compare against the byte sequence of it, not its name.
39222         * posix/Makefile (tests): Add bug-regex35.
39223         (bug-regex35-ENV): Define.
39224         * posix/bug-regex35.c: New file.
39226 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39228         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39229         comment.
39230         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39231         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39232         (CHECK_EOL): Add undef.
39234 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39236         * bits/stdlib-bsearch.h: New file.
39237         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39238         * stdlib/stdlib.h: Likewise.
39240 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39242         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39243         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39244         declaration.
39245         * manual/search.texi (Array Search Function): Add missing const in
39246         lfind prototype.
39247         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39248         declaration to use rlim_t.
39249         (Basic Scheduling Functions): Remove erroneous const from
39250         sched_getparam prototype.  Remove erroneous * from
39251         sched_get_priority_max and sched_get_priority_min prototypes.
39252         (Resource Usage): Fix summary @comment on vtimes to refer to
39253         sys/vtimes.h rather than vtimes.h.
39254         Add missing *s in vtimes prototype.
39255         (Limits on Resources): Fix ulimit prototype to return long int.
39256         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39257         prototypes to use long int rather than double.
39258         (BSD Random): Fix initstate and setstate to use char *, not void *.
39259         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39260         prototype to make second argument 'struct aiocb64 *const[]'.
39261         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39262         (Status of AIO Operations): Remove erroneous const in aio_return and
39263         aio_return64 prototypes.
39264         (Synchronizing I/O): Fix sync prototype to return void.
39265         * manual/startup.texi (Suboptions): Remove an erroneous const in
39266         getsubopt prototype.
39267         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39268         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39269         use size_t rather than int.
39270         (Scanning All Users): Likewise for getpwent_r.
39271         (Setting Groups): Add missing const to setgroups prototype.
39272         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39273         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39274         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39275         'const void *' rather than 'const char *'.
39276         (Host Address Functions): Likewise for inet_ntop.
39277         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39278         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39279         ssize_t for return value.
39280         (Sending Data): Likewise for send, sendto, sendmsg.
39281         (Socket Option Functions): Add a missing const in setsockopt prototype.
39282         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39283         use wchar_t for the argument.
39284         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39285         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39286         take no arguments.
39287         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39288         double/float/long double for second argument.
39289         Fix return types of significand, significandf, significandl.
39290         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39291         argument in fchmod prototype.
39292         (File Owner): Use uid_t and gid_t in fchown prototype.
39293         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39294         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39295         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39296         use 'const struct dirent **' as argument types to CMP function pointer
39297         argument.
39298         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39299         (File Times): Fix summary magic @comment for struct utimbuf and utime
39300         to refer to utime.h, not time.h.
39301         * manual/string.texi (Argz Functions): Add missing const in
39302         argz_extract and argz_next prototypes.
39303         (Finding Tokens in a String): Likewise for basename.
39304         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39305         (Copying and Concatenation): Fix typo in wmemmove prototype.
39306         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39307         (Signal Stack): Remove erroneous const in sigstack prototype.
39308         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39309         prototype.
39310         (Simple Calendar Time): Likewise for stime.
39311         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39312         prototype.
39313         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39314         say sys/sysctl.h instead.
39315         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39316         and vsyslog prototypes.
39318 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39320         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39321         Remove.
39323 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39325         * misc/sys/mman.h: Fix typo in mremap comment.
39327 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39329         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39330         the '\0' terminator.
39332 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39334         [BZ #13550]
39335         * debug/segfault.c: Don't include <bp-checks.h>.
39336         * sysdeps/generic/bp-checks.h: Remove file.
39337         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39338         (__GETDENTS): Don't use CHECK_N.
39339         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39340         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39341         (__getgroups): Don't use CHECK_N.
39342         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39343         (setgroups): Don't use CHECK_N.
39344         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39345         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39346         (__libc_msgrcv): Don't use CHECK_N.
39347         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39348         (__libc_msgsnd): Don't use CHECK_N.
39349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39350         <bp-checks.h>.
39351         (__libc_pread): Don't use CHECK_N.
39352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39353         include <bp-checks.h>.
39354         (__libc_pread64): Don't use CHECK_N.
39355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39356         include <bp-checks.h>.
39357         (__libc_pwrite): Don't use CHECK_N.
39358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39359         include <bp-checks.h>.
39360         (__libc_pwrite64): Don't use CHECK_N.
39361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39362         <bp-checks.h>.
39363         (__libc_pread): Don't use CHECK_N.
39364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39365         include <bp-checks.h>.
39366         (__libc_pread64): Don't use CHECK_N.
39367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39368         include <bp-checks.h>.
39369         (__libc_pwrite): Don't use CHECK_N.
39370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39371         include <bp-checks.h>.
39372         (__libc_pwrite64): Don't use CHECK_N.
39373         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39374         (do_pread): Don't use CHECK_N.
39375         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39376         (do_pread64): Don't use CHECK_N.
39377         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39378         (do_pwrite): Don't use CHECK_N.
39379         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39380         (do_pwrite64): Don't use CHECK_N.
39381         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39382         (__libc_readv): Don't use CHECK_N.
39383         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39384         (semop): Don't use CHECK_N.
39385         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39386         <bp-checks.h>.
39387         (semtimedop): Don't use CHECK_N.
39388         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39389         (__libc_pread): Don't use CHECK_N.
39390         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39391         <bp-checks.h>.
39392         (__libc_pread64): Don't use CHECK_N.
39393         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39394         <bp-checks.h>.
39395         (__libc_pwrite): Don't use CHECK_N.
39396         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39397         <bp-checks.h>.
39398         (__libc_pwrite64): Don't use CHECK_N.
39399         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39400         <bp-checks.h>.
39401         (__libc_msgrcv): Don't use CHECK_N.
39402         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39403         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39404         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39405         (__libc_writev): Don't use CHECK_N.
39407 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39409         * string/strcpy.c: Removed unused variable.
39411         * Makeconfig (+sysdep-includes): Define with := rather than =.
39412         Use an existing include/ subdir of each sysdeps dir before it.
39414 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39416         * nscd/connection.c (register_traced_file): Comment function.
39417         [HAVE_INOTIFY] (union __inev): Define.
39418         [HAVE_INOTIFY] (inotify_check_files): New function.
39419         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39420         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39421         clear_db_cache.
39422         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39424 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39426         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39427         loaded if not already and that a failure is permanent.
39429 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39431         [BZ #15006]
39432         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39433         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39435 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39437         [BZ #13550]
39438         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39439         (CHECK_1_NULL_OK): Likewise.
39440         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39441         (__fxstat): Do not use CHECK_1.
39442         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39443         <bp-checks.h>.
39444         (___fxstat64): Do not use CHECK_1.
39445         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39446         <bp-checks.h>.
39447         (__fxstatat): Do not use CHECK_1.
39448         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39449         <bp-checks.h>.
39450         (__fxstatat64): Do not use CHECK_1.
39451         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39452         <bp-checks.h>.
39453         (__fxstat): Do not use CHECK_1.
39454         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39455         <bp-checks.h>.
39456         (__fxstatat): Do not use CHECK_1.
39457         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39458         <bp-checks.h>.
39459         (__getresgid): Do not use CHECK_1.
39460         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39461         <bp-checks.h>.
39462         (__getresuid): Do not use CHECK_1.
39463         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39464         <bp-checks.h>.
39465         (__lxstat): Do not use CHECK_1.
39466         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39467         <bp-checks.h>.
39468         (__old_msgctl): Do not use CHECK_1.
39469         (__new_msgctl): Likewise.
39470         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39471         <bp-checks.h>.
39472         (__new_setrlimit): Do not use CHECK_1.
39473         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39474         <bp-checks.h>.
39475         (__old_shmctl): Do not use CHECK_1.
39476         (__new_shmctl): Likewise.
39477         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39478         <bp-checks.h>.
39479         (__xstat): Do not use CHECK_1.
39480         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39481         (__lxstat): Do not use CHECK_1.
39482         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39483         <bp-checks.h>.
39484         (___lxstat64): Do not use CHECK_1.
39485         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39486         (__old_msgctl): Do not use CHECK_1.
39487         (__new_msgctl): Likewise.
39488         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39489         <bp-checks.h>.
39490         (__gettimeofday): Do not use CHECK_1.
39491         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39492         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39493         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39494         <bp-checks.h>.
39495         (__gettimeofday): Do not use CHECK_1.
39496         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39497         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39498         (__new_shmctl): Do not use CHECK_1.
39499         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39500         <bp-checks.h>.
39501         (do_sigtimedwait): Do not use CHECK_1.
39502         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39503         <bp-checks.h>.
39504         (do_sigwaitinfo): Do not use CHECK_1.
39505         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39506         <bp-checks.h>.
39507         (msgctl): Do not use CHECK_1.
39508         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39509         <bp-checks.h>.
39510         (shmctl): Do not use CHECK_1.
39511         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39512         (ustat): Do not use CHECK_1.
39513         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39514         <bp-checks.h>.
39515         (__fxstat): Do not use CHECK_1.
39516         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39517         <bp-checks.h>.
39518         (__fxstatat): Do not use CHECK_1.
39519         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39520         <bp-checks.h>.
39521         (__lxstat): Do not use CHECK_1.
39522         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39523         <bp-checks.h>.
39524         (__xstat): Do not use CHECK_1.
39525         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39526         (__xstat): Do not use CHECK_1.
39527         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39528         (___xstat64): Do not use CHECK_1.
39530         [BZ #13550]
39531         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39532         definitions.
39533         (CHECK_BOUNDS_HIGH): Likewise.
39534         * string/strcpy.c: Do not include <bp-checks.h>.
39535         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39537 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39539         * nscd/nscd-client.h (__nscd_drop_map_ref):
39540         Add __attribute__ ((unused)).
39541         * nis/nss-nisplus.h (niserr2nss): Likewise.
39543         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39544         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39546         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39547         Remove inline keyword.
39548         * include/rounding-mode.h (round_away): Likewise.
39549         * libio/wfileops.c (adjust_wide_data): Likewise.
39550         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39551         (__m128i_strloadu_tolower): Likewise.
39552         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39553         (__m128i_strloadu_tolower): Likewise.
39554         * time/mktime.c (ydhms_diff): Likewise.
39555         * locale/elem-hash.h (elem_hash): Likewise.
39556         * locale/setlocale.c (setdata): Likewise.
39557         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39558         (re_string_wchar_at): Likewise.
39559         (bitset_not, bitset_merge, bitset_mask): Likewise.
39560         [!(__GNUC__ > 3)] (inline): Remove macro.
39561         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39562         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39563         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39564         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39565         * string/memcmp.c (memcmp_bytes): Likewise.
39566         * locale/programs/locarchive.c (compute_hashval): Likewise.
39567         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39568         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39569         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39570         * nss/getent.c (print_rpc, print_protocols): Likewise.
39571         (print_passwd, print_group, print_aliases): Likewise.
39572         * nis/nss-nisplus.h (niserr2nss): Likewise.
39573         * nscd/connections.c (restart_p): Likewise.
39574         Change return type to bool.
39576 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39578         * Makeconfig (all-Depend-files): Add existing
39579         $(sorted-subdirs:=/Depend) files.
39580         (all-subdirs): Remove nss.
39581         * sysdeps/unix/inet/Subdirs: Add it here instead.
39582         * hesiod/Depend: New file.
39584         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39585         instead of calling alloca.
39587         * io/lseek.c (__lseek): Rename to __libc_lseek.
39588         Define __lseek as an alias.
39590         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39592 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39594         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39595         else clause and remove check for non-standard endianness.
39597 2013-02-04  David S. Miller  <davem@davemloft.net>
39599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39601 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39603         [BZ #13550]
39604         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39605         (__ubp_memchr): Remove prototype.
39606         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39607         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39608         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39609         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39610         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39611         Remove alias.
39612         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39613         (__ubp_memchr): Likewise.
39614         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39615         (__ubp_memchr): Likewise.
39616         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39617         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39618         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39619         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39620         CHECK_STRING.
39621         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39622         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39623         (__getcwd): Do not use CHECK_STRING.
39624         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39625         <bp-checks.h>.
39626         (__real_chown): Do not use CHECK_STRING.
39627         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39628         <bp-checks.h>.
39629         (fchownat): Do not use CHECK_STRING.
39630         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39631         CHECK_STRING.
39632         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39633         <bp-checks.h>.
39634         (__lchown): Do not use CHECK_STRING.
39635         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39636         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39637         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39638         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39640         include <bp-checks.h>.
39641         (truncate64): Do not use CHECK_STRING.
39642         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39643         <bp-checks.h>.
39644         (__real_chown): Do not use CHECK_STRING.
39645         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39646         <bp-checks.h>.
39647         (__lchown): Do not use CHECK_STRING.
39648         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39649         <bp-checks.h>.
39650         (__chown): Do not use CHECK_STRING.
39651         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39652         <bp-checks.h>.
39653         (truncate64): Do not use CHECK_STRING.
39654         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39655         Likewise.
39656         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39657         (__xmknod): Do not use CHECK_STRING.
39658         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39659         <bp-checks.h>.
39660         (__xmknodat): Do not use CHECK_STRING.
39661         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39662         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39664 2013-02-04  Andreas Schwab  <schwab@suse.de>
39666         [BZ #14142]
39667         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39668         * include/netdb.h: Likewise for h_errno.
39669         * elf/tst-stackguard1.c: Include <tls.h>.
39671 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39673         * elf/link.h (struct link_map): Extend the l_addr comment.
39674         * include/link.h (struct link_map): Likewise.
39676 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39678         [BZ #13550]
39679         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39680         (BOUNDED_1): Remove macro.
39681         * debug/backtrace.c: Don't include <bp-checks.h>.
39682         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39683         (__backtrace): Likewise.
39684         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39685         <bp-checks.h>.
39686         (__backtrace): Don't use BOUNDED_1.
39687         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39688         <bp-checks.h>.
39689         (__backtrace): Don't use BOUNDED_1.
39690         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39691         (__backtrace): Don't use BOUNDED_1.
39692         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39693         (shmat): Don't use BOUNDED_N.
39695 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39697         [BZ #13550]
39698         * sysdeps/generic/bp-start.h: Remove file.
39699         * csu/libc-start.c: Don't include <bp-start.h>.
39700         (LIBC_START_MAIN): Set up __environ directly instead of using
39701         INIT_ARGV_and_ENVIRON.
39702         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39703         <bp-start.h>.
39705         [BZ #13550]
39706         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39707         definitions.
39708         (CHECK_FCNTL): Likewise.
39709         (CHECK_N_PAGES): Likewise.
39711         [BZ #13550]
39712         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39713         definitions.
39714         (CHECK_SIGSET_NULL_OK): Likewise.
39715         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39716         <bp-checks.h>.
39717         (sigpending): Don't use CHECK_SIGSET.
39718         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39719         <bp-checks.h>.
39720         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39721         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39722         <bp-checks.h>.
39723         (do_sigsuspend): Don't use CHECK_SIGSET.
39724         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39725         use CHECK_SIGSET.
39726         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39727         (do_sigwait): Don't use CHECK_SIGSET.
39728         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39729         use CHECK_SIGSET.
39730         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39731         include <bp-checks.h>.
39732         (sigpending): Don't use CHECK_SIGSET.
39733         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39734         include <bp-checks.h>.
39735         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39736         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39737         <bp-checks.h>.
39738         (sigpending): Don't use CHECK_SIGSET.
39739         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39740         <bp-checks.h>.
39741         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39743         [BZ #13550]
39744         * sysdeps/generic/bp-semctl.h: Remove file.
39745         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39746         <bp-checks.h> and <bp-semctl.h>.
39747         (__old_semctl): Don't use CHECK_SEMCTL.
39748         (__new_semctl): Likewise.
39749         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39750         and <bp-semctl.h>.
39751         (__old_semctl): Don't use CHECK_SEMCTL.
39752         (__new_semctl): Likewise.
39753         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39754         <bp-checks.h> and <bp-semctl.h>.
39755         (__old_semctl): Don't use CHECK_SEMCTL.
39756         (__new_semctl): Likewise.
39757         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39758         <bp-checks.h> and <bp-semctl.h>.
39759         (semctl): Don't use CHECK_SEMCTL.
39761         [BZ #13550]
39762         * Makerules (elide-bp-thunks): Remove variable.
39763         (elide-routines.oS): Don't use $(elide-bp-thunks).
39764         (elide-routines.os): Likewise.
39765         (elide-routines.o): Likewise.
39766         (elide-routines.op): Likewise.
39767         (elide-routines.og): Likewise.
39768         (objects): Don't use $(bp-thunks).
39769         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39770         include.
39771         (common-generated): Do not add s-proto-bp.d.
39772         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39773         (int): Likewise.
39774         (typ): Likewise.
39775         Do not generate makefile rules for bounded-pointer thunks.
39776         * sysdeps/generic/bp-thunks.h: Remove file.
39777         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39778         * sysdeps/unix/s-proto-bp.S: Likewise.
39780         [BZ #15062]
39781         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39782         parts of result separately when argument is not close to line from
39783         -i to i and one part of argument is small.
39784         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39785         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39786         * math/libm-test.inc (cacos_test): Add more tests.
39787         (casin_test): Likewise.
39788         (casinh_test): Likewise.
39789         * sysdeps/i386/fpu/libm-test-ulps: Update.
39790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39792 2013-01-31  David S. Miller  <davem@davemloft.net>
39794         * po/de.po: Update from translation team.
39796 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39798         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39800 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39802         * configure.in (_AC_PROG_CC_C89): New definition.
39803         * configure: Regenerate.
39805         * configure.in (AC_PROG_CPP): New definition.
39806         * configure: Regenerate.
39808 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39810         * debug/tst-backtrace.h: New file.
39811         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39812         (ret): Remove variable.
39813         (x): Likewise.
39814         (FAIL): Remove macro.
39815         (NO_INLINE): Likewise.
39816         (fn1): Use match function instead of strstr.
39817         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39818         (ret): Remove variable.
39819         (x): Likewise.
39820         (FAIL): Remove macro.
39821         (NO_INLINE): Likewise.
39822         (fn): Use match function instead of strstr.
39823         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39824         (ret): Remove variable.
39825         (x): Likewise.
39826         (FAIL): Remove macro.
39827         (NO_INLINE): Likewise.
39828         (handle_signal): Use match function instead of strstr.
39829         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39830         (ret): Remove variable.
39831         (x): Likewise.
39832         (FAIL): Remove macro.
39833         (NO_INLINE): Likewise.
39834         (handle_signal): Use match function instead of strstr.
39836 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39838         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39840 2013-01-23  David S. Miller  <davem@davemloft.net>
39842         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39843         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39844         argument of CAS if possible.
39845         * sysdeps/sparc/sparc64/bits/atomic.h
39846         (__arch_compare_and_exchange_val_32_acq): Likewise.
39847         (__arch_compare_and_exchange_val_64_acq): Likewise.
39849 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39851         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39852         * sysdeps/posix/ulimit.c: ... this.
39853         Include <limits.h>.
39854         * sysdeps/unix/bsd/ulimit.c: Remove file.
39856 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39858         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39859         (LDFLAGS-tst-array5): Likewise.
39861 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39863         [BZ #15036]
39864         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39865         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39866         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39867         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39869 2013-01-21  David S. Miller  <davem@davemloft.net>
39871         * sysdeps/sparc/backtrace.c: New file.
39872         * sysdeps/sparc/sparc32/backtrace.h: New file.
39873         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39874         * sysdeps/sparc/sparc64/backtrace.h: New file.
39875         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39876         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39877         -funwind-tables.
39879 2013-01-21  Andreas Schwab  <schwab@suse.de>
39881         [BZ #15020]
39882         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39883         closed its stdout.
39885 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39888         "mpa2.h".
39889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39891 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39892             Mark Mitchell  <mark@codesourcery.com>
39893             Tom de Vries  <tom@codesourcery.com>
39894             Paul Pluzhnikov  <ppluzhnikov@google.com>
39896         * debug/tst-backtrace2.c: New file.
39897         * debug/tst-backtrace3.c: Likewise.
39898         * debug/tst-backtrace4.c: Likewise.
39899         * debug/tst-backtrace5.c: Likewise.
39900         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39901         (CFLAGS-tst-backtrace3.c): Likewise.
39902         (CFLAGS-tst-backtrace4.c): Likewise.
39903         (CFLAGS-tst-backtrace5.c): Likewise.
39904         (LDFLAGS-tst-backtrace2): Likewise.
39905         (LDFLAGS-tst-backtrace3): Likewise.
39906         (LDFLAGS-tst-backtrace4): Likewise.
39907         (LDFLAGS-tst-backtrace5): Likewise.
39908         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39909         tst-backtrace4 and tst-backtrace5.
39911 2013-01-18  Anton Blanchard  <anton@samba.org>
39912             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39914         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39915         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39916         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39917         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39919         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39920         "+r" and remove output regs list as redundant.  Add explicit inline
39921         asm to specify register of return val to work around compiler codegen
39922         bug.  Remove (int) cast on return value.  Add return type parameter to
39923         use in macro so that this macro does not truncate return value for
39924         64-bit values.
39925         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39926         pass to INTERNAL_VSYSCALL_NCS.
39927         (INLINE_VSYSCALL): Add 'long int' as return type to
39928         INTERNAL_VSYSCALL_NCS macro invocation.
39929         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39930         INTERNAL_VSYSCALL_NCS macro invocation.
39931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39933 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39935         [BZ #14496]
39936         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39937         Fix application of SIMD FP exception mask.
39939         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39940         mp_no from a power of two.
39941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39942         __mpexp_twomm1.  Use __pow_mp.
39944         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39945         multiplication.
39947 2013-01-17  David S. Miller  <davem@davemloft.net>
39949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39951 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39953         [BZ #15023]
39954         * include/complex.h: Condition contents on [!_COMPLEX_H].
39955         (__kernel_casinhf): New prototype.
39956         (__kernel_casinh): Likewise.
39957         (__kernel_casinhl): Likewise.
39958         * math/Makefile (libm_calls): Add k_casinh.
39959         * math/k_casinh.c: New file.
39960         * math/k_casinhf.c: Likewise.
39961         * math/k_casinhl.c: Likewise.
39962         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39963         finite nonzero arguments.
39964         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39965         finite nonzero arguments.
39966         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39967         finite nonzero arguments.
39968         * math/s_casinh.c: Do not include <float.h>.
39969         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39970         * math/s_casinhf.c: Do not include <float.h>.
39971         (__casinhf): Move code for finite nonzero arguments to
39972         k_casinhf.c.
39973         * math/s_casinhl.c: Do not include <float.h>.
39974         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39975         redefine.
39976         (__casinhl): Move code for finite nonzero arguments to
39977         k_casinhl.c.
39978         * math/libm-test.inc (cacos_test): Add more tests.
39979         * sysdeps/i386/fpu/libm-test-ulps: Update.
39980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39982 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39984         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39985         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39986         [!HAVE_MREMAP]: Remove [defined linux] case.
39987         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39989 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39991         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39993 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39995         * elf/elf.h (R_386_SIZE32): New relocation.
39996         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39997         R_386_SIZE32.
39998         (elf_machine_rela): Likewise.
39999         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40000         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40002 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40004         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40005         (FP_FAST_FMA): Do not define.
40006         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40007         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40008         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40009         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40010         !_SOFT_FLOAT]: Likewise.
40011         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40012         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40013         value.
40014         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40015         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40016         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40017         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40018         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40019         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40020         file.
40022 2013-01-16  Andreas Schwab  <schwab@suse.de>
40024         [BZ #14327]
40025         * include/stdlib.h (__mktemp): Add declaration.
40026         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40027         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40029 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40031         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40032         definitions.
40033         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40034         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40035         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40036         definitions here.
40037         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40038         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40039         definitions.
40040         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40041         and ONE.
40042         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40043         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40044         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40045         definitions.
40046         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40047         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40048         definitions.
40049         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40051         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40053 2013-01-15  David S. Miller  <davem@davemloft.net>
40055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40056         trunc{,f} to libm-sysdep_routes.
40057         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40059         file.
40060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40062         file.
40063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40064         file.
40065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40067         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40068         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40069         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40070         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40071         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40072         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40075         nearbyint{,f} to libm-sysdep_routes.
40076         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40078         New file.
40079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40080         file.
40081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40082         New file.
40083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40084         file.
40085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40087         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40088         file.
40089         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40090         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40091         file.
40092         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40093         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40094         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40096         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40097         libc_feholdexcept and libc_fesetenv.
40099 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40101         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40103 2013-01-14  David S. Miller  <davem@davemloft.net>
40105         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40106         (SPARC_ASM_VIS2_IFUNC): Likewise.
40107         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40109         use of 'siam' instruction.
40110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40111         Likewise.
40112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40113         Likewise.
40114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40115         Likewise.
40116         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40117         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40118         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40119         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40121         file.
40122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40123         file.
40124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40125         file.
40126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40127         file.
40128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40129         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40133         new VIS2 routines.
40134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40137         Likewise.
40138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40143         routines to libm-sysdep_routines.
40144         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40147         fdim/fdimf to libm-sysdep_routines.
40148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40149         file.
40150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40152         file.
40153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40156         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40157         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40158         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40159         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40161 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40163         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40164         to optimize copies.
40166         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40171         local variable MPTWO.
40172         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40173         Likewise.
40175 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40177         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40178         GLOB_NOESCAPE.
40180 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40182         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40184 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40186         * manual/pattern.texi (glob_t): Document gl_flags.
40187         (glob64_t): Likewise.
40189 2013-01-11  David S. Miller  <davem@davemloft.net>
40191         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40192         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40193         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40194         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40195         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40196         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40197         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40198         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40199         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40200         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40201         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40202         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40203         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40205         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40206         sparc V9 rather than using V8 code.
40207         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40208         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40210         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40211         Move to...
40212         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40213         Here.
40215 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40217         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40218         not in the main loop.
40219         * configure: Regenerated.
40221 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40223         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40224         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40225         to just #else.
40226         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40227         [!__GLIBC_HAVE_LONG_LONG] case.
40228         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40229         condition to just #else.
40230         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40231         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40232         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40233         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40234         unconditional.
40235         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40236         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40237         #elif condition to just #else.
40238         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40239         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40240         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40241         #elif condition to just #else.
40243 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40245         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40246         (EF_MIPS_ARCH_64): Fix value.
40247         (EF_MIPS_ARCH_32R2): New.
40248         (EF_MIPS_ARCH_64R2): New.
40250 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40252         * Makeconfig (+link-pie-before-libc): New.
40253         (+link-pie-after-libc): Likewise.
40254         (+link-pie-tests): Likewise.
40255         (+link-pie): Rewritten.
40256         (link-before-libc): Remove $(config-LDFLAGS).
40257         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40258         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40259         (config-LDFLAGS): Renamed to ...
40260         (rtld-LDFLAGS): This.
40261         (rtld-tests-LDFLAGS): New macro.
40262         (link-libc-rpath-link): Likewise.
40263         (link-libc-tests-rpath-link): Likewise.
40264         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40265         (link-libc): Prepand $(link-libc-rpath-link).
40266         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40267         (test-program-prefix): New macro.
40268         (test-via-rtld-prefix): Likewise.
40269         (test-program-cmd): Likewise.
40270         (host-test-program-cmd): Likewise.
40271         * Makefile ($(common-objpfx)testrun.sh): Replace
40272         $(run-program-prefix) with $(test-program-prefix).
40273         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40274         $(rtld-LDFLAGS).
40275         ($(common-objpfx)shlib.lds): Likewise.
40276         (build-module-helper): Likewise.
40277         ($(common-objpfx)format.lds): Likewise.
40278         * Rules (binaries-pie-tests): New.
40279         (binaries-pie-notests): Likewise.
40280         (binaries-pie): Rewritten.
40281         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40282         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40283         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40284         (make-test-out): Replace $(host-built-program-cmd) with
40285         $(host-test-program-cmd).
40286         * config.make.in (build-hardcoded-path-in-tests): New variable.
40287         * configure.in (--enable-hardcoded-path-in-tests): New configure
40288         option.
40289         (hardcoded_path_in_tests): New AC_SUBST.
40290         * configure: Regenerated.
40291         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40292         $(built-program-cmd) with $(test-program-cmd).
40293         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40294         (test_program_cmd): This.
40295         * elf/Makefile ($(objpfx)order.out): Run test with
40296         $(test-program-prefix).
40297         ($(objpfx)order2.out): Likewise.
40298         ($(objpfx)tst-initorder.out): Likewise.
40299         ($(objpfx)tst-initorder2.out): Likewise.
40300         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40301         $(test-program-cmd).
40302         ($(objpfx)tst-array1-static.out): Likewise.
40303         ($(objpfx)tst-array2.out): Likewise.
40304         ($(objpfx)tst-array3.out): Likewise.
40305         ($(objpfx)tst-array4.out): Likewise.
40306         ($(objpfx)tst-array5.out): Likewise.
40307         ($(objpfx)tst-array5-static.out): Likewise.
40308         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40309         $(test-program-cmd).
40310         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40311         $(run-program-prefix) with $(test-program-prefix).
40312         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40313         (test_program_prefix): This.
40314         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40315         $(run-program-prefix) with $(test-program-prefix).
40316         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40317         (test_program_prefix): This.
40318         * iconvdata/tst-tables.sh: Likewise.
40319         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40320         $(run-program-prefix) with $(test-program-prefix).
40321         ($(objpfx)tst-translit.out): Likewise.
40322         ($(objpfx)tst-gettext2.out): Likewise.
40323         ($(objpfx)tst-gettext4.out): Likewise.
40324         ($(objpfx)tst-gettext6.out): Likewise.
40325         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40326         (test_program_prefix): This.
40327         * intl/tst-gettext2.sh: Likewise.
40328         * intl/tst-gettext4.sh  Likewise.
40329         * intl/tst-gettext6.sh: Likewise.
40330         * intl/tst-translit.sh: Likewise.
40331         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40332         with $(test-program-cmd).
40333         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40334         $(run-program-prefix) with $(test-program-prefix).
40335         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40336         (test_program_prefix): This.
40337         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40338         $(run-program-prefix) with $(test-program-prefix).
40339         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40340         (test_program_prefix): This.
40341         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40342         * posix/Makefile ($(objpfx)globtest.out): Replace
40343         $(run-via-rtld-prefix) and $(test-wrapper) with
40344         $(test-program-prefix) and $(test-via-rtld-prefix).
40345         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40346         $(test-program-prefix).
40347         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40348         $(host-test-program-cmd).
40349         (tst-spawn-ARGS): Likewise.
40350         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40351         $(test-program-prefix).
40352         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40353         (test_via_rtld_prefix): This.
40354         (test_wrapper): Renamed to ...
40355         (test_program_prefix): This.
40356         (run_program_prefix): Replaced by test_program_prefix.
40357         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40358         (test_program_prefix): This.
40359         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40360         with $(host-test-program-cmd).
40361         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40362         $(run-program-prefix) with $(test-program-prefix).
40363         ($(objpfx)tst-printf.out): Likewise.
40364         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40365         $(test-program-cmd).
40366         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40367         (test_program_prefix): This.
40368         * stdio-common/tst-unbputc.sh: Likewise.
40369         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40370         $(run-program-prefix) with $(test-program-prefix).
40371         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40372         (test_program_prefix): This.
40373         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40374         $(built-program-cmd) with $(test-program-cmd).
40376 2013-01-11  Andreas Jaeger  <aj@suse.de>
40378         [BZ #15003]
40379         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40380         value. Sync with Linux 3.7.
40382 2013-01-10  David S. Miller  <davem@davemloft.net>
40384         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40385         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40386         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40388 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40390         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40391         never set.
40392         * configure: Regenerated.
40394 2013-01-10  David S. Miller  <davem@davemloft.net>
40396         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40397         sparc V9 rather than using V8 code.
40398         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40399         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40401 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40403         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40404         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40405         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40406         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40407         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40408         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40409         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40410         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40411         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40412         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40413         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40414         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40415         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40416         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40417         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40418         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40419         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40420         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40421         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40422         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40423         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40424         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40425         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40426         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40427         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40428         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40429         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40431 2013-01-10  David S. Miller  <davem@davemloft.net>
40433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40435 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40437         * posix/Makefile (tests-static): New variable.
40438         (tests): Add $(tests-static).
40439         (tst-exec-static-ARGS): New variable.
40440         (tst-spawn-static-ARGS): Likewise.
40441         * posix/tst-exec-static.c: New file.
40442         * posix/tst-spawn-static.c: Likewise.
40443         * posix/tst-exec.c: Support run directly.
40444         * posix/tst-spawn.c: Likewise.
40446 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40448         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40449         long.
40450         * math/bits/mathcalls.h (llrint): Likewise.
40451         (llround): Likewise.
40452         * stdlib/stdlib.h (struct drand48_data): Likewise.
40453         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40454         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40455         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40456         Likewise.
40457         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40458         Likewise.
40459         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40460         (elf_greg_t): Likewise.
40461         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40462         (__jmp_buf): Likewise.
40463         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40464         definitions.
40465         (llrint): Likewise, for all definitions.
40466         (llrintl): Likewise.
40468         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40469         Remove [__GNUC__] condition.
40470         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40471         condition to just [__USE_ISOC99].
40472         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40474 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40476         [BZ #14200]
40477         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40478         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40479         defined.
40480         (_POSIX_V6_ILP32_OFF32): Likewise.
40481         (_XBS5_ILP32_OFF32): Likewise.
40482         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40483         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40485 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40487         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40489         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40490         doubles __mpexp_twomm1.  Adjust usage.
40491         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40492         Remove.
40494 2013-01-10  Andreas Schwab  <schwab@suse.de>
40496         [BZ #14964]
40497         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40498         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40500 2013-01-09  David S. Miller  <davem@davemloft.net>
40502         [BZ #15003]
40503         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40504         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40505         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40506         (TCP_FASTOPEN): Define.
40507         (tcp_repair_opt): New structure.
40508         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40509         enum values.
40510         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40511         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40512         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40513         (tcp_cookie_transactions): New structure.
40515 2013-01-09  Anton Blanchard  <anton@samba.org>
40517         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40518         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40519         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40520         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40522 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40524         * include/features.h (__USE_ANSI): Remove.
40526 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40528         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40530         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40532 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40534         * sysdeps/s390/fpu/libm-test-ulps: Update.
40536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40538         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40539         (__acr): Likewise.
40540         (__cpy): Likewise.
40541         (norm): Likewise.
40542         (denorm): Likewise.
40543         (__mp_dbl): Likewise.
40544         (__dbl_mp): Likewise.
40545         (add_magnitudes): Likewise.
40546         (sub_magnitudes): Likewise.
40547         (__add): Likewise.
40548         (__sub): Likewise.
40549         (__mul): Likewise.
40550         (__inv): Likewise.
40551         (__dvd): Likewise.
40552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40553         (__acr): Likewise.
40554         (__cpy): Likewise.
40555         (norm): Likewise.
40556         (denorm): Likewise.
40557         (__mp_dbl): Likewise.
40558         (__dbl_mp): Likewise.
40559         (add_magnitudes): Likewise.
40560         (sub_magnitudes): Likewise.
40561         (__add): Likewise.
40562         (__sub): Likewise.
40563         (__mul): Likewise.
40564         (__inv): Likewise.
40565         (__dvd): Likewise.
40566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40567         (__acr): Likewise.
40568         (__cpy): Likewise.
40569         (norm): Likewise.
40570         (denorm): Likewise.
40571         (__mp_dbl): Likewise.
40572         (__dbl_mp): Likewise.
40573         (add_magnitudes): Likewise.
40574         (sub_magnitudes): Likewise.
40575         (__add): Likewise.
40576         (__sub): Likewise.
40577         (__mul): Likewise.
40578         (__inv): Likewise.
40579         (__dvd): Likewise.
40581 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40583         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40584         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40585         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40586         2 && __USE_EXTERN_INLINES]: Likewise.
40588 2013-01-08  Andreas Jaeger  <aj@suse.de>
40590         [BZ# 14985]
40591         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40592         Remove.
40593         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40594         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40596 2013-01-07  Anton Blanchard  <anton@samba.org>
40598         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40599         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40600         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40601         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40602         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40603         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40604         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40605         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40607         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40608         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40609         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40610         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40611         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40612         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40613         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40614         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40615         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40616         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40617         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40618         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40619         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40620         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40621         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40622         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40623         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40624         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40625         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40626         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40627         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40628         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40630         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40631         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40632         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40633         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40634         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40635         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40636         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40637         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40638         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40639         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40640         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40642 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40644         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40645         (__MALLOC_PMT): Likewise.
40646         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40647         [__GNUC__], only on [_LIBC].
40648         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40649         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40650         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40651         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40652         forward declaration.
40653         (realloc_hook_ini): Likewise.
40654         (memalign_hook_ini): Likewise.
40655         (__libc_memalign): Do not use __MALLOC_PMT in variable
40656         declaration.
40657         (__libc_valloc): Likewise.
40658         (__libc_pvalloc): Likewise.
40659         (__libc_calloc): Likewise.
40660         (__posix_memalign): Likewise.
40662         [BZ #14996]
40663         * math/s_casinh.c: Include <float.h>.
40664         (__casinh): Do not do computation with squaring and square root
40665         for large arguments.
40666         * math/s_casinhf.c: Include <float.h>.
40667         (__casinhf): Do not do computation with squaring and square root
40668         for large arguments.
40669         * math/s_casinhl.c: Include <float.h>.
40670         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40671         (__casinhl): Do not do computation with squaring and square root
40672         for large arguments.
40673         * math/libm-test.inc (casin_test): Add more tests.
40674         (casinh_test): Likewise.
40675         * sysdeps/i386/fpu/libm-test-ulps: Update.
40676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40678 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40680         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40681         (__x86_64_raw_data_cache_size): Likewise.
40682         (__x86_64_data_cache_size_half): Likewise.
40683         (__x86_64_raw_data_cache_size_half): Likewise.
40684         (__x86_64_shared_cache_size): Likewise.
40685         (__x86_64_raw_shared_cache_size): Likewise.
40686         (__x86_64_shared_cache_size_half): Likewise.
40687         (__x86_64_raw_shared_cache_size_half): Likewise.
40688         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40689         to ...
40690         (__x86_data_cache_size): This.
40691         (__x86_64_raw_data_cache_size): Renamed to ...
40692         (__x86_raw_data_cache_size): This.
40693         (__x86_64_data_cache_size_half): Renamed to ...
40694         (__x86_data_cache_size_half): This.
40695         (__x86_64_raw_data_cache_size_half): Renamed to ...
40696         (__x86_raw_data_cache_size_half): This.
40697         (__x86_64_shared_cache_size): Renamed to ...
40698         (__x86_shared_cache_size): This.
40699         (__x86_64_raw_shared_cache_size): Renamed to ...
40700         (__x86_raw_shared_cache_size): This.
40701         (__x86_64_shared_cache_size_half): Renamed to ...
40702         (__x86_shared_cache_size_half): This.
40703         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40704         (__x86_raw_shared_cache_size_half): This.
40705         * sysdeps/x86_64/memcpy.S: Updated.
40706         * sysdeps/x86_64/memset.S: Likewise.
40707         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40708         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40709         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40711 2013-01-04  David S. Miller  <davem@davemloft.net>
40713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40715 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40717         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40718         1 to avoid redefinition warning.
40719         (__USE_GNU): Don't define.
40720         (init_signaling_nan): Protoize.
40722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40724 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40726         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40728         (__cpymn): Likewise.
40729         (norm): Remove commented code.
40730         (denorm): Likewise.
40731         (__mp_dbl): Likewise.
40732         (__inv): Likewise.
40733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40734         (__cpymn): Likewise.
40735         (norm): Remove commented code.
40736         (denorm): Likewise.
40737         (__mp_dbl): Likewise.
40738         (__inv): Likewise.
40740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40741         mp_no value for 1.0 and 2.0.
40742         (norm): Use RADIXI instead of radixi.d.
40743         (denorm): Likewise.
40744         (__mul): Use 0.0 instead of zero.d.
40745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40746         mp_no value for 1.0 and 2.0.
40747         (norm): Use RADIXI instead of radixi.d.
40748         (denorm): Likewise.
40749         (__mul): Use 0.0 instead of zero.d.
40751 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40753         [BZ #14994]
40754         * math/s_casinh.c (__casinh): Reduce finite argument to first
40755         quadrant then set signs of results at the end.
40756         * math/s_casinhf.c (__casinhf): Likewise.
40757         * math/s_casinhl.c (__casinhl): Likewise.
40758         * math/libm-test.inc (casin_test): Add more tests.
40759         (casinh_test): Likewise.
40760         * sysdeps/i386/fpu/libm-test-ulps: Update.
40761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40763 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40765         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40767         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40769         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40770         declarations.
40771         (denorm): Likewise.
40772         (__mp_dbl): Likewise.
40773         (__inv): Likewise.
40775         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40776         and adjust the header comment.
40778         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40779         variable name from declaration.
40781 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40784         Initialize COMMON_CPUID_INDEX_7 element.
40785         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40786         (CPUID_RTM): Likewise.
40787         (HAS_RTM): Likewise.
40788         (COMMON_CPUID_INDEX_7): New enum.
40790 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40792         [BZ #14981]
40793         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40794         size is zero, record memory as freed.
40796 2013-01-03  Andreas Jaeger  <aj@suse.de>
40798         * po/ia.po: Add new Interlingua translation.
40800 2012-01-03  Allan McRae  <allan@archlinux.org>
40802         * locale/programs/localedef.c: Fix description of '--posix' flag.
40804 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40806         * NEWS: Update dates in second copyright notice.
40807         * README: Update copyright dates in example.
40808         * manual/libc.texinfo: Update copyright dates.
40809         * scripts/test-installation.pl: Update copyright date in --version
40810         output.
40812         * hurd/ctty-input.c: Fix copyright notice formatting.
40813         * hurd/ctty-output.c: Likewise.
40814         * hurd/dtable.c: Likewise.
40815         * hurd/hurd-raise.c: Likewise.
40816         * hurd/hurdprio.c: Likewise.
40817         * hurd/msgportdemux.c: Likewise.
40818         * misc/sys/file.h: Likewise.
40819         * misc/sys/ioctl.h: Likewise.
40820         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40821         * sysdeps/mach/hurd/chdir.c: Likewise.
40822         * sysdeps/mach/hurd/fchdir.c: Likewise.
40823         * sysdeps/mach/hurd/rename.c: Likewise.
40824         * sysdeps/mach/hurd/rmdir.c: Likewise.
40825         * sysdeps/mach/hurd/seekdir.c: Likewise.
40826         * sysdeps/mach/hurd/setsid.c: Likewise.
40827         * sysdeps/posix/wait3.c: Likewise.
40829         * All files with FSF copyright notices: Update copyright dates
40830         using scripts/update-copyrights.
40831         * intl/plural.c: Regenerated.
40832         * locale/programs/charmap-kw.h: Likewise.
40833         * locale/programs/locfile-kw.h: Likewise.
40835 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40837         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40838         four values.
40840         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40841         calculation loop and add branch prediction.
40843         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40844         check access beyond bounds of m1np.
40846         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40847         MPTWO.
40848         (__inv): Remove local variable MPTWO to use the global
40849         constant.
40850         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40851         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40852         variable MPTWO.
40853         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40854         MP3HALFS static const.
40856 2013-01-01  David S. Miller  <davem@davemloft.net>
40858         * po/ca.po: Update from translation team.
40860 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40862         * scripts/update-copyrights: New file.
40863         * Makeconfig: Reformat copyright notice.
40864         * ctype/ctype.h: Likewise.
40865         * debug/swprintf_chk.c: Likewise.
40866         * elf/dl-cache.c: Likewise.
40867         * elf/dl-debug.c: Likewise.
40868         * elf/dl-object.c: Likewise.
40869         * grp/initgroups.c: Likewise.
40870         * hurd/Makefile: Likewise.
40871         * hurd/hurd/signal.h: Likewise.
40872         * hurd/hurdfault.c: Likewise.
40873         * hurd/hurdioctl.c: Likewise.
40874         * hurd/hurdlookup.c: Likewise.
40875         * hurd/intr-msg.c: Likewise.
40876         * iconv/gconv_open.c: Likewise.
40877         * libio/swprintf.c: Likewise.
40878         * locale/lc-ctype.c: Likewise.
40879         * locale/nl_langinfo.c: Likewise.
40880         * mach/Machrules: Likewise.
40881         * mach/Makefile: Likewise.
40882         * malloc/obstack.h: Likewise.
40883         * manual/Makefile: Likewise.
40884         * manual/tsort.awk: Likewise.
40885         * misc/bits/stab.def: Likewise.
40886         * nis/nis_print_group_entry.c: Likewise.
40887         * nis/nis_table.c: Likewise.
40888         * nis/nss_compat/compat-pwd.c: Likewise.
40889         * nis/nss_compat/compat-spwd.c: Likewise.
40890         * po/Makefile: Likewise.
40891         * posix/fnmatch.c: Likewise.
40892         * posix/regex.h: Likewise.
40893         * resolv/Makefile: Likewise.
40894         * resolv/nss_dns/dns-network.c: Likewise.
40895         * resolv/res_hconf.c: Likewise.
40896         * scripts/gen-sorted.awk: Likewise.
40897         * soft-fp/soft-fp.h: Likewise.
40898         * stdio-common/printf.h: Likewise.
40899         * stdlib/monetary.h: Likewise.
40900         * stdlib/random.c: Likewise.
40901         * stdlib/random_r.c: Likewise.
40902         * sysdeps/generic/Makefile: Likewise.
40903         * sysdeps/gnu/Makefile: Likewise.
40904         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40905         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40906         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40907         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40908         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40909         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40910         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40911         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40912         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40913         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40914         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40915         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40916         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40917         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40918         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40919         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40920         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40921         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40922         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40923         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40924         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40925         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40926         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40927         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40928         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40929         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40930         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40931         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40932         * sysdeps/mach/hurd/errnos.awk: Likewise.
40933         * sysdeps/mach/hurd/fork.c: Likewise.
40934         * sysdeps/mach/hurd/getcwd.c: Likewise.
40935         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40936         * sysdeps/mach/hurd/mmap.c: Likewise.
40937         * sysdeps/mach/hurd/utimes.c: Likewise.
40938         * sysdeps/mach/hurd/xmknod.c: Likewise.
40939         * sysdeps/posix/profil.c: Likewise.
40940         * sysdeps/posix/readdir_r.c: Likewise.
40941         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40942         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40943         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40944         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40946         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40947         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40948         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40950         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40951         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40952         * sysdeps/pthread/lio_listio.c: Likewise.
40953         * sysdeps/sparc/dl-procinfo.h: Likewise.
40954         * sysdeps/unix/i386/sysdep.S: Likewise.
40955         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40956         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40957         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40958         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40960         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40961         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40962         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40963         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40964         * sysdeps/wordsize-32/divdi3.c: Likewise.
40965         * time/sys/time.h: Likewise.
40966         * wcsmbs/Makefile: Likewise.
40968 2013-01-01  David S. Miller  <davem@davemloft.net>
40970         * po/fr.po: Update from translation team.
40972         * catgets/gencat.c: Update copyright year.
40973         * csu/version.c: Likewise.
40974         * debug/catchsegv.sh: Likewise.
40975         * debug/pcprofiledump.c: Likewise.
40976         * debug/xtrace.sh: Likewise.
40977         * elf/ldconfig.c: Likewise.
40978         * elf/ldd.bash.in: Likewise.
40979         * elf/pldd.c: Likewise.
40980         * elf/sotruss.ksh: Likewise.
40981         * elf/sprof.c: Likewise.
40982         * iconv/iconv_prog.c: Likewise.
40983         * iconv/iconvconfig.c: Likewise.
40984         * locale/programs/locale.c: Likewise.
40985         * locale/programs/localedef.c: Likewise.
40986         * login/programs/pt_chown.c: Likewise.
40987         * malloc/memusage.sh: Likewise.
40988         * malloc/memusagestat.c: Likewise.
40989         * malloc/mtrace.pl: Likewise.
40990         * nscd/nscd.c: Likewise.
40991         * nss/getent.c: Likewise.
40992         * nss/makedb.c: Likewise.
40993         * posix/getconf.c: Likewise.
40995 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40997         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40998         numbers.
41000 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41002         * math/bits/mathcalls.h (modf): Use __nonnull.
41004 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41006         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41007         (split): Use macro CN instead of the bare value.
41008         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41009         could be used.
41010         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41011         instead of the bare value.
41012         (power1): Likewise.
41014 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41016         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41017         __ATAN_TWOM.
41018         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41020         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41021         their values.
41022         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41023         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41024         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41025         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41027 2012-12-28  Andreas Jaeger  <aj@suse.de>
41029         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41030         values are from Linux 3.7.
41032         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41033         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41035 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41037         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41038         TRUE case.
41040         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41041         (norm): Likewise.
41042         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41043         variables with preprocessor constants.
41044         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41045         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41046         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41048 2012-12-27  Bruno Haible  <bruno@clisp.org>
41050         [BZ #14317]
41051         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41052         only if needed.
41054 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41056         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41057         and use variable directly.
41058         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41060         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41061         MPONE.
41062         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41063         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41064         variable MPONE.
41065         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41067         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41068         include directive.  Remove local variable MPONE.
41069         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41070         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41071         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41073 2012-12-25  David S. Miller  <davem@davemloft.net>
41075         * version.h (RELEASE): Set to "development".
41076         (VERSION): Set to "2.17.90".
41077         * NEWS: Add 2.18 section.
41079 2012-12-21  David S. Miller  <davem@davemloft.net>
41081         * po/hr.po: Update from translation team.
41083 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41085         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41087 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41089         * NEWS:  Mention new memcpy for MIPS.
41091 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41093         * manual/contrib.texi (Contributors): Spelling correction.
41095 2012-12-15  David S. Miller  <davem@davemloft.net>
41097         * po/ru.po: Update from translation team.
41099 2012-12-13  David S. Miller  <davem@davemloft.net>
41101         * NEWS: Mention IFUNC testsuite enhancements.
41103         * po/pl.po: Update from translation team.
41104         * po/bg.po: Likewise.
41106         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41107         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41109 2012-12-11  David S. Miller  <davem@davemloft.net>
41111         * po/sv.po: Update from translation team.
41113         * po/vi.po: Update from translation team.
41115         * po/cs.po: Update from translation team.
41117         * po/de.po: Update from translation team.
41118         * po/eo.po: Likewise.
41119         * po/nl.po: Likewise.
41121 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41123         [BZ #14246]
41124         * manual/argp.texi (Argp Helper Functions): Move node to follow
41125         Argp Parsing State.
41127         [BZ #14872]
41128         * manual/conf.texi (Limits on File System Capacity): Mention if
41129         terminating null is included in the max size.
41131 2012-12-10  Andreas Jaeger  <aj@suse.de>
41133         * po/cs.po: Update from translation team.
41135 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41137         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41138         void pointer and cast to uintptr_t.
41139         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41140         path.
41141         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41142         * sysdeps/s390/s390-64/memset.S: Likewise.
41144 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41146         [BZ #14833]
41147         * menual/message.texi (Message Translation): Fix typos.
41148         (Helper programs for gettext): Likewise.
41150 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41152         [BZ #14898]
41153         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41154         Change to -1.
41156 2012-12-07  David S. Miller  <davem@davemloft.net>
41158         * po/libc.pot: Update.
41160 2012-12-07  Richard Henderson  <rth@redhat.com>
41162         [BZ #10114]
41163         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41164         normal/normal case to before the switch.
41165         (_FP_DIV): Likewise.
41167 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41168             Mike Frysinger  <vapier@gentoo.org>
41170         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41171         check for __NR_fadvise64_64.
41173 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41175         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41176         0, not just to plain "0" as a statement.
41177         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41178         with cw.
41180 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41182         * NEWS: Use sourceware.org in Bugzilla URL.
41184 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41187         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41189         * stdio-common/tst-put-error.c (do_test): Add newline to the
41190         padded test to ensure flush.
41192 2012-12-05  Jeff Law  <law@redhat.com>
41194         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41196 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41198         * README: Don't refer to ports add-on as distributed separately.
41199         Mention AArch64 in list of systems supported in the ports add-on.
41201         * LICENSES: Add more non-FSF copyright and license notices.
41203         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41204         ((unused)).
41206         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41208         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41209         10000 as width of padded output.
41211 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41213         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41215         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41216         variable LX with __attribute__ ((unused)).
41217         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41218         Likewise.
41219         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41220         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41221         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41222         with __attribute__ ((unused)).
41224 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41226         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41228 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41230         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41231         (CFLAGS-nldbl-acos.c): New variable.
41232         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41233         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41234         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41235         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41236         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41237         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41238         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41239         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41240         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41241         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41242         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41243         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41244         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41245         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41246         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41247         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41248         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41249         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41250         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41251         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41252         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41253         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41254         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41255         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41256         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41257         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41258         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41259         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41260         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41261         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41262         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41263         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41264         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41265         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41266         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41267         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41268         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41269         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41270         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41271         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41272         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41273         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41274         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41275         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41276         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41277         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41278         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41279         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41280         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41281         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41282         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41283         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41284         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41285         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41286         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41287         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41288         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41289         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41290         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41291         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41292         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41293         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41294         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41295         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41296         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41297         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41298         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41299         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41300         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41301         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41302         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41303         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41304         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41305         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41306         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41307         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41308         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41309         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41310         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41311         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41312         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41313         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41314         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41315         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41316         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41317         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41318         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41319         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41320         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41321         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41322         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41323         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41324         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41325         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41326         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41327         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41328         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41331         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41333         [BZ #14914]
41334         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41335         whole low double instead of just low 47 bits when splitting values
41336         into two parts.
41338 2012-12-03  Allan McRae  <allan@archlinux.org>
41340         * manual/stdio.texi (Predefined Printf Handlers): Remove
41341         @hsep and @vsep usage.
41343 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41345         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41346         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41348 2012-12-03  Jeff Law  <law@redhat.com>
41350         * time/sys/time.h (settimeofday): Do not mark TV argument
41351         as __nonnull.
41353 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41355         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41356         when currently writing and seek to current position when not.
41357         * libio/Makefile (tests): Remove bug-fclose1.
41358         * libio/bug-fclose1.c: Delete.
41360 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41362         * manual/arith.texi (feenableexcept): Fix typo.
41363         (fedisableexcept): Likewise.
41365 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41367         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41368         second, differently-typed declaration, rather than a cast.
41370 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41372         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41373         * include/rpc/svc.h: ... here.
41375 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41377         [BZ #13013]
41378         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41379         depending n and resplen2 to catch cases where answer
41380         equals answerp2.
41382 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41384         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41385         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41387 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41389         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41391 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41393         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41395 2012-11-28  Jeff Law  <law@redhat.com>
41397         [BZ #13761]
41398         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41399         dataset_temporary.  Track alloca usage into alloca_used.
41400         If dataset is large allocate and release it via malloc/free.
41402 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41404         [BZ #14197]
41405         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41407 2012-11-28  David S. Miller  <davem@davemloft.net>
41409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41411 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41413         [BZ #14803]
41414         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41415         of pi/2 rounded to nearest to 64 bits.
41416         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41417         nearest to 64 bits.
41418         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41419         bits.
41421 2012-11-28  Jeff Law <law@redhat.com>
41422             Martin Osvald <mosvald@redhat.com>
41424         [BZ #14889]
41425         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41426         * sunrpc/svc.c: Include time.h.
41427         (__svc_accept_failed): New function.
41428         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41429         any reason other than EINTR, call __svc_accept_failed.
41430         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41431         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41433 2012-11-28  Andreas Schwab  <schwab@suse.de>
41435         * scripts/abilist.awk: Also handle indirect functions in .opd
41436         section.
41438 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41440         [BZ #13881]
41441         * sysdeps/x86/fpu/powl_helper.c: New file.
41442         * sysdeps/x86/fpu/Makefile: Likewise.
41443         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41444         (p3): New object.
41445         (__ieee754_powl): Use __powl_helper for finite arguments except
41446         integer exponents below 8.
41447         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41448         (p3): New object.
41449         (__ieee754_powl): Use __powl_helper for finite arguments except
41450         integer exponents below 8.
41451         * math/libm-test.inc (pow_test): Add more tests and enable some
41452         previously disabled tests.
41453         * sysdeps/i386/fpu/libm-test-ulps: Update.
41454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41456 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41457             Carlos O'Donell  <carlos_odonell@mentor.com>
41459         * nss/makedb.c (is_prime): Assert that input is odd and greater
41460         than 4.  Note that fact in a comment too.
41461         (next_prime): Add 4 to input.
41463 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41465         [BZ #11741]
41466         * libio/Makefile (tests): Add test case tst-fwrite-error.
41467         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41468         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41469         * libio/tst-fwrite-error.c: New test case.
41471 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41473         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41474         before casting to void *.
41475         * include/libc-internal.h (__pointer_type): New macro.
41476         (__integer_if_pointer_type_sub): Likewise.
41477         (__integer_if_pointer_type): Likewise.
41478         (cast_to_integer): Likewise.
41479         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41480         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41481         before casting to atomic64_t.
41482         (atomic_exchange_acq): Likewise.
41483         (__arch_exchange_and_add_body): Likewise.
41484         (__arch_add_body): Likewise.
41485         (atomic_add_negative): Likewise.
41486         (atomic_add_zero): Likewise.
41488 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41490         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41491         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41492         (add_fdes): Likewise.
41493         (linear_search_fdes): Likewise.
41494         (binary_search_unencoded_fdes): Likewise.
41496 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41498         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41500 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41502         * configure.in: Autodetect C++ header directories.
41503         * configure: Regenerated.
41505 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41507         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41509 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41513 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41515         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41516         LDBL_MANT_DIG == 106]: Disable some tests.
41517         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41518         Likewise.
41519         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41520         Likewise.
41522         [BZ #14871]
41523         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41524         input for small inputs.  Return +/- pi/2 for large inputs.
41525         * math/libm-test.inc (atan_test): Add more tests.
41527         * sysdeps/generic/unwind-dw2-fde-glibc.c
41528         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41529         __attribute__ ((unused)).
41531         [BZ #14645]
41532         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41533         x * y if x and y are nonzero and z is zero.
41535         [BZ #14811]
41536         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41537         nonzero exponents with absolute value below 0x1p-117 to +/-
41538         0x1p-117.
41540         [BZ #14869]
41541         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41542         up arguments below 2**-450, not just those below 2**-500.
41543         * math/libm-test.inc (hypot_test): Add another test.
41545         [BZ #14868]
41546         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41547         Return a+b for ratio over 2**120, not 2**60.
41548         * math/libm-test.inc (hypot_test): Add another test.
41550         * math/libm-test.inc (clog_test): Use
41551         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41552         (clog10_test): Likewise.
41554         [BZ #6778]
41555         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41557 2012-11-22  Andreas Schwab  <schwab@suse.de>
41559         * sysdeps/i386/fpu/libm-test-ulps: Update.
41561 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41563         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41564         printf output with newline.
41566 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41568         [BZ #14865]
41569         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41570         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41571         -z nodlopen, -z initfirst and -z execstack support.
41572         * configure: Regenerated.
41574         * elf/elf.h (DF_1_NODIRECT): New macro.
41575         (DF_1_IGNMULDEF): Likewise.
41576         (DF_1_NOKSYMS): Likewise.
41577         (DF_1_NOHDR): Likewise.
41578         (DF_1_EDITED): Likewise.
41579         (DF_1_NORELOC): Likewise.
41580         (DF_1_SYMINTPOSE): Likewise.
41581         (DF_1_GLOBAUDIT): Likewise.
41582         (DF_1_SINGLETON): Likewise.
41583         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41584         DT_1_SUPPORTED_MASK bits.
41585         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41587 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41589         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41591 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41593         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41594         macro.
41596         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41597         (sendmmsg): Move declarations...
41598         * socket/sys/socket.h: ... here.
41599         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41600         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41601         include it from...
41602         * socket/recvmmsg.c: ... this new file.
41603         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41604         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41605         definition of __sendmmsg hidden.
41606         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41607         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41608         Move ENOSYS stub into and include it from...
41609         * socket/sendmmsg.c: ... this new file.
41610         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41611         (sysdep_routines): Move recvmmsg and sendmmsg...
41612         * socket/Makefile (routines): ... here.
41613         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41614         (GLIBC_PRIVATE): Add __sendmmsg.
41615         * include/sys/socket.h (__sendmmsg): Add declarations.
41616         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41617         sendmmsg.
41619 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41622         variable I1 with __attribute__ ((unused)).
41623         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41625 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41627         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41628         DUMMY variables with __attribute__ ((unused)).
41630         * bits/byteswap.h: Include <bits/types.h>.
41631         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41633 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41635         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41636         string_t.  Do not manually set errno.
41637         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41638         length with __strnlen.  Make sure to both set errno and return it on
41639         failure.
41641 2012-11-19  David S. Miller  <davem@davemloft.net>
41643         With help from Joseph Myers.
41644         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41645         very large arguments properly.
41646         * math/libm-test.inc (atan_test): New tests.
41647         (atan2_test): New tests.
41648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41651 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41653         [BZ #14856]
41654         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41655         Define to 3.
41657         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41658         [POSIX] (EADDRNOTAVAIL): Likewise.
41659         [POSIX] (EAFNOSUPPORT): Likewise.
41660         [POSIX] (EALREADY): Likewise.
41661         [POSIX] (ECONNABORTED): Likewise.
41662         [POSIX] (ECONNREFUSED): Likewise.
41663         [POSIX] (ECONNRESET): Likewise.
41664         [POSIX] (EDESTADDRREQ): Likewise.
41665         [POSIX] (EDQUOT): Likewise.
41666         [POSIX] (EHOSTUNREACH): Likewise.
41667         [POSIX] (EIDRM): Likewise.
41668         [POSIX] (EISCONN): Likewise.
41669         [POSIX] (ELOOP): Likewise.
41670         [POSIX] (EMULTIHOP): Likewise.
41671         [POSIX] (ENETDOWN): Likewise.
41672         [POSIX] (ENETUNREACH): Likewise.
41673         [POSIX] (ENOBUFS): Likewise.
41674         [POSIX] (ENODATA): Likewise.
41675         [POSIX] (ENOLINK): Likewise.
41676         [POSIX] (ENOMSG): Likewise.
41677         [POSIX] (ENOPROTOOPT): Likewise.
41678         [POSIX] (ENOSR): Likewise.
41679         [POSIX] (ENOSTR): Likewise.
41680         [POSIX] (ENOTCONN): Likewise.
41681         [POSIX] (ENOTSOCK): Likewise.
41682         [POSIX] (EOPNOTSUPP): Likewise.
41683         [POSIX] (EOVERFLOW): Likewise.
41684         [POSIX] (EPROTO): Likewise.
41685         [POSIX] (EPROTONOSUPPORT): Likewise.
41686         [POSIX] (EPROTOTYPE): Likewise.
41687         [POSIX] (ESTALE): Likewise.
41688         [POSIX] (ETIME): Likewise.
41689         [POSIX] (ETXTBSY): Likewise.
41690         [POSIX] (EWOULDBLOCK): Likewise.
41691         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41692         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41693         [POSIX] (SEEK_CUR): Likewise.
41694         [POSIX] (SEEK_END): Likewise.
41695         [POSIX || UNIX98] (mode_t): Do not require.
41696         [POSIX] (off_t): Likewise.
41697         [POSIX] (pid_t): Likewise.
41698         [POSIX] (sys/stat.h): Do not allow header.
41699         [POSIX] (unistd.h): Likewise.
41700         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41701         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41702         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41703         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41704         require.
41705         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41706         sigevent): Specify elements.
41707         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41708         entry.
41709         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41710         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41712         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41713         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41714         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41715         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41716         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41717         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41718         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41719         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41720         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41721         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41722         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41723         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41724         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41725         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41726         Likewise.
41727         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41728         Likewise.
41729         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41730         Likewise.
41731         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41732         Likewise.
41733         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41734         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41735         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41736         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41737         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41738         Specify lower bound on value.
41739         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41740         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41741         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41742         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41743         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41744         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41745         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41746         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41747         value.
41748         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41749         as optional.
41750         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41751         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41752         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41753         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41754         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41755         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41756         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41757         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41758         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41759         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41760         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41761         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41762         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41763         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41764         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41765         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41766         entry.
41767         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41768         optional.
41769         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41770         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41771         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41772         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41773         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41774         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41775         Likewise.
41776         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41777         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41778         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41779         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41780         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41781         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41782         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41783         as optional.
41784         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41785         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41786         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41787         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41788         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41789         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41790         specify as optional.
41791         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41792         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41793         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41794         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41795         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41796         [XPG3] (NL_LANGMAX): Likewise.
41797         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41798         [POSIX || XPG3] (NL_NMAX): Likewise.
41799         [POSIX || XPG3] (NL_SETMAX): Likewise.
41800         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41801         [XPG3] (NZERO): Likewise.
41802         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41803         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41804         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41805         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41806         (REG_ERANGE): Expect.
41807         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41808         optional-constant.
41809         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41810         Use (void) in prototype.
41811         [POSIX] (*_t): Allow.
41812         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41813         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41814         (WRDE_BADVAL): Expect.
41816         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41817         expect.
41818         [XPG3 || XPG4] (O_RSYNC): Likewise.
41819         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41820         Likewise.
41821         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41822         [XPG3 || XPG4] (sigqueue): Likewise.
41823         [XPG3 || XPG4] (sigtimedwait): Likewise.
41824         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41825         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41826         [XPG3 || XPG4] (vsnprintf): Likewise.
41827         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41828         Likewise.
41829         [XPG3 || XPG4] (blksize_t): Likewise.
41830         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41831         Likewise.
41832         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41833         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41834         [XPG3 || XPG4] (struct itimerspec): Likewise.
41835         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41836         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41837         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41838         [XPG3 || XPG4] (clockid_t): Likewise.
41839         [XPG3 || XPG4] (timer_t): Likewise.
41840         [XPG3 || XPG4] (clock_getres): Likewise.
41841         [XPG3 || XPG4] (clock_gettime): Likewise.
41842         [XPG3 || XPG4] (clock_settime): Likewise.
41843         [XPG3 || XPG4] (nanosleep): Likewise.
41844         [XPG3 || XPG4] (timer_create): Likewise.
41845         [XPG3 || XPG4] (timer_delete): Likewise.
41846         [XPG3 || XPG4] (timer_gettime): Likewise.
41847         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41848         [XPG3 || XPG4] (timer_settime): Likewise.
41849         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41850         [XPG3 || XPG4] (getlogin_r): Likewise.
41851         [XPG3 || XPG4] (pread): Likewise.
41852         [XPG3 || XPG4] (pthread_atfork): Likewise.
41853         [XPG3 || XPG4] (pwrite): Likewise.
41855         [BZ #14835]
41856         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41857         <bits/siginfo.h>.
41859 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41861         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41862         finalizing MALLSTREAM.
41864         * sysdeps/mach/hurd/syncfs.c: New file.
41866 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41868         [BZ #14719]
41869         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41870         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41871         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41872         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41873         (_nss_dns_gethostbyname4_r): Likewise.
41874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41875         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41877 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41879         [BZ #13763]
41880         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41882 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41884         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41885         * elf/cache.c (print_entry): Print ",AArch64" for
41886         FLAG_AARCH64_LIB64
41888         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41889         * elf/cache.c (print_entry): Print ",hard-float" for
41890         FLAG_ARM_LIBHF.
41892 2012-11-18  David S. Miller  <davem@davemloft.net>
41894         With help from Joseph Myers.
41895         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41896         cutoff to 2**-13.
41897         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41898         cutoff to 2**-25.
41899         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41900         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41901         small.
41902         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41903         * math/libm-test.inc (y0_test): New tests.
41904         (y1_test): New tests.
41905         * sysdeps/i386/fpu/libm-test-ulps: Update.
41906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41909 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41911         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41912         64-bit targets.
41913         * configure: Regenerated.
41915 2012-11-17  David S. Miller  <davem@davemloft.net>
41917         [BZ #14811]
41918         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41919         nonzero exponents with absolute value below 0x1p-128 to +/-
41920         0x1p-128.
41922 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41924         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41926         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41928         * posix/getconf-speclist.c: New file.
41929         * posix/posix-envs.def: Likewise.
41930         * posix/confstr.c (START_ENV_GROUP): New macro.
41931         (END_ENV_GROUP): Likewise.
41932         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41933         (KNOWN_PRESENT_ENV_STRING): Likewise.
41934         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41935         (UNKNOWN_ENVIRONMENT): Likewise.
41936         (confstr): Include posix-envs.def instead of handling
41937         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41938         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41939         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41940         (END_ENV_GROUP): Likewise.
41941         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41942         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41943         (UNKNOWN_ENVIRONMENT): Likewise.
41944         (__sysconf): Include posix-envs.def instead of handling associated
41945         cases directly here.
41946         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41947         preprocessing getconf-speclist.c rather than running getconf or
41948         generating empty file.
41950 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41952         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41954 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41956         [BZ #14672]
41957         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41959 2012-11-16  David S. Miller  <davem@davemloft.net>
41961         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41962         smaller than LDBL_EPSILON/2.0L, just return xm1.
41964 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41966         * elf/tst-array1.c (init): Set constructor priority to 1000.
41967         (fini): Set destructor priority to 1000.
41968         * elf/tst-array2dep.c: Likewise.
41970 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41972         [BZ #11741]
41973         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41974         (_IO_new_file_xsputn): Also return EOF if none of the input
41975         data was written when overflow failed.
41976         * libio/iopadn.c (_IO_padn): Likewise.
41977         * libio/iowpadn.c (_IO_wpadn): Likewise.
41978         * stdio-common/tst-put-error.c: Add copyright notice.
41979         (do_test): Add case for printing padded string.
41980         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41981         _IO_padn returned error.
41982         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41983         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41984         return EOF.
41986 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41988         * libio/libioP.h: Add comment note that the references to C++
41989         bits are now obsolete.
41991 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41993         * math/libm-test.inc (check_complex): Use asprintf.
41995 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41997         * debug/pcprofiledump.c (print_version): Update copyright year.
41998         * malloc/memusagestat.c (print_version): Likewise.
42000 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42002         [BZ #14831]
42003         * elf/Makefile (tests): Add tst-audit8.
42004         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42005         ($(objpfx)tst-audit8.out): New target.
42006         (tst-audit8-ENV): New variable.
42007         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42008         audit if l_reloc_result is NULL.
42009         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42010         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42011         * elf/tst-audit8.c: New file.
42013 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42015         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42016         * misc/Makefile (CFLAGS-select.c): Define.
42017         * posix/Makefile (CFLAGS-pause.c): Define.
42019 2012-11-13  David S. Miller  <davem@davemloft.net>
42021         * crypt/Makefile: Move test targets after toplevel Rules
42022         inclusion.  Grab any necessary sysdep routines when linking.
42023         * crypt/md5.c (md5_process_block): Remove define, we will always
42024         name it __md5_process_block.
42025         (md5_finish_ctx): Update md5_process_block call.
42026         (md5_stream): Likewise.
42027         (md5_process_bytes): Likewise.
42028         (md5_process_block): Rename to __md5_process_block and move to ...
42029         * crypt/md5-block.c: ... here.
42030         * crypt/sha256.c (sha256_process_block): Move to ...
42031         * crypt/sha256-block.c: ... here.
42032         * crypt/sha512.c (sha512_process_block): Move to ...
42033         * crypt/sha512-block.c: ... here.
42034         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42035         path.
42036         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42037         * sysdeps/sparc/sparc64/multiarch/Makefile
42038         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42039         crypt subdir.
42040         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42041         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42042         multiarch changes.
42043         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42044         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42045         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42046         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42047         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42048         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42049         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42050         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42051         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42052         file.
42053         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42054         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42055         file.
42056         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42058 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42060         * timezone/tzselect.ksh: Update from tzcode git revision
42061         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42062         * timezone/zdump.c: Likewise.
42063         * timezone/zic.c: Likewise.
42064         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42065         in TZVERSION setting, not $(PKGVERSION).
42066         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42067         REPORT_BUGS_TO settings.
42069         [BZ #14838]
42070         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42071         macro.
42073 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42075         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42076         detection to immediately after _FP_ROUND().
42077         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42078         bits are 0.
42080 2012-11-11  David S. Miller  <davem@davemloft.net>
42082         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42083         inttypes.h
42084         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42085         __close rather than their public counterparts.
42087 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42089         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42090         file.
42091         [UNIX98] (sem_timedwait): Do not expect.
42092         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42093         [XPG4 || UNIX98] (sockatmark): Do not expect.
42094         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42095         (clock_getcpuclockid): Do not expect.
42096         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42097         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42098         Do not expect.
42099         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42100         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42101         [UNIX98] (vwscanf): Likewise.
42102         [UNIX98] (vswscanf): Likewise.
42104 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42106         * timezone/version.h: Remove file.
42107         * timezone/README: Do not refer to version.h.
42108         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42109         $(objpfx)version.h.
42110         ($(objpfx)zdump.o): Likewise.
42111         ($(objpfx)version.h): New target.
42113         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42114         2012i.
42115         * timezone/README: Don't mention modification to tzselect.ksh.
42116         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42117         work on unmodified tzselect.ksh.  Substitute version numbers in
42118         tzselect.ksh.
42120         * Makefile (format-me): Remove.
42121         (INSTALL): Adjust indentation.  Use commands directly instead of
42122         using $(format-me).
42124         * aclocal.m4 (ACX_PKGVERSION): New macro.
42125         (ACX_BUGURL): Likewise.
42126         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42127         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42128         (REPORT_BUGS_TO): Likewise.
42129         * configure: Regenerated.
42130         * config.h.in (PKGVERSION): New macro.
42131         (REPORT_BUGS_TO): Likewise.
42132         * config.make.in (PKGVERSION): New variable.
42133         (PKGVERSION_TEXI): Likewise.
42134         (REPORT_BUGS_TO): Likewise.
42135         (REPORT_BUGS_TEXI): Likewise.
42136         * Makefile (format-me): Use -I$(common-objpfx)manual.
42137         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42138         ($(common-objpfx)manual/%): New target.
42139         (manual/%): Remove target.
42140         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42141         (print_version): Use PKGVERSION.
42142         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42143         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42144         and REPORT_BUGS_TO.
42145         ($(objpfx)xtrace): Likewise.
42146         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42147         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42148         (print_version): Use PKGVERSION.
42149         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42150         (do_version): Use PKGVERSION.
42151         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42152         REPORT_BUGS_TO.
42153         (common-ldd-rewrite): Likewise.
42154         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42155         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42156         (print_version): Use PKGVERSION.
42157         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42158         * elf/pldd.c (argp_program_bug_address): Remove variable.
42159         (more_help): New function.
42160         (argp): Use more_help.
42161         (print_version): Use PKGVERSION.
42162         * elf/sln.c (main): Use PKGVERSION.
42163         (usage): Use REPORT_BUGS_TO.
42164         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42165         (top level): Use PKGVERSION.
42166         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42167         (print_version): Use PKGVERSION.
42168         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42169         (print_version): Use PKGVERSION.
42170         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42171         (print_version): Use PKGVERSION.
42172         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42173         (print_version): Use PKGVERSION.
42174         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42175         (print_version): Use PKGVERSION.
42176         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42177         (print_version): Use PKGVERSION.
42178         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42179         and BUGURL.
42180         ($(objpfx)memusage): Likewise.
42181         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42182         (do_version): Use PKGVERSION.
42183         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42184         (print_version): Use PKGVERSION.
42185         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42186         ($PKGVERSION): New variable.
42187         ($REPORT_BUGS_TO): Likewise.
42188         (usage): Use $REPORT_BUGS_TO.
42189         (top level): Use $PKGVERSION.
42190         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42191         ($(objpfx)pkgvers.texi): New rule.
42192         ($(objpfx)stamp-pkgvers): Likewise.
42193         * manual/install.texi: Include pkgvers.texi.
42194         (--with-pkgversion): Document new configure option.
42195         (--with-bugurl): Likewise.
42196         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42197         than necessarily for this particular distribution.  Use
42198         REPORT_BUGS_TO for where to report bugs.
42199         * INSTALL: Regenerated.
42200         * manual/libc.texinfo: Include pkgvers.texi.
42201         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42202         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42203         (print_version): Use PKGVERSION.
42204         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42205         (print_version): Use PKGVERSION.
42206         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42207         (print_version): Use PKGVERSION.
42208         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42209         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42210         macro.
42211         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42212         (print_version): Use PKGVERSION.
42213         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42214         (print_version): Use PKGVERSION.
42215         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42216         and PKGVERSION.
42218         * timezone/checktab.awk: Update from tzcode 2012i.
42219         * timezone/ialloc.c: Likewise.
42220         * timezone/private.h: Likewise.
42221         * timezone/scheck.c: Likewise.
42222         * timezone/tzfile.h: Likewise.
42223         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42224         (TZVERSION): Hardcode tzcode version number.
42225         * timezone/zdump.c: Update from tzcode 2012i.
42226         * timezone/zic.c: Likewise.
42227         * timezone/version.h: New file.
42228         * timezone/README: Describe version.h.  Update upstream location.
42230         [BZ #14824]
42231         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42232         (mktemp): Enable declaration.
42233         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42234         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42235         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42236         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42237         Likewise.
42238         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42239         Likewise.
42240         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42241         Likewise.
42242         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42243         Likewise.
42244         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42245         Likewise.
42246         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42247         Likewise.
42249         [BZ #14821]
42250         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42251         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42252         for copies of such integer values.
42253         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42254         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42256 2012-11-09  Andreas Jaeger  <aj@suse.de>
42258         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42259         definitions and declarations that are provided by
42260         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42262 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42264         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42265         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42266         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42267         definition.
42269 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42271         * elf/elf.h: Update comment before AArch64 relocations.
42273 2012-11-07  David S. Miller  <davem@davemloft.net>
42275         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42276         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42277         (__start_context): Declare.
42278         (__makecontext_ret): Delete.
42279         (__makecontext): Hook up __start_context instead of
42280         __makecontext_ret.
42281         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42282         (sysdep_routines): Add __start_context when in stdlib.
42284 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42286         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42287         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42288         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42289         hardcoded "nm".
42290         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42291         (READELF): New variable.  Use it instead of hardcoded "readelf".
42293 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42295         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42296         * sysdeps/x86/Makefile: Here.
42297         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42298         * sysdeps/x86/tst-xmmymm.sh: This.
42300 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42302         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42303         expectations.
42304         [UNIX98] (pthread_barrier_t): Do not expect.
42305         [UNIX98] (pthread_barrierattr_t): Likewise.
42306         [UNIX98] (pthread_spinlock_t): Likewise.
42307         [UNIX98] (pthread_barrier_destroy): Likewise.
42308         [UNIX98] (pthread_barrier_init): Likewise.
42309         [UNIX98] (pthread_barrier_wait): Likewise.
42310         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42311         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42312         [UNIX98] (pthread_barrierattr_init): Likewise.
42313         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42314         [UNIX98] (pthread_getcpuclockid): Likewise.
42315         [UNIX98] (pthread_mutex_timedlock): Likewise.
42316         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42317         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42318         [UNIX98] (pthread_sigmask): Likewise.
42319         [UNIX98] (pthread_spin_destroy): Likewise.
42320         [UNIX98] (pthread_spin_init): Likewise.
42321         [UNIX98] (pthread_spin_lock): Likewise.
42322         [UNIX98] (pthread_spin_trylock): Likewise.
42323         [UNIX98] (pthread_spin_unlock): Likewise.
42324         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42325         Do not expect.
42326         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42327         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42328         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42329         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42330         [XPG3 || XPG4] (pthread_key_t): Likewise.
42331         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42332         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42333         [XPG3 || XPG4] (pthread_once_t): Likewise.
42334         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42335         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42336         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42337         [XPG3 || XPG4] (pthread_t): Likewise.
42339         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42340         not expect.
42341         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42343         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42344         Change function return type to int.
42346         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42347         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42348         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42349         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42350         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42351         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42352         [!POSIX] (posix_madvise): Likewise.
42353         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42354         && !UNIX98].
42355         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42356         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42357         (mode_t): Likewise.
42358         (posix_mem_offset): Likewise.
42359         (posix_typed_mem_get_info): Likewise.
42360         (posix_typed_mem_open): Likewise.
42362         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42363         Change condition to [XOPEN2K8].
42365         * conform/conformtest.pl: Preprocess allow-header data with -x c
42366         instead of from stdin.
42367         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42368         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42369         [C99-based standards] (cerfc): Likewise.
42370         [C99-based standards] (cexp2): Likewise.
42371         [C99-based standards] (cexpm1): Likewise.
42372         [C99-based standards] (clog10): Likewise.
42373         [C99-based standards] (clog1p): Likewise.
42374         [C99-based standards] (clog2): Likewise.
42375         [C99-based standards] (clgamma): Likewise.
42376         [C99-based standards] (ctgamma): Likewise.
42377         [C99-based standards] (cerff): Likewise.
42378         [C99-based standards] (cerfcf): Likewise.
42379         [C99-based standards] (cexp2f): Likewise.
42380         [C99-based standards] (cexpm1f): Likewise.
42381         [C99-based standards] (clog10f): Likewise.
42382         [C99-based standards] (clog1pf): Likewise.
42383         [C99-based standards] (clog2f): Likewise.
42384         [C99-based standards] (clgammaf): Likewise.
42385         [C99-based standards] (ctgammaf): Likewise.
42386         [C99-based standards] (cerfl): Likewise.
42387         [C99-based standards] (cerfcl): Likewise.
42388         [C99-based standards] (cexp2l): Likewise.
42389         [C99-based standards] (cexpm1l): Likewise.
42390         [C99-based standards] (clog10l): Likewise.
42391         [C99-based standards] (clog1pl): Likewise.
42392         [C99-based standards] (clog2l): Likewise.
42393         [C99-based standards] (clgammal): Likewise.
42394         [C99-based standards] (ctgammal): Likewise.
42395         * conform/data/inttypes.h-data [C99-based standards]: Include
42396         stdint.h-data.  Remove all expectations for stdint.h contents.
42397         [C99-based standards] (PRI*): Do not allow.
42398         [C99-based standards] (SCN*): Likewise.
42399         [C99-based standards] (*_t): Likewise.
42400         [C99-based-standards] (PRId8): Expect macro.
42401         [C99-based-standards] (PRIi8): Likewise.
42402         [C99-based-standards] (PRIo8): Likewise.
42403         [C99-based-standards] (PRIu8): Likewise.
42404         [C99-based-standards] (PRIx8): Likewise.
42405         [C99-based-standards] (PRIX8): Likewise.
42406         [C99-based-standards] (SCNd8): Likewise.
42407         [C99-based-standards] (SCNi8): Likewise.
42408         [C99-based-standards] (SCNo8): Likewise.
42409         [C99-based-standards] (SCNu8): Likewise.
42410         [C99-based-standards] (SCNx8): Likewise.
42411         [C99-based-standards] (PRIdLEAST8): Likewise.
42412         [C99-based-standards] (PRIiLEAST8): Likewise.
42413         [C99-based-standards] (PRIoLEAST8): Likewise.
42414         [C99-based-standards] (PRIuLEAST8): Likewise.
42415         [C99-based-standards] (PRIxLEAST8): Likewise.
42416         [C99-based-standards] (PRIXLEAST8): Likewise.
42417         [C99-based-standards] (SCNdLEAST8): Likewise.
42418         [C99-based-standards] (SCNiLEAST8): Likewise.
42419         [C99-based-standards] (SCNoLEAST8): Likewise.
42420         [C99-based-standards] (SCNuLEAST8): Likewise.
42421         [C99-based-standards] (SCNxLEAST8): Likewise.
42422         [C99-based-standards] (PRIdFAST8): Likewise.
42423         [C99-based-standards] (PRIiFAST8): Likewise.
42424         [C99-based-standards] (PRIoFAST8): Likewise.
42425         [C99-based-standards] (PRIuFAST8): Likewise.
42426         [C99-based-standards] (PRIxFAST8): Likewise.
42427         [C99-based-standards] (PRIXFAST8): Likewise.
42428         [C99-based-standards] (SCNdFAST8): Likewise.
42429         [C99-based-standards] (SCNiFAST8): Likewise.
42430         [C99-based-standards] (SCNoFAST8): Likewise.
42431         [C99-based-standards] (SCNuFAST8): Likewise.
42432         [C99-based-standards] (SCNxFAST8): Likewise.
42433         [C99-based-standards] (PRId16): Likewise.
42434         [C99-based-standards] (PRIi16): Likewise.
42435         [C99-based-standards] (PRIo16): Likewise.
42436         [C99-based-standards] (PRIu16): Likewise.
42437         [C99-based-standards] (PRIx16): Likewise.
42438         [C99-based-standards] (PRIX16): Likewise.
42439         [C99-based-standards] (SCNd16): Likewise.
42440         [C99-based-standards] (SCNi16): Likewise.
42441         [C99-based-standards] (SCNo16): Likewise.
42442         [C99-based-standards] (SCNu16): Likewise.
42443         [C99-based-standards] (SCNx16): Likewise.
42444         [C99-based-standards] (PRIdLEAST16): Likewise.
42445         [C99-based-standards] (PRIiLEAST16): Likewise.
42446         [C99-based-standards] (PRIoLEAST16): Likewise.
42447         [C99-based-standards] (PRIuLEAST16): Likewise.
42448         [C99-based-standards] (PRIxLEAST16): Likewise.
42449         [C99-based-standards] (PRIXLEAST16): Likewise.
42450         [C99-based-standards] (SCNdLEAST16): Likewise.
42451         [C99-based-standards] (SCNiLEAST16): Likewise.
42452         [C99-based-standards] (SCNoLEAST16): Likewise.
42453         [C99-based-standards] (SCNuLEAST16): Likewise.
42454         [C99-based-standards] (SCNxLEAST16): Likewise.
42455         [C99-based-standards] (PRIdFAST16): Likewise.
42456         [C99-based-standards] (PRIiFAST16): Likewise.
42457         [C99-based-standards] (PRIoFAST16): Likewise.
42458         [C99-based-standards] (PRIuFAST16): Likewise.
42459         [C99-based-standards] (PRIxFAST16): Likewise.
42460         [C99-based-standards] (PRIXFAST16): Likewise.
42461         [C99-based-standards] (SCNdFAST16): Likewise.
42462         [C99-based-standards] (SCNiFAST16): Likewise.
42463         [C99-based-standards] (SCNoFAST16): Likewise.
42464         [C99-based-standards] (SCNuFAST16): Likewise.
42465         [C99-based-standards] (SCNxFAST16): Likewise.
42466         [C99-based-standards] (PRId32): Likewise.
42467         [C99-based-standards] (PRIi32): Likewise.
42468         [C99-based-standards] (PRIo32): Likewise.
42469         [C99-based-standards] (PRIu32): Likewise.
42470         [C99-based-standards] (PRIx32): Likewise.
42471         [C99-based-standards] (PRIX32): Likewise.
42472         [C99-based-standards] (SCNd32): Likewise.
42473         [C99-based-standards] (SCNi32): Likewise.
42474         [C99-based-standards] (SCNo32): Likewise.
42475         [C99-based-standards] (SCNu32): Likewise.
42476         [C99-based-standards] (SCNx32): Likewise.
42477         [C99-based-standards] (PRIdLEAST32): Likewise.
42478         [C99-based-standards] (PRIiLEAST32): Likewise.
42479         [C99-based-standards] (PRIoLEAST32): Likewise.
42480         [C99-based-standards] (PRIuLEAST32): Likewise.
42481         [C99-based-standards] (PRIxLEAST32): Likewise.
42482         [C99-based-standards] (PRIXLEAST32): Likewise.
42483         [C99-based-standards] (SCNdLEAST32): Likewise.
42484         [C99-based-standards] (SCNiLEAST32): Likewise.
42485         [C99-based-standards] (SCNoLEAST32): Likewise.
42486         [C99-based-standards] (SCNuLEAST32): Likewise.
42487         [C99-based-standards] (SCNxLEAST32): Likewise.
42488         [C99-based-standards] (PRIdFAST32): Likewise.
42489         [C99-based-standards] (PRIiFAST32): Likewise.
42490         [C99-based-standards] (PRIoFAST32): Likewise.
42491         [C99-based-standards] (PRIuFAST32): Likewise.
42492         [C99-based-standards] (PRIxFAST32): Likewise.
42493         [C99-based-standards] (PRIXFAST32): Likewise.
42494         [C99-based-standards] (SCNdFAST32): Likewise.
42495         [C99-based-standards] (SCNiFAST32): Likewise.
42496         [C99-based-standards] (SCNoFAST32): Likewise.
42497         [C99-based-standards] (SCNuFAST32): Likewise.
42498         [C99-based-standards] (SCNxFAST32): Likewise.
42499         [C99-based-standards] (PRId64): Likewise.
42500         [C99-based-standards] (PRIi64): Likewise.
42501         [C99-based-standards] (PRIo64): Likewise.
42502         [C99-based-standards] (PRIu64): Likewise.
42503         [C99-based-standards] (PRIx64): Likewise.
42504         [C99-based-standards] (PRIX64): Likewise.
42505         [C99-based-standards] (SCNd64): Likewise.
42506         [C99-based-standards] (SCNi64): Likewise.
42507         [C99-based-standards] (SCNo64): Likewise.
42508         [C99-based-standards] (SCNu64): Likewise.
42509         [C99-based-standards] (SCNx64): Likewise.
42510         [C99-based-standards] (PRIdLEAST64): Likewise.
42511         [C99-based-standards] (PRIiLEAST64): Likewise.
42512         [C99-based-standards] (PRIoLEAST64): Likewise.
42513         [C99-based-standards] (PRIuLEAST64): Likewise.
42514         [C99-based-standards] (PRIxLEAST64): Likewise.
42515         [C99-based-standards] (PRIXLEAST64): Likewise.
42516         [C99-based-standards] (SCNdLEAST64): Likewise.
42517         [C99-based-standards] (SCNiLEAST64): Likewise.
42518         [C99-based-standards] (SCNoLEAST64): Likewise.
42519         [C99-based-standards] (SCNuLEAST64): Likewise.
42520         [C99-based-standards] (SCNxLEAST64): Likewise.
42521         [C99-based-standards] (PRIdFAST64): Likewise.
42522         [C99-based-standards] (PRIiFAST64): Likewise.
42523         [C99-based-standards] (PRIoFAST64): Likewise.
42524         [C99-based-standards] (PRIuFAST64): Likewise.
42525         [C99-based-standards] (PRIxFAST64): Likewise.
42526         [C99-based-standards] (PRIXFAST64): Likewise.
42527         [C99-based-standards] (SCNdFAST64): Likewise.
42528         [C99-based-standards] (SCNiFAST64): Likewise.
42529         [C99-based-standards] (SCNoFAST64): Likewise.
42530         [C99-based-standards] (SCNuFAST64): Likewise.
42531         [C99-based-standards] (SCNxFAST64): Likewise.
42532         [C99-based-standards] (PRIdMAX): Likewise.
42533         [C99-based-standards] (PRIiMAX): Likewise.
42534         [C99-based-standards] (PRIoMAX): Likewise.
42535         [C99-based-standards] (PRIuMAX): Likewise.
42536         [C99-based-standards] (PRIxMAX): Likewise.
42537         [C99-based-standards] (PRIXMAX): Likewise.
42538         [C99-based-standards] (SCNdMAX): Likewise.
42539         [C99-based-standards] (SCNiMAX): Likewise.
42540         [C99-based-standards] (SCNoMAX): Likewise.
42541         [C99-based-standards] (SCNuMAX): Likewise.
42542         [C99-based-standards] (SCNxMAX): Likewise.
42543         [C99-based-standards] (PRIdPTR): Likewise.
42544         [C99-based-standards] (PRIiPTR): Likewise.
42545         [C99-based-standards] (PRIoPTR): Likewise.
42546         [C99-based-standards] (PRIuPTR): Likewise.
42547         [C99-based-standards] (PRIxPTR): Likewise.
42548         [C99-based-standards] (PRIXPTR): Likewise.
42549         [C99-based-standards] (SCNdPTR): Likewise.
42550         [C99-based-standards] (SCNiPTR): Likewise.
42551         [C99-based-standards] (SCNoPTR): Likewise.
42552         [C99-based-standards] (SCNuPTR): Likewise.
42553         [C99-based-standards] (SCNxPTR): Likewise.
42554         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42555         allow.
42556         * conform/data/stdint.h-data: Update comments to clarify
42557         requirements.
42558         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42559         type.
42560         [C99-based standards] (INT8_MAX): Likewise.
42561         [C99-based standards] (INT16_MIN): Likewise.
42562         [C99-based standards] (INT16_MAX): Likewise.
42563         [C99-based standards] (INT32_MIN): Likewise.
42564         [C99-based standards] (INT32_MAX): Likewise.
42565         [C99-based standards] (INT64_MIN): Likewise.
42566         [C99-based standards] (INT64_MAX): Likewise.
42567         [C99-based standards] (UINT8_MAX): Likewise.
42568         [C99-based standards] (UINT16_MAX): Likewise.
42569         [C99-based standards] (UINT32_MAX): Likewise.
42570         [C99-based standards] (UINT64_MAX): Likewise.
42571         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42572         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42573         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42574         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42575         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42576         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42577         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42578         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42579         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42580         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42581         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42582         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42583         [C99-based standards] (INT_FAST8_MIN): Likewise.
42584         [C99-based standards] (INT_FAST8_MAX): Likewise.
42585         [C99-based standards] (INT_FAST16_MIN): Likewise.
42586         [C99-based standards] (INT_FAST16_MAX): Likewise.
42587         [C99-based standards] (INT_FAST32_MIN): Likewise.
42588         [C99-based standards] (INT_FAST32_MAX): Likewise.
42589         [C99-based standards] (INT_FAST64_MIN): Likewise.
42590         [C99-based standards] (INT_FAST64_MAX): Likewise.
42591         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42592         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42593         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42594         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42595         [C99-based standards] (INTPTR_MIN): Likewise.
42596         [C99-based standards] (INTPTR_MAX): Likewise.
42597         [C99-based standards] (UINTPTR_MAX): Likewise.
42598         [C99-based standards] (INTMAX_MIN): Likewise.
42599         [C99-based standards] (INTMAX_MAX): Likewise.
42600         [C99-based standards] (UINTMAX_MAX): Likewise.
42601         [C99-based standards] (PTRDIFF_MIN): Likewise.
42602         [C99-based standards] (PTRDIFF_MAX): Likewise.
42603         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42604         [C99-based standards] (SIZE_MAX): Likewise.
42605         [C99-based standards] (WCHAR_MAX): Likewise.
42606         [C99-based standards] (WINT_MAX): Likewise.
42607         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42608         constraint on value.
42609         [C99-based standards] (WCHAR_MIN): Likewise.
42610         [C99-based standards] (WINT_MIN): Likewise.
42611         [C99-based standards] (*_t): Allow.
42612         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42613         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42614         Include math.h-data and complex.h-data.  Remove all expectations
42615         of math.h and complex.h contents.
42616         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42617         at end of line.
42618         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42619         (struct tm): Expect tag.
42620         [C99-based-standards] (wcstof): Expect function.
42621         [C99-based-standards] (wcstold): Likewise.
42622         [C99-based-standards] (wcstoll): Likewise.
42623         [C99-based-standards] (wcstoull): Likewise.
42624         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42625         macro-int-constant.  Specify type.
42626         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42627         constraint on value.
42628         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42629         Specify type.
42630         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42631         Specify value.
42632         [ISO C standards]: Do not allow headers.
42633         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42634         wcs[abcdefghijklmnopqrstuvwxyz]*.
42635         [ISO C standards] (*_t): Do not allow.
42636         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42637         Expect function.
42638         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42639         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42640         Specify type.
42641         [ISO C standards]: Do not allow headers.
42642         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42643         is[abcdefghijklmnopqrstuvwxyz]*.
42644         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42645         to[abcdefghijklmnopqrstuvwxyz]*.
42646         [ISO C standards] (*_t): Do not allow.
42647         * conform/data/stdalign.h-data: New file.
42648         * conform/data/stdbool.h-data: Likewise.
42649         * conform/data/stdnoreturn.h-data: Likewise.
42651 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42653         [BZ #14815]
42654         * manual/filesys.texi (Directory Entries): Typo fix.
42655         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42657 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42659         * elf/elf.h (EM_AARCH64): New macro.
42660         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42661         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42662         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42663         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42664         (R_AARCH64_TLSDESC): Likewise.
42665         (NT_ARM_TLS): Likewise.
42666         (NT_ARM_HW_BREAK): Likewise.
42667         (NT_ARM_HW_WATCH): Likewise.
42669 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42671         [BZ #14811]
42672         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42673         (__ieee754_powl): Saturate nonzero exponents with absolute value
42674         below 0x1p-79 to +/- 0x1p-79.
42675         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42676         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42677         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42678         nonzero exponents with absolute value below 0x1p-32 to +/-
42679         0x1p-32.
42680         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42681         (__ieee754_powl): Saturate nonzero exponents with absolute value
42682         below 0x1p-79 to +/- 0x1p-79.
42683         * math/libm-test.inc (pow_test): Add more tests.
42685 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42687         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42688         _dl_s390_cap_flags with kernel. Increase string length.
42689         (_dl_s390_platforms): Add z196 and zEC12.
42691 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42693         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42694         Change XOPEN21K to XOPEN2K.
42696 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42698         * string/memmove.c: Use memcpy when possible.
42700 2012-11-06  Andreas Jaeger  <aj@suse.de>
42702         * po/eo.po: Update from translation team.
42704 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42706         [BZ #14793]
42707         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42708         exponent and small x and y exponents, scale x or y up.  Increase
42709         by 2 the exponent used in scaling up.
42710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42712         * math/libm-test.inc (fma_test): Add more tests.
42713         (fma_test_towardzero): Likewise.
42714         (fma_test_downward): Likewise.
42715         (fma_test_upward): Likewise.
42717 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42719         [BZ #14805]
42720         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42721         fenv_t *.
42723         [BZ #14801]
42724         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42725         namespace for names of struct fields.
42726         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42727         fenv_t fields.
42728         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42729         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42731 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42733         [BZ #3665]
42734         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42736 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42738         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42739         PTR_DEMANGLE.
42741         [BZ #5246]
42742         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42743         PTR_DEMANGLE.
42745 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42747         [BZ #14797]
42748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42749         definitely overflow as x * y not x * y + z.
42750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42751         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42752         * math/libm-test.inc (fma_test): Add more tests.
42753         (fma_test_towardzero): Likewise.
42754         (fma_test_downward): Likewise.
42755         (fma_test_upward): Likewise.
42757 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42759         [BZ #157]
42761         * include/stub-tag.h: Remove file.
42762         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42763         '#include' of it.
42764         * manual/maint.texi (Porting): Don't reference it.
42765         * Makerules ($(objpfx)stubs): Likewise.
42766         * dirent/closedir.c: Don't include <stub-tag.h>.
42767         * dirent/dirfd.c: Likewise.
42768         * dirent/fdopendir.c: Likewise.
42769         * dirent/getdents.c: Likewise.
42770         * dirent/getdents64.c: Likewise.
42771         * dirent/opendir.c: Likewise.
42772         * dirent/readdir.c: Likewise.
42773         * dirent/readdir64.c: Likewise.
42774         * dirent/readdir64_r.c: Likewise.
42775         * dirent/readdir_r.c: Likewise.
42776         * dirent/rewinddir.c: Likewise.
42777         * dirent/seekdir.c: Likewise.
42778         * dirent/telldir.c: Likewise.
42779         * gmon/profil.c: Likewise.
42780         * grp/setgroups.c: Likewise.
42781         * inet/if_index.c: Likewise.
42782         * io/access.c: Likewise.
42783         * io/chdir.c: Likewise.
42784         * io/chmod.c: Likewise.
42785         * io/chown.c: Likewise.
42786         * io/close.c: Likewise.
42787         * io/dup.c: Likewise.
42788         * io/dup2.c: Likewise.
42789         * io/dup3.c: Likewise.
42790         * io/euidaccess.c: Likewise.
42791         * io/faccessat.c: Likewise.
42792         * io/fchdir.c: Likewise.
42793         * io/fchmod.c: Likewise.
42794         * io/fchmodat.c: Likewise.
42795         * io/fchown.c: Likewise.
42796         * io/fchownat.c: Likewise.
42797         * io/fcntl.c: Likewise.
42798         * io/flock.c: Likewise.
42799         * io/fstatfs.c: Likewise.
42800         * io/fstatfs64.c: Likewise.
42801         * io/fstatvfs.c: Likewise.
42802         * io/fstatvfs64.c: Likewise.
42803         * io/futimens.c: Likewise.
42804         * io/fxstat.c: Likewise.
42805         * io/fxstat64.c: Likewise.
42806         * io/fxstatat.c: Likewise.
42807         * io/fxstatat64.c: Likewise.
42808         * io/getcwd.c: Likewise.
42809         * io/isatty.c: Likewise.
42810         * io/lchmod.c: Likewise.
42811         * io/lchown.c: Likewise.
42812         * io/link.c: Likewise.
42813         * io/linkat.c: Likewise.
42814         * io/lseek.c: Likewise.
42815         * io/lseek64.c: Likewise.
42816         * io/lxstat64.c: Likewise.
42817         * io/mkdir.c: Likewise.
42818         * io/mkdirat.c: Likewise.
42819         * io/mkfifo.c: Likewise.
42820         * io/mkfifoat.c: Likewise.
42821         * io/open.c: Likewise.
42822         * io/open64.c: Likewise.
42823         * io/openat.c: Likewise.
42824         * io/openat64.c: Likewise.
42825         * io/pipe.c: Likewise.
42826         * io/pipe2.c: Likewise.
42827         * io/poll.c: Likewise.
42828         * io/posix_fadvise.c: Likewise.
42829         * io/posix_fadvise64.c: Likewise.
42830         * io/posix_fallocate.c: Likewise.
42831         * io/posix_fallocate64.c: Likewise.
42832         * io/read.c: Likewise.
42833         * io/readlink.c: Likewise.
42834         * io/readlinkat.c: Likewise.
42835         * io/rmdir.c: Likewise.
42836         * io/sendfile.c: Likewise.
42837         * io/sendfile64.c: Likewise.
42838         * io/statfs.c: Likewise.
42839         * io/statfs64.c: Likewise.
42840         * io/statvfs.c: Likewise.
42841         * io/statvfs64.c: Likewise.
42842         * io/symlink.c: Likewise.
42843         * io/symlinkat.c: Likewise.
42844         * io/ttyname.c: Likewise.
42845         * io/ttyname_r.c: Likewise.
42846         * io/umask.c: Likewise.
42847         * io/unlink.c: Likewise.
42848         * io/unlinkat.c: Likewise.
42849         * io/utime.c: Likewise.
42850         * io/utimensat.c: Likewise.
42851         * io/write.c: Likewise.
42852         * io/xmknod.c: Likewise.
42853         * io/xmknodat.c: Likewise.
42854         * io/xstat.c: Likewise.
42855         * io/xstat64.c: Likewise.
42856         * login/getpt.c: Likewise.
42857         * login/grantpt.c: Likewise.
42858         * login/unlockpt.c: Likewise.
42859         * math/e_acoshl.c: Likewise.
42860         * math/e_acosl.c: Likewise.
42861         * math/e_asinl.c: Likewise.
42862         * math/e_atan2l.c: Likewise.
42863         * math/e_atanhl.c: Likewise.
42864         * math/e_coshl.c: Likewise.
42865         * math/e_expl.c: Likewise.
42866         * math/e_fmodl.c: Likewise.
42867         * math/e_gammal_r.c: Likewise.
42868         * math/e_hypotl.c: Likewise.
42869         * math/e_j0l.c: Likewise.
42870         * math/e_j1l.c: Likewise.
42871         * math/e_jnl.c: Likewise.
42872         * math/e_lgammal_r.c: Likewise.
42873         * math/e_log10l.c: Likewise.
42874         * math/e_log2l.c: Likewise.
42875         * math/e_logl.c: Likewise.
42876         * math/e_powl.c: Likewise.
42877         * math/e_rem_pio2l.c: Likewise.
42878         * math/e_sinhl.c: Likewise.
42879         * math/e_sqrtl.c: Likewise.
42880         * math/fclrexcpt.c: Likewise.
42881         * math/fedisblxcpt.c: Likewise.
42882         * math/feenablxcpt.c: Likewise.
42883         * math/fegetenv.c: Likewise.
42884         * math/fegetexcept.c: Likewise.
42885         * math/fegetround.c: Likewise.
42886         * math/feholdexcpt.c: Likewise.
42887         * math/fesetenv.c: Likewise.
42888         * math/fesetround.c: Likewise.
42889         * math/feupdateenv.c: Likewise.
42890         * math/fgetexcptflg.c: Likewise.
42891         * math/fraiseexcpt.c: Likewise.
42892         * math/fsetexcptflg.c: Likewise.
42893         * math/ftestexcept.c: Likewise.
42894         * math/k_cosl.c: Likewise.
42895         * math/k_rem_pio2l.c: Likewise.
42896         * math/k_sinl.c: Likewise.
42897         * math/k_tanl.c: Likewise.
42898         * math/s_asinhl.c: Likewise.
42899         * math/s_atanl.c: Likewise.
42900         * math/s_cbrtl.c: Likewise.
42901         * math/s_erfl.c: Likewise.
42902         * math/s_expm1l.c: Likewise.
42903         * math/s_log1pl.c: Likewise.
42904         * math/s_tanhl.c: Likewise.
42905         * misc/acct.c: Likewise.
42906         * misc/brk.c: Likewise.
42907         * misc/chflags.c: Likewise.
42908         * misc/chroot.c: Likewise.
42909         * misc/fchflags.c: Likewise.
42910         * misc/fgetxattr.c: Likewise.
42911         * misc/flistxattr.c: Likewise.
42912         * misc/fremovexattr.c: Likewise.
42913         * misc/fsetxattr.c: Likewise.
42914         * misc/fsync.c: Likewise.
42915         * misc/ftruncate.c: Likewise.
42916         * misc/futimes.c: Likewise.
42917         * misc/futimesat.c: Likewise.
42918         * misc/getdomain.c: Likewise.
42919         * misc/getdtsz.c: Likewise.
42920         * misc/gethostid.c: Likewise.
42921         * misc/gethostname.c: Likewise.
42922         * misc/getloadavg.c: Likewise.
42923         * misc/getpagesize.c: Likewise.
42924         * misc/getsysstats.c: Likewise.
42925         * misc/getxattr.c: Likewise.
42926         * misc/gtty.c: Likewise.
42927         * misc/ioctl.c: Likewise.
42928         * misc/lgetxattr.c: Likewise.
42929         * misc/listxattr.c: Likewise.
42930         * misc/llistxattr.c: Likewise.
42931         * misc/lremovexattr.c: Likewise.
42932         * misc/lsetxattr.c: Likewise.
42933         * misc/lutimes.c: Likewise.
42934         * misc/madvise.c: Likewise.
42935         * misc/mincore.c: Likewise.
42936         * misc/mlock.c: Likewise.
42937         * misc/mlockall.c: Likewise.
42938         * misc/mmap.c: Likewise.
42939         * misc/mprotect.c: Likewise.
42940         * misc/msync.c: Likewise.
42941         * misc/munlock.c: Likewise.
42942         * misc/munlockall.c: Likewise.
42943         * misc/munmap.c: Likewise.
42944         * misc/preadv.c: Likewise.
42945         * misc/preadv64.c: Likewise.
42946         * misc/ptrace.c: Likewise.
42947         * misc/pwritev.c: Likewise.
42948         * misc/pwritev64.c: Likewise.
42949         * misc/readv.c: Likewise.
42950         * misc/reboot.c: Likewise.
42951         * misc/remap_file_pages.c: Likewise.
42952         * misc/removexattr.c: Likewise.
42953         * misc/revoke.c: Likewise.
42954         * misc/select.c: Likewise.
42955         * misc/setdomain.c: Likewise.
42956         * misc/setegid.c: Likewise.
42957         * misc/seteuid.c: Likewise.
42958         * misc/sethostid.c: Likewise.
42959         * misc/sethostname.c: Likewise.
42960         * misc/setregid.c: Likewise.
42961         * misc/setreuid.c: Likewise.
42962         * misc/setxattr.c: Likewise.
42963         * misc/sstk.c: Likewise.
42964         * misc/stty.c: Likewise.
42965         * misc/swapoff.c: Likewise.
42966         * misc/swapon.c: Likewise.
42967         * misc/sync.c: Likewise.
42968         * misc/syncfs.c: Likewise.
42969         * misc/syscall.c: Likewise.
42970         * misc/truncate.c: Likewise.
42971         * misc/ualarm.c: Likewise.
42972         * misc/usleep.c: Likewise.
42973         * misc/ustat.c: Likewise.
42974         * misc/utimes.c: Likewise.
42975         * misc/vhangup.c: Likewise.
42976         * misc/writev.c: Likewise.
42977         * posix/_exit.c: Likewise.
42978         * posix/alarm.c: Likewise.
42979         * posix/execve.c: Likewise.
42980         * posix/fexecve.c: Likewise.
42981         * posix/fork.c: Likewise.
42982         * posix/fpathconf.c: Likewise.
42983         * posix/getaddrinfo.c: Likewise.
42984         * posix/getegid.c: Likewise.
42985         * posix/geteuid.c: Likewise.
42986         * posix/getgid.c: Likewise.
42987         * posix/getgroups.c: Likewise.
42988         * posix/getlogin.c: Likewise.
42989         * posix/getlogin_r.c: Likewise.
42990         * posix/getpgid.c: Likewise.
42991         * posix/getpid.c: Likewise.
42992         * posix/getppid.c: Likewise.
42993         * posix/getresgid.c: Likewise.
42994         * posix/getresuid.c: Likewise.
42995         * posix/getsid.c: Likewise.
42996         * posix/getuid.c: Likewise.
42997         * posix/glob64.c: Likewise.
42998         * posix/nanosleep.c: Likewise.
42999         * posix/pathconf.c: Likewise.
43000         * posix/pause.c: Likewise.
43001         * posix/posix_madvise.c: Likewise.
43002         * posix/pread.c: Likewise.
43003         * posix/pread64.c: Likewise.
43004         * posix/pwrite.c: Likewise.
43005         * posix/pwrite64.c: Likewise.
43006         * posix/sched_getaffinity.c: Likewise.
43007         * posix/sched_getp.c: Likewise.
43008         * posix/sched_gets.c: Likewise.
43009         * posix/sched_primax.c: Likewise.
43010         * posix/sched_primin.c: Likewise.
43011         * posix/sched_rr_gi.c: Likewise.
43012         * posix/sched_setaffinity.c: Likewise.
43013         * posix/sched_setp.c: Likewise.
43014         * posix/sched_sets.c: Likewise.
43015         * posix/sched_yield.c: Likewise.
43016         * posix/setgid.c: Likewise.
43017         * posix/setlogin.c: Likewise.
43018         * posix/setpgid.c: Likewise.
43019         * posix/setresgid.c: Likewise.
43020         * posix/setresuid.c: Likewise.
43021         * posix/setsid.c: Likewise.
43022         * posix/setuid.c: Likewise.
43023         * posix/sleep.c: Likewise.
43024         * posix/spawni.c: Likewise.
43025         * posix/sysconf.c: Likewise.
43026         * posix/times.c: Likewise.
43027         * posix/wait.c: Likewise.
43028         * posix/wait3.c: Likewise.
43029         * posix/wait4.c: Likewise.
43030         * posix/waitpid.c: Likewise.
43031         * resolv/gai_sigqueue.c: Likewise.
43032         * resource/getpriority.c: Likewise.
43033         * resource/getrlimit.c: Likewise.
43034         * resource/getrusage.c: Likewise.
43035         * resource/nice.c: Likewise.
43036         * resource/setpriority.c: Likewise.
43037         * resource/setrlimit.c: Likewise.
43038         * resource/ulimit.c: Likewise.
43039         * rt/aio_cancel.c: Likewise.
43040         * rt/aio_fsync.c: Likewise.
43041         * rt/aio_read.c: Likewise.
43042         * rt/aio_sigqueue.c: Likewise.
43043         * rt/aio_suspend.c: Likewise.
43044         * rt/aio_write.c: Likewise.
43045         * rt/clock_getres.c: Likewise.
43046         * rt/clock_gettime.c: Likewise.
43047         * rt/clock_nanosleep.c: Likewise.
43048         * rt/clock_settime.c: Likewise.
43049         * rt/lio_listio.c: Likewise.
43050         * rt/mq_close.c: Likewise.
43051         * rt/mq_getattr.c: Likewise.
43052         * rt/mq_notify.c: Likewise.
43053         * rt/mq_open.c: Likewise.
43054         * rt/mq_receive.c: Likewise.
43055         * rt/mq_send.c: Likewise.
43056         * rt/mq_setattr.c: Likewise.
43057         * rt/mq_timedreceive.c: Likewise.
43058         * rt/mq_timedsend.c: Likewise.
43059         * rt/mq_unlink.c: Likewise.
43060         * rt/shm_open.c: Likewise.
43061         * rt/shm_unlink.c: Likewise.
43062         * rt/timer_create.c: Likewise.
43063         * rt/timer_delete.c: Likewise.
43064         * rt/timer_getoverr.c: Likewise.
43065         * rt/timer_gettime.c: Likewise.
43066         * rt/timer_settime.c: Likewise.
43067         * setjmp/__longjmp.c: Likewise.
43068         * setjmp/setjmp.c: Likewise.
43069         * signal/kill.c: Likewise.
43070         * signal/killpg.c: Likewise.
43071         * signal/raise.c: Likewise.
43072         * signal/sigaction.c: Likewise.
43073         * signal/sigaltstack.c: Likewise.
43074         * signal/sigblock.c: Likewise.
43075         * signal/sigignore.c: Likewise.
43076         * signal/sigintr.c: Likewise.
43077         * signal/signal.c: Likewise.
43078         * signal/sigpause.c: Likewise.
43079         * signal/sigpending.c: Likewise.
43080         * signal/sigqueue.c: Likewise.
43081         * signal/sigreturn.c: Likewise.
43082         * signal/sigset.c: Likewise.
43083         * signal/sigsetmask.c: Likewise.
43084         * signal/sigstack.c: Likewise.
43085         * signal/sigsuspend.c: Likewise.
43086         * signal/sigtimedwait.c: Likewise.
43087         * signal/sigvec.c: Likewise.
43088         * signal/sigwait.c: Likewise.
43089         * signal/sigwaitinfo.c: Likewise.
43090         * signal/sysv_signal.c: Likewise.
43091         * socket/accept.c: Likewise.
43092         * socket/accept4.c: Likewise.
43093         * socket/bind.c: Likewise.
43094         * socket/connect.c: Likewise.
43095         * socket/getpeername.c: Likewise.
43096         * socket/getsockname.c: Likewise.
43097         * socket/getsockopt.c: Likewise.
43098         * socket/isfdtype.c: Likewise.
43099         * socket/listen.c: Likewise.
43100         * socket/recv.c: Likewise.
43101         * socket/recvfrom.c: Likewise.
43102         * socket/recvmsg.c: Likewise.
43103         * socket/send.c: Likewise.
43104         * socket/sendmsg.c: Likewise.
43105         * socket/sendto.c: Likewise.
43106         * socket/setsockopt.c: Likewise.
43107         * socket/shutdown.c: Likewise.
43108         * socket/sockatmark.c: Likewise.
43109         * socket/socket.c: Likewise.
43110         * socket/socketpair.c: Likewise.
43111         * stdio-common/ctermid.c: Likewise.
43112         * stdio-common/cuserid.c: Likewise.
43113         * stdio-common/remove.c: Likewise.
43114         * stdio-common/rename.c: Likewise.
43115         * stdio-common/renameat.c: Likewise.
43116         * stdio-common/tempname.c: Likewise.
43117         * stdlib/getcontext.c: Likewise.
43118         * stdlib/makecontext.c: Likewise.
43119         * stdlib/setcontext.c: Likewise.
43120         * stdlib/swapcontext.c: Likewise.
43121         * stdlib/system.c: Likewise.
43122         * streams/fattach.c: Likewise.
43123         * streams/fdetach.c: Likewise.
43124         * streams/getmsg.c: Likewise.
43125         * streams/getpmsg.c: Likewise.
43126         * streams/putmsg.c: Likewise.
43127         * streams/putpmsg.c: Likewise.
43128         * sysdeps/unix/bsd/getpt.c: Likewise.
43129         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43130         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43131         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43133         Likewise.
43134         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43135         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43136         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43137         * sysvipc/msgctl.c: Likewise.
43138         * sysvipc/msgget.c: Likewise.
43139         * sysvipc/msgrcv.c: Likewise.
43140         * sysvipc/msgsnd.c: Likewise.
43141         * sysvipc/semctl.c: Likewise.
43142         * sysvipc/semget.c: Likewise.
43143         * sysvipc/semop.c: Likewise.
43144         * sysvipc/semtimedop.c: Likewise.
43145         * sysvipc/shmat.c: Likewise.
43146         * sysvipc/shmctl.c: Likewise.
43147         * sysvipc/shmdt.c: Likewise.
43148         * sysvipc/shmget.c: Likewise.
43149         * termios/tcdrain.c: Likewise.
43150         * termios/tcflow.c: Likewise.
43151         * termios/tcflush.c: Likewise.
43152         * termios/tcgetattr.c: Likewise.
43153         * termios/tcgetpgrp.c: Likewise.
43154         * termios/tcsendbrk.c: Likewise.
43155         * termios/tcsetattr.c: Likewise.
43156         * termios/tcsetpgrp.c: Likewise.
43157         * time/adjtime.c: Likewise.
43158         * time/clock.c: Likewise.
43159         * time/getitimer.c: Likewise.
43160         * time/gettimeofday.c: Likewise.
43161         * time/setitimer.c: Likewise.
43162         * time/settimeofday.c: Likewise.
43163         * time/stime.c: Likewise.
43164         * time/time.c: Likewise.
43166 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43168         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43169         /usr/old/bin.
43171         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43172         instead of spaces.
43173         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43175 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43177         [BZ #14796]
43178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43179         FE_TONEAREST before applying Dekker multiplication and Knuth
43180         addition.  Clear inexact exceptions and check for exact zero
43181         results afterwards.
43182         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43183         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43184         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43185         * math/libm-test.inc (fma_test): Add more tests.
43186         (fma_test_towardzero): Likewise.
43187         (fma_test_downward): Likewise.
43188         (fma_test_upward): Likewise.
43189         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43190         function.
43191         (libc_fesetround): New macro.
43192         (libc_fesetroundf): Likewise.
43193         (libc_fesetroundl): Likewise.
43194         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43195         function.
43196         (libc_fesetround_387): Likewise.
43197         (libc_fesetroundf): New macro.
43198         (libc_fesetround): Likewise.
43199         (libc_fesetroundl): Likewise.
43200         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43201         function.
43202         (libc_fesetroundf): New macro.
43203         (libc_fesetround): Likewise.
43204         (libc_fesetroundl): Likewise.
43205         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43206         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43207         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43208         libm_hidden_ver.
43209         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43210         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43211         libm_hidden_def.
43212         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43213         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43214         libm_hidden_ver.
43215         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43216         libm_hidden_def.
43218         [BZ #3439]
43219         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43220         integer constant usable in #if and use that to give value to enum
43221         constant.
43222         (FE_DIVBYZERO): Likewise.
43223         (FE_UNDERFLOW): Likewise.
43224         (FE_OVERFLOW): Likewise.
43225         (FE_INVALID): Likewise.
43226         (FE_INVALID_SNAN): Likewise.
43227         (FE_INVALID_ISI): Likewise.
43228         (FE_INVALID_IDI): Likewise.
43229         (FE_INVALID_ZDZ): Likewise.
43230         (FE_INVALID_IMZ): Likewise.
43231         (FE_INVALID_COMPARE): Likewise.
43232         (FE_INVALID_SOFTWARE): Likewise.
43233         (FE_INVALID_SQRT): Likewise.
43234         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43235         (FE_TONEAREST): Likewise.
43236         (FE_TOWARDZERO): Likewise.
43237         (FE_UPWARD): Likewise.
43238         (FE_DOWNWARD): Likewise.
43239         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43240         (FE_DIVBYZERO): Likewise.
43241         (FE_OVERFLOW): Likewise.
43242         (FE_UNDERFLOW): Likewise.
43243         (FE_INEXACT): Likewise.
43244         (FE_TONEAREST): Likewise.
43245         (FE_DOWNWARD): Likewise.
43246         (FE_UPWARD): Likewise.
43247         (FE_TOWARDZERO): Likewise.
43248         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43249         (FE_UNDERFLOW): Likewise.
43250         (FE_OVERFLOW): Likewise.
43251         (FE_DIVBYZERO): Likewise.
43252         (FE_INVALID): Likewise.
43253         (FE_TONEAREST): Likewise.
43254         (FE_TOWARDZERO): Likewise.
43255         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43256         (FE_OVERFLOW): Likewise.
43257         (FE_UNDERFLOW): Likewise.
43258         (FE_DIVBYZERO): Likewise.
43259         (FE_INEXACT): Likewise.
43260         (FE_TONEAREST): Likewise.
43261         (FE_TOWARDZERO): Likewise.
43262         (FE_UPWARD): Likewise.
43263         (FE_DOWNWARD): Likewise.
43264         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43265         (FE_DIVBYZERO): Likewise.
43266         (FE_OVERFLOW): Likewise.
43267         (FE_UNDERFLOW): Likewise.
43268         (FE_INEXACT): Likewise.
43269         (FE_TONEAREST): Likewise.
43270         (FE_DOWNWARD): Likewise.
43271         (FE_UPWARD): Likewise.
43272         (FE_TOWARDZERO): Likewise.
43274 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43276         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43278 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43280         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43281         commands.  Quote $PWD.
43282         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43283         -x" by "export".
43284         (remove_newlines): Remove.
43286 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43288         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43289         * stdlib/stdlib.h (atof): Moved to ...
43290         * include/bits/stdlib-float.h: Here.  New file.
43291         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43292         * stdlib/bits/stdlib-float.h: New file.
43293         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43294         -mno-sse -mno-mmx.
43295         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43296         <xmmintrin.h>.
43298 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43300         * conform/conformtest.pl (@headers): Add fenv.h.
43301         * conform/data/fenv.h-data: New file.
43302         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43303         include of <math/fenv.h>.
43305         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43306         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43307         && !UNIX98].  Enables tests for XOPEN2K8.
43308         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43309         POSIX2008]: Likewise.
43311         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43312         (struct rusage): Do not expect type or its members.
43314         [BZ #3439]
43315         * math/math.h (FP_NAN): Define macro to integer constant usable in
43316         #if and use that to give value to enum constant.
43317         (FP_INFINITE): Likewise.
43318         (FP_ZERO): Likewise.
43319         (FP_SUBNORMAL): Likewise.
43320         (FP_NORMAL): Likewise.
43322 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43324         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43325         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43326         arguments.
43328 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43330         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43331         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43332         autoconf-time if not.
43333         * configure.in: Remove AC_PREREQ.
43335 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43337         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43338         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43339         of the internal implementation.
43341 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43343         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43344         except include of <misc/sys/syslog.h>.
43346 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43349         function returns with a NULL context exit with zero.
43351 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43353         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43355 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43357         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43358         (run_program_cmd): This.
43359         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43360         (tst_langinfo): New variable.  Use it.
43362 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43364         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43365         floating point opcodes.
43367 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43369         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43370         variable.
43372         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43374         * sysdeps/mach/hurd/powerpc: Remove directory.
43375         * sysdeps/mach/powerpc: Likewise.
43377 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43379         * scripts/check-local-headers.sh: Ignore c++ headers.
43381 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43383         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43384         __libc_cleanup_region_start argument.
43386 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43388         [BZ #14784]
43389         [BZ #14785]
43390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43391         x * y using scaling, not as x * y + z.
43392         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43394         * math/libm-test.inc (fma_test): Add more tests.
43395         (fma_test_towardzero): Likewise.
43396         (fma_test_downward): Likewise.
43397         (fma_test_upward): Likewise.
43399 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43401         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43403 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43405         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43406         New variable.
43408 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43410         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43412 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43415         Fix sort order.
43416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43417         Likewise.
43419 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43422         Fix the order of the list for glibc 2.17.
43423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43424         Likewise.
43426 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43430 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43432         [BZ #14610]
43433         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43434         for low part of x being zero before using __atanl (y).
43435         * math/libm-test.inc (atan2_test): Add another test.
43437         * manual/install.texi (Configuring and compiling): Document
43438         general use of test-wrapper and test-wrapper-env.
43439         * INSTALL: Regenerated.
43441         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43442         (__fma): Do not extract and scale down low bits on after-rounding
43443         systems when result rounded to normal precision would have normal
43444         exponent.
43445         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43446         (__fmal): Do not extract and scale down low bits on after-rounding
43447         systems when result rounded to normal precision would have normal
43448         exponent.
43449         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43450         (__fmal): Do not extract and scale down low bits on after-rounding
43451         systems when result rounded to normal precision would have normal
43452         exponent.
43453         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43454         macro.
43455         (fma_test): Add more tests.
43456         (fma_test_towardzero): Likewise.
43457         (fma_test_downward): Likewise.
43458         (fma_test_upward): Likewise.
43460 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43462         * sysdeps/i386/tininess.h: Renamed to ...
43463         * sysdeps/x86/tininess.h: This.
43464         * sysdeps/x86_64/tininess.h: Removed.
43466 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43468         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43469         input.  Use $(build-program-cmd).
43470         ($(objpfx)tst-array1-static.out): Likewise.
43471         ($(objpfx)tst-array2.out): Likewise.
43472         ($(objpfx)tst-array3.out): Likewise.
43473         ($(objpfx)tst-array4.out): Likewise.
43474         ($(objpfx)tst-array5.out): Likewise.
43475         ($(objpfx)tst-array5-static.out): Likewise.
43477 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43479         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43480         if defined.
43482         * nss/nsswitch.h (nss_interface_function): Provide new
43483         macro for use with NSS functions.
43484         * grp/initgroups.c: Use new macro.
43485         * nss/getXXbyYY.c: Likewise.
43486         * nss/getXXbyYY_r.c: Likewise.
43487         * nss/getXXent.c: Likewise.
43488         * nss/getXXent_r.c: Likewise.
43489         * sysdeps/posix/getaddrinfo.c: Likewise.
43491 2012-10-30  Andreas Jaeger  <aj@suse.de>
43493         * po/ru.po: Update Russion translation from translation project.
43495 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43497         [BZ #14152]
43498         [BZ #14783]
43499         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43500         result and shift together with sticky bit instead of replicating
43501         round-to-nearest rounding.
43502         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43503         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43504         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43505         missing underflow exceptions.
43506         (fma_test_towardzero): Add more tests.
43507         (fma_test_downward): Likewise.
43508         (fma_test_upward): Likewise.
43510         [BZ #14047]
43511         * sysdeps/generic/tininess.h: New file.
43512         * sysdeps/i386/tininess.h: Likewise.
43513         * sysdeps/sh/tininess.h: Likewise.
43514         * sysdeps/x86_64/tininess.h: Likewise.
43515         * stdlib/tst-strtod-underflow.c: Likewise.
43516         * stdlib/tst-tininess.c: Likewise.
43517         * stdlib/strtod_l.c: Include <tininess.h>.
43518         (round_and_return): Do not set errno for exact underflow cases.
43519         Force an underflow exception when setting errno for underflow.
43520         Determine underflow based on rounding to normal precision if
43521         TININESS_AFTER_ROUNDING.
43522         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43523         ERANGE for exact underflow cases.
43524         * stdlib/Makefile (tests): Add tst-tininess and
43525         tst-strtod-underflow.
43526         ($(objpfx)tst-tininess): Use $(link-libm).
43527         ($(objpfx)tst-strtod-underflow): Likewise.
43529 2012-10-30  Andreas Jaeger  <aj@suse.de>
43531         [BZ#14767]
43532         * elf/Makefile (tests): Remove conditional for have-initfini-array
43533         since this is now always required and the variable does not exist
43534         anymore.
43535         (tests-static): Likewise.
43536         (modules-names): Likewise.
43538         * po/eo.po: Add Esperanto translation from translation project.
43540         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43541         merged with constructor/destructor.
43542         (init_array): Likewise.
43543         * elf/tst-array2dep.c (fini_array): Likewise.
43544         (init_array): Likewise.
43546 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43548         * manual/message.texi: Delete @cartouche tags.
43550 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43552         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43553         EOPNOTSUPP.
43554         * sysdeps/mach/hurd/fsync.c: Likewise.
43556         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43557         [_POSIX_REALTIME_SIGNALS]: Change condition to
43558         [_POSIX_REALTIME_SIGNALS > 0].
43560 2012-10-27  Andreas Jaeger  <aj@suse.de>
43562         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43563         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43564         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43565         [__WORDSIZE != 64]: Likewise.
43567 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43569         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43570         *  iconvdata/tst-tables.sh: Likewise.
43572 2012-10-25  David S. Miller  <davem@davemloft.net>
43574         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43575         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43576         of strtoull.
43578         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43579         ifunc-impl-list.c
43580         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43581         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43582         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43583         file.
43585 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43587         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43588         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43589         __getdirentries.
43591 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43592             Jim Blandy  <jimb@codesourcery.com>
43594         * scripts/cross-test-ssh.sh: New file.
43595         * manual/install.texi (Configuring and compiling): Document use of
43596         cross-test-ssh.sh.
43597         * INSTALL: Regenerated.
43599 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43601         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43602         EOPNOTSUPP.
43604 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43606         * Makeconfig (run-program-prefix): Fix comment.
43608 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43609             Jim Blandy  <jimb@codesourcery.com>
43611         * Makeconfig (test-wrapper): New variable,
43612         (test-wrapper-env): Likewise.
43613         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43614         (run-built-tests): Define to yes.
43615         (run-program-prefix): Use $(test-wrapper).
43616         (built-program-cmd): Likewise.
43617         * Rules (make-test-out): Use $(test-wrapper-env) and
43618         $(host-built-program-cmd).
43619         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43620         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43621         tst-pathopt.sh.
43622         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43623         $(test-wrapper-env) to tst-rtld-load-self.sh.
43624         ($(objpfx)order2.out): Use $(test-wrapper).
43625         ($(objpfx)tst-initorder.out): Likewise.
43626         ($(objpfx)tst-initorder2.out): Likewise.
43627         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43628         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43629         (test_wrapper_env): New variable.  Use it to run ld.so.
43630         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43631         Use it to run ld.so.
43632         (test_wrapper_env): Likewise.
43633         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43634         $(test-wrapper) to run-iconv-test.sh.
43635         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43636         (ICONV): Use $test_wrapper.
43637         * posix/Makefile ($(objpfx)globtest.out): Pass
43638         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43639         globtest.sh, not $(run-program-prefix).
43640         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43641         (test_wrapper): Likewise.
43642         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43643         set together with run_via_rtld_prefix.
43644         (run_program_prefix): Define in terms of test_wrapper and
43645         run_via_rtld_prefix.
43647 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43649         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43650         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43651         Targets removed.
43653         [BZ #14743]
43654         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43655         Declare __clock_getres, __clock_gettime, __clock_settime,
43656         __clock_nanosleep, and __clock_getcpuclockid.
43657         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43658         Remove librt_hidden_def (clock_gettime).
43659         * sysdeps/unix/clock_gettime.c: Likewise.
43660         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43661         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43662         * rt/clock_getres.c: Define __clock_getres as an alias.
43663         * sysdeps/posix/clock_getres.c: Likewise.
43664         * rt/clock_settime.c: Define __clock_settime as an alias.
43665         * sysdeps/unix/clock_settime.c: Likewise.
43666         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43667         * sysdeps/unix/clock_nanosleep.c: Likewise.
43668         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43669         * rt/clock-compat.c: New file.
43670         * rt/Makefile (librt-routines): Add clock-compat and move
43671         $(clock-routines) to ...
43672         (routines): ... here, new variable.
43673         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43674         Don't add get_clockfreq here.
43675         * rt/Versions (libc: GLIBC_2.17): New version set.
43676         Add clock_* symbols here.
43677         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43678         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43679         (GLIBC_2.17): Add clock_* symbols.
43680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43682         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43684         Likewise.
43685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43686         Likewise.
43687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43691         * NEWS: Mention the move.
43693         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43694         Use __open, __read, __close rather than their public counterparts.
43695         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43696         (__get_clockfreq_via_cpuinfo): Likewise.
43697         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43698         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43700         * config.h.in (HAVE_IFUNC): New #undef.
43701         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43702         was successful.
43703         * configure: Regenerated.
43705 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43707         * configure.in: Move READELF check to start of file.
43708         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43709         libc_cv_asm_gnu_indirect_function in the process.
43710         * configure: Regenerated.
43712 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43714         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43715         send the output to /dev/null.
43716         (libc_cv_cc_with_libunwind): Likewise.
43717         (libc_cv_as_noexecstack): Likewise.
43718         * configure: Regenerate.
43720 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43722         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43724         * posix/globtest.sh (TMPDIR): Do not set.
43725         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43726         (testout): Likewise.
43728 2012-10-24  Andreas Jaeger  <aj@suse.de>
43730         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43731         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43732         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43733         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43734         posix_fadvise64, posix_fallocate64.
43736         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43737         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43738         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43739         Likewise.
43740         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43741         Likewise.
43742         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43745         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43746         <bits/fcntl-linux.h>.
43747         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43749         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43750         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43751         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43752         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43753         [__WORDSIZE != 64]: Likewise.
43755 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43757         * Makeconfig (run-built-tests): New variable.
43758         * Rules [$(cross-compiling) = yes]: Change condition to
43759         [$(run-built-tests) = no].
43760         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43761         to [$(run-built-tests) = yes].
43762         * elf/Makefile [$(cross-compiling) = no]: Likewise
43763         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43764         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43765         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43766         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43767         * io/Makefile [$(cross-compiling) = no]: Likewise.
43768         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43769         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43770         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43771         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43772         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43773         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43774         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43775         * string/Makefile [$(cross-compiling) = no]: Likewise.
43777         * posix/Makefile ($(objpfx)globtest.out): Pass
43778         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43779         $(rtld-installed-name).
43780         * posix/globtest.sh (elf_objpfx): Remove variable.
43781         (rtld_installed_name): Likewise.
43782         (library_path): Likewise.
43783         (run_program_prefix): New variable.  Use for running globtest
43784         binary.
43786 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43787             Joseph Myers  <joseph@codesourcery.com>
43789         * Makeconfig (host-built-program-cmd): New variable.
43790         * elf/Makefile (tst-stackguard1-ARGS): Use
43791         $(host-built-program-cmd).
43792         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43793         (tst-spawn-ARGS): Likewise.
43794         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43796 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43797             Jim Blandy  <jimb@codesourcery.com>
43799         * Makeconfig (run-via-rtld-prefix): New variable.
43800         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43801         (built-program-cmd): Likewise.
43803 2012-10-22  Andreas Jaeger  <aj@suse.de>
43805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43806         __O_RSYNC if it exists, otherwise to O_SYNC.
43808 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43809             Joseph Myers  <joseph@codesourcery.com>
43811         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43812         /dev/null.
43813         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43814         from /dev/null
43815         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43816         /dev/null.
43818 2012-10-22  Andreas Jaeger  <aj@suse.de>
43820         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43821         Define always.
43822         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43825         bits/fcntl-linux.h.
43827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43828         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43830         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43831         to __O_LARGEFILE.
43832         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43833         to __O_LARGEFILE.
43835 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43836             Joseph Myers  <joseph@codesourcery.com>
43838         * config.make.in (NM): New variable.
43840 2012-10-21  Andreas Jaeger  <aj@suse.de>
43842         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43843         definitions and declarations that are provided by
43844         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43846 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43848         [BZ #14683]
43849         * elf/Makefile (tests-static): Add tst-leaks1-static.
43850         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43851         ($(objpfx)tst-leaks1-static): New rule.
43852         ($(objpfx)tst-leaks1-static-mem): Likewise.
43853         (tst-leaks1-static-ENV): New macro.
43854         * elf/dl-open.c (dl_open_worker): Check the main application
43855         only if SHARED is defined.
43856         * elf/tst-leaks1-static.c: New file.
43858 2012-10-20  Andreas Jaeger  <aj@suse.de>
43860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43861         generic values for Linux.
43862         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43863         and declarations that are provided by <bits/fcntl-linux.h> and
43864         include <bits/fcntl-linux.h>.
43865         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43866         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43868 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43870         * io/fcntl.h: Move include of <bits/types.h> to the top and
43871         include it unconditionally.
43873 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43875         * wcsmbs/Makefile (tests-ifunc): New variable.
43876         (tests): Add $(tests-ifunc).
43877         * wcsmbs/test-wcschr-ifunc.c: New file.
43878         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43879         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43880         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43881         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43882         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43884         * string/Makefile (tests-ifunc): New variable.
43885         (tests): Add $(tests-ifunc).
43886         * string/test-memccpy.c (TEST_NAME): New macro.
43887         * string/test-memchr.c (TEST_NAME): Likewise.
43888         * string/test-memcmp.c (TEST_NAME): Likewise.
43889         * string/test-memcpy.c (TEST_NAME): Likewise.
43890         * string/test-memmem.c (TEST_NAME): Likewise.
43891         * string/test-memmove.c (TEST_NAME): Likewise.
43892         * string/test-memset.c (TEST_NAME): Likewise.
43893         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43894         * string/test-stpcpy.c (TEST_NAME): Likewise.
43895         * string/test-stpncpy.c (TEST_NAME): Likewise.
43896         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43897         * string/test-strcasestr.c (TEST_NAME): Likewise.
43898         * string/test-strcat.c (TEST_NAME): Likewise.
43899         * string/test-strchr.c (TEST_NAME): Likewise.
43900         * string/test-strcmp.c(TEST_NAME): Likewise.
43901         * string/test-strcpy.c (TEST_NAME): Likewise.
43902         * string/test-strcspn.c (TEST_NAME): Likewise.
43903         * string/test-strlen.c (TEST_NAME): Likewise.
43904         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43905         * string/test-strncmp.c (TEST_NAME): Likewise.
43906         * string/test-strncpy.c (TEST_NAME): Likewise.
43907         * string/test-strnlen.c (TEST_NAME): Likewise.
43908         * string/test-strpbrk.c (TEST_NAME): Likewise.
43909         * string/test-strrchr.c (TEST_NAME): Likewise.
43910         * string/test-strspn.c (TEST_NAME): Likewise.
43911         * string/test-strstr.c (TEST_NAME): Likewise.
43912         * string/test-bcopy-ifunc.c: New file.
43913         * string/test-bzero-ifunc.c: Likewise.
43914         * string/test-memccpy-ifunc.c: Likewise.
43915         * string/test-memchr-ifunc.c: Likewise.
43916         * string/test-memcmp-ifunc.c: Likewise.
43917         * string/test-memcpy-ifunc.c: Likewise.
43918         * string/test-memmem-ifunc.c: Likewise.
43919         * string/test-memmove-ifunc.c: Likewise.
43920         * string/test-mempcpy-ifunc.c: Likewise.
43921         * string/test-memset-ifunc.c: Likewise.
43922         * string/test-rawmemchr-ifunc.c: Likewise.
43923         * string/test-stpcpy-ifunc.c: Likewise.
43924         * string/test-stpncpy-ifunc.c: Likewise.
43925         * string/test-strcasecmp-ifunc.c: Likewise.
43926         * string/test-strcasestr-ifunc.c: Likewise.
43927         * string/test-strcat-ifunc.c: Likewise.
43928         * string/test-strchr-ifunc.c: Likewise.
43929         * string/test-strchrnul-ifunc.c: Likewise.
43930         * string/test-strcmp-ifunc.c: Likewise.
43931         * string/test-strcpy-ifunc.c: Likewise.
43932         * string/test-strcspn-ifunc.c: Likewise.
43933         * string/test-strlen-ifunc.c: Likewise.
43934         * string/test-strncasecmp-ifunc.c: Likewise.
43935         * string/test-strncat-ifunc.c: Likewise.
43936         * string/test-strncmp-ifunc.c: Likewise.
43937         * string/test-strncpy-ifunc.c: Likewise.
43938         * string/test-strnlen-ifunc.c: Likewise.
43939         * string/test-strpbrk-ifunc.c: Likewise.
43940         * string/test-strrchr-ifunc.c: Likewise.
43941         * string/test-strspn-ifunc.c: Likewise.
43942         * string/test-strstr-ifunc.c: Likewise.
43944         * debug/Makefile (tests-ifunc): New variable.
43945         (tests): Add $(tests-ifunc).
43946         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43947         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43948         * debug/test-stpcpy_chk-ifunc.c: New file.
43949         * debug/test-strcpy_chk-ifunc.c: Likewise.
43951 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43953         [BZ #13601]
43954         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43955         header is not read in.
43957 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43959         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43960         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43961         directly.  Pass built executable to script as
43962         $(built-program-cmd).
43963         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43964         $testprogram without using LD_LIBRARY_PATH and $ldso.
43966         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43967         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43968         $(rtld-installed-name).
43969         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43970         (rtld_installed_name): Likewise.
43971         (library_path): Likewise.
43972         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43973         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43974         $(run-program-prefix) to tst-tables.sh.
43975         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43976         it to run tst-table-from and tst-table-to.
43977         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43978         Pass it to tst-table.sh.
43979         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43980         $(run-program-prefix) to tst-gettext.sh.
43981         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43982         tst-translit.sh.
43983         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43984         tst-gettext2.sh.
43985         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43986         to run tst-gettext.
43987         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43988         to run tst-gettext2.
43989         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43990         to run tst-translit.
43991         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43992         $(run-program-prefix) to tst-mtrace.sh.
43993         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43994         to run tst-mtrace.
43995         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43996         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43997         $(rtld-installed-name).
43998         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43999         (rtld_installed_name): Likewise.
44000         (run_program_prefix): New variable.  Use it to run wordexp-test.
44002         * Makeconfig (ARCH): Remove all definitions.
44003         (machine): Likewise.
44004         [ARCH]: Remove conditional code.
44005         [!objdir]: Give error.
44006         [!objdir] (objpfx): Remove.
44007         [!objdir] (common-objpfx): Likewise.
44008         [!objdir] (common-objdir): Likewise.
44009         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44010         AC_CONFIG_FILES call.
44011         * configure: Regenerated.
44013         [BZ #13888]
44014         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44015         or TMPDIR.
44016         (testout): Likewise.
44018         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44019         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44020         $(rtld-installed-name).
44021         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44022         (rtld_installed_name): Likwise.
44023         (runit): Remove function.
44024         (run_getconf): New variable,  Use it for running getconf binary.
44026 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44028         [BZ #14716]
44029         * string/test-memmem.c (check_result): New function.
44030         (do_one_test): Use it.
44031         (check1): New function.
44032         (test_main): Use it.
44034 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44036         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44038 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44040         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44041         (_G_LSEEK64): Likewise.
44042         (_G_MMAP64): Likewise.
44043         (_G_FSTAT64): Likewise.
44044         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44045         (_G_LSEEK64): Likewise.
44046         (_G_MMAP64): Likewise.
44047         (_G_FSTAT64): Likewise.
44048         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44049         unconditional.  Call __mmap64 directly.
44050         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44051         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44052         __lseek64 directly.
44053         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44054         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44055         __mmap64 directly.
44056         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44057         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44058         __lseek64 directly.
44059         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44060         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44061         __lseek64 directly.
44062         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44063         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44064         __lseek64 directly.
44065         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44066         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44067         __fxstat64 directly.
44068         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44069         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44070         unconditional.
44071         (freopen64) [!_G_OPEN64]: Remove conditional code.
44072         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44073         unconditional.
44074         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44075         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44076         unconditional.
44077         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44078         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44079         unconditional.
44080         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44081         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44082         unconditional.
44083         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44084         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44085         unconditional.
44086         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44087         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44088         unconditional.
44089         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44090         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44091         unconditional.
44092         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44094 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44096         [BZ #12140]
44097         * manual/memory.texi (Malloc Tunable Parameters): Add note
44098         about free list pointers overwriting some perturb bytes.
44099         Wording suggested by Roland McGrath.
44101 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44103         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44104         (lgamma_test): Likewise.
44105         (tgamma_test): Likewise.
44107 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44109         [BZ #14700]
44110         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44111         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44113 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44115         * NEWS: Mention BZ #14716.
44116         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44117         when removing AVAILABLE1_USES_J macro.
44119 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44121         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44122         (__bswap_64): __uint64_t for unsigned 64-bit int.
44124 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44126         * include/string.h (memmem): Declare libc hidden alias.
44127         * string/memmem.c (memmem): Define libc hidden alias.
44128         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44129         __read, __close instead of open, read, close.
44131 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44134         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44135         global and hidden.
44136         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44137         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44138         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44139         Likewise.
44140         (__rawmemchr_sse2): Likewise.
44141         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44142         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44143         (__strchr_sse2): Likewise.
44144         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44145         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44146         (__strcasecmp_sse2): Likewise.
44147         (__strncasecmp_sse2): Likewise.
44148         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44149         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44150         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44151         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44152         (__strrchr_sse2): Likewise.
44153         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44154         ifunc-impl-list.c.
44155         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44156         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44157         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44158         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44159         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44160         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44161         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44162         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44163         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44164         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44165         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44166         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44167         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44168         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44169         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44170         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44171         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44172         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44173         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44174         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44175         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44176         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44177         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44178         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44179         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44180         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44181         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44182         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44183         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44184         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44186         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44187         global and hidden.
44188         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44189         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44190         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44191         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44192         Likewise.
44193         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44194         Likewise.
44195         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44196         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44197         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44198         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44199         ifunc-impl-list.c.
44200         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44201         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44202         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44203         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44204         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44205         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44206         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44207         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44208         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44209         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44210         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44211         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44212         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44213         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44214         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44215         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44216         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44217         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44218         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44219         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44220         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44221         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44222         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44223         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44224         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44225         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44226         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44227         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44228         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44229         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44230         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44231         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44232         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44233         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44234         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44235         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44236         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44237         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44238         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44239         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44240         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44242         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44243         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44244         * include/ifunc-impl-list.h: New file.
44245         * misc/ifunc-impl-list.c: Likewise.
44246         * misc/Makefile (routines): Add ifunc-impl-list.
44247         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44248         * string/test-string.h: Include <ifunc-impl-list.h>.
44249         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44250         TEST_NAME]: New variables.
44251         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44252         are defined.
44253         (test_init): Call __libc_ifunc_impl_list to initialize
44254         func_list if TEST_IFUNC and TEST_NAME are defined.
44256         * string/Makefile (strop-tests): Add bcopy and bzero.
44257         * string/test-bcopy.c: New file.
44258         * string/test-bzero.c: Likewise.
44259         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44260         defined.
44261         * string/test-memset.c: Support bzero test if TEST_BZERO is
44262         defined.
44263         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44264         __libc_memmove.
44265         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44266         __libc_memset.
44267         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44268         of memset.
44270 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44272         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44273         * configure: Regenerated.
44275         * Makeconfig (+link-static-before-libc): Don't include
44276         $(link-static-libc).
44278         * libio/libio.h (_IO_pos_t): Remove.
44280 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44282         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44283         McGrath.
44285 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44287         * crypt/crypt-entry.c: Include fips-private.h.
44288         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44289         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44290         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44291         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44293 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44295         * crypt/crypt-private.h: Include stdbool.h.
44296         (_ufc_setup_salt_r): Return bool.
44297         * crypt/crypt-entry.c: Include errno.h.
44298         (__crypt_r): Return NULL with EINVAL for bad salt.
44299         * crypt/crypt_util.c (bad_for_salt): New.
44300         (_ufc_setup_salt_r): Check that salt is long enough and within
44301         the specified alphabet.
44302         * crypt/badsalttest.c: New file.
44303         * crypt/Makefile (tests): Add it.
44304         ($(objpfx)badsalttest): New.
44306 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44308         * NEWS: Add entry for BZ #14602.
44310 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44312         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44313         type-generic.
44314         * math/libm-test.inc: Update comment listing what functions and
44315         macros are tested.
44316         (isgreater_test): New function.
44317         (isgreaterequal_test): Likewise.
44318         (isless_test): Likewise.
44319         (islessequal_test): Likewise.
44320         (islessgreater_test): Likewise.
44321         (isunordered_test): Likewise.
44322         (main): Call the new functions.
44324 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44326         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44327         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44328         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44329         * sysdeps/i386/configure: Regenerated.
44330         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44331         * sysdeps/mach/configure: Regenerated.
44332         * sysdeps/mach/hurd/configure: Regenerated.
44333         * sysdeps/powerpc/configure: Regenerated.
44334         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44335         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44336         * sysdeps/s390/s390-32/configure: Regenerated.
44337         * sysdeps/s390/s390-64/configure: Regenerated.
44338         * sysdeps/sh/configure: Regenerated.
44339         * sysdeps/sparc/configure: Regenerated.
44340         * sysdeps/unix/sysv/linux/configure: Regenerated.
44341         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44342         * sysdeps/x86_64/configure: Regenerated.
44344         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44345         defined.  Don't check if MAP is NULL.
44347 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44349         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44350         (_G_stat64): Likewise.
44351         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44352         (_G_stat64): Likewise.
44353         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44354         instead of struct _G_stat64.
44355         * libio/fileops.c (mmap_remap_check): Likewise.
44356         (decide_maybe_mmap): Likewise.
44357         (_IO_new_file_seekoff): Likewise.
44358         (_IO_file_stat): Likewise.
44359         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44360         _G_off64_t.
44361         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44362         instead of struct _G_stat64.
44363         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44365 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44367         [BZ #14602]
44368         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44369         Replace with ...
44370         (CHECK_EOL): New macro.
44371         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44372         CHECK_EOL.
44373         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44374         Replace with CHECK_EOL.
44375         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44376         Replace with CHECK_EOL.
44378 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44380         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44381         type-generic.
44382         * math/libm-test.inc: Update comment listing what functions and
44383         macros are tested.
44384         (finite_test): New function.
44385         (isinf_test): Likewise.
44386         (isnan_test): Likewise.
44387         (fpclassify_test): Test subnormal input.
44388         (isfinite_test): Likewise.
44389         (isnormal_test): Likewise.
44390         (main): Call the new functions.
44392 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44394         [BZ #14660]
44395         * Makerules (%.dynsym): Force C locale when running
44396         $(OBJDUMP) --dynamic-syms.
44398 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44400         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44401         <stdint.h>.
44403 2012-10-06  David S. Miller  <davem@davemloft.net>
44405         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44406         upper 32-bits of the length value in %o2 since we use branch-on-register
44407         tests which consider the entire 64-bit register.
44409 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44411         * string/test-strstr.c (check2): Add a test for page boundary.
44413 2012-10-05  David S. Miller  <davem@davemloft.net>
44415         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44416         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44417         file.
44418         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44419         sysdep_routines.
44420         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44421         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44422         and bzero when HWCAP_SPARC_CRYPTO is present.
44424 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44426         [BZ #14602]
44427         * string/test-strstr.c (check2): New function.
44428         (test_main): Call check2.
44430         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44431         and bug-strchr1.
44432         * string/bug-strcasestr1.c (do_test): Moved to ...
44433         * string/test-strcasestr.c (check1): Here.  New function.
44434         (do_one_test): Break out result checking code into ...
44435         (check_result): This.  New function.
44436         (do_one_test): Call check_result.
44437         (test_main): Call check1.
44438         * string/bug-strchr1.c (do_test): Moved to ...
44439         * string/test-strchr.c (check1): Here.  New function.
44440         (do_one_test): Break out result checking code into ...
44441         (check_result): This.  New function.
44442         (do_one_test): Call check_result.
44443         (test_main): Call check1.
44444         * string/bug-strstr1.c (main): Moved to ...
44445         * string/test-strstr.c (check1): Here.  New function.
44446         (do_one_test): Break out result checking code into ...
44447         (check_result): This.  New function.
44448         (do_one_test): Call check_result.
44449         (test_main): Call check1.
44450         * string/bug-strcasestr1.c: Removed.
44451         * string/bug-strchr1.c: Likewise.
44452         * string/bug-strstr1.c: Likewise.
44454         * elf/Makefile (dl-routines): Add hwcaps.
44455         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44456         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44457         (_dl_important_hwcaps): Moved to ...
44458         * elf/dl-hwcaps.c: Here.  New file.
44459         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44461         [BZ #14557]
44462         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44463         if IS_IN_rtld isn't defined.
44465         * elf/dl-support.c (_dl_sysinfo_map): New.
44466         Include "get-dynamic-info.h" and "setup-vdso.h".
44467         (_dl_non_dynamic_init): Call setup_vdso.
44468         * elf/dynamic-link.h: Don't include <assert.h>.
44469         (elf_get_dynamic_info): Moved to ...
44470         * elf/get-dynamic-info.h: Here.  New file.
44471         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44472         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44473         * elf/setup-vdso.h: Here.  New file.
44474         * elf/rtld.c: Include "setup-vdso.h".
44475         (dl_main): Call setup_vdso.
44477 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44479         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44480         creal in comment listing functions tested.  List finite, isinf,
44481         isnan, isless, islessequal, isgreater, isgreaterequal,
44482         islessgreater, isunordered, lgamma_r and pow10 as functions and
44483         macros not tested.  Mention which functions not tested are aliases
44484         for other functions.  Fix typo.  Note that signs of NaNs are not
44485         tested.
44487         * scripts/config.guess: Update from config.git.
44488         * scripts/config.sub: Likewise.
44490 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44492         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44493         * misc/madvise.c (madvise): Renamed to __madvise.
44494         Make madvise a weak alias.
44495         * include/sys/mman.h: Declare __madvise.
44496         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44497         * sysdeps/unix/syscalls.list
44498         (madvise): Make __madvise the strong name, and madvise a weak alias.
44499         * sysdeps/unix/sysv/linux/syscalls.list
44500         (madvise, mmap): Remove redundant entries.
44501         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44502         * malloc/malloc.c (mtrim): Likewise.
44503         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44505 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44507         * sysdeps/mach/hurd/dl-cache.c: File removed.
44508         * config.h.in (USE_LDCONFIG): New #undef.
44509         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44510         * configure: Regenerated.
44511         * elf/Makefile (dl-routines): Add dl-cache only under
44512         [$(use-ldconfig) = yes].
44513         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44514         cache on [USE_LDCONFIG].
44515         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44516         [USE_LDCONFIG].
44517         * elf/rtld.c (dl_main): Likewise.
44519 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44521         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44522         _SC_LEVEL4_CACHE_LINESIZE.
44524 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44526         * sysdeps/unix/bsd/confstr.h: File removed.
44528 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44530         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44531         sys/sdt-config.h.
44533 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44535         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44536         Make 'mapoff' field ElfW(Off) rather than off_t.
44538 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44540         * nscd/Makefile: Remove nscd-cflags and all its users.
44541         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44542         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44544         [BZ #10631]
44545         * malloc.c (malloc_printerr): Clarify error message.
44547 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44549         [BZ #14648]
44550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44551         Set bit_FMA_Usable if FMA is supported.
44552         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44553         macro.
44554         (bit_FMA4_Usable): Updated.
44555         (index_FMA_Usable): New macro.
44556         (CPUID_FMA): Likewise
44557         (HAS_FMA): Defined with bit_FMA_Usable.
44559 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44561         * bits/types.h (__swblk_t): Type removed.
44562         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44563         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44565         (__SWBLK_T_TYPE): Likewise.
44566         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44567         (__SWBLK_T_TYPE): Likewise.
44568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44569         (__SWBLK_T_TYPE): Likewise.
44570         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44571         (__SWBLK_T_TYPE): Likewise.
44573 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44574             Honza Horak <hhorak@redhat.com>
44576         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44577         (xdr_mapname): Use YPMAXMAP as maxsize.
44578         (xdr_peername): Use YPMAXPEER as maxsize.
44579         (xdr_keydat): Use YPAXRECORD as maxsize.
44580         (xdr_valdat): Use YPMAXRECORD as maxsize.
44582 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44584         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44586         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44587         * csu/init-first.c: ... here.
44588         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44589         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44590         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44591         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44592         * sysdeps/i386/init-first.c: File removed.
44593         * sysdeps/sh/init-first.c: File removed.
44595 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44597         [BZ #14645]
44598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44599         if x * y might underflow to zero and z is zero.
44600         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44601         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44602         * math/libm-test.inc (min_subnorm_value): New variable.
44603         (fma_test): Add more tests.
44604         (fma_test_towardzero): Likewise.
44605         (fma_test_downward): Likewise
44606         (fma_test_upward): Likewise.
44607         (initialize): Set min_subnorm_value.
44609 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44611         [BZ #14638]
44612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44613         0 + 0.
44614         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44615         mode for addition resulting in exact zero.
44616         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44618         exact 0 + 0.
44619         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44620         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44621         * math/libm-test.inc (fma_test): Add more tests.
44622         (fma_test_towardzero): New function.
44623         (fma_test_downward): Likewise.
44624         (fma_test_upward): Likewise.
44625         (main): Call the new functions.
44627 2012-09-28  David S. Miller  <davem@davemloft.net>
44629         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44631 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44633         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44634         instead of SIGALRM.
44636         * sysdeps/gnu/_G_config.h: Moved to ...
44637         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44638         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44639         * sysdeps/generic/_G_config.h: ... here.
44641         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44643         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44645         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44646         Conditionalize target on [libnss_test1.so-version].
44648         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44650         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44651         (elfobjdir): Move out of conditionals.
44653         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44654         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44655         (__nss_lookup_function): Conditionalize label remove_from_tree on
44656         [!DO_STATIC_NSS || SHARED], matching its only use.
44658 2012-09-28  David S. Miller  <davem@davemloft.net>
44660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44661         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44662         file.
44663         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44664         sysdep_routines.
44665         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44666         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44667         when HWCAP_SPARC_CRYPTO is present.
44669 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44671         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44673 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44675         [BZ #6530]
44676         * stdio-common/vfprintf.c (process_string_arg): Revert
44677         2000-07-22 change.
44679 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44681         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44682         for testcase.
44683         * stdio-common/tst-sprintf.c: Include <locale.h>
44684         (main): Test sprintf's handling of incomplete multibyte
44685         characters.
44687 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44689         * elf/dl-runtime.c (VERSYMIDX): Removed.
44690         * elf/dl-version.c (VERSYMIDX): Likewise.
44691         * elf/do-rel.h (VERSYMIDX): Likewise.
44692         (VALIDX): Likewise.
44693         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44694         * elf/rtld.c (VALIDX): Likewise.
44695         (ADDRIDX): Likewise.
44696         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44697         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44698         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44699         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44700         (VALIDX): Likewise.
44701         (ADDRIDX): Likewise.
44703 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44705         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44707 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44709         [BZ #11438]
44710         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44711         to global scope.
44712         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44713         addresses are in the same scope as 192.0.2/24.
44714         * posix/gai.conf: Document new scope table defaults.
44716 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44718         [BZ #5298]
44719         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44720         for ftell.  Compute offsets from write pointers instead.
44721         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44723 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44725         [BZ #14543]
44726         * libio/Makefile (tests): New test case tst-fseek.
44727         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44728         combination works in wide mode.
44729         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44730         state when the external buffer state changes.
44732 2012-09-27  David S. Miller  <davem@davemloft.net>
44734         [BZ #14376]
44735         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44736         pass reloc->r_addend in as the 'high' argument to
44737         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44741 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44743         * rt/tst-aio2.c: Include <pthread.h>.
44744         * rt/tst-aio3.c: Likewise.
44746 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44748         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44750 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44752         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44753         contents on [SHARED].
44755 2012-09-26  Marek Polacek  <polacek@redhat.com>
44757         [BZ #14530]
44758         [BZ #13741]
44759         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44760         for C++ and GCC <4.3 as well as for non GCC compilers.
44762 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44764         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44766 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44768         * Makefile.in (all, install): Declare with .PHONY.
44769         Reported by Michael Hope <michael.hope@linaro.org>.
44771 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44773         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44774         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44775         system header.
44776         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44777         Likewise.
44778         (sydep_routines): Add the new and the internal functions.
44779         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44780         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44782         (GLIBC_2.17): Add the new function.
44783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44784         (GLIBC_2.17): Likewise.
44785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44786         (GLIBC_2.17): Likewise.
44787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44788         (GLIBC_2.17): Likewise.
44789         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44791 2012-09-25  Alan Modra  <amodra@gmail.com>
44793         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44794         Add release barrier before setting once_control to say
44795         initialisation is done.  Add hints on lwarx.  Use macro in
44796         place of isync.
44797         (clear_once_control): Add release barrier.
44799 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44801         [BZ #13629]
44802         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44803         specially.
44804         * math/s_clog10.c (__clog10): Likewise.
44805         * math/s_clog10f.c (__clog10f): Likewise.
44806         * math/s_clog10l.c (__clog10l): Likewise.
44807         * math/s_clogf.c (__clogf): Likewise.
44808         * math/s_clogl.c (__clogl): Likewise.
44809         * math/Makefile (libm-calls): Add x2y2m1.
44810         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44811         (__x2y2m1): Likewise.
44812         (__x2y2m1l): Likewise.
44813         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44814         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44815         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44816         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44817         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44818         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44819         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44820         * sysdeps/i386/fpu/libm-test-ulps: Update.
44821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44823         [BZ #14621]
44824         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44825         int as type of variable DEPTH.
44826         (glob): Use size_t instead of int as type of variables NEWCOUNT
44827         and OLD_PATHC.
44829 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44831         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44832         Add s_sincosf-sse2.
44833         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44834         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44835         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44836         macros for using routine as __sincosf_ia32.
44837         Use macro for function declaration and weak_alias.
44838         * sysdeps/i386/fpu/libm-test-ulps: Update.
44840         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44843         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44844         subnormal argument.
44845         * math/s_cexpf.c (__cexpf): Likewise.
44846         * math/s_csinf.c (__csinf): Likewise.
44847         * math/s_csinhf.c (__csinhf): Likewise.
44848         * math/s_ctanf.c (__ctanf): Likewise.
44849         * math/s_ctanhf.c (__ctanhf): Likewise.
44850         * math/s_ccosh.c (__ccoshf): Likewise.
44851         * math/s_cexp.c (__cexpl): Likewise.
44852         * math/s_csin.c (__csin): Likewise.
44853         * math/s_csinh.c (__csinh): Likewise.
44854         * math/s_ctan.c (__ctan): Likewise.
44855         * math/s_ctanh.c (ctanh): Likewise.
44856         * math/s_ccoshl.c (__ccoshl): Likewise.
44857         * math/s_cexpl.c (__cexpl): Likewise.
44858         * math/s_csinl.c (__csinl): Likewise.
44859         * math/s_csinhl.c (__csinhl): Likewise.
44860         * math/s_ctanl.c (__ctanl): Likewise.
44861         * math/s_ctanhl.c (__ctanhl): Likewise.
44863 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44865         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44866         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44867         (_IO_off_t): Define to __off_t, not _G_off_t.
44868         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44869         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44870         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44871         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44872         type of __dummy and __dummy2 fields.
44873         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44874         (_G_ssize_t): Likewise.
44875         (_G_off_t): Likewise.
44876         (_G_pid_t): Likewise.
44877         (_G_uid_t): Likewise.
44878         (_G_wchar_t): Likewise.
44879         (_G_wint_t): Likewise.
44880         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44881         (_G_ssize_t): Likewise.
44882         (_G_off_t): Likewise.
44883         (_G_pid_t): Likewise.
44884         (_G_uid_t): Likewise.
44885         (_G_wchar_t): Likewise.
44886         (_G_wint_t): Likewise.
44887         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44888         (_G_ssize_t): Likewise.
44889         (_G_off_t): Likewise.
44890         (_G_pid_t): Likewise.
44891         (_G_uid_t): Likewise.
44892         (_G_wchar_t): Likewise.
44893         (_G_wint_t): Likewise.
44895 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44897         * malloc/arena.c: Include malloc-sysdep.h.
44898         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44899         is sufficient to shrink the heap or an unmap is needed.
44900         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44901         new function check_may_shrink_heap.
44902         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44903         new function check_may_shrink_heap.
44905 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44907         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44908         comments.
44910 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44912         * catgets/test-gencat.sh: Add "set -e".
44913         * elf/tst-pathopt.sh: Likewise.
44914         * grp/tst_fgetgrent.sh: Likewise.
44915         * iconvdata/run-iconv-test.sh: Likewise.
44916         * intl/tst-gettext.sh: Likewise.
44917         * intl/tst-gettext2.sh: Likewise.
44918         * intl/tst-gettext4.sh: Likewise.
44919         * intl/tst-gettext6.sh: Likewise.
44920         * intl/tst-translit.sh: Likewise.
44921         * io/ftwtest-sh: Likewise.
44922         * libio/test-freopen.sh: Likewise.
44923         * malloc/tst-mtrace.sh: Likewise.
44924         * posix/globtest.sh: Likewise.
44925         * posix/tst-getconf.sh: Likewise.
44926         * posix/wordexp-tst.sh: Likewise.
44927         * stdio-common/tst-printf.sh: Likewise.
44928         * stdio-common/tst-unbputc.sh: Likewise.
44929         * stdlib/tst-fmtmsg.sh: Likewise.
44930         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44931         * catgets/Makefile: Do not specify -e option when running
44932         testsuite shell scripts.
44933         * elf/Makefile: Likewise.
44934         * grp/Makefile: Likewise.
44935         * iconvdata/Makefile: Likewise.
44936         * intl/Makefile: Likewise.
44937         * io/Makefile: Likewise.
44938         * libio/Makefile: Likewise.
44939         * malloc/Makefile: Likewise.
44940         * posix/Makefile: Likewise.
44941         * stdio-common/Makefile: Likewise.
44942         * stdlib/Makefile: Likewise.
44943         * sysdeps/x86_64/Makefile: Likewise.
44945         * io/ftwtest-sh: Add copyright header.
44946         * posix/globtest.sh: Likewise.
44947         * posix/tst-getconf.sh: Likewise.
44948         * posix/wordexp-tst.sh: Likewise.
44949         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44951 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44953         [BZ #13679]
44954         * Makeconfig (+link): Defined as $(+link-static) if
44955         $(build-shared) isn't yes.
44956         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44957         isn't yes.
44958         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44960         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44962         [BZ #14562]
44963         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44964         new chunk size with MALLOC_ALIGN_MASK.
44966 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44968         [BZ #5044]
44969         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44970         <rounding-mode.h>.
44971         (__printf_fphex): Determine rounding using get_rounding_mode and
44972         round_away.
44973         * stdio-common/tst-printf-round.c (struct hex_test): New
44974         structure.
44975         (hex_tests): New variable.
44976         (test_hex_in_one_mode): New function.
44977         (do_test): Also run tests for hex float output.
44979 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44981         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44982         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44983         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44984         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44985         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44986         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44987         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44988         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44990 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44992         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44993         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44994         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44995         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44997 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44999         [BZ #14579]
45000         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45001         mode only.
45002         * elf/tst-rtld-load-self.sh: New test.
45003         * elf/Makefile: Run it.
45005 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45007         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45008         (tst-writev-ENV): Remove.
45009         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45011 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45013         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45015 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45017         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45018         unconditional.
45019         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45020         Likewise.
45021         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45022         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45023         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45024         Likewise.
45026 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45028         [BZ #14587]
45029         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45030         * config.make.in (have-cpp-asm-debuginfo): Removed.
45031         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45032         * configure: Regenerated.
45034 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45036         [BZ #5044]
45037         * stdio-common/printf_fp.c: Include <stdbool.h> and
45038         <rounding-mode.h>.
45039         (___printf_fp): Determine rounding using get_rounding_mode and
45040         round_away.
45041         * stdio-common/tst-printf-round.c: New file.
45042         * stdio-common/Makefile (tests): Add tst-printf-round.
45043         (link-libm): New variable.
45044         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45046 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45048         [BZ #14576]
45049         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45050         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45051         Likewise.
45052         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45053         Likewise.
45055 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45057         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45058         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45059         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45060         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45062 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45064         [BZ #14518]
45065         * include/rounding-mode.h: New file.
45066         * sysdeps/generic/get-rounding-mode.h: Likewise.
45067         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45068         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45069         (MAX_VALUE): New macro.
45070         (MIN_VALUE): Likewise.
45071         (overflow_value): New function.
45072         (underflow_value): Likewise.
45073         (round_and_return): Use overflow_value and underflow_value to
45074         determine return values in overflow and underflow cases.  Use
45075         round_away to determine rounding depending on rounding mode.
45076         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45077         determine return values in overflow and underflow cases.
45078         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45079         (struct test_results): New structure.
45080         (struct test): Use struct test_results to store expected results
45081         for all rounding modes.
45082         (TEST): Include expected results for all rounding modes.
45083         (test_in_one_mode): New function.
45084         (do_test): Use test_in_one_mode to compute and check results.
45085         Check results for all rounding modes.
45086         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45087         $(link-libm).
45089 2012-12-09  Allan McRae  <allan@archlinux.org>
45091         * sysdeps/i386/fpu/libm-test-ulps: Update
45093 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45095         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45096         (_G_int32_t): Likewise.
45097         (_G_uint16_t): Likewise.
45098         (_G_uint32_t): Likewise.
45099         (_G_HAVE_BOOL): Likewise.
45100         (_G_HAVE_ATEXIT): Likewise.
45101         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45102         (_G_HAVE_IO_FILE_OPEN): Likewise.
45103         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45104         (_G_int32_t): Likewise.
45105         (_G_uint16_t): Likewise.
45106         (_G_uint32_t): Likewise.
45107         (_G_HAVE_BOOL): Likewise.
45108         (_G_HAVE_ATEXIT): Likewise.
45109         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45110         (_G_HAVE_IO_FILE_OPEN): Likewise.
45111         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45112         (_G_int32_t): Likewise.
45113         (_G_uint16_t): Likewise.
45114         (_G_uint32_t): Likewise.
45115         (_G_HAVE_BOOL): Likewise.
45116         (_G_HAVE_ATEXIT): Likewise.
45117         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45118         (_G_HAVE_IO_FILE_OPEN): Likewise.
45120 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45122         * csu/libc-tls.c: Update copyright years.
45124 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45126         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45127         [!_G_USING_THUNKS]: Remove conditional code.
45128         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45129         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45131         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45132         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45133         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45134         (_G_VTABLE_LABEL_PREFIX): Likewise.
45135         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45136         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45137         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45138         (_G_VTABLE_LABEL_PREFIX): Likewise.
45139         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45140         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45141         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45142         (_G_VTABLE_LABEL_PREFIX): Likewise.
45143         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45145 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45147         * libio/Makefile: Include ../Makeconfig before tests.
45148         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45149         only if $(build-shared) is yes.
45151         * iconv/gconv_db.c: Update copyright years.
45153 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45155         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45156         unwind info if defined PIC. Fix special cases description.
45157         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45159         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45160         DP_HI_MASK entry.
45161         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45163 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45165         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45167         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45168         is NULL.
45170         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45171         (LDLIBS-tst-chk4): This.
45172         (LDFLAGS-tst-chk5): Renamed to ...
45173         (LDLIBS-tst-chk5): This.
45174         (LDFLAGS-tst-chk6): Renamed to ...
45175         (LDLIBS-tst-chk6): This.
45176         (LDFLAGS-tst-lfschk4): Renamed to ...
45177         (LDLIBS-tst-lfschk4): This.
45178         (LDFLAGS-tst-lfschk5): Renamed to ...
45179         (LDLIBS-tst-lfschk5): This.
45180         (LDFLAGS-tst-lfschk6): Renamed to ...
45181         (LDLIBS-tst-lfschk6): This.
45183         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45184         on $(common-objpfx)soversions.mk.
45186 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45188         [BZ #10014]
45189         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45190         example host name.
45192 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45194         * malloc/arena.c (arena_get_retry): New function that gets
45195         another arena for the caller to try its request on.
45196         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45197         current arena cannot fulfill the request.
45198         (__libc_memalign): Likewise.
45199         (__libc_memalign): Likewise.
45200         (__libc_pvalloc): Likewise.
45201         (__libc_calloc): Likewise.
45203 2012-09-05  John Tobey  <john.tobey@gmail.com>
45205         [BZ #13542]
45206         * manual/arith.texi (Operations on Complex): Fix description
45207         of carg branch cut.
45209 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45211         [BZ #10014]
45212         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45213         host name.
45215         [BZ #10038]
45216         * manual/memory.texi (Memory): Make order of menu items match
45217         order of sections.
45219 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45221         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45222         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45223         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45225 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45227         * csu/libc-tls.c (static_dtv): Renamed to ...
45228         (_dl_static_dtv): This.  Make it global.
45229         (_dl_initial_dtv): Removed.
45230         (__libc_setup_tls): Updated.
45231         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45232         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45233         DL_INITIAL_DTV.
45235 2012-09-06  Petr Machata  <pmachata@redhat.com>
45237         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45238         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45239         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45240         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45242 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45244         [BZ #14545]
45245         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45246         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45247         freeing dtv[-1].
45249 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45251         [BZ #14544]
45252         * Makeconfig (link-static-before-libc): Replace $(+prector)
45253         with $(+prectorT).
45254         (link-static-after-libc): Replace $(+postctor) with
45255         $(+postctorT).
45256         (link-bounded): Replace $(+prector)/$(+postctor) with
45257         $(+prectorT)/$(+postctorT).
45258         (+prectorT): New macro.
45259         (+postctorT): Likewise.
45261 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45263         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45264         (round_str): Handle values above the maximum for IBM long double
45265         as inexact.
45266         * stdlib/tst-strtod-round.c (tests): Regenerated.
45268 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45270         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45271         assembler flag.
45272         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45273         zarch_nohighgprs around the zarch optimized routines.
45274         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45275         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45276         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45277         for zarch.
45279 2012-09-05  David S. Miller  <davem@davemloft.net>
45281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45283         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45284         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45285         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45286         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45287         entries.
45289 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45291         * malloc/arena.c: Fold copyright years.
45292         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45294 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45296         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45298 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45300         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45302 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45304         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45305         change internal state upon failure.
45307 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45309         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45310         * malloc/memusage.c (mmap): Likewise.
45311         (mmap64, mremap): Likewise.  Adjust name in comment.
45313 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45315         * libio/fileops.c: Fix typos in comments.
45316         * libio/oldfileops.c: Likewise.
45317         * libio/wfileops.c: Likewise.
45319 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45321         [BZ #1349]
45322         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45323         (tst-malloc-usable-ENV): Set environment for test case.
45324         * malloc/hooks.c (malloc_check_get_size): New function to get
45325         requested size.
45326         * malloc/malloc.c (musable): Use malloc_check_get_size.
45327         * malloc/tst-malloc-usable.c: New test case.
45329 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45331         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45333 2012-09-05  Allan McRae  <allan@archlinux.org>
45335         [BZ #13966]
45336         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45337         determine header location.
45338         * configure: Regenerated.
45340 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45342         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45343         float format.
45344         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45345         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45346         format.
45347         (test): Regenerate.
45349 2012-09-04  David S. Miller  <davem@davemloft.net>
45351         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45352         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45353         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45355 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45357         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45358         failures.
45360         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45362 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45364         [BZ #9914]
45365         * libio/iogetdelim.c: Include <limits.h>.
45366         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45367         + len + 1 would overflow.
45369 2012-09-03  Andreas Jaeger  <aj@suse.de>
45371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45372         * sysdeps/i386/fpu/libm-test-ulps: Update.
45374 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45376         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45377         Add s_sinf-sse2, s_conf-sse2.
45379         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45380         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45381         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45382         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45384         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45385         for using routine as __sinf_ia32.
45386         Use macro for function declaration and weak_alias.
45387         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45388         for using routine as __cosf_ia32.
45389         Use macro for function declaration and weak_alias.
45391         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45392         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45394         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45395         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45398         * math/libm-test.inc (cos_test): Add more test cases.
45399         (sin_test): Likewise.
45400         (sincos_test): Likewise.
45402 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45404         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45405         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45406         hidden.
45407         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45409 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45411         [BZ #14538]
45412         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45413         first element of the GOT.
45414         (elf_machine_load_address): Return the difference between
45415         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45417 2012-09-01  Allan McRae  <allan@archlinux.org>
45419         [BZ #13412]
45420         * configure.in (AWK): Require gawk version 3.0 or later.
45421         * configure: Regenerated.
45423 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45425         * sysdeps/unix/sysv/linux/kernel-features.h
45426         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45427         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45428         [__NR_clock_getres]: Make code unconditional.
45429         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45430         (clock_getcpuclockid): Remove code left unreachable by removal of
45431         conditionals.
45432         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45433         code unconditional.
45434         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45435         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45436         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45437         Make code unconditional.
45438         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45439         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45440         * sysdeps/unix/sysv/linux/clock_settime.c
45441         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45442         conditional code.
45443         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45444         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45446 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45448         [BZ #14476]
45449         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45450         scripts/test-installation.pl.
45452         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45453         and $ld_so_version if it is set.
45455 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45457         [BZ #14516]
45458         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45459         failure if reading from procfs failed.
45460         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45462 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45464         * sysdeps/unix/sysv/linux/kernel-features.h
45465         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45466         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45467         Remove conditional code.
45468         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45469         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45470         Remove conditional code.
45471         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45472         * sysdeps/unix/sysv/linux/i386/fxstat.c
45473         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45474         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45475         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45476         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45477         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45478         * sysdeps/unix/sysv/linux/i386/lxstat.c
45479         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45480         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45481         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45482         Remove conditional code.
45483         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45484         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45485         Remove conditional code.
45486         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45487         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45488         <kernel-features.h>.
45489         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45490         Remove.
45491         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45492         Remove conditional code.
45493         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45494         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45495         Remove conditional.
45497 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45499         [BZ #5400]
45500         * NEWS: Add fixed bug number.
45502 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45504         [BZ #14519]
45505         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45506         underflowing exponent in case of negative sign.
45507         * stdlib/tst-strtod-round-data: Add more tests.
45508         * stdlib/tst-strtod-round.c (tests): Regenerated.
45510         [BZ #3479]
45511         * stdlib/strtod_l.c (NDIG): Remove.
45512         (HEXNDIG): Likewise.
45513         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45514         smallest representable value.
45515         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45516         lie within an exact representation of 1/2 ulp of the result.
45517         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45518         unconditionally.
45519         (TENS_P9_IDX): Define unconditionally.
45520         (TENS_P9_SIZE): Likewise.
45521         (TENS_P10_IDX): Likewise.
45522         (TENS_P10_SIZE): Likewise.
45523         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45524         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45525         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45526         entries for 10^2^13 and 10^2^14.
45527         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45528         (TENS_P13_IDX): Define.
45529         (TENS_P13_SIZE): Likewise.
45530         (TENS_P14_IDX): Likewise.
45531         (TENS_P14_SIZE): Likewise.
45532         (_fpioconst_pow10): Change array size to
45533         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45534         unconditional.
45535         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45536         1024]: Add entries for 10^2^13 and 10^2^14.
45537         [LAST_POW10 > _LAST_POW10]: Remove #error.
45538         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45539         (_fpioconst_pow10): Change array size to
45540         FPIOCONST_POW10_ARRAY_SIZE.
45541         * stdlib/gen-fpioconst.c: New file.
45542         * stdlib/gen-tst-strtod-round.c: Likewise.
45543         * stdlib/tst-strtod-round-data: Likewise.
45544         * stdlib/tst-strtod-round.c: Likewise.
45545         * stdlib/Makefile (tests): Add tst-strtod-round.
45547         [BZ #14459]
45548         * stdlib/strtod_l.c: Include <stdint.h>.
45549         (NDEBUG): Do not define.
45550         (round_and_return): Change EXPONENT parameter to type intmax_t.
45551         Rearrange calculations to avoid internal overflow possibilities.
45552         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45553         Rearrange calculations to avoid internal overflow possibilities.
45554         Assert that number fits inside MPNSIZE limbs.
45555         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45556         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45557         calculations and add assertions to avoid internal overflow
45558         possibilities.  Add casts to avoid signed/unsigned operations.
45559         * stdlib/tst-strtod-overflow.c: New file.
45560         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45562 2012-08-25  Marek Polacek  <polacek@redhat.com>
45564         * time/time.h: Fix some typos in comments.
45566 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45568         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45569         * posix/tst-rfc3484-2.c: Likewise.
45570         * posix/tst-rfc3484-3.c: Likewise.
45572 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45574         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45575         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45577 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45579         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45580         #include of fxstatat64.c.
45582 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45584         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45585         * shadow/getspent_r.c: Likewise.
45586         * shadow/getspnam.c: Likewise.
45587         * shadow/getspnam_r.c: Likewise.
45588         * gshadow/getsgent.c: Likewise.
45589         * gshadow/getsgent_r.c: Likewise.
45590         * gshadow/getsgnam.c: Likewise.
45591         * gshadow/getsgnam_r.c: Likewise.
45592         * inet/getnetbyad.c: Likewise.
45593         * inet/getnetbyad_r.c: Likewise.
45594         * inet/getnetbynm.c: Likewise.
45595         * inet/getnetbynm_r.c: Likewise.
45596         * inet/getnetent.c: Likewise.
45597         * inet/getnetent_r.c: Likewise.
45598         * inet/getproto.c: Likewise.
45599         * inet/getproto_r.c: Likewise.
45600         * inet/getprtent.c: Likewise.
45601         * inet/getprtent_r.c: Likewise.
45602         * inet/getprtname.c: Likewise.
45603         * inet/getprtname_r.c: Likewise.
45604         * inet/getrpcbyname.c: Likewise.
45605         * inet/getrpcbyname_r.c: Likewise.
45606         * inet/getrpcbynumber.c: Likewise.
45607         * inet/getrpcbynumber_r.c: Likewise.
45608         * inet/getrpcent.c: Likewise.
45609         * inet/getrpcent_r.c: Likewise.
45610         * inet/getaliasent.c: Likewise.
45611         * inet/getaliasent_r.c: Likewise.
45612         * inet/getaliasname.c: Likewise.
45613         * inet/getaliasname_r.c: Likewise.
45614         * nscd/getgrgid_r.c: Likewise.
45615         * nscd/getgrnam_r.c: Likewise.
45616         * nscd/gethstbyad_r.c: Likewise.
45617         * nscd/gethstbynm3_r.c: Likewise.
45618         * nscd/getpwnam_r.c: Likewise.
45619         * nscd/getpwuid_r.c: Likewise.
45620         * nscd/getsrvbynm_r.c: Likewise.
45621         * nscd/getsrvbypt_r.c: Likewise.
45622         * nscd/gai.c: Likewise.
45624         * configure.in (build_nscd): New substituted variable, set
45625         by --disable-build-nscd and defaults to $use_nscd.
45626         * configure: Regenerated.
45627         * config.make.in (build-nscd): New substituted variable.
45628         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45629         Change conditional to require [$(build-nscd) = yes] as well.
45630         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45632         [BZ# 13696]
45633         * configure.in (use_nscd): New substituted variable, set by
45634         --disable-nscd.  If enabled, define USE_NSCD.
45635         * configure: Regenerated.
45636         * config.h.in: Add USE_NSCD.
45637         * config.make.in (use-nscd): New substituted variable.
45638         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45639         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45640         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45641         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45642         (CFLAGS-getgrnam_r.c): Likewise.
45643         (CFLAGS-initgroups.c): Likewise.
45644         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45645         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45646         Variables removed.
45647         * inet/getnetgrent_r.c
45648         (nscd_setnetgrent): New function, broken out of ...
45649         (setnetgrent): ... here.  Call it.
45650         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45651         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45652         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45653         * nscd/Makefile (routines, aux): Move definitions after include of
45654         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45655         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45656         Conditionalize on [USE_NSCD].
45657         (is_nscd, nscd_init_cb): Likewise.
45658         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45659         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45660         * nss/nss_db/db-init.c: Likewise.
45661         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45662         [USE_NSCD].
45663         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45664         (make_request): Use it.
45665         (cache_valid_p): New function.
45666         (__check_pf): Use it.
45667         * NEWS: Add item for --disable-nscd.
45669 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45671         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45672         to support sed >= 4.2.1-20-ga9bf076.
45673         * configure: Regenerated.
45675 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45677         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45678         Conditionalize whole body on [IREL].
45680 2012-08-22  Jeff Law <law@redhat.com>
45682         [BZ #14505]
45683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45684         if the family is PF_UNSPEC.
45686 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45688         * Makerules (lib-version): Rename from V.
45689         (install-lib-nosubdir): Change V to lib-version.
45691 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45693         [BZ #14252]
45694         * powerpc32/power6/wcschr.c: New file.
45695         * powerpc32/power6/wcscpy.c: New file.
45696         * powerpc32/power6/wcsrchr.c: New file.
45697         * powerpc64/power6/wcschr.c: New file.
45698         * powerpc64/power6/wcscpy.c: New file.
45699         * powerpc64/power6/wcsrchr.c: New file.
45701 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45703         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45704         (two_way_short_needle): Use it.
45705         * string/strstr.c (AVAILABLE1_USES_J): Define.
45706         * string/strcasestr.c: Likewise.
45708         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45709         array references.
45710         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45712         [BZ #11607]
45713         * NEWS: Add an entry.
45714         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45715         define their defaults.
45716         (two_way_short_needle): Detect end-of-string on-the-fly.
45717         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45718         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45719         * string/bug-strcasestr1.c: New test.
45720         * string/Makefile: Run it.
45722 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45724         [BZ #11607]
45725         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45726         the first character.
45728 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45730         * csu/elf-init.c (__libc_csu_irel): Function removed.
45731         * csu/libc-start.c (apply_irel): New function.
45732         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45734 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45736         * sysdeps/unix/sysv/linux/kernel-features.h
45737         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45738         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45739         <kernel-features.h>.
45740         [__NR_fadvise64_64]: Make code unconditional.
45741         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45742         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45743         !__NR_fadvise64_64)]: Likewise.
45744         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45745         !__NR_fadvise64_64))]: Likewise.
45746         [__NR_fadvise64]: Make code unconditional.
45747         [!__NR_fadvise64]: Remove conditional code.
45748         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45749         <kernel-features.h>.
45750         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45751         unconditional.
45752         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45753         conditional code.
45754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45755         not include <kernel-features.h>.
45756         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45757         unconditional.
45758         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45759         conditional code.
45760         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45761         include <kernel-features.h>.
45762         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45763         unconditional.
45764         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45765         conditional code.
45767 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45769         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45770         slight instruction rearrangements per scrollpipe analysis.
45771         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45773 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45775         * manual/syslog.texi (syslog; vsyslog, closelog):
45776         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45777         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45779         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45780         DSOCAPS to match condition on defining it.
45782 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45784         * sysdeps/unix/sysv/linux/kernel-features.h
45785         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45787         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45788         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45790         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45791         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45793         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45794         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45796         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45797         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45799         * sysdeps/unix/sysv/linux/kernel-features.h
45800         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45801         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45802         unconditional.
45803         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45804         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45805         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45806         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45807         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45808         Make code unconditional.
45809         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45810         (__mmap64) [!__NR_mmap2]: Likewise.
45811         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45812         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45813         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45814         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45815         [__NR_mmap2]: Make code unconditional.
45816         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45817         (__mmap64) [!__NR_mmap2]: Likewise.
45819 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45821         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45823 2012-08-18  Andreas Jaeger  <aj@suse.de>
45825         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45827 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45829         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45830         * include/unistd.h (__have_sock_cloexec): Likewise.
45831         (__have_pipe2): Likewise.
45832         (__have_dup3): Likewise.
45834 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45836         [BZ #9685]
45837         * include/unistd.h (__have_pipe2): Change define into an extern int.
45838         (__have_dup3): Likewise.
45839         * socket/have_sock_cloexec.c: Include fcntl.h.
45840         (__have_pipe2): New variable.
45841         (__have_dup3): Likewise.
45843 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45845         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45847 2012-08-17  Marek Polacek  <polacek@redhat.com>
45849         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45850         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45852 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45854         * configure.in: Add AC_SUBST for sysheaders.
45855         * configure: Regenerated.
45856         * config.make.in (sysheaders): New substituted variable.
45858         * sysdeps/unix/mkfifo.c: Moved ...
45859         * sysdeps/posix/mkfifo.c: ... here.
45860         * sysdeps/unix/mkfifoat.c: Moved ...
45861         * sysdeps/posix/mkfifoat.c: ... here.
45863         * sysdeps/unix/utime.c: Moved ...
45864         * sysdeps/posix/utime.c: ... here.
45866         * sysdeps/unix/time.c: Moved ...
45867         * sysdeps/posix/time.c: ... here.
45868         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45869         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45871         * sysdeps/unix/nice.c: Moved ...
45872         * sysdeps/posix/nice.c: ... here.
45874         * sysdeps/unix/alarm.c: Moved ...
45875         * sysdeps/posix/alarm.c: ... here.
45877         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45879 2012-08-17  Jeff Law <law@redhat.com>
45881         * intl/Makefile (codeset_mo): New variable.
45882         ($(codeset_mo)): New target.
45883         (tst-codeset.out): Depend on that.  Remove explicit rule.
45884         (tst-gettext3.out, tst-gettext5.out): Likewise.
45885         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45886         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45887         * intl/tst-codeset.sh: Remove.
45888         * intl/tst-gettext3.sh: Likewise.
45889         * intl/tst-gettext5.sh: Likewise.
45891 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45893         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45894         * sysdeps/unix/syscalls.list: ... here.
45896         * sysdeps/posix/getaddrinfo.c
45897         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45898         (gaiconf_init, gaiconf_reload): Use them.
45899         [!_STATBUF_ST_NSEC]
45900         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45901         Define using time_t rather than struct timespec.
45903         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45904         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45905         Macros removed.
45906         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45907         [!NO_THREADS].
45908         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45909         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45910         Likewise.
45912         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45913         __libc_cleanup_push argument.
45915         * bits/param.h: New file.
45916         * misc/sys/param.h: New file.
45917         * include/sys/param.h: New file.
45918         * misc/Makefile (headers): Add bits/param.h.
45919         * sysdeps/generic/sys/param.h: File removed.
45920         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45921         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45922         * sysdeps/mach/hurd/bits/param.h: New file.
45923         * sysdeps/mach/hurd/sys/param.h: File removed.
45925         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45926         last change.
45928         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45929         [_IO_MTSAFE_IO].
45930         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45931         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45932         New macros.
45934         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45935         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45936         rather than -D_IO_MTSAFE_IO conditionally.
45937         * stdio-common/Makefile (CPPFLAGS): Likewise.
45938         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45939         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45940         Use $(libio-mtsafe).
45941         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45942         of -D_IO_MTSAFE_IO.
45943         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45944         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45945         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45946         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45947         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45948         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45949         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45950         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45951         (CFLAGS-fread_u_chk.c): Likewise.
45952         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45953         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45954         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45955         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45956         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45957         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45958         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45959         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45960         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45962         * libio/Makefile: Test [$(libc-reentrant) = yes]
45963         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45965         * Makeconfig
45966         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45967         * sysdeps/pthread/configure: File removed.
45968         * sysdeps/pthread/Makeconfig: New file.
45969         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45970         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45972 2012-08-16  Gary Benson  <gbenson@redhat.com>
45974         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45975         unmapping the first object in a namespace.
45977 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45979         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45980         (__internal_setnetgrent): ... this.  Add internal_function to
45981         definition.  Add libc_hidden_def.
45982         (setnetgrent): Update caller.
45983         (internal_endnetgrent): Renamed to ...
45984         (__internal_endnetgrent): ... this.  Add internal_function to
45985         definition.  Add libc_hidden_def.
45986         (endnetgrent): Update caller.
45987         (internal_getnetgrent_r): Renamed to ...
45988         (__internal_getnetgrent_r): ... this.  Add internal_function to
45989         definition.  Add libc_hidden_def.
45990         (__getnetgrent_r): Update caller.
45991         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45993 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45995         * stdlib/longlong.h: Update from GCC.
45997 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45999         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46000         on _QL, which is set by umul_ppmm but never used.
46001         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46002         variables, which are set by GMP macros but never used.
46003         * stdio-common/_itowa.c (_itowa): Likewise.
46004         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46005         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46007 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46009         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46010         struct La_sh_regs is not constant.
46011         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46012         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46013         and struct La_sparc64_regs are not constant.
46015 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46017         * sysdeps/unix/sysv/linux/kernel-features.h
46018         (__ASSUME_POSIX_TIMERS): Remove.
46019         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46020         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46021         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46022         Make code unconditional.
46023         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46024         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46025         Make code unconditional.
46026         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46027         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46028         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46029         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46030         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46031         Make code unconditional.
46032         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46033         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46034         (__libc_missing_posix_timers): Remove.
46036 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46038         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46039         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46041         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46043         * elf/dl-sym.c: Include <stdlib.h>.
46045         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46046         constants, which avoids warnings in 32-bit builds.
46048         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46049         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46051         * misc/lseek.c: File moved to ...
46052         * io/lseek.c: ... here.
46054         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46056         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46057         shifting LEN more than 31 bits at once.
46059 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46061         [BZ #14195]
46062         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46063         segmentation fault for a case of two empty input strings.
46064         * string/test-strncasecmp.c (check1): Renamed to...
46065         (bz12205): ...this.
46066         (bz14195): Add new testcase for two empty input strings and N > 0.
46067         (test_main): Call new testcase, adapt for renamed function.
46069 2012-08-15  Andreas Jaeger  <aj@suse.de>
46071         [BZ #14090]
46072         * crypt/md5test2.c: New test, based on test supplied by Serge
46073         Belyshev <belyshev@depni.sinp.msu.ru>.
46074         * crypt/Makefile (xtests): Add md5test-giant..
46075         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46077 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46079         [BZ #14090]
46080         * crypt/md5.c (md5_process_block): Don't assume the buffer
46081         length is less than 2**32.
46082         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46083         length is less than 2**64.
46085 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46087         * string/str-two-way.h: Include <sys/param.h>.
46088         (MAX): Macro removed.
46090         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46091         Move #define and #undef of memmove to just before and after
46092         including <string.h>.
46094         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46095         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46096         and after including <string.h>.  Move declarations of
46097         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46098         to before #include "string/memmove.c".
46100         * include/dirent.h: Declare __getdirentries.
46102         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46103         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46105 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46107         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46108         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46109         * sysdeps/i386/configure: Regenerated.
46110         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46111         STABS_CURRENT_FILE, and STABS_FUN.
46112         (END): Remove call to STABS_FUN_END.
46113         (STABS_CURRENT_FILE1): Delete.
46114         (STABS_CURRENT_FILE): Likewise.
46115         (STABS_FUN): Likewise.
46116         (STABS_FUN_END): Likewise.
46117         (STABS_FUN2): Likewise.
46118         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46119         * sysdeps/x86_64/configure: Regenerated.
46121 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46123         * elf/dl-open.c: Include <atomic.h>.
46124         * elf/dl-lookup.c: Likewise.
46126 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46128         * sysdeps/unix/sysv/linux/kernel-features.h
46129         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46130         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46131         unconditionally.
46132         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46133         unconditionally.
46134         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46135         condition on __ASSUME_CLONE_THREAD_FLAGS.
46137 2012-08-14  Andreas Jaeger  <aj@suse.de>
46139         * sysdeps/i386/fpu/libm-test-ulps: Update.
46141 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46143         * include/atomic.h (atomic_exchange_and_add): Split into ...
46144         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46145         New atomic macros.
46147 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46151 2012-08-13  Jeff Law <law@redhat.com>
46153         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46154         null byte in the output string.
46156 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46158         * sysdeps/unix/sysv/linux/kernel-features.h
46159         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46160         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46161         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46162         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46163         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46164         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46165         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46167 2012-08-09  Jeff Law <law@redhat.com>
46169         [BZ #13939]
46170         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46171         When avoid_arena is set, don't retry in the that arena.  Pick the
46172         next one, whatever it might be.
46173         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46174         (arena_lock): Pass in new parameter to arena_get2.
46175         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46176         arena_get2.
46177         (__libc_malloc): Unify retrying after main arena failure with
46178         __libc_memalign version.
46179         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46181 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46183         [BZ #14166]
46184         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46185         to __redirect_strstr.
46186         (__strstr_sse42): Use typeof __redirect_strstr.
46187         (__strstr_ia32): Likewise.
46188         (__libc_strstr): New prototype.
46189         (strstr): Renamed to ...
46190         (__libc_strstr): This.
46191         (strstr): New strong alias of __libc_strstr.
46192         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46193         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46194         __redirect_time.
46195         Include <time.h>.
46196         (__libc_time): New prototype.
46197         (time_ifunc): Replace time with __libc_time.
46198         (time): New strong alias and hidden definition of __libc_time.
46199         (__GI_time): Remove strong alias.
46200         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46201         Include <stddef.h>.
46202         (memmove): Redefined to __redirect_memmove.
46203         (__memmove_sse2): Use typeof __redirect_memmove.
46204         (__memmove_ssse3): Likewise.
46205         (__memmove_ssse3_back): Likewise.
46206         (__libc_memmove): New prototype.
46207         (memmove): Renamed to ...
46208         (__libc_memmove): This.
46209         (memmove): New strong alias of __libc_memmove.
46211 2012-08-08  Mark Salter  <msalter@redhat.com>
46213         * elf/elf.h
46214         (R_MN10300_TLS_GD): Define.
46215         (R_MN10300_TLS_LD): Likewise.
46216         (R_MN10300_TLS_LDO): Likewise.
46217         (R_MN10300_TLS_GOTIE): Likewise.
46218         (R_MN10300_TLS_IE): Likewise.
46219         (R_MN10300_TLS_LE): Likewise.
46220         (R_MN10300_TLS_DTPMOD): Likewise.
46221         (R_MN10300_TLS_DTPOFF): Likewise.
46222         (R_MN10300_TLS_TPOFF): Likewise.
46223         (R_MN10300_SYM_DIFF): Likewise.
46224         (R_MN10300_ALIGN): Likewise.
46225         (R_MN10300_NUM): Update.
46227 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46229         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46230         Remove.
46232 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46234         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46236         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46237         sysdeps/unix -> sysdeps/posix move.
46238         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46240 2012-08-07      Allan McRae     <allan@archlinux.org>
46242         [BZ #14303]
46243         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46244         (SUNOS_CPP): Likewise.
46245         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46246         not found.
46247         (open_input): Call CPP using execvp.
46249 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46251         * sysdeps/unix/sysv/linux/kernel-features.h
46252         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46253         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46254         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46255         (__ASSUME_WAITID_SYSCALL): Likewise.
46256         * sysdeps/unix/sysv/linux/dl-execstack.c
46257         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46258         code unconditional.
46259         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46260         conditional code.
46261         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46262         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46263         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46264         code.
46265         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46266         unconditional.
46267         [__ASSUME_WAITID_SYSCALL]: Likewise.
46268         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46270 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46272         * sysdeps/unix/closedir.c: Renamed to ...
46273         * sysdeps/posix/closedir.c: ... here.
46274         * sysdeps/unix/dirfd.c: Renamed to ...
46275         * sysdeps/posix/dirfd.c: ... here.
46276         * sysdeps/unix/dirstream.h: Renamed to ...
46277         * sysdeps/posix/dirstream.h: ... here.
46278         * sysdeps/unix/fdopendir.c: Renamed to ...
46279         * sysdeps/posix/fdopendir.c: ... here.
46280         * sysdeps/unix/opendir.c: Renamed to ...
46281         * sysdeps/posix/opendir.c: ... here.
46282         * sysdeps/unix/readdir.c: Renamed to ...
46283         * sysdeps/posix/readdir.c: ... here.
46284         * sysdeps/unix/readdir_r.c: Renamed to ...
46285         * sysdeps/posix/readdir_r.c: ... here.
46286         * sysdeps/unix/rewinddir.c: Renamed to ...
46287         * sysdeps/posix/rewinddir.c: ... here.
46288         * sysdeps/unix/seekdir.c: Renamed to ...
46289         * sysdeps/posix/seekdir.c: ... here.
46290         * sysdeps/unix/telldir.c: Renamed to ...
46291         * sysdeps/posix/telldir.c: ... here.
46292         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46293         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46294         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46295         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46297         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46298         * bits/fcntl.h: ... here.
46300         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46301         not 0.
46302         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46303         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46304         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46305         (struct flock): Move l_start, l_len to the beginning.
46306         Use __pid_t for l_pid.
46307         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46308         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46309         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46310         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46311         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46312         [__USE_LARGEFILE64] (struct flock64): New type.
46313         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46315         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46316         * bits/dirent.h: ... here.
46318         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46319         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46321 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46323         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46324         Change from 2.6.0 to 2.6.16.
46325         * sysdeps/unix/sysv/linux/configure: Regenerated.
46326         * sysdeps/unix/sysv/linux/kernel-features.h
46327         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46328         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46329         version.
46330         (__ASSUME_UTIMES): Likewise.
46331         (__ASSUME_CLONE_STOPPED): Remove.
46332         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46333         architectures, not kernel version.
46334         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46335         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46336         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46337         (__ASSUME_WAITID_SYSCALL): Likewise.
46338         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46339         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46340         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46341         refer to older versions.
46343 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46345         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46346         Define alphasort64 as an alias.
46347         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46348         Define versionsort64 as an alias.
46349         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46350         Define scandir64 as an alias.
46351         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46352         Define scandirat64 as an alias.
46353         * dirent/alphasort64.c (alphasort64):
46354         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46355         * dirent/versionsort64.c: Likewise.
46356         * dirent/scandir64.c: Likewise.
46357         * dirent/scandirat64.c: Likewise.
46358         * sysdeps/wordsize-64/alphasort.c: File removed.
46359         * sysdeps/wordsize-64/alphasort64.c: File removed.
46360         * sysdeps/wordsize-64/scandir.c: File removed.
46361         * sysdeps/wordsize-64/scandir64.c: File removed.
46362         * sysdeps/wordsize-64/scandirat.c: File removed.
46363         * sysdeps/wordsize-64/scandirat64.c: File removed.
46364         * sysdeps/wordsize-64/versionsort.c: File removed.
46365         * sysdeps/wordsize-64/versionsort64.c: File removed.
46366         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46367         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46368         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46369         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46370         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46371         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46372         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46373         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46375         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46376         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46377         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46378         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46379         [defined __arch64__ || defined __sparcv9]
46380         (__INO_T_MATCHES_INO64_T): New macro.
46381         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46382         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46383         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46384         * sysdeps/unix/sysv/linux/bits/dirent.h
46385         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46386         (_DIRENT_MATCHES_DIRENT64): New macro.
46388         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46389         Define lockf64 as an alias.
46390         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46391         Define fseeko64 as an alias.
46392         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46393         Define ftello64 as an alias.
46394         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46395         Define _IO_fgetpos64 and fgetpos64 as aliases.
46396         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46397         Define _IO_fsetpos64 and fsetpos64 as aliases.
46398         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46399         Conditionalize body on this.
46400         * libio/fseeko64.c: Likewise.
46401         * libio/ftello64.c: Likewise.
46402         * libio/iofgetpos64.c: Likewise.
46403         * libio/iofsetpos64.c: Likewise.
46404         * sysdeps/wordsize-64/lockf.c: File removed.
46405         * sysdeps/wordsize-64/lockf64.c: File removed.
46406         * sysdeps/wordsize-64/fseeko.c: File removed.
46407         * sysdeps/wordsize-64/fseeko64.c: File removed.
46408         * sysdeps/wordsize-64/ftello.c: File removed.
46409         * sysdeps/wordsize-64/ftello64.c: File removed.
46410         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46411         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46412         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46413         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46414         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46415         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46416         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46417         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46418         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46419         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46420         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46421         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46422         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46423         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46425         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46427         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46429         [defined __arch64__ || defined __sparcv9]
46430         (__OFF_T_MATCHES_OFF64_T): New macro.
46431         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46432         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46433         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46434         (__OFF_T_MATCHES_OFF64_T): New macro.
46436 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46438         * stdlib/secure-getenv.c (__secure_getenv): Replace
46439         GLIBC_2_16 with GLIBC_2_17.
46441 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46443         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46444         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46446 2012-08-03  David S. Miller  <davem@davemloft.net>
46448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46450 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46452         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46453         Remove.
46454         (__ASSUME_CORRECT_SI_PID): Likewise.
46455         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46456         (__ASSUME_TMPFS_NAME): Likewise.
46457         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46458         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46459         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46460         (HAVE_AUX_SECURE): Make definition unconditional.
46461         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46462         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46464 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46466         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46467         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46468         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46469         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46470         __eloop_threshold instead of SYMLOOP_MAX.
46472         * sysdeps/generic/eloop-threshold.h: New file.
46473         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46474         of MAXSYMLINKS.
46475         * elf/chroot_canon.c (chroot_canon): Likewise.
46477 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46479         [BZ #13717]
46480         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46481         Change to 2.6.0 everywhere.
46482         * sysdeps/unix/sysv/linux/configure: Regenerated.
46483         * sysdeps/unix/sysv/linux/kernel-features.h
46484         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46485         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46486         kernel versions.
46487         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46488         (__ASSUME_FUTEX_REQUEUE): Remove.
46489         (__ASSUME_STATFS64): Define unconditionally.
46490         (__ASSUME_AT_SECURE): Likewise.
46491         (__ASSUME_CORRECT_SI_PID): Likewise.
46492         (__ASSUME_TGKILL): Define without depending on kernel version for
46493         i386.
46494         (__ASSUME_UTIMES): Likewise.
46495         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46496         kernel version.
46497         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46498         (__ASSUME_TMPFS_NAME): Likewise.
46499         * README: Update reference to Linux kernel versions.
46501 2012-08-02  Marek Polacek  <polacek@redhat.com>
46503         [BZ# 14150]
46504         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46505         libc_cv_asm_type_prefix with %.
46506         * configure: Regenerated.
46507         * include/libc-symbols.h: Remove comment about
46508         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46509         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46510         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46511         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46512         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46513         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46514         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46515         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46516         * elf/tst-unique2mod1.c: Likewise.
46517         * elf/tst-unique1mod2.c: Likewise.
46518         * elf/tst-unique1mod1.c: Likewise.
46519         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46520         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46521         Replace ASM_TYPE_DIRECTIVE with .type.
46522         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46523         * sysdeps/i386/sysdep.h: Likewise.
46524         * sysdeps/x86_64/sysdep.h: Likewise.
46525         * sysdeps/sh/sysdep.h: Likewise.
46526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46527         Do not define ASM_TYPE_DIRECTIVE.
46528         * sysdeps/powerpc/sysdep.h: Likewise.
46529         * sysdeps/powerpc/powerpc32/sysdep.h:
46530         Replace ASM_TYPE_DIRECTIVE with .type.
46531         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46532         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46533         * sysdeps/i386/fpu/e_powf.S: Likewise.
46534         * sysdeps/i386/fpu/e_expl.S: Likewise.
46535         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46536         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46537         * sysdeps/i386/fpu/e_pow.S: Likewise.
46538         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46539         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46540         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46541         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46542         * sysdeps/i386/fpu/e_log2.S: Likewise.
46543         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46544         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46545         * sysdeps/i386/fpu/e_powl.S: Likewise.
46546         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46547         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46548         * sysdeps/i386/fpu/e_logl.S: Likewise.
46549         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46550         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46551         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46552         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46553         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46554         * sysdeps/i386/fpu/e_log.S: Likewise.
46555         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46556         * sysdeps/i386/fpu/e_logf.S: Likewise.
46557         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46558         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46559         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46560         * sysdeps/i386/fpu/e_log10.S: Likewise.
46561         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46562         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46563         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46564         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46565         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46566         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46567         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46568         * sysdeps/i386/i686/strtok.S: Likewise.
46569         * sysdeps/i386/i386-mcount.S: Likewise.
46570         * sysdeps/i386/strtok.S: Likewise.
46571         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46572         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46573         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46574         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46575         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46576         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46577         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46578         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46579         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46580         * sysdeps/x86_64/_mcount.S: Likewise.
46581         * sysdeps/x86_64/strtok.S: Likewise.
46582         * sysdeps/sh/_mcount.S: Likewise.
46584 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46586         * libio/iofopen.c: Include <fcntl.h>.
46587         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46588         (_IO_fopen64, fopen64): Define as aliases.
46589         * libio/iofopen64.c: Include <fcntl.h>.
46590         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46591         Conditionalize body on this.
46592         * sysdeps/wordsize-64/iofopen.c: File removed.
46593         * sysdeps/wordsize-64/iofopen64.c: File removed.
46595 2012-08-01  Marek Polacek  <polacek@redhat.com>
46597         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46598         Use dlfcn directly instead of a variable.
46599         (binfmt-subdir): Do not define.
46600         (dlfcn): Likewise.
46602 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46604         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46605         Remove all definitions.
46606         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46607         <kernel-features.h>.
46608         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46609         (miss_F_GETOWN_EX): Remove all definitions.
46610         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46611         macro definition.
46612         [!__ASSUME_FCNTL64]: Remove conditional code.
46613         [__ASSUME_FCNTL64]: Make code unconditional.
46614         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46615         <kernel-features.h>.
46616         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46617         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46618         (lockf64) [__NR_fcntl64]: Make code unconditional.
46619         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46621         * sysdeps/unix/sysv/linux/kernel-features.h
46622         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46623         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46624         Make code unconditional.
46625         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46626         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46628         [__NR_vfork]: Make code unconditional.
46629         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46630         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46632         [__NR_vfork]: Make code unconditional.
46633         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46634         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46636 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46638         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46639         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46641         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46642         Define mkstemp64 as an alias.
46643         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46644         Define mkstemps64 as an alias.
46645         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46646         Define mkostemp64 as an alias.
46647         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46648         Define mkostemps64 as an alias.
46649         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46650         Conditionalize body on this.
46651         * misc/mkostemp64.c: Likewise.
46652         * misc/mkostemps64.c: Likewise.
46653         * misc/mkstemps64.c: Likewise.
46654         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46655         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46656         * sysdeps/wordsize-64/mkostemp.c: File removed.
46657         * sysdeps/wordsize-64/mkstemp.c: File removed.
46658         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46659         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46660         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46661         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46663         [BZ #14138]
46664         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46665         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46666         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46667         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46669         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46670         compat_symbol macros from <shlib-compat.h> rather than the underlying
46671         default_symbol_version and symbol_version macros, so that DEFAULT
46672         lines in shlib-versions are respected.
46673         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46675 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46677         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46678         Declare with warn_unused_result.
46679         (setgid, setregid, setegid, setresgid): Likewise.
46680         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46681         Likewise.
46682         * WUR-REPORT: Remove set*id functions.
46684 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46686         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46688 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46690         [BZ #10191]
46691         * include/sys/socket.h (__libc_accept, __libc_accept4):
46692         Add attribute_hidden.
46693         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46695         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46696         use of PTR_MANGLE.
46697         * inet/getnetgrent_r.c (setup): Likewise.
46699         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46701 2012-07-31  David S. Miller  <davem@davemloft.net>
46703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46705 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46707         [BZ #13629]
46708         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46709         value between 1.0 and 2.0 and smaller part has absolute value less
46710         than 1.0.
46711         * math/s_clog10.c (__clog10): Likewise.
46712         * math/s_clog10f.c (__clog10f): Likewise.
46713         * math/s_clog10l.c (__clog10l): Likewise.
46714         * math/s_clogf.c (__clogf): Likewise.
46715         * math/s_clogl.c (__clogl): Likewise.
46716         * math/libm-test.inc (clog_test): Add more tests.
46717         (clog10_test): Likewise.
46718         * sysdeps/i386/fpu/libm-test-ulps: Update.
46719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46721 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46723         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46724         Exit with zero in case no suitable GID is found, and write a
46725         message to standard error.
46727 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46729         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46730         rather than to 1.
46731         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46732         (MAXPATHLEN): Removed.
46733         (NOGROUP, NODEV): New macros.
46734         (setbit, clrbit, isset, isclr): New macros.
46735         (howmany, roundup, powerof2): New macros.
46736         (DEV_BSIZE): New macro.
46738         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46739         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46741         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46742         definition on [!__NO_LONG_DOUBLE_MATH].
46744         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46745         PTR_MANGLE and PTR_DEMANGLE.
46747         * socket/accept4.c (accept4): Rename to __libc_accept4.
46748         Define accept4 as a weak alias.
46750         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46751         on [_DIRENT_HAVE_D_TYPE].
46752         * io/ftw.c (ftw_dir): Likewise.
46754         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46756         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46758         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46759         Use the BSD numbers rather than the arbitrary ones we had.
46760         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46761         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46762         (SIGXCPU, SIGXFSZ): New macros.
46763         (_NSIG): Now 32.
46765         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46766         initializer on [_LIBC_REENTRANT].
46768         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46769         definitions inside [_POSIX_MAPPED_FILES].
46771         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46773         * dirent/opendir.c: Include <fcntl.h>.
46775         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46776         (__libc_getspecific): Likewise.
46777         (__libc_key_create): Likewise.
46779         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46780         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46781         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46782         (tmpfile64): Define as alias.
46783         * sysdeps/wordsize-64/tmpfile.c: File removed.
46784         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46785         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46786         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46788         * stdio-common/vfscanf.c: Include <stdbool.h>.
46789         * nss/makedb.c: Likewise.
46790         * stdio-common/_i18n_number.h: Likewise.
46791         * argp/argp-help.c: Likewise.
46792         * posix/wordexp.c: Likewise.
46793         * sysdeps/posix/spawni.c: Likewise.
46794         * nss/nss_files/files-initgroups.c: Likewise.
46795         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46796         * nss/nss_files/files-initgroups.c: Likewise.
46797         * nss/nss_db/db-netgrp.c: Likewise.
46798         * nss/nss_db/db-initgroups.c: Likewise.
46799         * io/fchmodat.c: Include <sys/stat.h>.
46801         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46802         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46804         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46805         [HAVE_MMAP].
46807         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46808         Add multiple inclusion protection.
46810 2012-07-27  David S. Miller  <davem@davemloft.net>
46812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46814 2012-07-27  Gary Benson  <gbenson@redhat.com>
46816         [BZ #14298]
46817         * elf/rtld.c: Include <stap-probe.h>.
46818         (dl_main): Added static probes "init_start" and "init_complete".
46819         * elf/dl-load.c: Include <stap-probe.h>.
46820         (lose): Take new parameter "nsid".
46821         Added static probe "map_failed".
46822         (_dl_map_object_from_fd): Pass namespace id to lose.
46823         Added static probe "map_start".
46824         (open_verify): Pass namespace id to lose.
46825         * elf/dl-open.c: Include <stap-probe.h>.
46826         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46827         and "reloc_complete".
46828         * elf/dl-close.c: Include <stap-probe.h>.
46829         (_dl_close_worker): Added static probes "unmap_start" and
46830         "unmap_complete".
46831         * elf/rtld-debugger-interface.txt: New file documenting the above.
46833 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46835         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46836         rather than a string variable.
46837         * sunrpc/rpc_main.c (h_output): Likewise.
46838         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46840 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46842         * inet/check_native.c: New file.
46844 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46846         [BZ #13629]
46847         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46848         if larger part has absolute value 1.0.
46849         * math/s_clog10.c (__clog10): Likewise.
46850         * math/s_clog10f.c (__clog10f): Likewise.
46851         * math/s_clog10l.c (__clog10l): Likewise.
46852         * math/s_clogf.c (__clogf): Likewise.
46853         * math/s_clogl.c (__clogl): Likewise.
46854         * math/libm-test.inc (clog_test): Add more tests.
46855         (clog10_test): Likewise.
46856         * sysdeps/i386/fpu/libm-test-ulps: Update.
46857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46859         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46860         (pltexit): Likewise.
46861         (La_regs): Likewise.
46862         (La_retval): Likewise.
46863         (int_retval): Likewise.
46864         Update #error for removed macros to refer only to definitions in
46865         tst-audit.h.
46866         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46867         macro.
46868         (pltexit): Likewise.
46869         (La_regs): Likewise.
46870         (La_retval): Likewise.
46871         (int_retval): Likewise.
46872         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46873         macro.
46874         (pltexit): Likewise.
46875         (La_regs): Likewise.
46876         (La_retval): Likewise.
46877         (int_retval): Likewise.
46878         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46879         macro.
46880         (pltexit): Likewise.
46881         (La_regs): Likewise.
46882         (La_retval): Likewise.
46883         (int_retval): Likewise.
46884         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46885         macro.
46886         (pltexit): Likewise.
46887         (La_regs): Likewise.
46888         (La_retval): Likewise.
46889         (int_retval): Likewise.
46890         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46891         macro.
46892         (pltexit): Likewise.
46893         (La_regs): Likewise.
46894         (La_retval): Likewise.
46895         (int_retval): Likewise.
46896         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46897         macro.
46898         (pltexit): Likewise.
46899         (La_regs): Likewise.
46900         (La_retval): Likewise.
46901         (int_retval): Likewise.
46902         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46903         macro definitions in tst-audit.h.
46904         * sysdeps/i386/tst-audit.h: New file.
46905         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46906         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46907         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46908         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46909         * sysdeps/sh/tst-audit.h: Likewise.
46910         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46911         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46912         * sysdeps/x86_64/tst-audit.h: Likewise.
46914 2012-07-26  Andreas Jaeger  <aj@suse.de>
46916         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46917         ptrace.
46919         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46920         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46921         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46922         PTRACE_O_MASK.
46923         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46924         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46925         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46927         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46928         value.
46930         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46931         _sigsys.
46932         (si_call_addr, si_syscall, si_arch): Define new macro.
46933         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46934         _sigsys.
46935         (si_call_addr, si_syscall, si_arch): Define new marcro.
46936         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46937         _sigsys.
46938         (si_call_addr, si_syscall, si_arch): Define new macro.
46939         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46940         _sigsys.
46941         (si_call_addr, si_syscall, si_arch): Define new macro.
46943 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46945         [BZ #13717]
46946         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46947         Change to 2.4.21 where previously 2.4.1.
46948         * sysdeps/unix/sysv/linux/configure: Regenerated.
46949         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46950         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46951         Linux kernel version.
46952         (__ASSUME_STD_AUXV): Remove.
46953         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46954         kernel version.
46955         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46956         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46957         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46958         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46959         (__ASSUME_NETLINK_SUPPORT): Likewise.
46960         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46961         (__no_netlink_support): Remove conditional definition.
46962         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46963         Remove.
46964         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46965         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46966         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46967         (if_nameindex_ioctl): Remove.
46968         (if_nameindex_netlink): Do not handle __no_netlink_support.
46969         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46970         code.
46971         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46972         Remove conditional code.
46973         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46974         code.
46975         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46976         unconditional.
46977         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46978         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46979         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46980         Remove.
46981         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46982         [!__ASSUME_STD_AUXV]: Remove conditional code.
46983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46984         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46985         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46987         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46988         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46989         code.
46990         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46992         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46993         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46994         conditional code.
46995         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46997         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46998         code.
46999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47000         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47001         conditional code.
47002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47003         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47004         code unconditional.
47005         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47006         conditional code.
47007         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47008         unconditional.
47009         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47010         conditional code.
47011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47012         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47013         unconditional.
47014         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47015         conditional code.
47016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47017         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47018         code unconditional.
47019         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47020         conditional code.
47021         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47022         unconditional.
47023         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47024         conditional code.
47025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47026         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47027         code unconditional.
47028         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47029         conditional code.
47030         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47031         unconditional.
47032         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47033         conditional code.
47035 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47037         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47038         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47039         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47040         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47041         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47042         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47043         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47044         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47045         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47046         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47047         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47048         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47049         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47050         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47051         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47052         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47053         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47054         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47055         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47057         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47058         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47059         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47061 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47063         * Versions.def: Add GLIBC_2.17.
47064         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47065         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47066         Introduce __libc_secure_getenv.
47067         * stdlib/Versions (2.17): Add secure_getenv
47068         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47069         * stdlib/secure-getenv.c: Rename __secure_getenv to
47070         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47071         symbol __secure_getenv for GLIBC_2.0.
47072         * stdlib/tst-secure-getenv.c: New.
47073         * stdlib/Makefile (tests): Add testcase.
47074         * manual/startup.texi (Environment Access): Document
47075         secure_getenv.
47076         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47077         __libc_secure_getenv.
47078         * inet/ruserpass.c (ruserpass): Likewise.
47079         * malloc/mtrace.c (mtrace): Likewise.
47080         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47081         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47082         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47083         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47084         HAVE_SECURE_GETENV.
47085         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47086         __secure_getenv to __libc_secure_getenv.
47087         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47089         Likewise.
47090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47091         Likewise.
47092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47094         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47100 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47102         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47103         (struct La_i86_retval): Likewise.
47104         (struct La_x86_64_regs): Likewise.
47105         (struct La_x86_64_retval): Likewise.
47106         (struct La_x32_regs): Likewise.
47107         (struct La_x32_retval): Likewise.
47108         (struct La_ppc32_regs): Likewise.
47109         (struct La_ppc32_retval): Likewise.
47110         (struct La_ppc64_regs): Likewise.
47111         (struct La_ppc64_retval): Likewise.
47112         (struct La_sh_regs): Likewise.
47113         (struct La_sh_retval): Likewise.
47114         (struct La_s390_32_regs): Likewise.
47115         (struct La_s390_32_retval): Likewise.
47116         (struct La_s390_64_regs): Likewise.
47117         (struct La_s390_64_retval): Likewise.
47118         (struct La_sparc32_regs): Likewise.
47119         (struct La_sparc32_retval): Likewise.
47120         (struct La_sparc64_regs): Likewise.
47121         (struct La_sparc64_retval): Likewise.
47122         (struct audit_ifaces): Remove architecture-specific pltenter and
47123         pltexit members.
47124         * sysdeps/i386/ldsodefs.h: New file.
47125         * sysdeps/powerpc/ldsodefs.h: Likewise.
47126         * sysdeps/s390/ldsodefs.h: Likewise.
47127         * sysdeps/sh/ldsodefs.h: Likewise.
47128         * sysdeps/sparc/ldsodefs.h: Likewise.
47129         * sysdeps/x86_64/ldsodefs.h: Likewise.
47131 2012-07-25  Marek Polacek  <polacek@redhat.com>
47133         [BZ #6808]
47134         * math/libm-test.inc (yn_test): Add another test.
47135         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47136         to ERANGE when the result is +-Inf.
47137         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47138         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47139         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47140         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47142 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47144         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47145         equal to 0.
47146         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47147         clock_t.
47148         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47150 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47152         * configure.in <sysdeps resolving>: Correct printing
47153         Implies_before.
47154         * configure: Regenerate.
47156 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47158         * math/w_ilogb.c: Include <limits.h>.
47159         * math/w_ilogbl.c: Likewise.
47161 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47163         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47164         va_copy.  Document allowing for unavailable va_copy only as
47165         pre-C99 compatibility.
47166         * manual/string.texi (Copying and Concatenation): Use va_copy
47167         instead of __va_copy in concat example.
47169 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47171         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47172         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47173         it if not null.
47175         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47176         with O_NOLINK passed to __file_name_lookup.
47178         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47179         with O_NOLINK passed to __file_name_lookup.
47181         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47182         negative N or less than NGIDS.
47184         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47185         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47186         enough.  Use memcpy instead of strncpy.
47188 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47190         * elf/Makefile (check-data): Remove.
47191         (localplt.data): New vpath directive.
47192         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47193         instead of $(check-data).
47194         * scripts/data/localplt-generic.data: Move to ...
47195         * sysdeps/generic/localplt.data: ... here.
47196         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47197         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47198         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47200         ... here.
47201         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47203         ... here.
47204         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47206         ... here.
47207         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47209         ... here.
47210         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47212         ... here.
47213         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47215         ... here.
47217 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47219         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47220         PPC32 and PPC64 files.
47221         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47222         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47224 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47226         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47227         __makecontext_ret to ...
47228         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47229         ... here and call exit if uc_link is NULL.  New file.
47230         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47231         __makecontext_ret.S.
47232         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47233         __makecontext_ret to ...
47234         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47235         ... here and call exit if uc_link is NULL.  New file.
47236         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47237         __makecontext_ret.S.
47239 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47241         * elf/elf.h (R_390_IRELATIVE): New definition.
47242         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47243         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47244         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47245         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47246         (elf_machine_lazy_rel): Likewise.
47247         * sysdeps/s390/dl-irel.h: New file.
47248         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47249         * sysdeps/s390/s390-64/memset.S: New asm code.
47250         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47251         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47252         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47253         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47254         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47255         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47256         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47257         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47258         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47259         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47260         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47261         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47262         * sysdeps/s390/s390-32/memset.S: New asm code.
47263         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47265 2012-07-17  Marek Polacek  <polacek@redhat.com>
47267         [BZ #14349]
47268         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47269         * sysdeps/s390/s390-64/configure.in: Likewise.
47270         * sysdeps/sparc/configure.in: Likewise.
47271         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47272         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47273         * sysdeps/i386/configure.in: Likewise.
47274         * sysdeps/x86_64/configure.in: Likewise.
47275         * sysdeps/sh/configure.in: Likewise.
47276         * sysdeps/s390/s390-32/configure: Regenerated.
47277         * sysdeps/s390/s390-64/configure: Likewise.
47278         * sysdeps/x86_64/configure: Likewise.
47279         * sysdeps/sh/configure: Likewise.
47280         * sysdeps/powerpc/powerpc64/configure: Likewise.
47281         * sysdeps/powerpc/powerpc32/configure: Likewise.
47282         * sysdeps/sparc/configure: Likwise.
47283         * sysdeps/i386/configure: Likewise.
47285         * elf/dl-open.c: Comment fixes.
47287 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47289         * Makefile [CXX] (check-data): Remove.
47290         [CXX] (c++-types.data): New vpath directive.
47291         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47292         vpath.  Do not allow for C++ type data being missing.
47293         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47294         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47295         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47296         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47297         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47298         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47299         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47301         ... here.
47302         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47304         ... here.
47305         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47307         ... here.
47308         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47310         ... here.
47311         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47313         ... here.
47314         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47316         ... here.
47317         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47319         ... here.
47320         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47323         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47324         definitions to architecture-specific files.
47325         (TLS_IE): Likewise.
47326         (TLS_LD): Likewise.
47327         (TLS_GD): Likewise.
47328         * sysdeps/i386/tls-macros.h: New file.
47329         * sysdeps/powerpc/tls-macros.h: Likewise.
47330         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47331         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47332         * sysdeps/sh/tls-macros.h: Likewise.
47333         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47334         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47335         * sysdeps/x86_64/tls-macros.h: Likewise.
47337 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47339         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47340         zero value for regular exit case.
47342         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47343         (__start_context): Preserve zero value for regular exit case.
47345 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47346             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47348         * manual/setjmp.texi (setcontext): Clarify normal process
47349         termination when uc_link is the null pointer.
47350         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47351         exit call.
47353 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47355         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47356         preprocessor.  Test for each exception mask separately.
47358 2012-07-16  Andreas Jaeger  <aj@suse.de>
47360         * po/ru.po: Update from translation team.
47362 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47364         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47365         equal to 0.
47366         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47367         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47368         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47369         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47370         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47372 2012-07-13  Andreas Jaeger  <aj@suse.de>
47374         * po/fr.po: Update from translation team.
47376 2012-07-12  Marek Polacek  <polacek@redhat.com>
47378         [BZ #14173]
47379         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47380         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47381         loop condition.
47383 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47385         [BZ #13717]
47386         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47387         Change to 2.4.1 where previously 2.4.0.
47388         * sysdeps/unix/sysv/linux/configure: Regenerated.
47389         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47390         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47391         version.
47392         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47393         (__ASSUME_AT_CLKTCK): Remove.
47394         (__ASSUME_AT_PAGESIZE): Likewise.
47395         (__ASSUME_AT_XID): Likewise.
47396         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47397         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47398         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47399         unconditionally.
47400         (HAVE_AUX_PAGESIZE): Likewise.
47401         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47402         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47403         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47405 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47407         [BZ #14307]
47408         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47409         the temporary buffer used to invoke __gethostbyname2_r,
47410         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47411         host_data / struct gaih_addrtuple.
47412         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47413         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47414         header file nss/nsswitch.h.
47415         * nss/nsswitch.h (global scope): Add definition of implementation
47416         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47417         resolv/nss_dns/dns-host.c).
47419 2012-07-11  Andreas Jaeger  <aj@suse.de>
47421         * po/fr.po: Update from translation team.
47423         * po/sv.po: Update from translation team
47424         * po/fr.po: Another update from translation team.
47426 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47428         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47429         for subnormals or multiply small sinh result by itself.
47430         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47433 2012-07-11  David S. Miller  <davem@davemloft.net>
47435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47437 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47439         [BZ #14347]
47440         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47441         (INTERNAL_MARK): Shift it here.
47443 2012-07-10  Marek Polacek  <polacek@redhat.com>
47445         [BZ #14151]
47446         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47447         libc_cv_asm_global_directive with .globl.
47448         * configure: Regenerated.
47449         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47450         with .globl.
47451         * sysdeps/i386/configure: Regenerated.
47452         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47453         with .globl.
47454         * sysdeps/x86_64/configure: Regenerated.
47455         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47456         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47457         * elf/tst-unique2mod2.c: Likewise.
47458         * elf/tst-unique2mod1.c: Likewise.
47459         * elf/tst-unique1mod2.c: Likewise.
47460         * elf/tst-unique1mod1.c: Likewise.
47461         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47462         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47463         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47464         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47465         * sysdeps/mach/sysdep.h: Likewise.
47466         * sysdeps/i386/sysdep.h: Likewise.
47467         * sysdeps/i386/i386-mcount.S: Likewise.
47468         * sysdeps/x86_64/_mcount.S: Likewise.
47469         * sysdeps/x86_64/sysdep.h: Likewise.
47470         * sysdeps/sh/_mcount.S: Likewise.
47471         * sysdeps/sh/sysdep.h: Likewise.
47472         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47473         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47474         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47475         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47476         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47477         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47478         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47479         * locale/localeinfo.h: Likewise.
47480         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47481         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47483 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47485         [BZ #14336]
47486         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47487         system".
47488         * manual/message.texi (The Uniforum approach): Likewise.
47489         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47490         (glibc iconv Implementation): Likewise.
47492 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47494         [BZ #14337]
47495         * math/s_clog.c (__clog): Avoid scaling a value down where that
47496         could result in underflow.
47497         * math/s_clog10.c (__clog10): Likewise.
47498         * math/s_clog10f.c (__clog10f): Likewise.
47499         * math/s_clog10l.c (__clog10l): Likewise.
47500         * math/s_clogf.c (__clogf): Likewise.
47501         * math/s_clogl.c (__clogl): Likewise.
47502         * math/libm-test.inc (clog_test): Add more tests.
47503         (clog10_test): Likewise.
47504         * sysdeps/i386/fpu/libm-test-ulps: Update.
47505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47507 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47509         [BZ #14283]
47510         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47511         by 7 not 8 to examine high bit of fractional part.
47513         [BZ #14042]
47514         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47515         for call to __mcount_internal.
47516         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47517         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47518         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47520 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47522         [BZ #14154]
47523         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47524         approximation for values within 0x1p-13f of an odd multiple of
47525         pi/4.
47526         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47527         exception.  Add more tests.
47528         * sysdeps/i386/fpu/libm-test-ulps: Update.
47530         [BZ #6778]
47531         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47532         inputs and return -1 for them.  Do not check for +Inf in case not
47533         reachable for +Inf.
47534         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47535         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47536         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47537         and return -1 for them.  Do not check for +Inf in case not
47538         reachable for +Inf.
47539         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47540         define.
47541         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47542         and return -1 for them.  Do not check for +Inf in case not
47543         reachable for +Inf.
47544         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47545         spurious underflow.
47546         * sysdeps/i386/fpu/libm-test-ulps: Update.
47547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47549 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47551         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47553 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47555         [BZ #14157]
47556         [BZ #14331]
47557         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47558         could result in spurious underflow.  Scale down values above
47559         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47560         * math/s_csqrtf.c (__csqrtf): Likewise.
47561         * math/s_csqrtl.c (__csqrtl): Likewise.
47562         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47563         spurious underflow.
47564         * sysdeps/i386/fpu/libm-test-ulps: Update.
47565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47567 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47569         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47570         xopen-msg.sed.
47571         * catgets/xopen-msg.awk: New file.
47572         * catgets/xopen-msg.sed: Removed.
47574         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47575         po2text.sed.
47576         * intl/po2test.awk: New file.
47577         * intl/po2test.sed: Removed.
47579 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47581         [BZ #14328]
47582         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47583         or multiply small sinh result by itself.
47584         * math/s_ctanf.c (__ctanf): Likewise.
47585         * math/s_ctanh.c (__ctanh): Likewise.
47586         * math/s_ctanhf.c (__ctanhf): Likewise.
47587         * math/s_ctanhl.c (__ctanhl): Likewise.
47588         * math/s_ctanl.c (__ctanl): Likewise.
47589         * math/libm-test.inc (ctan_test_tonearest): New function.
47590         (ctan_test_towardzero): Likewise.
47591         (ctan_test_downward): Likewise.
47592         (ctan_test_upward): Likewise.
47593         (ctanh_test_tonearest): Likewise.
47594         (ctanh_test_towardzero): Likewise.
47595         (ctanh_test_downward): Likewise.
47596         (ctanh_test_upward): Likewise.
47597         (main): Call these new functions.
47598         * sysdeps/i386/fpu/libm-test-ulps: Update.
47599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47601 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47603         * .gitignore: Delete /ports entry.
47605 2012-07-03  Andreas Jaeger  <aj@suse.de>
47607         * po/bg.po: Update from translation team.
47608         * po/cs.po: Likewise.
47609         * po/de.po: Likewise.
47610         * po/hr.po: Likewise.
47611         * po/nl.pl: Likewise.
47612         * po/pl.po: Likewise.
47613         * po/vi.po: Likewise.
47615 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47617         * Makeconfig [!+link] (+link-before-libc): New variable.
47618         [!+link] (+link-after-libc): Likewise.
47619         [!+link] (+link-tests): Likewise.
47620         [!+link] (+link): Define in terms of $(+link-before-libc) and
47621         $(+link-after-libc).
47622         [!+link-static] (+link-static-before-libc): New variable.
47623         [!+link-static] (+link-static-after-libc): Likewise.
47624         [!+link-static] (+link-static-tests): Likewise.
47625         [!+link-static] (+link-static): Define in terms of
47626         $(+link-static-before-libc) and $(+link-static-after-libc).
47627         [build-shared] (link-libc-before-gnulib): New variable.
47628         [build-shared] (link-libc-tests): Likewise.
47629         [build-shared] (link-libc): Define in terms of
47630         $(link-libc-before-gnulib).
47631         [!build-shared] (link-libc-tests): New variable.
47632         (link-libc-static-tests): New variable.
47633         [!gnulib] (gnulib-arch): New variable.
47634         [!gnulib] (gnulib-tests): Likewise.
47635         [!gnulib] (static-gnulib-arch): Likewise.
47636         [!gnulib] (static-gnulib-tests): Likewise.
47637         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47638         Define with "=" instead of ":=".
47639         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47640         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47641         * Rules (binaries-all-notests): New variable.
47642         (binaries-all-tests): Likewise.
47643         (binaries-static-notests): Likewise.
47644         (binaries-static-tests): Likewise.
47645         (binaries-all): Define using $(binaries-all-notests) and
47646         $(binaries-all-tests).
47647         (binaries-static): Define using $(binaries-static-notests) and
47648         $(binaries-static-tests).
47649         (binaries-shared-tests): New variable.
47650         (binaries-shared-notests): Likewise.
47651         (binaries-shared): Remove variable.
47652         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47653         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47654         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47655         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47656         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47657         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47658         * elf/Makefile (sln-modules): New variable.
47659         (extra-objs): Add $(sln-modules:=.o).
47660         (ldconfig-modules): Add static-stubs.
47661         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47662         * elf/static-stubs.c: New file.
47664         [BZ #14283]
47665         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47666         by 7 not 8 to examine high bit of fractional part.  Use volatile
47667         variables when splitting into final array of floats if
47668         __FLT_EVAL_METHOD__ != 0.
47669         * math/libm-test.inc (cos_test): Add another test.
47670         (sin_test): Likewise.
47671         * sysdeps/i386/fpu/libm-test-ulps: Update.
47673         [BZ #14273]
47674         * math/libm-test.inc (cosh_test): Add more tests.
47676         * version.h (RELEASE): Set to "development".
47677         (VERSION): Set to "2.16.90".
47679 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47681         * NEWS: Update copyright. Remove last-updated date.
47682         Mention math library bug fixes and timezone data changes.
47683         * README: Mention GNU/Hurd, x32, and HPPA support status.
47685 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47687         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47689 2012-06-27  Andreas Jaeger  <aj@suse.de>
47691         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47693 2012-06-25  Andreas Jaeger  <aj@suse.de>
47695         * sysdeps/s390/fpu/libm-test-ulps: Update.
47697 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47698             Thomas Schwinge  <thomas@codesourcery.com>
47700         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47701         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47702         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47703         fanotify_mark.
47705 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47707         * sysdeps/mach/start.c: Remove file.
47708         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47709         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47710         * sysdeps/sh/init-first.c: Likewise.
47712         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47713         registers for frame unwinding purposes, add CFI directives.
47714         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47715         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47716         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47717         Likewise.
47719         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47720         __fortify_fail returning.
47721         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47723         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47724         sysdeps/sh/____longjmp_chk.S.
47725         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47726         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47727         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47728         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47730         * sysdeps/sh/abort-instr.h: New file.
47731         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47732         process in case exit returns.
47734         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47735         initialize the GOT register before use.
47737         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47738         calculation of ARGC > 4.
47740         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47741         meaningful names to some local labels.
47743 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47744             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47746         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47747         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47748         (__arch_compare_and_exchange_val_16_acq): Likewise.
47749         (__arch_compare_and_exchange_val_32_acq): Likewise.
47750         (atomic_exchange_and_add): Fix gUSA sequence.
47751         (atomic_add): Likewise.
47752         (atomic_add_negative): Likewise.
47753         (atomic_add_zero): Likewise.
47754         (atomic_bit_test_set): Likewise.
47756 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47758         [BZ #13579]
47759         * include/link.h (struct link_map): Add l_free_initfini.
47760         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47761         l_initfini.
47762         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47763         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47764         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47765         set.
47767 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47769         * configure.in: Use AC_LANG_SOURCE.
47770         * configure: Regenerate.
47772 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47774         * configure.in (libc_cv_localstatedir): New substituted variable.
47775         * configure: Regenerated.
47776         * config.make.in (localstatedir): New variable, substituted from
47777         libc_cv_localstatedir.
47778         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47779         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47780         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47781         * sysdeps/gnu/configure: Regenerated.
47783 2012-06-21  Jeff Law  <law@redhat.com>
47785         [BZ #14277]
47786         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47787         free.  Simplify list management for _LIBC case.
47789 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47791         [BZ #14273]
47792         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47793         Clear sign bit of 64-bit integer value before comparing against
47794         overflow value.
47796         * sysdeps/mach/configure: Regenerated.
47798 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47800         [BZ #14278]
47801         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47803 2012-06-21  Jeff Law  <law@redhat.com>
47805         [BZ #13882]
47806         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47807         uint16_t for elements in the "seen" array to avoid char overflows.
47808         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47809         * elf/dl-open.c (dl_open_worker): Likewise.
47811 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47813         * scripts/list-sources.sh: Scan PORTS for translations.
47814         * po/libc.pot: Regenerated.
47816 2012-06-21  Andreas Jaeger  <aj@suse.de>
47818         [BZ #12194]
47819         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47820         warning.
47821         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47822         * bits/byteswap-16.h (__bswap_16): Likewise.
47823         * bits/byteswap.h (__bswap_constant_16): Likewise.
47825 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47827         [BZ #14117]
47828         * sysdeps/i386/fpu_control.h: Removed.
47829         * sysdeps/x86_64/fpu_control.h: Moved to ...
47830         * sysdeps/x86/fpu_control.h: Here.
47832         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47833         (_FPU_SETCW): Likewise.
47835 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47837         [BZ #14117]
47838         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47839         * sysdeps/x86/fpu/bits/mathinline.h: This.
47840         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47842         [BZ #14050]
47843         [BZ #14117]
47844         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47845         functions if __x86_64__ is defined.
47847 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47849         * string/endian.h: Add !__ASSEMBLER__ condition for including
47850         conversion interfaces.
47852 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47854         [BZ #14241]
47855         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47856         of ABS(x) in calculating zero to negative powers other than odd
47857         integers.
47858         * math/libm-test.inc (pow_test): Add more tests.
47860 2012-06-15  Andreas Jaeger  <aj@suse.de>
47862         * manual/contrib.texi (Contributors): Update entry of Liubov
47863         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47864         Machado Filho.
47866 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47868         * string/string.h: Add __wur to GNU version of strerror_r.
47870 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47872         [BZ #14229]
47873         * string/Makefile (tests): Add tst-strtok_r.
47874         * string/tst-strtok_r.c: New file.
47875         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47876         RAX_LP/RDX_LP on SAVE_PTR.
47878 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47880         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47882 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47884         * libm_test.inc (csqrt_test): Allow more spurious underflow
47885         exceptions.
47886         (j0_test): Likewise.
47887         (j1_test): Likewise.
47888         (y0_test): Likewise.
47889         (y1_test): Likewise.
47891 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47893         * po/Makefile (libc.pot): Use UTF-8 charset.
47895 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47897         [BZ #14210]
47898         Suppress sign-conversion warning from FD_SET.
47899         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47900         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47901         not unsigned long int.
47902         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47904 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47906         [BZ #14050]
47907         [BZ #14117]
47908         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47909         __extern_always_inline instead of __extern_inline.
47910         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47911         (__signbit): Likewise.
47912         (__signbitl): Support C++ namespace.
47913         (lrintf): New inline function.
47914         (lrint): Likewise.
47915         (llrintf): Likewise.
47916         (llrint): Likewise.
47917         (fmaxf): Likewise.
47918         (fmax): Likewise.
47919         (fminf): Likewise.
47920         (fmin): Likewise.
47921         (rint): Likewise.
47922         (rintf): Likewise.
47923         (ceil): Likewise.
47924         (ceilf): Likewise.
47925         (floor): Likewise.
47926         (floorf): Likewise.
47927         (nearbyint): Likewise.
47928         (nearbyintf): Likewise.
47930 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47932         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47933         non-default versions.
47935 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47937         [BZ #14218]
47938         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47940 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47942         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47943         (FE_UPWARD, FE_DOWNWARD): Don't define.
47944         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47945         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47947         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47948         reading it.
47949         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47950         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47952 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47954         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47955         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47956         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47957         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47959 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47961         [BZ #14117]
47962         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47963         * sysdeps/i386/fpu/Implies: New file.
47964         * sysdeps/x86_64/fpu/Implies: Likewise.
47965         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47966         * sysdeps/x86/fpu/bits/fenv.h: This.
47968         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47969         __SSE_MATH__.
47971 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47973         [BZ #14134]
47974         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47975         character 0xffff that matches the last element of the
47976         conversion table.
47978 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47980         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47981         fmodl commit.
47983 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47985         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47986         values higher than 25.6283.
47988 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47990         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47991         subnormal exponent extraction and add some __builtin_expect.
47992         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47993         Fix for subnormal mantissa calculation.
47995 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47997         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47998         cpu2 is -1 and errno is not ENOSYS.
48000 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48002         [BZ #14117]
48003         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48004         * sysdeps/x86/bits/string.h: This.
48005         * sysdeps/x86_64/bits/string.h: Removed.
48007         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48008         if not compiling for x86-64, but compiling for >= i486.
48010         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48011         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48013         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48014         New macro from Linux kernel 3.4.0.
48015         (FP_XSTATE_MAGIC2): Likewise.
48016         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48017         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48018         (struct _fpx_sw_bytes): New struct.
48019         (struct _xsave_hdr): Likewise.
48020         (struct _ymmh_state): Likewise.
48021         (struct _xstate): Likewise.
48023         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48024         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48025         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48026         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48027         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48028         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48030         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48031         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48032         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48033         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48034         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48035         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48037 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48039         [BZ #13743]
48040         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48041         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48042         (sysdep_headers): Include sys/platform/ppc.h.
48043         * sysdeps/powerpc/test-gettimebase.c: Test for
48044         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48045         * manual/Makefile (appendices): Include platform.texi.
48046         * manual/contrib.texi (Contributors): Update @node pointers.
48047         * manual/maint.texi (Maintenance): Likewise.
48048         (Platform): New node.
48049         * manual/platform.texi: New file.  Document the new features.
48051 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48052             Jakub Jelinek  <jakub@redhat.com>
48054         [BZ #14188]
48055         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48056         where __builtin_expect is unavailable.
48058 2012-06-03  David S. Miller  <davem@davemloft.net>
48060         * stdlib/longlong.h: Updated from GCC.
48062 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48064         [BZ #14042]
48065         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48066         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48067         __mcount_internal.
48068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48069         (GLIBC_2.16): Likewise.
48071 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48073         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48075 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48078         (default-abi): New variable.
48079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48080         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48081         variable.
48082         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48083         Likewise.
48084         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48085         Likewise.
48086         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48087         Likewise.
48089         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48090         definition.  Document in comment.
48092 2012-06-01  David S. Miller  <davem@davemloft.net>
48094         * stdlib/longlong.h: Updated from GCC.
48096 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48098         [BZ #14117]
48099         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48100         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48101         sys/debugreg.h sys/io.h here.
48102         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48103         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48104         sys/io.h.
48105         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48106         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48107         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48108         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48109         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48110         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48112         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48113         Define only if __x86_64__ is defined.
48115 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48117         [BZ #14048]
48118         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48119         Use int64_t for variable i.
48120         * math/libm-test.inc (fmod_test): Add more tests.
48122         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48123         z computation is not scheduled after fetestexcept.
48124         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48125         Use math_force_eval instead of asm to ensure calculation scheduled
48126         before exception test.
48127         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48128         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48130 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48133         computation is not scheduled after fetestexcept.
48135 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48137         [BZ #14117]
48138         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48139         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48141 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48143         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48144         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48146 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48148         [BZ #14117]
48149         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48150         <bits/wordsize.h>.
48151         (__WCHAR_MIN): Support __WORDSIZE == 64.
48152         (__WCHAR_MAX): Likewise.
48154         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48155         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48157         [BZ #14183]
48158         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48159         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48161         [BZ #14117]
48162         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48163         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48165         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48166         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48168         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48169         Defined to 1 if __x86_64__ isn't defined.
48170         (_STAT_VER_LINUX_OLD): New.
48171         (st_atime): Remove duplicate.
48172         (st_mtime): Likewise.
48173         (st_ctime): Likewise.
48175 2012-05-31  David S. Miller  <davem@davemloft.net>
48177         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48178         entries.
48180 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48182         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48183         gen-libm-test.pl.
48185         [BZ #14132]
48186         * elf/dl-reloc.c: Include <_itoa.h>.
48187         (_dl_reloc_bad_type): Remove use of INTUSE.
48188         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48189         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48190         * stdio-common/psiginfo.c (psiginfo): Likewise.
48191         * stdio-common/psignal.c (psignal): Likewise.
48192         * string/strsignal.c (strsignal): Likewise.
48193         * include/signal.h (_sys_siglist): Declare hidden proto.
48194         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48195         INTVARDEF with libc_hidden_data_def.
48196         * stdio-common/itoa-udigits.c: Likewise.
48197         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48198         (_itoa_lower_digits_internal): Remove declaration.
48199         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48200         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48201         (_sys_sigabbrev_internal): Remove aliases.
48202         (_sys_siglist): Define hidden alias.
48204 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48206         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48207         bits/sysctl.h.
48209 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48211         [BZ #14117]
48212         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48213         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48215         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48216         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48217         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48218         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48219         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48220         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48222         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48223         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48224         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48226         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48227         with __addr.
48228         (insw): Likewise.
48229         (insl): Likewise.
48230         (outsb): Likewise.
48231         (outsw): Likewise.
48232         (outsl): Likewise.
48234         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48235         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48236         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48238         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48239         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48240         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48241         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48242         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48243         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48245         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48246         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48248         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48249         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48251         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48252         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48253         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48255         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48256         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48257         to ...
48258         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48260         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48261         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48262         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48264         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48265         for x86-64.
48266         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48268 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48270         * math/math.h (M_El): Use two more decimal places.
48271         (M_LOG2El): Likewise.
48272         (M_LOG10El): Likewise.
48273         (M_LN2l): Likewise.
48274         (M_LN10l): Likewise.
48275         (M_PIl): Likewise.
48276         (M_PI_2l): Likewise.
48277         (M_PI_4l): Likewise.
48278         (M_1_PIl): Likewise.
48279         (M_2_PIl): Likewise.
48280         (M_2_SQRTPIl): Likewise.
48281         (M_SQRT2l): Likewise.
48282         (M_SQRT1_2l): Likewise.
48284 2012-05-31  David S. Miller  <davem@davemloft.net>
48286         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48287         values between float registers.
48288         * sysdeps/sparc/sparc64/memset.S: Likewise.
48289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48291 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48293         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48294         -D_FORTIFY_SOURCE=1.
48295         (CPPFLAGS-tst-longjmp_chk.c): Define.
48296         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48297         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48298         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48299         CFLAGS-tst-wchar-h.c.
48301 2012-05-31  Marek Polacek  <polacek@redhat.com>
48303         [BZ #14132]
48304         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48305         __endmntent_internal): Remove declaration.
48306         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48307         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48308         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48310 2012-05-30  David S. Miller  <davem@davemloft.net>
48312         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48313         (___Q_simulate_exceptions): Use real FP ops rather than writing
48314         into the %fsr.
48315         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48316         Likewise.
48318 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48320         [BZ #14117]
48321         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48322         * sysdeps/x86/bits/xtitypes.h: This.
48324         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48325         * sysdeps/x86/bits/wordsize.h: This.
48327         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48328         * sysdeps/x86/bits/huge_vall.h: This.
48330         * sysdeps/i386/bits/select.h: Removed.
48331         * sysdeps/x86_64/bits/select.h: Renamed to ...
48332         * sysdeps/x86/bits/select.h: This.
48334         * sysdeps/i386/bits/setjmp.h: Removed.
48335         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48336         * sysdeps/x86/bits/setjmp.h: This.
48338         * sysdeps/i386/bits/mathdef.h: Removed.
48339         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48340         * sysdeps/x86/bits/mathdef.h: This.
48342 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48344         [BZ #14132]
48345         * include/sys/socket.h (__connect_internal)
48346         (__libc_sa_len_internal): Remove declaration.
48347         (__connect, __libc_sa_len): Declare hidden_proto.
48348         (SA_LEN): Remove use of INTUSE.
48349         * socket/connect.c: Add libc_hidden_def.
48350         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48351         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48352         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48353         alias.
48354         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48355         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48356         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48357         of adding _internal alias.
48359 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48361         [BZ #14117]
48362         * sysdeps/i386/bits/link.h: Removed.
48363         * sysdeps/i386/bits/linkmap.h: Likewise.
48364         * sysdeps/x86_64/bits/link.h: Renamed to ...
48365         * sysdeps/x86/bits/link.h: This.
48366         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48367         * sysdeps/x86/bits/linkmap.h: This.
48369         * sysdeps/i386/bits/endian.h: Removed.
48370         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48371         * sysdeps/x86/bits/endian.h: This.
48373         * sysdeps/i386/bits/byteswap.h: Removed.
48374         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48375         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48376         * sysdeps/x86/bits/byteswap.h: This.
48377         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48378         * sysdeps/x86/bits/byteswap-16.h: This.
48379         * sysdeps/i386/Implies: Add x86.
48380         * sysdeps/x86_64/Implies: Likewise.
48382 2012-05-30  David S. Miller  <davem@davemloft.net>
48384         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48385         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48386         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48387         (FP_TRAPPING_EXCEPTIONS): Define.
48388         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48389         (FP_TRAPPING_EXCEPTIONS): Define.
48390         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48391         subnormals only when inexact has been signalled or underflow
48392         exceptions are enabled.
48393         (_FP_PACK_CANONICAL): Likewise.
48395 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48397         [BZ #14183]
48398         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48399         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48401 2012-05-30  Richard Henderson  <rth@twiddle.net>
48403         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48404         with #ifndef NOT_IN_libc.
48406         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48407         marked to avoid plt entry.
48409 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48411         [BZ #14112]
48412         * Makeconfig (default-abi): New macro.
48413         (abi-includes): Likewise.
48414         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48415         $(abi-$(default-abi)-lib-soname) for soname if defined.
48416         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48417         abi-variants.
48418         * Makefile (installed-stubs): Likewise.
48419         * include/stubs-biarch.h: Removed.
48420         * scripts/lib-names.awk: Only handle one library at a time.
48421         * scripts/soversions.awk: Remove WORDSIZE support.
48422         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48423         entries.
48424         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48425         Removed.
48426         (syscall-list-default-condition): Likewise.
48427         (syscall-list-default-condition): Likewise.
48428         (syscall-list-includes): Likewise.
48429         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48430         syscall-list-* with abi-*.  Handle undefined abi-variants.
48431         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48432         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48433         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48434         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48435         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48436         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48437         Removed.
48438         (syscall-list-32-options): Likewise.
48439         (syscall-list-32-condition): Likewise.
48440         (syscall-list-64-options): Likewise.
48441         (syscall-list-64-condition): Likewise.
48442         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48443         macro.
48444         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48445         Renamed to ...
48446         (abi-*): This.
48447         (abi-64-ld-soname): New macro.
48448         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48449         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48450         Renamed to ...
48451         (abi-*): This.
48452         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48453         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48455 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48457         * sysdeps/unix/sysv/linux/kernel-features.h
48458         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48459         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48460         include <kernel-features.h>.
48461         [!__NR_ftruncate64]: Remove conditional code.
48462         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48463         [__NR_ftruncate64]: Make code unconditional.
48464         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48465         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48466         include <kernel-features.h>.
48467         [!__NR_ftruncate64]: Remove conditional code.
48468         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48469         [__NR_ftruncate64]: Make code unconditional.
48470         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48472         include <kernel-features.h>.
48473         [!__NR_ftruncate64]: Remove conditional code.
48474         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48475         [__NR_ftruncate64]: Make code unconditional.
48476         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48478         include <kernel-features.h>.
48479         [!__NR_ftruncate64]: Remove conditional code.
48480         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48481         [__NR_ftruncate64]: Make code unconditional.
48482         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48484         * configure.in (libc_cv_fpie): Weaken to a compile test using
48485         LIBC_TRY_CC_OPTION.
48486         * configure: Regenerated.
48488 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48494         Refreshed.
48495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48501         Refreshed.
48503 2012-05-27  David S. Miller  <davem@davemloft.net>
48505         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48506         (___Q_zero): New.
48507         (__Q_simulate_exceptions): Return void.  Change to simulate
48508         exceptions by writing into the %fsr.
48509         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48510         (__Qp_handle_exceptions): Likewise.
48511         (numbers): Delete.
48512         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48513         __Qp_handle_exceptions.
48514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48515         __Qp_handle_exceptions.
48516         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48517         as unused and give dummy FP_RND_NEAREST initializer.
48518         (FP_INHIBIT_RESULTS): Define.
48519         (___Q_simulate_exceptions): Update declaration.
48520         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48521         formatting.
48522         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48523         as unused and give dummy FP_RND_NEAREST initializer.
48524         (__Qp_handle_exceptions): Update declaration.
48525         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48526         formatting.
48528 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48530         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48531         the temporary FPU control word.
48532         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48533         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48534         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48535         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48536         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48537         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48538         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48539         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48540         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48541         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48542         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48544 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48546         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48547         fields.
48549 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48551         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48552         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48553         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48554         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48555         Likewise.
48556         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48557         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48558         Likewise.
48560 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48562         * po/h.po: Update from translation team.
48564 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48566         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48568         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48569         handling of denormals.
48570         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48571         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48572         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48573         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48574         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48575         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48576         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48577         Likewise.
48579 2012-05-26  Marek Polacek  <polacek@redhat.com>
48581         [BZ #14152]
48582         * math/libm-test.inc (fma_test): Don't always expect underflow
48583         exception.
48585 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48587         [BZ #12416]
48588         * elf/tst-execstack.c: Include stackinfo.h.
48589         (do_test): Adjust test case to ensure that pthread_getattr_np
48590         behaviour remains the same after marking stack executable.
48592 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48594         * sysdeps/unix/sysv/linux/kernel-features.h
48595         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48596         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48597         kernel-features.h.
48598         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48599         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48600         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48601         kernel-features.h.
48602         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48603         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48605 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48607         * configure.in: Define the default includes to being none.
48608         * configure: Regenerated.
48610 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48612         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48613         * sysdeps/x86_64/setjmp.S: Likewise.
48614         * sysdeps/i386/bsd-setjmp.S: Likewise.
48615         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48616         * sysdeps/i386/setjmp.S: Likewise.
48617         * sysdeps/i386/__longjmp.S: Likewise.
48618         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48619         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48621         * include/stap-probe.h: New file.
48622         * configure.in: Handle --enable-systemtap.
48623         * configure: Regenerated.
48624         * config.h.in (USE_STAP_PROBE): New #undef.
48625         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48626         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48627         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48629 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48631         [BZ #13717]
48632         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48633         to 2.4.0 where earlier.
48634         * sysdeps/unix/sysv/linux/configure: Regenerated.
48635         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48636         <kernel-features.h>.
48637         [__ASSUME_32BITUIDS]: Make code unconditional.
48638         [!__ASSUME_32BITUIDS]: Remove conditional code.
48639         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48640         <kernel-features.h>.
48641         [__ASSUME_32BITUIDS]: Make code unconditional.
48642         [!__ASSUME_32BITUIDS]: Remove conditional code.
48643         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48644         [__ASSUME_32BITUIDS]: Make code unconditional.
48645         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48646         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48647         <kernel-features.h>.
48648         [__ASSUME_32BITUIDS]: Make code unconditional.
48649         [!__ASSUME_32BITUIDS]: Remove conditional code.
48650         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48651         <kernel-features.h>.
48652         [__ASSUME_32BITUIDS]: Make code unconditional.
48653         [!__ASSUME_32BITUIDS]: Remove conditional code.
48654         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48655         <kernel-features.h>.
48656         [__ASSUME_32BITUIDS]: Make code unconditional.
48657         [!__ASSUME_32BITUIDS]: Remove conditional code.
48658         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48659         <kernel-features.h>.
48660         [__ASSUME_32BITUIDS]: Make code unconditional.
48661         [!__ASSUME_32BITUIDS]: Remove conditional code.
48662         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48663         <kernel-features.h>.
48664         [__ASSUME_32BITUIDS]: Make code unconditional.
48665         [!__ASSUME_32BITUIDS]: Remove conditional code.
48666         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48667         <kernel-features.h>.
48668         [__ASSUME_32BITUIDS]: Make code unconditional.
48669         [!__ASSUME_32BITUIDS]: Remove conditional code.
48670         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48671         <kernel-features.h>.
48672         [__ASSUME_32BITUIDS]: Make code unconditional.
48673         [!__ASSUME_32BITUIDS]: Remove conditional code.
48674         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48675         <kernel-features.h>.
48676         [__ASSUME_32BITUIDS]: Make code unconditional.
48677         [!__ASSUME_32BITUIDS]: Remove conditional code.
48678         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48679         <kernel-features.h>.
48680         [__ASSUME_32BITUIDS]: Make code unconditional.
48681         [!__ASSUME_32BITUIDS]: Remove conditional code.
48682         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48683         <kernel-features.h>.
48684         [__ASSUME_32BITUIDS]: Make code unconditional.
48685         [!__ASSUME_32BITUIDS]: Remove conditional code.
48686         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48687         <kernel-features.h>.
48688         [__NR_setresgid] (__setresgid): Do not declare.
48689         [__ASSUME_32BITUIDS]: Make code unconditional.
48690         [!__ASSUME_32BITUIDS]: Remove conditional code.
48691         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48692         <kernel-features.h>.
48693         [__NR_setresuid] (__setresuid): Do not declare.
48694         [__ASSUME_32BITUIDS]: Make code unconditional.
48695         [!__ASSUME_32BITUIDS]: Remove conditional code.
48696         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48697         <kernel-features.h>.
48698         [__ASSUME_32BITUIDS]: Make code unconditional.
48699         [!__ASSUME_32BITUIDS]: Remove conditional code.
48700         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48701         <kernel-features.h>.
48702         [__ASSUME_32BITUIDS]: Make code unconditional.
48703         [!__ASSUME_32BITUIDS]: Remove conditional code.
48704         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48705         <kernel-features.h>.
48706         [__ASSUME_32BITUIDS]: Make code unconditional.
48707         [!__ASSUME_32BITUIDS]: Remove conditional code.
48708         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48709         <kernel-features.h>.
48710         [__ASSUME_32BITUIDS]: Make code unconditional.
48711         [!__ASSUME_32BITUIDS]: Remove conditional code.
48712         * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
48737         (__ASSUME_SETRESUID_SYSCALL): Remove.
48738         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48739         (__ASSUME_32BITUIDS): Likewise.
48740         (__ASSUME_LDT_WORKS): Likewise.
48741         (__ASSUME_O_DIRECTORY): Likewise.
48742         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48743         architecture but not kernel version.
48744         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48745         (__ASSUME_MMAP2_SYSCALL): Likewise.
48746         (__ASSUME_STAT64_SYSCALL): Likewise.
48747         (__ASSUME_IPC64): Likewise.
48748         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48749         <kernel-features.h>.
48750         [__ASSUME_32BITUIDS]: Make code unconditional.
48751         [!__ASSUME_32BITUIDS]: Remove conditional code.
48752         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48753         <kernel-features.h>.
48754         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48755         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48756         132096]: Remove conditional code.
48757         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48758         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48759         <kernel-features.h>.
48760         [__ASSUME_32BITUIDS]: Make code unconditional.
48761         [!__ASSUME_32BITUIDS]: Remove conditional code.
48762         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
48767         <kernel-features.h>.
48768         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48769         unconditional.
48770         (__setresgid): Do not declare.
48771         [__ASSUME_32BITUIDS]: Make code unconditional.
48772         [!__ASSUME_32BITUIDS]: Remove conditional code.
48773         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48774         <kernel-features.h>.
48775         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48776         unconditional.
48777         (__setresuid): Do not declare.
48778         [__ASSUME_32BITUIDS]: Make code unconditional.
48779         [!__ASSUME_32BITUIDS]: Remove conditional code.
48780         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48781         <kernel-features.h>.
48782         [__ASSUME_32BITUIDS]: Make code unconditional.
48783         [!__ASSUME_32BITUIDS]: Remove conditional code.
48784         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48785         <kernel-features.h>.
48786         [__ASSUME_32BITUIDS]: Make code unconditional.
48787         [!__ASSUME_32BITUIDS]: Remove conditional code.
48789 2012-05-25  Richard Henderson  <rth@twiddle.net>
48791         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48792         dl_hwcap to ifunc resolver.
48793         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48794         elf_ifunc_invoke.
48795         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48796         dl_hwcap to ifunc resolver.
48797         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48799 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48801         [BZ #14153]
48802         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48803         for |x| <= 2**-26, not 2**-57.
48804         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48805         exception.
48807 2012-05-24  Jeff Law  <law@redhat.com>
48809         * stdio-common/Makefile (tests): Add bug25.
48810         * stdio-common/bug25.c: New test.
48812 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48814         [BZ #13576]
48815         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48816         multiple of MALLOC_ALIGNMENT in size.
48817         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48819 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48821         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48822         Require >= 256.
48823         (FILENAME_MAX): Use macro-int-constant.
48824         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48825         (_IOFBF): Use macro-int-constant.
48826         (_IOLBF): Likewise.
48827         (_IONBF): Likewise.
48828         (SEEK_CUR): Likewise.
48829         (SEEK_END): Likewise.
48830         (SEEK_SET): Likewise.
48831         (TMP_MAX): Likewise.
48832         (EOF): Use macro-int-constant.  Require < 0.
48833         (NULL): Use macro-constant.  Require == 0.
48834         (stdin): Require type to be FILE *.
48835         (stdout): Likewise.
48836         (stderr): Likewise.
48837         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48838         macro-int-constant.
48839         (EXIT_SUCCESS): Likewise.
48840         (NULL): Use macro-constant.  Require == 0.
48841         (RAND_MAX): Use macro-int-constant.
48842         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48843         [C99-based standards] (strtof): Require function.
48844         [C99-based standards] (strtold): Likewise.
48845         [C99-based standards] (strtoll): Likewise.
48846         [C99-based standards] (strtoull): Likewise.
48847         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48848         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48849         [ISO || ISO99 || ISO11] (math.h): Likewise.
48850         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48851         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48852         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48854 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48856         [BZ #14132]
48857         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48858         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48859         * intl/dgettext.c (DCGETTEXT): Likewise.
48860         * intl/gettext.c (DCGETTEXT): Likewise.
48861         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48862         * posix/regex_internal.h (gettext): Likewise.
48863         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48864         Remove declaration.
48865         * include/argz.h (__argz_count_internal)
48866         (__argz_stringify_internal): Remove declaration.
48867         (__argz_count, __argz_stringify): Declare hidden proto.
48868         * intl/dcgettext.c: Remove use of INTDEF.
48869         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48870         * string/argz-stringify.c: Likewise.
48871         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48872         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48873         Declare hidden proto.
48874         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48875         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48876         Declare hidden proto.
48877         * include/stdio.h (__asprintf_internal): Don't declare.
48878         (__asprintf): Don't define as macro.  Declare hidden proto.
48879         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48880         (__fsetlocking): Declare hidden proto.
48881         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48882         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48883         hidden proto.
48884         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48885         (_IO_setlinebuf): Remove use of INTUSE.
48886         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48887         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48888         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48889         Remove declaration.
48890         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48891         (_IO_do_flush): Remove use of INTUSE.
48892         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48893         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48894         (_IO_adjust_column, _IO_least_wmarker)
48895         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48896         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48897         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48898         (_IO_default_doallocate, _IO_wdefault_doallocate)
48899         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48900         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48901         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48902         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48903         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48904         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48905         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48906         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48907         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48908         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48909         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48910         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48911         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48912         proto.
48913         (_IO_flush_all_internal, _IO_adjust_column_internal)
48914         (_IO_default_uflow_internal, _IO_default_finish_internal)
48915         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48916         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48917         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48918         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48919         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48920         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48921         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48922         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48923         (_IO_file_close_internal, _IO_file_close_it_internal)
48924         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48925         (_IO_file_init_internal, _IO_file_attach_internal)
48926         (_IO_file_fopen_internal, _IO_file_read_internal)
48927         (_IO_file_sync_internal, _IO_file_seek_internal)
48928         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48929         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48930         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48931         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48932         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48933         (_IO_list_all_internal, _IO_link_in_internal)
48934         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48935         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48936         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48937         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48938         (_IO_do_write_internal, _IO_padn_internal)
48939         (_IO_getline_info_internal, _IO_getline_internal)
48940         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48941         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48942         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48943         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48944         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48945         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48946         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48947         with libc_hidden_ver, remove use of INTUSE.
48948         * libio/genops.c: Likewise.
48949         * libio/freopen.c: Likewise.
48950         * libio/freopen64.c: Likewise.
48951         * libio/iofclose.c: Likewise.
48952         * libio/iofdopen.c: Likewise.
48953         * libio/iofflush.c: Likewise.
48954         * libio/iofflush_u.c: Likewise.
48955         * libio/iofgets.c: Likewise.
48956         * libio/iofgets_u.c: Likewise.
48957         * libio/iofopen.c: Likewise.
48958         * libio/iofopncook.c: Likewise.
48959         * libio/iofread.c: Likewise.
48960         * libio/iofread_u.c: Likewise.
48961         * libio/ioftell.c: Likewise.
48962         * libio/iofwrite.c: Likewise.
48963         * libio/iogetline.c: Likewise.
48964         * libio/iogets.c: Likewise.
48965         * libio/iogetwline.c: Likewise.
48966         * libio/iopadn.c: Likewise.
48967         * libio/iopopen.c: Likewise.
48968         * libio/ioseekoff.c: Likewise.
48969         * libio/ioseekpos.c: Likewise.
48970         * libio/iosetbuffer.c: Likewise.
48971         * libio/iosetvbuf.c: Likewise.
48972         * libio/ioungetc.c: Likewise.
48973         * libio/ioungetwc.c: Likewise.
48974         * libio/iovdprintf.c: Likewise.
48975         * libio/iovsprintf.c: Likewise.
48976         * libio/iovsscanf.c: Likewise.
48977         * libio/memstream.c: Likewise.
48978         * libio/obprintf.c: Likewise.
48979         * libio/oldfileops.c: Likewise.
48980         * libio/oldiofclose.c: Likewise.
48981         * libio/oldiofdopen.c: Likewise.
48982         * libio/oldiofopen.c: Likewise.
48983         * libio/oldiopopen.c: Likewise.
48984         * libio/oldstdfiles.c: Likewise.
48985         * libio/putc.c: Likewise.
48986         * libio/setbuf.c: Likewise.
48987         * libio/setlinebuf.c: Likewise.
48988         * libio/stdfiles.c: Likewise.
48989         * libio/strops.c: Likewise.
48990         * libio/vasprintf.c: Likewise.
48991         * libio/vscanf.c: Likewise.
48992         * libio/vsnprintf.c: Likewise.
48993         * libio/vswprintf.c: Likewise.
48994         * libio/wfiledoalloc.c: Likewise.
48995         * libio/wfileops.c: Likewise.
48996         * libio/wgenops.c: Likewise.
48997         * libio/wmemstream.c: Likewise.
48998         * libio/wstrops.c: Likewise.
48999         * libio/__fpurge.c: Likewise.
49000         * libio/__fsetlocking.c: Likewise.
49001         * assert/assert.c: Likewise.
49002         * debug/fgets_chk.c: Likewise.
49003         * debug/fgets_u_chk.c: Likewise.
49004         * debug/fread_chk.c: Likewise.
49005         * debug/fread_u_chk.c: Likewise.
49006         * debug/gets_chk.c: Likewise.
49007         * debug/obprintf_chk.c: Likewise.
49008         * debug/vasprintf_chk.c: Likewise.
49009         * debug/vdprintf_chk.c: Likewise.
49010         * debug/vsnprintf_chk.c: Likewise.
49011         * debug/vsprintf_chk.c: Likewise.
49012         * malloc/mtrace.c: Likewise.
49013         * misc/error.c: Likewise.
49014         * misc/syslog.c: Likewise.
49015         * stdio-common/asprintf.c: Likewise.
49016         * stdio-common/fxprintf.c: Likewise.
49017         * stdio-common/getw.c: Likewise.
49018         * stdio-common/isoc99_fscanf.c: Likewise.
49019         * stdio-common/isoc99_scanf.c: Likewise.
49020         * stdio-common/isoc99_vfscanf.c: Likewise.
49021         * stdio-common/isoc99_vscanf.c: Likewise.
49022         * stdio-common/isoc99_vsscanf.c: Likewise.
49023         * stdio-common/printf-prs.c: Likewise.
49024         * stdio-common/printf_fp.c: Likewise.
49025         * stdio-common/printf_fphex.c: Likewise.
49026         * stdio-common/printf_size.c: Likewise.
49027         * stdio-common/putw.c: Likewise.
49028         * stdio-common/scanf.c: Likewise.
49029         * stdio-common/sprintf.c: Likewise.
49030         * stdio-common/tmpfile.c: Likewise.
49031         * stdio-common/vfprintf.c: Likewise.
49032         * stdio-common/vfscanf.c: Likewise.
49033         * stdlib/strfmon_l.c: Likewise.
49034         * sunrpc/openchild.c: Likewise.
49035         * sunrpc/xdr_stdio.c: Likewise.
49036         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49037         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49039 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49041         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49043         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49044         in the third column, to generate for the shared library an IFUNC
49045         that uses _dl_vdso_vsym.
49046         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49047         * Makeconfig (object-suffixes-noshared): New variable.
49049         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49050         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49051         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49052         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49054         [BZ #14132]
49055         * include/sys/time.h (__gettimeofday): Remove macro.
49056         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49057         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49058         Remove INTDEF.
49059         (__gettimeofday): Add libc_hidden_def.
49060         (gettimeofday): Add libc_hidden_weak.
49061         * sysdeps/mach/gettimeofday.c: Likewise.
49062         * sysdeps/posix/gettimeofday.c: Likewise.
49063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49064         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49065         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49066         (__gettimeofday_internal): Remove strong_alias.
49067         (__gettimeofday): Add libc_hidden_def.
49068         (gettimeofday): Add libc_hidden_weak.
49069         * sysdeps/unix/syscalls.list (gettimeofday):
49070         Remove __gettimeofday_internal alias.
49072 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49073             H.J. Lu  <hongjiu.lu@intel.com>
49075         [BZ #12495]
49076         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49077         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49078         (largebin_index_32_big): New.
49079         (largebin_index): Use it for 16-byte alignment.
49080         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49081         correction with front_misalign.
49083 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49087         Likewise.
49088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49089         Likewise.
49090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49091         Likewise.
49092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49093         Likewise.
49094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49095         Likewise.
49096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49097         Likewise.
49098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49099         Likewise.
49100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49101         Likewise.
49102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49103         Likewise.
49104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49105         Likewise.
49106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49107         Likewise.
49108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49109         Likewise.
49111         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49112         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49114 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49116         [BZ #10846]
49117         [BZ #14036]
49118         * math/libm-test.inc (exp_test): Add test from bug 14036.
49119         (pow_test): Add test from bug 10846.
49121         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49122         and other flags.
49123         (special_function): Do not include flags in test name.
49124         (parse_args): Likewise.
49125         * sysdeps/i386/fpu/libm-test-ulps: Update.
49126         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49127         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49128         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49131         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49132         exceptions.
49133         * math/libm-test.inc ("Philosophy"): Update comment about
49134         exception testing.
49135         (UNDERFLOW_EXCEPTION): New macro.
49136         (UNDERFLOW_EXCEPTION_OK): Likewise.
49137         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49138         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49139         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49140         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49141         (INVALID_EXCEPTION_OK): Update value.
49142         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49143         (OVERFLOW_EXCEPTION_OK): Likewise.
49144         (IGNORE_ZERO_INF_SIGN): Likewise.
49145         (test_exceptions): Handle underflow exceptions.
49146         (acos_test): Update for underflow exception expectations.
49147         (cexp_test): Likewise.
49148         (clog_test): Likewise.
49149         (clog10_test): Likewise.
49150         (csqrt_test): Likewise.
49151         (ctan_test): Likewise.
49152         (ctanh_test): Likewise.
49153         (exp_test): Likewise.
49154         (exp10_test): Likewise.
49155         (exp2_test): Likewise.
49156         (expm1_test): Likewise.
49157         (fma_test): Likewise.
49158         (j0_test): Likewise.
49159         (jn_test): Likewise.
49160         (nexttoward_test): Likewise.
49161         (pow_test): Likewise.
49162         (scalbn_test): Likewise.
49163         (scalbln_test): Likewise.
49164         (tan_test): Likewise.
49165         (y1_test): Likewise.
49166         * sysdeps/i386/fpu/libm-test-ulps: Update.
49167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49169 2012-05-23  David S. Miller  <davem@davemloft.net>
49171         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49172         (__libc_sigaction): Remove unused local variables.
49174 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49176         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49178 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49180         mktime: avoid signed integer overflow
49181         * time/mktime.c (__mktime_internal): Do not mishandle the case
49182         where diff == INT_MIN.
49184         mktime: simplify computation of average
49185         * time/mktime.c (ranged_convert): Use new time_t_avg function
49186         instead of rolling our own (probably-slower) code.
49188         mktime: do not assume signed right shift propagates sign bit
49189         * time/mktime.c (isdst_differ): New static function.
49190         (__mktime_internal): No need to normalize tm_isdst now.
49191         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49192         tm_isdst values.
49194         mktime: merge another wrapv change from gnulib
49195         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49196         from some compilers.
49198         mktime: remove incorrect attempt at unusual arithmetics
49199         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49200         The code didn't really work on such machines anyway.
49201         (TYPE_MINIMUM): Assume two's complement.
49202         (twos_complement_arithmetic): Verify that long_int and time_t
49203         are two's complement (or unsigned, in the latter case).
49205         mktime: check signed shifts on long_int and time_t, too
49206         * time/mktime.c (SHR): Check that shifts work as desired
49207         on the types long_int and time_t too, as SHR is used on
49208         such types.
49210         mktime: do not assume 'long' is wide enough
49211         * time/mktime.c (verify): Move decl up.
49212         (long_int): New type.
49213         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49214         to remove assumption in the code that 'long' is wide enough to
49215         store year values.  This assumption is not true on x32 and on
49216         some non-glibc platforms.
49218         mktime: merge wrapv change from gnulib
49219         * time/mktime.c (WRAPV): New macro.
49220         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49221         (guess_time_tm, __mktime_internal): Do not assume that signed
49222         integer overflow wraps around; modern compilers generate code
49223         where this assumption is no longer valid.
49225 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49227         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49228         Replace "jmp L(pseudo_end)" with "ret".
49229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49230         Likewise.
49232 2012-05-23  Andreas Jaeger  <aj@suse.de>
49234         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49235         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49237 2012-05-23  Andreas Jaeger  <aj@suse.de>
49238             Maximilian Attems  <max@stro.at>
49240         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49241         New macros.
49243 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49245         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49246         code so that pseudo_end is just ret and the stack pointer is
49247         correct also for static library in error case.
49249 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49251         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49252         move to syscalls.list.
49253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49258         * manual/install.texi (Running make install): Do not mention Linux
49259         kernel version for which pt_chown is not needed.
49260         (Linux): Do not mention problems with nscd with 2.0 kernels.
49261         * INSTALL: Regenerated.
49263 2012-05-23  Andreas Jaeger  <aj@suse.de>
49265         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49266         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49267         macro.
49268         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49269         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49270         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49271         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49272         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49273         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49274         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49275         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49276         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49277         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49278         * sysdeps/unix/sysv/linux/bits/in.h
49279         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49281 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49283         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49284         (PREPARE_VERSION): Just use assert instead, it will be elided
49285         under [NDEBUG] anyway.
49287 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49289         * sysdeps/unix/sysv/linux/Makefile: Include
49290         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49291         (sysdep_routines): Remove sysctl.
49292         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49293         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49294         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49295         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49296         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49298 2012-05-22  Andreas Jaeger  <aj@suse.de>
49300         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49301         that pseudo_end is just ret and the stack pointer is correct also
49302         for static library in error case.
49304 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49306         [BZ #14122]
49307         * nss/nsswitch.c (defconfig_entries): New variable.
49308         (__nss_database_lookup): Don't leak defconfig entries.
49309         (nss_parse_service_list): Don't leak on error paths.
49310         (free_database_entries): New function.
49311         (free_defconfig): New function.
49312         (free_mem): Move common code to free_database_entries.
49314 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49316         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49317         Add arch_prctl.
49318         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49320         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49321         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49323         New macro.
49324         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49325         (INTERNAL_SYSCALL_TYPES): Likewise.
49326         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49327         (LOAD_REGS_TYPES_[1-6]): Likewise.
49328         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49329         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49331 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49333         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49334         copysignl for GLIBC_2_0.
49335         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49336         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49337         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49338         logbl for GLIBC_2_0.
49339         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49340         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49342 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49344         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49345         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49347         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49348         Use "neg %eax".
49350         * time/mktime.c: Update copyright years.
49352 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49354         mktime: merge comment-quoting-style change from gnulib
49355         * time/mktime.c: Quote 'like this' in comments.
49356         The GNU coding standards suggest that we no longer quote `like this',
49357         as "`" and "'" are typically rendered asymmetrically nowadays.
49358         The typical gnulib style is to quote 'like this' when quoting
49359         code, and "like this" when quoting English.
49361         * time/mktime.c (compile-command): Add "-I.".
49363         mktime: merge mktime-internal.h change from gnulib
49364         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49366         mktime: merge time_r change from gnulib
49367         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49369         mktime: merge DEBUG change from gnulib
49370         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49371         case system <time.h> has a #define.
49373         mktime: merge <sys/types.h> change from gnulib
49374         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49375         since <time.t> is now guaranteed to define time_t.
49377         mktime: merge HAVE_CONFIG_H change from gnulib
49378         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49380 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49383         Use "neg %eax".
49385         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49386         __rlim_t cast.
49387         (struct rusage): Use anonymous union to pad each field to
49388         __syscall_slong_t.
49390 2012-05-21  David S. Miller  <davem@davemloft.net>
49392         * Makefules (o-iterator): Remove .s cases.
49393         (compile-command.s): Delete.
49394         (COMPILE.s): Delete.
49395         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49397 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49399         * configure.in (libc_cv_predef_stack_protector): Only consider
49400         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49401         * configure: Regenerated.
49403 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49406         New macro.  Use R*LP on int and pointer.
49407         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49408         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49409         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49410         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49412         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49413         [__WORDSIZE_TIME64_COMPAT32] instead of
49414         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49415         (struct utmp): Likewise.
49416         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49417         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49418         Renamed to ...
49419         (__WORDSIZE_TIME64_COMPAT32): This.
49420         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49421         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49422         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49423         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49424         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49425         (__WORDSIZE_TIME64_COMPAT32): New macro.
49427 2012-05-21  Andreas Jaeger  <aj@suse.de>
49429         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49430         only if [SHARED]. Add prototype for __wcschr_ia32.
49432 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49434         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49435         of %rbp unmolested in the jmp_buf while mangling the low bits.
49436         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49437         unmolested high bits of %rbp while demangling the low bits.
49438         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49440 2012-05-21  Andreas Jaeger  <aj@suse.de>
49442         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49443         * sunrpc/svc_simple.c: Use it for registerrpc.
49444         * sunrpc/xcrypt.c: Use it for passwd2des.
49446         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49448 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49450         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49451         Don't define if [__SYSCALL_WORDSIZE != 32].
49452         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49453         New macro.
49455 2012-05-21  Bruno Haible  <bruno@clisp.org>
49456             Andreas Jaeger  <aj@suse.de>
49458         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49459         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49460         inptr and inend for must_buffer_ch.
49461         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49462         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49463         * stdio-common/Makefile (tests): Remove bug15.
49464         (bug15-ENV): Remove macro.
49465         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49466         anymore.
49468 2012-05-19  Andreas Jaeger  <aj@suse.de>
49469             Roland McGrath  <roland@hack.frob.com>
49471         * manual/contrib.texi: Completely rewritten. It contains now an
49472         alphabetical list of contributors and their contributions.
49474 2012-05-21  Richard Henderson  <rth@twiddle.net>
49476         * misc/getauxval.c (__getauxval): Use unsigned long int.
49477         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49478         (getauxval): Use unsigned long int.
49480 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49482         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49484 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49486         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49487         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49488         __alignof__ (long double).
49490 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49494 2012-05-20  Richard Henderson  <rth@twiddle.net>
49496         * misc/getauxval.c: New file.
49497         * misc/sys/auxv.h: New file.
49498         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49499         (routines): Add getauxval.
49500         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49501         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49502         * elf/dl-sysdep.c (_dl_auxv): Remove.
49503         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49504         * elf/dl-support.c (_dl_auxv): New variable.
49505         (_dl_aux_init): Initialize it.
49506         * manual/startup.texi (Auxiliary Vector): New node.
49507         * sysdeps/generic/bits/hwcap.h: New file.
49508         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49509         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49510         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49511         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49512         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49513         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49515         Update.
49516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49519         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49525 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49529 2012-05-19  David S. Miller  <davem@davemloft.net>
49531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49533 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49535         [BZ #14123]
49536         * math/s_ccosh.c: Include <float.h>
49537         (__ccosh): Avoid internal overflow calculating sinh and cosh
49538         values before multiplying by sin and cos values.
49539         * math/s_ccoshf.c: Likewise.
49540         * math/s_ccoshl.c: Likewise.
49541         * math/s_csin.c: Likewise.
49542         * math/s_csinf.c: Likewise.
49543         * math/s_csinl.c: Likewise.
49544         * math/s_csinh.c: Likewise.
49545         * math/s_csinhf.c: Likewise.
49546         * math/s_csinhl.c: Likewise.
49547         * math/libm-test.inc (ccos_test): Add more tests.
49548         (ccosh_test): Likewise.
49549         (csin_test): Likewise.
49550         (csinh_test): Likewise.
49551         * sysdeps/i386/fpu/libm-test-ulps: Update.
49552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49554 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49556         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49557         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49559         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49561 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49563         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49564         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49565         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49566         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49567         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49568         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49569         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49570         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49571         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49572         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49573         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49574         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49575         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49576         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49577         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49578         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49579         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49580         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49581         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49582         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49583         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49584         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49585         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49586         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49587         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49588         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49589         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49590         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49591         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49592         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49593         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49595 2012-05-18  Andreas Jaeger  <aj@suse.de>
49597         * csu/.gitignore: Delete.
49599 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49601         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49602         (timex): Use __syscall_slong_t.
49604 2012-05-18  Andreas Jaeger  <aj@suse.de>
49605             Carlos O'Donell  <carlos_odonell@mentor.com>
49607         * manual/install.texi (Configuring and compiling): Update
49608         description about files modified in the source directory.
49609         * INSTALL: Regenerated.
49611 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49613         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49614         value.  Use "or" to set return value to -1.
49615         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49616         negate return value.
49618 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49620         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49621         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49622         failure if the compiler has Graphite support disabled.
49623         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49624         Likewise.
49625         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49626         (CFLAGS-memmove.c): Likewise.
49627         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49628         Likewise.
49630 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49632         * sysdeps/x86_64/x32/_itoa.h: New file.
49634         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49635         getdents system call only if kernel and user dirents have the
49636         same d_ino and d_off.
49638         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49639         LLONG_MAX != LONG_MAX.
49640         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49641         (_fitoa_word): Likewise.
49643         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49644         years.
49645         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49646         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49647         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49649         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49650         include <bits/wordsize.h>.  Check __x86_64__ instead of
49651         __WORDSIZE.
49652         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49653         if __x86_64__ is defined.  Use anonymous union on fpstate.
49655         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49656         anonymous union.
49658 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49660         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49661         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49662         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49663         Refer to _rtld_local_ro instead of _rtld_global_ro.
49664         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49665         Likewise.
49666         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49667         Likewise.
49668         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49669         Likewise.
49670         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49671         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49672         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49674         [BZ #10882]
49675         * sysdeps/powerpc/powerpc32/dl-machine.c
49676         (__elf_machine_runtime_setup) [PROF]: Don't reference
49677         _dl_prof_resolve.
49679 2012-05-18  Andreas Jaeger  <aj@suse.de>
49681         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49682         function only available for GCCs before 3.4 since GCC 3.4
49683         introduced a builtin.
49684         (lrint): Likewise.
49685         (llrintf): Likewise.
49686         (llrint): Likewise.
49687         (fmaxf): Likewise.
49688         (fmax): Likewise.
49689         (fminf): Likewise.
49690         (fmin): Likewise.
49691         (rint): Likewise.
49692         (rintf): Likewise.
49693         (nearbyint): Likewise.
49694         (nearbyintf): Likewise.
49695         (ceil): Likewise.
49696         (ceilf): Likewise.
49697         (floor): Likewise.
49698         (floorf): Likewise.
49700 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49702         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49703         on both fields and cast pointer to __syscall_ulong_t.
49705         * bits/types.h (__fsword_t): New type.
49706         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49707         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49708         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49709         (__FSWORD_T_TYPE): Likewise.
49710         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49711         (__FSWORD_T_TYPE): Likewise.
49712         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49713         (__FSWORD_T_TYPE): Likewise.
49714         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49715         (__FSWORD_T_TYPE): Likewise.
49716         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49717         __SWORD_TYPE with __fsword_t.
49718         (statfs64): Likewise.
49720 2012-05-17  David S. Miller  <davem@davemloft.net>
49722         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49724 2012-05-17  Andreas Jaeger  <aj@suse.de>
49726         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49727         warning.
49729 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49731         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49733 2012-05-17  Andreas Jaeger  <aj@suse.de>
49735         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49736         when it is used.
49738 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49740         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49742 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49744         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49745         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49747 2012-05-17  Andreas Jaeger  <aj@suse.de>
49748             Carlos O'Donell  <carlos_odonell@mentor.com>
49750         [BZ #14059]
49751         * sysdeps/x86_64/multiarch/init-arch.h
49752         (bit_YMM_Usable): Rename to...
49753         (bit_AVX_Usable): ... this.
49754         (bit_FMA4_Usable): New macro.
49755         (bit_XMM_state): New macro.
49756         (bit_YMM_state): New macro.
49757         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49758         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49759         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49760         (CPUID_OSXSAVE): New macro.
49761         (CPUID_AVX): New macro.
49762         (CPUID_FMA4): New macro.
49763         (index_YMM_Usable): Rename to...
49764         (index_AVX_Usable): ... this.
49765         (HAS_AVX): Use HAS_ARCH_FEATURE.
49766         (HAS_FMA4): Likewise.
49767         (HAS_YMM_USABLE): Remove.
49768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49769         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49770         are present.
49771         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49772         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49773         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49774         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49775         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49777 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49779         * math/libm-test.c: Support platforms without multiple rounding modes.
49780         * math/bug-nextafter.c: Support platforms without FP exceptions.
49781         * math/bug-nexttoward.c: Likewise.
49782         * math/test-fenv.c: Likewise.
49783         * math/test-misc.c: Likewise.
49784         * stdlib/bug-getcontext.c: Likewise.
49786 2012-05-17  Andreas Jaeger  <aj@suse.de>
49788         * manual/examples/search.c (critter_cmp): Change signature to
49789         avoid warnings.
49790         * manual/string.texi (Collation Functions): Likewise.
49792 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49794         * bits/types.h: Fold copyright years.
49795         * bits/typesizes.h: Likewise.
49796         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49797         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49798         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49799         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49800         * time/time.h: Likewise.
49802 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49804         [BZ #208]
49805         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49806         in instead of returning them.  Return void.
49807         (__libc_mallinfo): Accumulate over all arenas.
49808         (__malloc_stats): Adjust for change in int_mallinfo interface.
49810 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49812         [BZ #10375]
49813         * configure.in (NM): Add AC_CHECK_TOOL for it.
49814         (libc_extra_cflags): New substituted variable.
49815         Check for -fstack-protector being used implicitly.
49816         * configure: Regenerated.
49817         * config.make.in (config-extra-cflags): New variable,
49818         gets @libc_extra_cflags@.
49819         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49821         [BZ #10375]
49822         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49823         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49824         * configure: Regenerated.
49825         * config.make.in (CPPUNDEFS): New substituted variable.
49826         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49827         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49828         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49830 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49832         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49833         (mq_attr): Use __syscall_slong_t.
49835 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49837         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49838         Check __x86_64__ instead of __WORDSIZE.
49839         (_STAT_VER_LINUX): Likewise.
49840         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49841         __syscall_ulong_t and __syscall_slong_t.
49842         (stat64): Likewise.
49844 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49846         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49848 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49850         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49852 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49854         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49855         __syscall_ulong_t.
49857         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49858         include <bits/wordsize.h>.  Check __x86_64__ instead of
49859         __WORDSIZE.
49860         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49861         defined.
49862         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49864         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49865         include <bits/wordsize.h>.  Check __x86_64__ instead of
49866         __WORDSIZE.
49867         (user_regs_struct): Use "__extension__ unsigned long long"
49868         instead of "unsigned long" if __x86_64__ is defined.
49869         (user): Likewise.  Pad after pointer field if __ILP32__ is
49870         defined.
49872 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49874         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49875         versions 5 to 9.
49876         * configure: Regenerated.
49877         * manual/install.texi (texinfo): Increase version requirement to
49878         4.5 or later.
49879         * INSTALL: Regenerated.
49881         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49883 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49885         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49887         * sysdeps/x86_64/x32/ffs.c: New file.
49889         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49890         __syscall_ulong_t.
49891         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49892         defined.  Use __syscall_ulong_t.
49893         (shminfo): Use __syscall_ulong_t.
49894         (shm_info): Likewise.
49896         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49897         __syscall_ulong_t.
49899         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49900         <bits/wordsize.h>.
49901         (msgqnum_t): Use __syscall_ulong_t.
49902         (msglen_t): Likewise.
49903         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49904         __syscall_ulong_t.
49906         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49907         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49909         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49911         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49912         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49914         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49915         __syscall_slong_t.
49917         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49918         include <bits/wordsize.h>.  Check __x86_64__ instead of
49919         __WORDSIZE.
49921         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49922         "unsigned long long int" if __x86_64__ is defined.
49923         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49925         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49926         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49927         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49929         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49930         <stdint.h>.
49931         (GET_PC): Cast to uintptr_t first.
49932         (GET_FRAME): Likewise.
49933         (GET_STACK): Likewise.
49935         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49936         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49937         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49938         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49939         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49940         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49941         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49942         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49943         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49944         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49945         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49946         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49947         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49948         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49949         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49950         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49951         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49952         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49953         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49954         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49955         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49956         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49957         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49958         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49959         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49960         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49961         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49962         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49963         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49965 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49967         * Makerules (+depfiles): Also collect depfiles from .oS in
49968         $(extra-objs).
49969         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49970         .oS, $(libnldbl-routines)).
49972         * Makerules (native-compile-mkdep-flags): Define.
49973         * sunrpc/Makefile (extra-objs): Add $(addprefix
49974         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49975         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49976         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49977         calling $(make-target-directory).
49979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49981         * bits/types.h (__snseconds_t): Removed.
49982         * time/time.h (struct timespec): Replace __snseconds_t with
49983         __syscall_slong_t.
49984         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49985         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49986         Likewise.
49987         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49988         (__SNSECONDS_T_TYPE): Likewise.
49989         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49990         (__SNSECONDS_T_TYPE): Likewise.
49991         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49992         (__SNSECONDS_T_TYPE): Likewise.
49994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49996         * sysdeps/mach/hurd/bits/typesizes.h
49997         (__SYSCALL_SLONG_TYPE): New macro.
49998         (__SYSCALL_ULONG_TYPE): Likewise.
50000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50002         * bits/types.h (__syscall_slong_t): New type.
50003         (__syscall_ulong_t): Likewise.
50005         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50006         (__SYSCALL_ULONG_TYPE): Likewise.
50007         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50008         (__SYSCALL_SLONG_TYPE): Likewise.
50009         (__SYSCALL_ULONG_TYPE): Likewise.
50010         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50011         (__SYSCALL_SLONG_TYPE): Likewise.
50012         (__SYSCALL_ULONG_TYPE): Likewise.
50013         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50014         (__SYSCALL_SLONG_TYPE): Likewise.
50015         (__SYSCALL_ULONG_TYPE): Likewise.
50017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50019         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50020         Add sigaltstack-offsets.sym.
50021         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50022         <sigaltstack-offsets.h>.
50023         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50024         longjmp_msg pointer.
50025         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50026         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50027         signal stack.
50028         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50030 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50032         * elf/stackguard-macros.h: Remove file.
50033         * sysdeps/generic/stackguard-macros.h: New file.
50034         * sysdeps/i386/stackguard-macros.h: Likewise.
50035         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50036         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50037         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50038         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50039         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50040         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50041         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50042         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50043         <elf/stackguard-macros.h>.
50045         [BZ #14109]
50046         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50047         __aligned__ in attribute.
50048         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50049         (gregset_t): Likewise.
50051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50053         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50054         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50055         * sysdeps/x86_64/x32/Implies-after: New file.
50057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50059         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50060         and access return value for _dl_profile_fixup.  Use R10_LP to
50061         load frame size.
50063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50065         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50069         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50070         * sysdeps/x86_64/x32/sysdep.h: New file.
50072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50074         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50075         * sysdeps/x86_64/setjmp.S: Likewise.
50077 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50079         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50080         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50081         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50082         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50083         remove unused global constant.
50085 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50087         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50088         include of <not-cancel.h>.
50090 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50092         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50094 2012-05-15  Jeff Law  <law@redhat.com>
50095             Andreas Jaeger  <aj@suse.de>
50097         [BZ #13594]
50098         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50099         out from...
50100         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50101         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50102         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50103         code changing __hst_map_handle.map.
50105 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50107         * configure.in (sysnames): Look for Implies-before and Implies-after
50108         files.
50109         * configure: Regenerated.
50111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50113         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50114         8-byte data alignment with LP_SIZE alignment.
50116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50118         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50119         into R10_LP.
50121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50123         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50127         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50128         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50129         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50130         Likewise.
50131         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50135         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50136         (stackinfo_sub_sp): Likewise.
50138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50140         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50141         RAX_LP.
50143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50145         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50146         into R*_LP.
50148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50150         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50151         sizes into R*_LP.
50153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50155         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50159         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50160         into R11_LP and load __x86_64_shared_cache_size_half into
50161         R8_LP.
50163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50165         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50166         R8_LP.
50168 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50170         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50171         logb for POWER7.
50172         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50173         logbf for POWER7.
50174         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50175         logbl for POWER7.
50176         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50177         powerpc32/power7/fpu/s_logb.c via #include.
50178         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50179         powerpc32/power7/fpu/s_logbf.c via #include.
50180         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50181         powerpc32/power7/fpu/s_logbl.c via #include.
50183 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50185         * README.libm: Remove file.
50187 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50189         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50190         count for x32.  Use R*_LP and omit operand-size suffix.
50192 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50194         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50195         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50196         * sysdeps/x86_64/x32/shlib-versions: New file.
50198 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50200         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50201         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50202         Use _dl_fatal_printf instead.
50204 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50206         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50207         set if not set by the user.  Do not allow for being unset.
50208         * sysdeps/unix/sysv/linux/configure: Regenerated.
50210 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50212         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50213         the `q' suffix from lea and replace .quad with ASM_ADDR.
50215 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50218         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50219         instead of $17.
50220         (PTR_DEMANGLE): Likewise.
50222 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50224         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50225         (LP_OP): Likewise.
50226         (ASM_ADDR): Likewise.
50227         (RAX_LP): Likewise.
50228         (RBP_LP): Likewise.
50229         (RBX_LP): Likewise.
50230         (RCX_LP): Likewise.
50231         (RDI_LP): Likewise.
50232         (RSI_LP): Likewise.
50233         (RSP_LP): Likewise.
50234         (R8_LP): Likewise.
50235         (R9_LP): Likewise.
50236         (R10_LP): Likewise.
50237         (R10_LP): Likewise.
50238         (R11_LP): Likewise.
50239         (R12_LP): Likewise.
50240         (R13_LP): Likewise.
50241         (R14_LP): Likewise.
50242         (R15_LP): Likewise.
50244 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50246         * sysdeps/x86_64/x32/dl-machine.h: New file.
50248 2012-05-14  Andreas Jaeger  <aj@suse.de>
50250         * manual/Makefile (subdir): Remove export of subdir.
50251         (all): Remove target.
50252         (.PHONY): Remove all from list.
50253         (mkinstalldirs): Remove.
50254         (.PHONY): Remove installdirs from list.
50255         ($(inst_infodir)/libc.info): Use make-target-directory.
50256         (installdirs): Remove.
50257         (subdir_%): Remove.
50258         (glibc-targets): Remove.
50259         (lib): Remove.
50260         (stubs): Remove.
50261         ($(objpfx)stubs ../po/manual.pot): Remove.
50262         ($(objpfx)stamp%): Remove.
50263         (make-target-directory): Remove.
50264         (subdir_install): Remove.
50265         (routines): Remove.
50266         (aux): Remove.
50267         (sources): Remove.
50268         (objects): Remove.
50269         (headers): Remove.
50271         [BZ #13750]
50272         * manual/.gitignore: Remove, it's not needed anymore.
50273         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50274         all files in it.
50275         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50276         directory.
50277         (texis): Renamed to $(objpfx)texis.
50278         (texis-path): New, contains path to generated files.
50279         (chapters.%): Use texis-path for complete path, add extra argument
50280         libc-texinfo.sh.
50281         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50282         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50283         (summary,texi, stamp-summary): Use complete path of
50284         files. Generate files in build dir.
50285         (dir-add.texi): Build in build dir.
50286         (libm-err.texi,stamp-libm-err): Likewise.
50287         (version.texi, stamp-version): Likewise.
50288         (.%c.texi): Likewise.
50289         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50290         (mostlyclean): Remove target.
50291         (realclean): Remove target.
50292         (generated): Add new variable with contents from mostlyclean and
50293         realclean, remove entries duplicated in common-mostlyclean, add
50294         stamp-libm-err and stamp-version.
50295         (generated-dirs): Add libc directory.
50296         ($(inst_infodir)/libc.info): Install files from build dir.
50298         * manual/install.texi (Configuring and compiling): Adjust since
50299         the info files are not part of the tar ball anymore.
50301 2012-05-14  Andreas Jaeger  <aj@suse.de>
50303         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50304         variable.
50306 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50308         [BZ #13717]
50309         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50310         to 2.2.0 where earlier.
50311         * sysdeps/unix/sysv/linux/configure: Regenerated.
50312         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50313         Remove conditional code.
50314         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50315         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50316         Remove conditional code.
50317         [!__NR_lchown]: Likewise.
50318         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50319         [__NR_lchown]: Likewise.
50320         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50321         comment referencing __ASSUME_LCHOWN_SYSCALL.
50322         * sysdeps/unix/sysv/linux/i386/sigaction.c
50323         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50324         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50325         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50326         Remove conditional code.
50327         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50328         (__protocol_available): Remove #if 0 code.
50329         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50330         conditional code.
50331         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50332         * sysdeps/unix/sysv/linux/kernel-features.h
50333         (__ASSUME_GETCWD_SYSCALL): Don't define.
50334         (__ASSUME_REALTIME_SIGNALS): Likewise.
50335         (__ASSUME_PREAD_SYSCALL): Likewise.
50336         (__ASSUME_PWRITE_SYSCALL): Likewise.
50337         (__ASSUME_POLL_SYSCALL): Likewise.
50338         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50339         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50340         non-SPARC.
50341         (__ASSUME_SIOCGIFNAME): Don't define.
50342         (__ASSUME_MSG_NOSIGNAL): Likewise.
50343         (__ASSUME_SENDFILE): Define unconditionally.
50344         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50345         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50346         conditional code.
50347         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50348         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50349         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50350         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50351         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50352         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50353         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50355         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50356         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50358         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50359         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50361         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50362         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50364         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50365         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50367         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50368         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50370         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50371         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50373         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50374         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50376         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50377         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50378         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50379         Remove conditional code.
50380         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50381         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50382         Remove conditional code.
50383         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50384         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50385         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50386         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50387         Remove conditional code.
50388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50389         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50390         Remove conditional code.
50391         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50392         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50393         Remove conditional code.
50394         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50395         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50396         Remove conditional code.
50397         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50398         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50399         Remove conditional code.
50400         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50401         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50402         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50403         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50404         * sysdeps/unix/sysv/linux/sigaction.c
50405         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50406         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50407         * sysdeps/unix/sysv/linux/sigpending.c
50408         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50409         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50410         * sysdeps/unix/sysv/linux/sigprocmask.c
50411         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50412         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50413         * sysdeps/unix/sysv/linux/sigsuspend.c
50414         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50415         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50416         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50417         (__libc_missing_rt_sigs): Remove.
50418         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50419         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50420         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50421         Remove conditional code.
50422         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50423         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50424         return 1.
50425         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50426         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50427         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50428         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50430 2012-05-14  Andreas Jaeger  <aj@suse.de>
50432         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50433         it's not used in glibc.
50434         (__coshm1): Likewise.
50435         (__acosh1p): Likewise.
50436         (__sgn): Likewise.
50438         * manual/string.texi (Copying and Concatenation): Add missing
50439         variable in concat example.
50440         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50442 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50444         [BZ #14103]
50445         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50446         __builtin_clzl with __builtin_clzll.
50448 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50450         [BZ #14104]
50451         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50452         libc_freeres_ptr.
50454 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50456         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50457         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50458         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50459         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50461 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50463         * NEWS: Update ia64 info.
50465 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50467         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50468         used as bcopy.
50470 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50472         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50473         * sysdeps/unix/syscalls.list (dup3): Likewise.
50474         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50475         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50477 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50479         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50480         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50482 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50484         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50485         thread pointer.
50486         (TLS_IE): Use mov/add instead of movq/addq to load thread
50487         pointer.
50488         (TLS_GD_PREFIX): New.
50489         (TLS_GD): Use it.
50491 2012-05-11  David S. Miller  <davem@davemloft.net>
50493         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50494         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50495         (_FPU_SETCW): Likewise.
50497 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50499         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50500         is 32-byte aligned.
50502 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50504         [BZ #11837]
50505         * iconvdata/gb18030.c: Update tables.
50506         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50507         characters specially.
50508         (BODY for TO_LOOP): Add encoding of missing ranges.
50510 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50512         [BZ #13673]
50513         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50514         * sysdeps/mach/hurd/dup3.c: Likewise.
50515         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50516         * sysdeps/powerpc/memmove.c:: Likewise.
50518 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50520         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50521         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50523 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50525         * elf/elf.h (R_X86_64_RELATIVE64): New.
50526         (R_X86_64_NUM): Updated.
50527         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50528         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50529         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50530         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50531         tst-quad1pie tst-quad2pie
50532         (modules-names): Add tst-quadmod1 tst-quadmod2.
50533         ($(objpfx)tst-quad1): New dependency.
50534         ($(objpfx)tst-quad2): Likewise.
50535         ($(objpfx)tst-quad1pie): Likewise.
50536         ($(objpfx)tst-quad2pie): Likewise.
50537         * sysdeps/x86_64/tst-quad1.c: New file.
50538         * sysdeps/x86_64/tst-quad1pie.c: New file.
50539         * sysdeps/x86_64/tst-quad2.c: Likewise.
50540         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50541         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50542         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50543         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50544         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50546 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50548         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50549         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50550         * streams/stropts.h (t_scalar_t): Define type.
50552         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50553         (_PATH_PRESERVE): Set to "/var/lib".
50554         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50556         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50557         instead of int.
50559         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50560         if __dir_mkfile succeeded.
50562         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50563         checking for _hurd_dtablesize.  Unlock it right after having
50564         finished _hurd_dtable allocation.
50566 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50568         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50569         * sysdeps/mach/hurd/configure: Regenerated.
50570         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50571         special-casing to...
50572         * sysdeps/gnu/configure.in: ... this new file.
50573         * sysdeps/unix/sysv/linux/configure: Regenerated.
50574         * sysdeps/gnu/configure: New generated file.
50576         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50577         for Linux: use nsec instead of usec, as well as:
50578         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50579         members of type struct timespec.
50580         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50581         New macros.
50582         (struct stat64): Likewise.
50583         (_STATBUF_ST_NSEC): New macro.
50584         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50586         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50587         __strtoul_internal rather than strtoul.
50589 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50591         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50592         and reject them.
50594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50596         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50597         which preserves existing values.
50598         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50600 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50602         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50603         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50604         greater than FD_SETSIZE.
50606 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50608         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50609         allocated, call __vm_protect to finish enabling the existing space, and
50610         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50611         allocate the remainder.
50613 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50615         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50616         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50618 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50620         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50621         sysdeps/mach/hurd/readlink.c.
50623         * posix/tst-sysconf.c (posix_options): Only use
50624         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50625         _POSIX_SYNCHRONIZED_IO when they are defined
50626         * sysdeps/mach/hurd/bits/posix_opt.h:
50627         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50628         (_XOPEN_REALTIME): Undefine macro.
50629         (_XOPEN_REALTIME_THREADS): Undefine macro.
50630         (_XOPEN_SHM): Undefine macro.
50631         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50632         macro to -1.
50633         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50634         macro to -1.
50635         (_POSIX_ASYNC_IO): Undefine macro.
50636         (_POSIX_PRIORITIZED_IO): Undefine macro.
50637         (_POSIX_SPIN_LOCKS): Define macro to -1.
50639         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50640         SA_NODEFER, SA_RESETHAND.
50641         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50642         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50643         F_DUPFD_CLOEXEC.
50645 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50647         * elf/Makefile (pldd-modules): Define unconditionally.
50649 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50651         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50655         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50656         Return ENOENT when name is empty.
50657         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50659 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50661         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50663         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50665 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50667         Fix mlock in all cases except non-readable pages.
50668         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50669         instead of VM_PROT_ALL as parameter to __vm_wire function.
50671         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50672         (__mkdir): When path is `/', just fail with EEXIST.
50673         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50675 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50677         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50678         <sys/uio.h> (for writev).
50679         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50680         and <sys/param.h> (for MIN).
50682 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50684         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50685         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50686         if interrupted.
50688 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50690         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50691         Depend on against $(link-rpcuserlibs).
50693 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50695         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50696         (__libc_stack_end): Do not use attribute_relro.
50697         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50698         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50699         to libthread-provided value.
50700         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50701         attribute_relro.
50703 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50705         [BZ #3748]
50706         * bits/libc-lock.h (__libc_once_get): New macro.
50707         * sysdeps/mach/bits/libc-lock.h: Likewise.
50708         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50709         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50710         instead of using implementation details.
50712         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50713         * libio/freopen.c: Likewise.
50714         * libio/freopen64.c: Likewise.
50715         * misc/syslog.c: Likewise.
50716         * nscd/connections.c: Likewise.
50717         * nscd/netgroupcache.c: Likewise.
50718         * sysdeps/posix/getcwd.c: Likewise.
50720 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50722         * math/w_ilogbf.c: Add #include <limits.h>.
50724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50726         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50727         path instead of returning without unlocking.
50729         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50730         immediate-write ioctls.
50731         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50733 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50735         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50736         __builtin_frame_address instead of making assumptions about the
50737         location of the return address relative to DATA.  Force early load of
50738         the return address.
50739         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50740         __builtin_frame_address.
50742         dup3 for GNU Hurd.
50743         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50744         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50745         implement dup3 and do some further code clean-ups.
50746         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50747         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50749 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50751         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50753         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50754         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50755         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50756         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50757         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50758         d->port.lock.
50760         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50761         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50762         when handler == SIG_ERR, not when handler != SIG_ERR.
50764 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50766         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50767         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50768         definitions.
50770         accept4 for GNU Hurd.
50771         * include/sys/socket.h (__libc_accept4): New prototype.
50772         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50773         to implement __libc_accept4.
50774         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50775         __libc_accept4.
50776         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50778         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50779         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50780         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50781         signal-defines.sym.
50783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50785         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50787 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50789         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50790         assertion on O_CLOEXEC flag.
50791         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50792         * hurd/intern-fd.c: Likewise.
50793         * hurd/port2fd.c: Likewise.
50795 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50797         [BZ #3906]
50798         * bits/in.h (IPV6_PKTINFO): Define new macro.
50799         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50801 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50803         [BZ #13954]
50804         [BZ #13955]
50805         [BZ #13956]
50806         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50807         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50808         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50809         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50810         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50811         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50812         * math/libm-test.inc (logb_test) : Additional logb tests.
50814 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50815             Andreas Jaeger  <aj@suse.de>
50817         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50818         * configure: Regenerated.
50819         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50820         * config.make.in (link-obsolete-rpc): New substituted variable.
50821         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50822         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50823         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50824         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50825         so that libc.a contains the symbols.
50826         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50827         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50828         * sunrpc/auth_none.c: Likewise.
50829         * sunrpc/auth_unix.c: Likewise.
50830         * sunrpc/authdes_prot.c: Likewise.
50831         * sunrpc/authuxprot.c: Likewise.
50832         * sunrpc/clnt_gen.c: Likewise.
50833         * sunrpc/clnt_perr.c: Likewise.
50834         * sunrpc/clnt_raw.c: Likewise.
50835         * sunrpc/clnt_simp.c: Likewise.
50836         * sunrpc/clnt_tcp.c: Likewise.
50837         * sunrpc/clnt_udp.c: Likewise.
50838         * sunrpc/clnt_unix.c: Likewise.
50839         * sunrpc/des_crypt.c: Likewise.
50840         * sunrpc/des_soft.c: Likewise.
50841         * sunrpc/get_myaddr.c: Likewise.
50842         * sunrpc/key_call.c: Likewise.
50843         * sunrpc/key_prot.c: Likewise.
50844         * sunrpc/netname.c: Likewise.
50845         * sunrpc/pm_getmaps.c: Likewise.
50846         * sunrpc/pm_getport.c: Likewise.
50847         * sunrpc/pmap_clnt.c: Likewise.
50848         * sunrpc/pmap_prot.c: Likewise.
50849         * sunrpc/pmap_prot2.c: Likewise.
50850         * sunrpc/pmap_rmt.c: Likewise.
50851         * sunrpc/publickey.c: Likewise.
50852         * sunrpc/rpc_cmsg.c: Likewise.
50853         * sunrpc/rpc_common.c: Likewise.
50854         * sunrpc/rpc_dtable.c: Likewise.
50855         * sunrpc/rpc_prot.c: Likewise.
50856         * sunrpc/rpc_thread.c: Likewise.
50857         * sunrpc/rtime.c: Likewise.
50858         * sunrpc/svc.c: Likewise.
50859         * sunrpc/svc_auth.c: Likewise.
50860         * sunrpc/svc_raw.c: Likewise.
50861         * sunrpc/svc_run.c: Likewise.
50862         * sunrpc/svc_tcp.c: Likewise.
50863         * sunrpc/svc_udp.c: Likewise.
50864         * sunrpc/svc_unix.c: Likewise.
50865         * sunrpc/svcauth_des.c: Likewise.
50866         * sunrpc/xcrypt.c: Likewise.
50867         * sunrpc/xdr.c: Likewise.
50868         * sunrpc/xdr_array.c: Likewise.
50869         * sunrpc/xdr_float.c: Likewise.
50870         * sunrpc/xdr_intXX_t.c: Likewise.
50871         * sunrpc/xdr_mem.c: Likewise.
50872         * sunrpc/xdr_rec.c: Likewise.
50873         * sunrpc/xdr_ref.c: Likewise.
50874         * sunrpc/xdr_sizeof.c: Likewise.
50875         * sunrpc/xdr_stdio.c: Likewise.
50877 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50879         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50880         change.  Update copyright years.
50882 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50884         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50886 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50887             Joseph Myers  <joseph@codesourcery.com>
50888             Paul Pluzhnikov  <ppluzhnikov@google.com>
50890         [BZ #14012]
50891         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50892         requiring rpcgen.
50893         [cross-compiling] (extra-libs): Likewise.
50894         [cross-compiling] (extra-libs-others): Likewise.
50895         [cross-compiling] (librpcsvc-routines): Likewise.
50896         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50897         [cross-compiling] (omit-deps): Likewise.
50898         (sunrpc-CPPFLAGS): New variable.
50899         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50900         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50901         (cross-rpcgen-objs): New variable.
50902         (extra-objs): Append $(cross-rpcgen-objs).
50903         ($(cross-rpcgen-objs)): New rule.
50904         ($(objpfx)cross-rpcgen): Likewise.
50905         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50906         comment.
50907         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50908         ($(objpfx)x%.stmp): Likewise.
50909         * sunrpc/proto.h [IS_IN_build] (_): Define.
50910         [IS_IN_build] (_libc_intl_domainname): Likewise.
50912 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50914         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50915         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50916         and R_X86_64_TPOFF64.
50918 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50920         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50921         sysdeps/unix/sysv/syscalls.list.
50922         (stime): Likewise.
50923         (utime): Likewise.
50924         * sysdeps/unix/sysv/syscalls.list: Remove file.
50926 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50928         [BZ #3440]
50929         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50930         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50931         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50932         (__LC_IDENTIFICATION): Make these macros useful in #if
50933         expressions, as required by C99.
50935 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50937         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50938         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50939         after this.
50941 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50943         * stdlib/longlong.h: Updated from GCC.
50945 2012-05-09  Andreas Jaeger  <aj@suse.de>
50947         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50948         default is first entry.
50949         (run_mode): Set type.
50950         (main): Remove informal message about syslog.
50951         (options): Fix typo.
50953         [BZ #14053]
50954         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50955         to asm.
50956         (lrint): Likewise.
50957         (llrintf): Likewise.
50958         (llrint): Likewise.
50959         (rint): Likewise.
50960         (rintf): Likewise.
50961         (nearbyint): Likewise.
50962         (nearbyintf): Likewise.
50964 2012-05-09  Andreas Jaeger  <aj@suse.de>
50965             Pedro Alves  <palves@redhat.com>
50967         * nscd/nscd.c (run_mode): Use enum.
50968         (main): Cleanup coding style issue.
50970 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50971             Andreas Jaeger  <aj@suse.de>
50973         * nscd/nscd.c (go_background): Replaced with...
50974         (run_mode): ... this.
50975         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50976         (options): Add -F --foreground.
50977         (main): Implement it.
50978         (parse_opt): Parse it.
50980 2012-05-09  Andreas Jaeger  <aj@suse.de>
50982         [BZ #14083]
50983         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50984         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50985         -Wconversion warning.
50986         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50987         Likewise.
50989 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50991         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50992         == 0.
50993         (LC_ALL): Use macro-int-constant.
50994         (LC_COLLATE): Likewise.
50995         (LC_CTYPE): Likewise.
50996         (LC_MESSAGES): Likewise.
50997         (LC_MONETARY): Likewise.
50998         (LC_NUMERIC): Likewise.
50999         (LC_TIME): Likewise.
51000         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51001         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51002         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51003         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51004         Specify type.
51005         [C99-based standards] (float_t): Expect type.
51006         [C99-based standards] (double_t): Expect type.
51007         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51008         type.
51009         [C99-based standards] (HUGE_VALL): Likewise.
51010         [C99-based standards] (INFINITY): Likewise.
51011         [C99-based standards] (NAN): Likewise.
51012         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51013         [C99-based standards] (FP_NAN): Likewise.
51014         [C99-based standards] (FP_NORMAL): Likewise.
51015         [C99-based standards] (FP_SUBNORMAL): Likewise.
51016         [C99-based standards] (FP_ZERO): Likewise.
51017         [C99-based standards] (FP_FAST_FMA): Use
51018         optional-macro-int-constant.  Specify type.  Require == 1.
51019         [C99-based standards] (FP_FAST_FMAF): Likewise.
51020         [C99-based standards] (FP_FAST_FMAL): Likewise.
51021         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51022         [C99-based standards] (FP_ILOGBNAN): Likewise.
51023         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51024         Specify type.
51025         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51026         [C99-based standards] (math_errhandling): Specify type.
51027         [ISO99 || ISO11] (signgam): Do not allow.
51028         [non-C99-based standards] (copysignf): Do not allow.
51029         [non-C99-based standards] (exp2f): Likewise.
51030         [non-C99-based standards] (log2f): Likewise.
51031         [non-C99-based standards] (modff): Allow.
51032         [non-C99-based standards] (erff): Do not allow.
51033         [non-C99-based standards] (erfcf): Likewise.
51034         [non-C99-based standards] (gammaf): Likewise.
51035         [non-C99-based standards] (hypotf): Likewise.
51036         [non-C99-based standards] (j0f): Likewise.
51037         [non-C99-based standards] (j1f): Likewise.
51038         [non-C99-based standards] (jnf): Likewise.
51039         [non-C99-based standards] (lgammaf): Likewise.
51040         [non-C99-based standards] (tgammaf): Likewise.
51041         [non-C99-based standards] (y0f): Likewise.
51042         [non-C99-based standards] (y1f): Likewise.
51043         [non-C99-based standards] (ynf): Likewise.
51044         [non-C99-based standards] (isnanf): Likewise.
51045         [non-C99-based standards] (acoshf): Likewise.
51046         [non-C99-based standards] (asinhf): Likewise.
51047         [non-C99-based standards] (atanhf): Likewise.
51048         [non-C99-based standards] (cbrtf): Likewise.
51049         [non-C99-based standards] (expm1f): Likewise.
51050         [non-C99-based standards] (ilogbf): Likewise.
51051         [non-C99-based standards] (log1pf): Likewise.
51052         [non-C99-based standards] (logbf): Likewise.
51053         [non-C99-based standards] (nextafterf): Likewise.
51054         [non-C99-based standards] (remainderf): Likewise.
51055         [non-C99-based standards] (rintf): Likewise.
51056         [non-C99-based standards] (scalbf): Likewise.
51057         [non-C99-based standards] (copysignl): Likewise.
51058         [non-C99-based standards] (exp2l): Likewise.
51059         [non-C99-based standards] (log2l): Likewise.
51060         [non-C99-based standards] (modfl): Allow.
51061         [non-C99-based standards] (erfl): Do not allow.
51062         [non-C99-based standards] (erfcl): Likewise.
51063         [non-C99-based standards] (gammal): Likewise.
51064         [non-C99-based standards] (hypotl): Likewise.
51065         [non-C99-based standards] (j0l): Likewise.
51066         [non-C99-based standards] (j1l): Likewise.
51067         [non-C99-based standards] (jnl): Likewise.
51068         [non-C99-based standards] (lgammal): Likewise.
51069         [non-C99-based standards] (tgammal): Likewise.
51070         [non-C99-based standards] (y0l): Likewise.
51071         [non-C99-based standards] (y1l): Likewise.
51072         [non-C99-based standards] (ynl): Likewise.
51073         [non-C99-based standards] (isnanl): Likewise.
51074         [non-C99-based standards] (acoshl): Likewise.
51075         [non-C99-based standards] (asinhl): Likewise.
51076         [non-C99-based standards] (atanhl): Likewise.
51077         [non-C99-based standards] (cbrtl): Likewise.
51078         [non-C99-based standards] (expm1l): Likewise.
51079         [non-C99-based standards] (ilogbl): Likewise.
51080         [non-C99-based standards] (log1pl): Likewise.
51081         [non-C99-based standards] (logbl): Likewise.
51082         [non-C99-based standards] (nextafterl): Likewise.
51083         [non-C99-based standards] (remainderl): Likewise.
51084         [non-C99-based standards] (rintl): Likewise.
51085         [non-C99-based standards] (scalbl): Likewise.
51086         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51087         [non-C99-based standards] (FP_*): Do not allow.
51088         [C99-based standards] (FP_*): Change to
51089         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51090         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51091         allow.
51092         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51093         (SIG_ERR): Likewise.
51094         [X/Open-based standards] (SIG_HOLD): Likewise.
51095         (SIG_IGN): Likewise.
51096         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51097         positive value.
51098         (SIGFPE): Likewise.
51099         (SIGILL): Likewise.
51100         (SIGINT): Likewise.
51101         (SIGSEGV): Likewise.
51102         (SIGTER): Likewise.
51103         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51104         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51105         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51106         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51107         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51108         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51109         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51110         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51111         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51112         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51113         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51114         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51115         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51116         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51117         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51118         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51119         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51120         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51121         [X/Open-based standards] (SIGTRAP): Likewise.
51122         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51123         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51124         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51125         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51126         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51127         allow.
51129 2012-05-08  Ian Wienand  <ianw@vmware.com>
51131         [BZ #14080]
51132         * time/tzset.c (__tzset_parse_tz): Update default rules for
51133         daylight time changes in the Energy Policy Act of 2005.
51135 2012-05-09  Andreas Jaeger  <aj@suse.de>
51137         [BZ #13983]
51138         * elf/ldconfig.c (parse_conf): Change string to make clear that
51139         ldconfig only issued a warning if ld.so.conf does not exist.
51141 2012-05-08  David S. Miller  <davem@davemloft.net>
51143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51144         movxtod instead of popping the value on the stack.
51146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51148 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51150         * config.h.in: Add HAVE_ARM_PCS_VFP.
51152 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51154         [BZ #13979]
51155         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51156         checking but the checks are disabled for any reason.
51158 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51160         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51161         and ELF64_R_TYPE with ELFW(R_TYPE).
51163 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51165         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51166         (ulimit): Likewise.
51168         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51169         (settimeofday): Likewise.
51171 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51173         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51174         a struct th_u2 inside the union, and move tu_block/tu_code into
51175         a new th_u3 union of tu_block/tu_code inside of that.  Move
51176         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51177         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51178         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51179         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51180         (th_stuff): Change to th_u1.tu_stuff.
51181         (th_data): Define.
51182         (th_msg): Change to th_u1.th_u2.tu_data.
51184 2012-05-07  David S. Miller  <davem@davemloft.net>
51186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51188         [BZ #14074]
51189         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51190         (SETUP_PIC_REG): Use it.
51191         (SETUP_PIC_REG_LEAF): Use it.
51193 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51195         [BZ #13885]
51196         [BZ #13923]
51197         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51198         USE_AS_EXPM1L.
51199         (EXPL_FINITE): Likewise.
51200         (FLDLOG): Likewise.
51201         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51202         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51203         e_expl.S.
51204         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51205         USE_AS_EXPM1L.
51206         (EXPL_FINITE): Likewise.
51207         (FLDLOG): Likewise.
51208         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51209         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51210         e_expl.S.
51211         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51212         test of -max_value argument for long double.
51213         * sysdeps/i386/fpu/libm-test-ulps: Update.
51214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51216 2012-05-06  David S. Miller  <davem@davemloft.net>
51218         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51219         quad soft-float symbols whose references which are compiler
51220         generated.
51221         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51223 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51225         [BZ #13884]
51226         [BZ #13914]
51227         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51228         USE_AS_EXP10L.
51229         (EXPL_FINITE): Likewise.
51230         (FLDLOG): Likewise.
51231         (c0): Likewise.
51232         (c1): Likewise.
51233         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51234         Adjust comments for base varying.
51235         (__expl_finite): Change alias to EXPL_FINITE.
51236         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51237         e_expl.S.
51238         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51239         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51240         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51241         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51242         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51243         USE_AS_EXP10L.
51244         (EXPL_FINITE): Likewise.
51245         (FLDLOG): Likewise.
51246         (c0): Likewise.
51247         (c1): Likewise.
51248         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51249         Adjust comments for base varying.
51250         (__expl_finite): Change alias to EXPL_FINITE.
51251         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51252         tests for bugs.
51253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51255         [BZ #14064]
51256         * math/libm-test.inc (check_float_internal): Correct ulp
51257         calculation for subnormal expected results.
51259 2012-05-06  Andreas Jaeger  <aj@suse.de>
51261         * Makeconfig (+math-flags): New, set to -frounding-math.
51262         (+cflags): Add +math-flags so that all of glibc gets compiled with
51263         it.
51265         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51267 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51269         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51270         Disable one test.
51272         [BZ #13787]
51273         [BZ #13922]
51274         [BZ #14036]
51275         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51276         (__ieee754_expl): Allow for and saturate large arguments.
51277         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51278         (u_threshold): Likewise.
51279         (__exp): Call __ieee754_exp before checking for overflow and
51280         underflow.
51281         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51282         (u_threshold): Likewise.
51283         (__expf): Call __ieee754_expf before checking for overflow and
51284         underflow.
51285         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51286         (u_threshold): Likewise.
51287         (__expl): Call __ieee754_expl before checking for overflow and
51288         underflow.
51289         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51290         (__ieee754_expl): Allow for and saturate large arguments.
51291         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51292         missing overflow exception on overflow.
51293         (expm1_test): Do not allow missing overflow exception on overflow.
51295         * sysdeps/i386/fpu/e_expl.c: Move to ...
51296         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51297         rather than using inline asm.
51298         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51299         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51300         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51302         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51303         (nice): Likewise.
51304         (poll): Likewise.
51305         (signal): Likewise.
51306         (time): Likewise.
51307         (times): Likewise.
51309 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51311         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51312         sysdeps/unix/common/syscalls.list.
51313         (fchmod): Likewise.
51314         (fchown): Likewise.
51315         (ftruncate): Likewise.
51316         (getrusage): Likewise.
51317         (gettimeofday): Likewise.
51318         (setpgid): Likewise.
51319         (setregid): Likewise.
51320         (setreuid): Likewise.
51321         (sigaction): Likewise.
51322         (truncate): Likewise.
51323         (vhangup): Likewise.
51324         * sysdeps/unix/common/syscalls.list: Remove file.
51325         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51326         * sysdeps/unix/sysv/linux/Implies: Likewise.
51328 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51330         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51332         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51333         Moved to ...
51334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51335         Here.
51336         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51337         to ...
51338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51339         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51340         to ...
51341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51342         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51343         to ...
51344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51345         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51346         to ...
51347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51348         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51349         to ...
51350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51351         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51352         to ...
51353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51354         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51355         to ...
51356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51357         Here.
51358         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51359         to ...
51360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51361         Here.
51362         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51363         to ...
51364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51365         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51366         Moved to ...
51367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51368         Here.
51369         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51370         to ...
51371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51373 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51375         * sysdeps/unix/common/bits/dirent.h: Remove file.
51376         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51378         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51379         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51380         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51381         * sysdeps/unix/bsd/isatty.c: Likewise.
51382         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51383         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51384         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51386 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51388         [BZ #13563]
51389         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51390         long double comparison inaccuracies.
51391         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51394 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51396         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51397         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51399 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51401         [BZ #14049]
51402         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51403         nonzero digits before rounding a hex value.
51404         * stdlib/tst-strtod.c (tests): Add another test.
51406 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51408         * sysdeps/s390/fpu/libm-test-ulps: Update.
51410 2012-05-03  Andreas Jaeger  <aj@suse.de>
51412         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51413         does not get optimized out.
51414         (malloc_opt_barrier): New.
51416 2012-05-03  Andreas Jaeger  <aj@suse.de>
51417             Roland McGrath  <roland@hack.frob.com>
51419         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51420         intermediate file deletion.
51421         (generated): Add .symlist files.
51423 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51425         [BZ #13775]
51426         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51427         Redirect under this condition.
51428         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51429         [__USE_GNU] (__dprintf_chk): Not under this condition.
51430         [__USE_GNU] (__vdprintf_chk): Likewise.
51431         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51432         under this condition.
51433         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51434         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51435         [__USE_XOPEN2K8] (vdprintf): Likewise.
51436         [__USE_GNU] (__dprintf_chk): Not under this condition.
51437         [__USE_GNU] (__vdprintf_chk): Likewise.
51438         [__USE_GNU] (dprintf): Likewise.
51439         [__USE_GNU] (vdprintf): Likewise.
51441 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51443         * elf/Makefile (common-generated): Set this instead of generated for
51444         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51445         $(all-built-dso)-derived lists.
51447 2012-05-03  Andreas Jaeger  <aj@suse.de>
51449         * sysdeps/i386/fpu/libm-test-ulps: Update.
51451         * FAQ: Removed.
51452         * FAQ.in: Likewise.
51453         * scripts/gen-FAQ.pl: Likewise.
51454         * manual/install.texi (Installation): Point to online location of
51455         FAQ.
51456         * Makefile (files-for-dist): Remove FAQ.
51457         (FAQ): Remove.
51459 2012-05-02  Allan McRae  <allan@archlinux.org>
51461         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51462         (LDFLAGS-reldepmod5.so): Likewise.
51463         (LDFLAGS-reldep6mod1.so): Likewise.
51464         (LDFLAGS-reldep6mod4.so): Likewise.
51465         (LDFLAGS-reldep8mod3.so): Likewise.
51466         (LDFLAGS-unload4mod1.so): Likewise.
51467         (LDFLAGS-unload4mod2.so): Likewise.
51468         (LDFLAGS-tst-initorder): Likewise.
51469         (LDFLAGS-tst-initordera2.so): Likewise.
51470         (LDFLAGS-tst-initordera3.so): Likewise.
51471         (LDFLAGS-tst-initordera4.so): Likewise.
51472         (LDFLAGS-tst-initorderb2.so): Likewise.
51473         (LDFLAGS-noload): Likewise.
51474         (LDFLAGS-next): Likewise.
51475         (LDFLAGS-order2mod1.so): Likewise.
51476         (LDFLAGS-order2mod2.so): Likewise.
51477         (LDFLAGS-tst-initorder2): Likewise.
51478         (LDFLAGS-tst-initorder2a.so): Likewise.
51479         (LDFLAGS-tst-initorder2b.so): Likewise.
51480         (LDFLAGS-tst-initorder2c.so): Likewise.
51481         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51483 2012-05-02  David S. Miller  <davem@davemloft.net>
51485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51487 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51489         [BZ #14055]
51490         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51492 2012-05-02  Andreas Jaeger  <aj@suse.de>
51494         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51495         since we manipulate rounding mode.
51496         (CPPFLAGS-test-idouble.c): Likewise.
51497         (CPPFLAGS-test-ifloat.c): Likewise.
51498         (CFLAGS-test-ldouble.c): Likewise.
51499         (CFLAGS-test-double.c): Likewise.
51500         (CFLAGS-test-float.c): Likewise.
51501         (CFLAGS-test-misc.c): Likewise.
51502         (CFLAGS-test-test-fenv.c): Likewise.
51504 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51506         [BZ #2550]
51507         [BZ #2570]
51508         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51509         comparisons to determine direction to adjust input.
51511 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51513         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51514         output to the target.
51516         * scripts/localplt.awk: New file.
51517         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51518         (check-localplt-CFLAGS): Variable removed.
51519         ($(all-built-dso:=.jmprel)): New static pattern rule.
51520         (generated): Add those targets.
51521         (localplt-built-dso): New variable.
51522         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51524         * elf/check-localplt.c: File removed.
51526         * scripts/check-execstack.awk: New file.
51527         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51528         (check-execstack-CFLAGS): Variable removed.
51529         ($(objpfx)check-execstack.h): Target removed.
51530         ($(objpfx)execstack-default): New target.
51531         (generated): Add that instead of check-execstack.h.
51532         ($(all-built-dso:=.phdr)): New static pattern rule.
51533         (generated): Add those targets.
51534         * elf/check-execstack.c: File removed.
51536         * scripts/check-textrel.awk: New file.
51537         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51538         (check-textrel-CFLAGS): Variable removed.
51539         (all-built-dso): Use := to define.o
51540         ($(all-built-dso:=.dyn)): New static pattern rule.
51541         (generated): Add those targets.
51542         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51543         * config.make.in (READELF): New substituted variable.
51544         * elf/check-textrel.c: File removed.
51546 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51548         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51549         allow.
51550         * conform/data/ctype.h-data [C99-based standards] (isblank):
51551         Expect function.
51552         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51553         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51554         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51555         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51556         Specify type.  Require positive value.
51557         (EILSEQ): Likewise.
51558         (ERANGE): Likewise.
51559         [ISO || POSIX] (EILSEQ): Do not expect.
51560         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51561         Specify type.  Require positive value.
51562         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51563         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51564         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51565         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51566         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51567         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51568         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51569         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51570         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51571         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51572         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51573         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51574         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51575         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51576         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51577         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51578         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51579         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51580         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51581         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51582         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51583         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51584         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51585         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51586         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51587         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51588         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51589         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51590         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51591         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51592         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51593         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51594         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51595         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51596         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51597         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51598         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51599         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51600         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51601         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51602         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51603         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51604         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51605         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51606         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51607         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51608         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51609         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51610         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51611         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51612         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51613         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51614         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51615         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51616         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51617         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51618         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51619         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51620         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51621         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51622         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51623         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51624         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51625         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51626         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51627         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51628         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51629         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51630         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51631         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51632         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51633         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51634         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51635         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51636         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51637         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51638         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51639         Require >= 2.
51640         (FLT_ROUNDS): Expect as macro, not constant.
51641         (FLT_MANT_DIG): Use macro-int-constant.
51642         (DBL_MANT_DIG): Likewise.
51643         (LDBL_MANT_DIG): Likewise.
51644         (FLT_DIG): Likewise.
51645         (DBL_DIG): Likewise.
51646         (LDBL_DIG): Likewise.
51647         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51648         (DBL_MIN_EXP): Likewise.
51649         (LDBL_MIN_EXP): Likewise.
51650         (FLT_MAX_EXP): Use macro-int-constant.
51651         (DBL_MAX_EXP): Likewise.
51652         (LDBL_MAX_EXP): Likewise.
51653         (FLT_MAX_10_EXP): Likewise.
51654         (DBL_MAX_10_EXP): Likewise.
51655         (LDBL_MAX_10_EXP): Likewise.
51656         (FLT_MAX): Use macro-constant.
51657         (DBL_MAX): Likewise.
51658         (LDBL_MAX): Likewise.
51659         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51660         (DBL_EPSILON): Likewise.
51661         (LDBL_EPSILON): Likewise.
51662         (FLT_MIN): Likewise.
51663         (DBL_MIN): Likewise.
51664         (LDBL_MIN): Likewise.
51665         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51666         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51667         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51668         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51669         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51670         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51671         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51672         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51673         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51674         [ISO11] (FLT_TRUE_MIN): Likewise.
51675         [ISO11] (LDBL_TRUE_MIN): Likewise.
51676         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51677         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51678         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51679         (SCHAR_MAX): Likewise.
51680         (UCHAR_MAX): Likewise.
51681         (CHAR_MIN): Likewise.
51682         (CHAR_MAX): Likewise.
51683         (MB_LEN_MAX): Use macro-int-constant.
51684         (SHRT_MIN): Use macro-int-constant.  Specify type.
51685         (SHRT_MAX): Likewise.
51686         (USHRT_MAX): Likewise.
51687         (INT_MAX): Likewise.
51688         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51689         bound negative.
51690         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51691         bound with "U".
51692         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51693         bound with "L".
51694         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51695         bound negative.  Suffix upper bound with "L".
51696         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51697         bound with "UL".
51698         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51699         Specify type.
51700         [C99-based standards] (LLONG_MAX): Likewise.
51701         [C99-based standards] (ULLONG_MAX): Likewise.
51702         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51703         == 0.
51704         [ISO11] (max_align_t): Require type.
51705         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51707         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51708         from $CFLAGS, without defining away __attribute__ calls.
51709         (checknamespace): Use $CFLAGS_namespace.
51711         * conform/conformtest.pl (@keywords): Only include C99 keywords
51712         for standards based on C99 or C11.
51714         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51715         Disable tests.
51716         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51717         UNIX98]: Likewise.
51719         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51720         usability of symbols in #if.
51722         * conform/conformtest.pl: If macro or constant types start
51723         "promoted:", expect the symbol to be of the following type
51724         promoted by the integer promotions.
51726         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51727         in one place.  Also handle "macro-constant".
51729         * conform/conformtest.pl: Only accept expected macro values with
51730         "==".  Parse all "macro" lines in one place.
51731         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51733         * conform/conformtest.pl: Handle braced types on "constant" lines
51734         instead of handling "typed-constant".
51735         * conform/data/signal.h-data: Use "constant" instead of
51736         "typed-constant".
51738         * conform/conformtest.pl: Handle "optional-" at start of lines in
51739         one place rather than duplicating several cases.  Handle each
51740         format of "macro" line with initial "optional-".
51742         * conform/conformtest.pl: Only accept expected constant or
51743         optional-constant values with "==".  Parse all "constant" lines in
51744         one place.  Parse all "optional-constant" lines in one place.
51745         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51746         * conform/data/fmtmsg.h-data: Likewise.
51747         * conform/data/netinet/in.h-data: Likewise.
51748         * conform/data/tar.h-data: Likewise.
51749         * conform/data/limits.h-data: Use "==" form on "constant" and
51750         "optional-constant" lines.
51752         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51753         Use -std=c99 for XOPEN2K.
51754         (@knownproblems): Remove.
51755         (newtoken): Don't check %isknown.
51757         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51758         Do not expect macro.
51759         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51760         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51761         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51762         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51763         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51764         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51765         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51766         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51767         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51768         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51769         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51770         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51771         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51772         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51773         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51774         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51775         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51776         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51777         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51778         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51779         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51780         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51781         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51782         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51783         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51784         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51785         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51786         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51787         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51788         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51789         [XPG3] (acosh): Likewise.
51790         [XPG3] (asinh): Likewise.
51791         [XPG3] (atanh): Likewise.
51792         [XPG3] (cbrt): Likewise.
51793         [XPG3] (expm1): Likewise.
51794         [XPG3] (ilogb): Likewise.
51795         [XPG3] (log1p): Likewise.
51796         [XPG3] (logb): Likewise.
51797         [XPG3] (nextafter): Likewise.
51798         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51799         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51800         [XPG3] (remainder): Likewise.
51801         [XPG3] (rint): Likewise.
51802         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51803         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51804         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51805         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51806         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51807         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51808         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51809         [UNIX98 || XOPEN2K] (scalb): Expect.
51810         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51811         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51812         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51813         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51814         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51815         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51816         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51817         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51818         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51819         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51820         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51821         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51822         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51823         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51824         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51825         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51826         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51827         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51828         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51829         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51830         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51831         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51832         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51833         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51834         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51835         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51836         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51837         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51838         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51839         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51840         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51841         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51842         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51843         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51844         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51845         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51846         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51847         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51848         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51849         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51850         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51851         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51852         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51853         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51854         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51855         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51856         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51857         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51858         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51859         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51860         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51861         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51862         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51863         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51864         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51865         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51866         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51867         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51868         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51869         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51870         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51871         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51872         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51873         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51874         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51875         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51876         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51877         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51878         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51879         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51880         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51881         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51882         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51883         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51884         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51885         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51886         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51887         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51888         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51889         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51890         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51891         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51892         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51893         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51894         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51895         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51896         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51897         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51898         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51899         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51900         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51901         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51902         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51903         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51904         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51905         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51906         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51907         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51908         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51909         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51910         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51911         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51912         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51913         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51914         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51915         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51916         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51917         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51918         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51919         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51920         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51921         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51922         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51923         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51924         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51925         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51926         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51927         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51928         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51929         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51930         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51931         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51932         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51933         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51934         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51935         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51936         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51937         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51938         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51939         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51940         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51941         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51942         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51943         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51944         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51945         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51946         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51948         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51949         _XOPEN_SOURCE_EXTENDED for XPG4.
51951         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51953         * Makeconfig (localtime): Remove variable.
51954         (inst_localtime-file): Likewise.
51956 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51959         Update.
51960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51961         Update.
51962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51963         Update.
51964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51965         Update.
51966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51967         Update.
51968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51969         Update.
51970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51971         Update.
51972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51973         Update.
51974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51975         Update.
51977 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51979         [BZ #2550]
51980         [BZ #2570]
51981         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51982         comparisons to determine direction to adjust input.
51983         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51984         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51985         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51986         Likewise.
51987         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51988         Likewise.
51989         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51990         Likewise.
51991         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51992         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51993         Likewise.
51994         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51995         Likewise.
51996         * math/libm-test.inc (nexttoward_test): Add more tests.
51998 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52000         [BZ #14040]
52001         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52002         in version GLIBC_2.1, not GLIBC_2.0.
52003         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52004         Likewise.
52006 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52008         [BZ #13942]
52009         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52010         (1 - x) * (1 + x).
52011         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52012         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52013         * math/libm-test.inc (acos_test): Add more tests.
52014         (asin_test): Likewise.
52015         * sysdeps/i386/fpu/libm-test-ulps: Update.
52016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52018         [BZ #14034]
52019         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52020         of square root.
52021         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52022         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52023         * math/libm-test.inc (acos_test_tonearest): New function.
52024         (acos_test_towardzero): Likewise.
52025         (acos_test_downward): Likewise.
52026         (acos_test_upward): Likewise.
52027         (asin_test_tonearest): Likewise.
52028         (asin_test_towardzero): Likewise.
52029         (asin_test_downward): Likewise.
52030         (asin_test_upward): Likewise.
52031         (main): Call the new functions.
52032         * sysdeps/i386/fpu/libm-test-ulps: Update.
52033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52035         [BZ #13884]
52036         [BZ #13924]
52037         * math/e_exp10.c: Include <float.h>.
52038         (__ieee754_exp10): Handle underflow here rather than multiplying
52039         large negative argument by M_LN10.
52040         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52041         of __ieee754_expf.
52042         * math/e_exp10l.c: Include <float.h>.
52043         (__ieee754_exp10l): Handle underflow here rather than multiplying
52044         large negative argument by M_LN10l.
52045         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52046         spurious overflow exception on underflow.
52048 2012-04-29  Marek Polacek  <polacek@redhat.com>
52050         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52051         (__fortify_function): New macro.
52052         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52053         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52054         __extern_always_inline.
52055         * libio/bits/stdio2.h: Likewise.
52056         * libio/bits/stdio.h: Likewise.
52057         * string/string.h: Likewise.
52058         * string/bits/string3.h: Likewise.
52059         * include/stdio.h: Likewise.
52060         * stdlib/bits/stdlib.h: Likewise.
52061         * stdlib/stdlib.h: Likewise.
52062         * rt/bits/mqueue2.h: Likewise.
52063         * rt/mqueue.h: Likewise.
52064         * posix/bits/unistd.h: Likewise.
52065         * posix/unistd.h: Likewise.
52066         * io/bits/poll2.h: Likewise.
52067         * io/bits/fcntl2.h: Likewise.
52068         * io/fcntl.h: Likewise.
52069         * io/sys/poll.h: Likewise.
52070         * misc/bits/syslog.h: Likewise.
52071         * misc/bits/syslog-ldbl.h: Likewise.
52072         * misc/sys/syslog.h: Likewise.
52073         * socket/bits/socket2.h: Likewise.
52074         * socket/sys/socket.h: Likewise.
52075         * debug/tst-chk1.c: Likewise.
52076         * wcsmbs/bits/wchar2.h: Likewise.
52077         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52078         * wcsmbs/wchar.h: Likewise.
52080 2012-04-29  Andreas Jaeger  <aj@suse.de>
52082         * Makerules (tests): Remove enable-check-abi protection.
52083         (check-abi-warn): Remove.
52084         (check-abi-%): Remove check-abi-warn usage.
52086         * configure.in: Remove check-abi configure option.
52087         * configure: Regenerated.
52088         * config.make.in (enable-check-abi): Remove.
52090 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52092         [BZ #14033]
52093         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52094         double functions to double *_finite functions.
52096         [BZ #13941]
52097         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52098         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52099         LDBL_MIN_EXP.
52100         * stdio-common/Makefile (tests): Add tst-sprintf3.
52101         * stdio-common/tst-sprintf3.c: New file.
52103         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52104         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52106 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52108         * conform/conformtest.pl: Remove duplicate typed-constant
52109         handling.
52111 2012-04-28  David S. Miller  <davem@davemloft.net>
52113         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52114         (check-abi-%): Remove AWK script prerequisite and explicit
52115         abilist directory.
52116         (check-abi): Rewrite to just diff the symlist with the abilist.
52117         (config-tls, config-abi-config): Delete, no longer used.
52118         (update-abi-%): Remove AWK script and explicit abilist directory.
52119         (update-abi): Rewrite to simply compare and conditionally copy the
52120         symlist and the sysdep abilist file.  Remove update-abi-config
52121         checks.
52122         * abilist/ld.abilist: Remove.
52123         * abilist/libBrokenLocale.abilist: Remove.
52124         * abilist/libanl.abilist: Remove.
52125         * abilist/libcrypt.abilist: Remove.
52126         * abilist/libdl.abilist: Remove.
52127         * abilist/librt.abilist: Remove.
52128         * abilist/libthread_db.abilist: Remove.
52129         * abilist/libutil.abilist: Remove.
52130         * scripts/extract-abilist.awk: Remove.
52131         * scripts/merge-abilist.awk: Remove.
52132         * sysdeps/generic/libcidn.abilist: New file.
52133         * sysdeps/generic/libnss_compat.abilist: New file.
52134         * sysdeps/generic/libnss_db.abilist: New file.
52135         * sysdeps/generic/libnss_dns.abilist: New file.
52136         * sysdeps/generic/libnss_files.abilist: New file.
52137         * sysdeps/generic/libnss_hesiod.abilist: New file.
52138         * sysdeps/generic/libnss_nis.abilist: New file.
52139         * sysdeps/generic/libnss_nisplus.abilist: New file.
52140         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52141         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52142         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52143         file.
52144         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52145         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52146         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52147         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52148         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52149         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52150         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52151         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52152         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52153         file.
52154         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52155         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52156         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52157         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52158         file.
52159         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52160         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52161         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52162         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52163         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52164         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52165         file.
52166         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52167         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52168         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52169         file.
52170         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52171         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52172         New file.
52173         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52174         New file.
52175         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52176         New file.
52177         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52178         New file.
52179         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52180         New file.
52181         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52182         New file.
52183         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52184         New file.
52185         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52186         New file.
52187         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52188         New file.
52189         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52190         New file.
52191         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52192         New file.
52193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52194         New file.
52195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52196         New file.
52197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52198         file.
52199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52200         New file.
52201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52202         New file.
52203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52204         file.
52205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52206         New file.
52207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52208         New file.
52209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52210         file.
52211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52212         New file.
52213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52214         New file.
52215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52216         New file.
52217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52218         New file.
52219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52220         New file.
52221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52222         New file.
52223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52225         file.
52226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52227         New file.
52228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52229         file.
52230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52231         file.
52232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52233         file.
52234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52235         file.
52236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52237         file.
52238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52239         New file.
52240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52241         file.
52242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52243         file.
52244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52245         New file.
52246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52247         file.
52248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52250         file.
52251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52252         New file.
52253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52254         file.
52255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52256         file.
52257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52258         file.
52259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52260         file.
52261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52262         file.
52263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52264         New file.
52265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52266         file.
52267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52268         file.
52269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52270         New file.
52271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52272         file.
52273         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52274         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52275         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52276         file.
52277         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52278         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52279         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52280         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52281         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52282         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52283         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52284         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52285         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52286         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52289         file.
52290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52291         New file.
52292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52293         file.
52294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52295         file.
52296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52297         file.
52298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52299         file.
52300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52301         file.
52302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52303         New file.
52304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52305         New file.
52306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52307         file.
52308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52309         New file.
52310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52311         file.
52312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52314         file.
52315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52316         New file.
52317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52318         file.
52319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52320         file.
52321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52322         file.
52323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52324         file.
52325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52326         file.
52327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52328         New file.
52329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52330         New file.
52331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52332         file.
52333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52334         New file.
52335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52336         file.
52338 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52340         * conform/conformtest.pl: Fix typo in handling typed-constant from
52341         allow-header.
52343 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52345         * README: Cut down references to pre-2.6 Linux kernels and
52346         Linuxthreads.  Update lists of configurations in libc and ports
52347         and sort alphabetically.  Say "or newer" with Linux kernel version
52348         requirements.
52350         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52352 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52354         [BZ #887]
52355         * math/libm-test.inc (logb_test_downward): New test to expose
52356         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52357         rounding mode.
52359 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52361         [BZ #14027]
52362         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52363         to be done.
52364         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52365         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52367 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52369         * sysdeps/unix/i386/brk.S: Remove file.
52370         * sysdeps/unix/i386/dl-brk.S: Likewise.
52371         * sysdeps/unix/i386/pipe.S: Likewise.
52372         * sysdeps/unix/i386/sigreturn.S: Likewise.
52373         * sysdeps/unix/i386/syscall.S: Likewise.
52374         * sysdeps/unix/i386/vfork.S: Likewise.
52375         * sysdeps/unix/i386/wait.S: Likewise.
52377         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52378         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52380         * configure.in (arm*-none*): Do not allow without
52381         --enable-hacker-mode.
52382         (netbsd*): Remove case setting base_os.
52383         (386bsd*): Likewise.
52384         (freebsd*): Likewise.
52385         (bsdi*): Likewise.
52386         (osf*): Likewise.
52387         (sunos*): Likewise.
52388         (ultrix*): Likewise.
52389         (newsos*): Likewise.
52390         (dynix*): Likewise.
52391         (*bsd*): Likewise.
52392         (sysv*): Likewise.
52393         (isc*): Likewise.
52394         (esix*): Likewise.
52395         (sco*): Likewise.
52396         (minix*): Likewise.
52397         (irix4*): Likewise.
52398         (irix6*): Likewise.
52399         (solaris[2-9]*): Likewise.
52400         (none): Likewise.
52401         * configure: Regenerated.
52403 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52405         [BZ #11521]
52406         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52407         overflow or cancellation in calculating denominator.
52408         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52409         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52410         down expression to avoid unexpected rounding in newer GCCs.
52411         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52413 2012-04-26  David S. Miller  <davem@davemloft.net>
52415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52416         long-double compat symbols.
52417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52431 2012-04-25  David S. Miller  <davem@davemloft.net>
52433         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52434         HWCAP_* values only after the memory barriers have been defined.
52435         (atomic_full_barrier): Define.
52436         (atomic_read_barrier): Define.
52437         (atomic_write_barrier): Define.
52439 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52441         * shlib-versions: Add libgcc_s version information.
52442         * sysdeps/generic/libgcc_s.h: Remove.
52443         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52444         libgcc_s.h.
52445         * sysdeps/gnu/unwind-resume.c: Likewise.
52446         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52448 2012-04-25  David S. Miller  <davem@davemloft.net>
52450         * sysdeps/unix/sparc/brk.S: Delete.
52451         * sysdeps/unix/sparc/dl-brk.S: Delete.
52452         * sysdeps/unix/sparc/pipe.S: Delete.
52453         * sysdeps/unix/sparc/sysdep.S: Delete.
52454         * sysdeps/unix/sparc/sysdep.h: Delete.
52455         * sysdeps/unix/sparc/vfork.S: Delete.
52456         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52457         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52458         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52459         (ret_ERRVAL, r0, r1, MOVE): Define.
52460         (JUMPTARGET): Remove.
52461         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52462         sysdeps/unix/sparc/sysdep.h
52463         (ENTRY, END): Remove.
52464         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52466 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52468         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52469         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52470         -DIS_IN_build.
52472         * timezone/README: Update upstream location and email address for
52473         tzcode and tzdata.
52474         * timezone/zdump.c: Update from tzcode 2012b.
52475         * timezone/zic.c: Likewise.
52477         * configure.in (libc_cv_as_needed): Remove test.
52478         * configure: Regenerated.
52479         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52480         conditional definition.
52481         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52482         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52483         * config.make.in (have-as-needed): Remove variable.
52485 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52486             Paul Pluzhnikov  <ppluzhnikov@google.com>
52488         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52489         strings correctly.
52491 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52493         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52494         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52495         * sysdeps/sh/strlen.S: Likewise.
52497 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52499         * sysdeps/unix/fork.S: Remove file.
52500         * sysdeps/unix/i386/fork.S: Likewise.
52501         * sysdeps/unix/sparc/fork.S: Likewise.
52503         * sysdeps/unix/system.c: Remove file.
52504         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52506         * sysdeps/unix/getegid.S: Remove file.
52507         * sysdeps/unix/geteuid.S: Likewise.
52509 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52511         * scripts/check-localplt.awk: New file.
52512         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52513         of diff.
52514         * scripts/data/localplt-generic.data: Add a comment.
52516         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52517         NODE when __dir_mkfile failed.
52518         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52519         Reported by Ludovic Courtès <ludo@gnu.org>.
52521 2012-04-24  Andreas Jaeger  <aj@suse.de>
52523         * Makerules (common-clean): Also remove gen-as-const-headers
52524         files.
52526 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52528         * Makerules (native-compile): Do not change working directory for
52529         build.  Use $(OUTPUT_OPTION) in command.
52530         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52532 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52534         [BZ #13886]
52535         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52536         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52537         * math/libm-test.inc (floor_test): Add more tests.
52538         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52540 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52542         * sysdeps/unix/getdents.c: Remove file.
52543         * sysdeps/unix/sysv/getdents.c: Likewise.
52544         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52546         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52547         sysdeps/unix/mman/syscalls.list.
52548         (mmap): Likewise.
52549         (mprotect): Likewise.
52550         (msync): Likewise.
52551         (munmap): Likewise.
52552         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52553         * sysdeps/unix/mman/syscalls.list: Remove.
52554         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52556         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52557         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52558         * configure: Regenerated.
52559         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52560         $(libgcc_s_suffix).
52561         * config.make.in (libgcc_s_suffix): Remove variable.
52563 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52565         * sysdeps/unix/sysv/gethostname.c: Move to ...
52566         * sysdeps/posix/gethostname.c: ... here.
52568         * sysdeps/unix/execve.S: Remove file.
52570         * sysdeps/unix/_exit.S: Remove file.
52572 2012-04-23  Andreas Jaeger  <aj@suse.de>
52574         [BZ #13739]
52575         * manual/Makefile: Remove make dist support, there's no
52576         need for a stand-alone documentation tar ball.
52577         (TEXI2DVI): Define always, it's not in Makeconfig.
52578         (dist): Removed.
52579         (tar-it): Removed.
52580         (edition): Removed.
52581         (glibc-doc-$(edition).tar): Removed
52582         (%.Z): Removed.
52583         (%.gz): Removed.
52584         (%.uu): Removed.
52585         (ETAGS): Remove, it's in Makeconfig.
52586         (move-if-change): Remove, it's in Makeconfig.
52588 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52590         [BZ #13970]
52591         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52592         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52593         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52594         (strtod_l, strtof_l, strtold_l): Remove __wur.
52595         It is not necessarily an error to ignore strtol's return value.
52596         One can reliably look at the stored endptr to decide whether
52597         the number had valid syntax.
52599 2012-04-21  Andreas Jaeger  <aj@suse.de>
52601         [BZ #13739]
52602         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52604 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52606         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52607         * sysdeps/unix/sysv/Versions: Remove file.
52609 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52611         [BZ #13927]
52612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52614 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52616         [BZ #7064]
52617         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52618         version from __vm86.
52620 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52622         * sysdeps/unix/common/lxstat.c: Remove file.
52623         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52625         * sysdeps/unix/sysv/Makefile: Remove file.
52627         * sysdeps/unix/sysv/direct.h: Remove file.
52629         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52630         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52631         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52632         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52633         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52634         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52635         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52637         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52639         * sysdeps/unix/xmknod.c: Remove file.
52640         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52642         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52644         * sysdeps/unix/sysv/i386/time.S: Remove file.
52646         * sysdeps/unix/fxstat.c: Remove file.
52647         * sysdeps/unix/xstat.c: Likewise.
52648         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52650         * sysdeps/unix/sysv/sigaction.c: Remove file.
52652         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52653         (sysdep_headers): Remove variable.
52654         [termio.h not in sysdep_headers] (generated): Likewise.
52655         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52656         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52657         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52658         * sysdeps/unix/sysv/tcflow.c: Likewise.
52659         * sysdeps/unix/sysv/tcflush.c: Likewise.
52660         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52661         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52662         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52663         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52664         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52666         * sysdeps/unix/siglist.c: Remove file.
52668         * sysdeps/unix/getppid.S: Remove file.
52670         * sysdeps/unix/mkdir.c: Remove file.
52671         * sysdeps/unix/rmdir.c: Likewise.
52673 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52675         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52676         ERR_MAX value.
52677         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52678         errlist-compat value.
52680 2012-04-18  David S. Miller  <davem@davemloft.net>
52682         * sysdeps/generic/memcopy.h (reg_char): Delete.
52683         * debug/strcat_chk.c: Use char, not reg_char.
52684         * debug/strcpy_chk.c: Likewise.
52685         * debug/strncat_chk.c: Likewise.
52686         * debug/strncpy_chk.c: Likewise.
52687         * string/memchr.c: Likewise.
52688         * string/memrchr.c: Likewise.
52689         * string/rawmemchr.c: Likewise.
52690         * string/strcat.c: Likewise.
52691         * string/strchr.c: Likewise.
52692         * string/strchrnul.c: Likewise.
52693         * string/strcmp.c: Likewise.
52694         * string/strcpy.c: Likewise.
52695         * string/strncat.c: Likewise.
52696         * string/strncmp.c: Likewise.
52697         * string/strncpy.c: Likewise.
52699 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52701         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52702         __builtin_memcopy is called when src and dest ranges are known to not
52703         overlap.
52705 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52707         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52708         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52709         fwd_align_merge macro call.
52710         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52711         bwd_align_merge macro call.
52712         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52714 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52716         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52717         bwd_align_merge macros.
52718         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52719         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52720         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52722 2012-04-18  David S. Miller  <davem@davemloft.net>
52724         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52726 2012-04-18  Andreas Jaeger  <aj@suse.de>
52728         [BZ# 6794]
52729         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52730         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52731         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52733         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52734         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52735         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52737         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52738         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52739         Adjust for changed ldbl-128 files.
52741         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52742         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52743         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52745 2012-04-17  David S. Miller  <davem@davemloft.net>
52747         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52749 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52751         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52752         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52753         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52754         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52755         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52756         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52758 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52760         [BZ #6794]
52761         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52762         * math/libm-test.inc: Add ilogb errno and exception tests.
52763         * math/w_ilogb.c: New file: ilogb wrapper.
52764         * math/w_ilogbf.c: New file: ilogbf wrapper.
52765         * math/w_ilogbl.c: New file: ilogbl wrapper.
52766         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52767         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52768         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52769         exception being thrown with 0.0 as argument.
52770         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52771         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52772         exception being thrown with 0.0 as argument.
52773         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52774         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52775         exception being thrown with 0.0 as argument.
52776         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52777         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52778         exception being thrown with 0.0 as argument.
52779         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52780         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52781         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52782         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52783         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52784         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52785         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52786         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52787         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52789 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52791         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52792         with altivec.
52794 2012-04-16  Marek Polacek  <polacek@redhat.com>
52796         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52798 2012-04-16  Marek Polacek  <polacek@redhat.com>
52800         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52801         operands of fdivp instruction.
52803 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52805         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52806         * elf/tst-auditmod3b.c: Likewise.
52807         * elf/tst-auditmod4b.c: Likewise.
52808         * elf/tst-auditmod5b.c: Likewise.
52809         * elf/tst-auditmod6b.c: Likewise.
52810         * elf/tst-auditmod6c.c: Likewise.
52811         * elf/tst-auditmod7b.c: Likewise.
52812         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52813         * sysdeps/x86_64/preconfigure.in: Likewise.
52814         * sysdeps/x86_64/preconfigure: Regenerated.
52816 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52818         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52819         __ILP32__.
52821 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52823         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52824         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52826 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52828         [BZ #13973]
52829         * locale/iso-639.def: Fix gl language name. Spotted by
52830         Yaron Shahrabani.
52832 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52834         [BZ #2074]
52835         * libio/libio.h (__io_write_fn): Update comment.
52837 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52839         [BZ #2074]
52840         * stdio.texi (Hook Functions): The user provided writer function
52841         is not allowed to return -1.
52843 2012-04-11  David S. Miller  <davem@davemloft.net>
52845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52847 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52849         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52850         Add a leading slash to rtkaio.
52852 2012-04-11  Jim Meyering  <meyering@redhat.com>
52854         [BZ #11959]
52855         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52856         It is not necessarily an error to ignore fwrite's return
52857         value.  One can reliably use ferror to test for errors after
52858         the fact.
52860 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52862         * bits/types.h (__snseconds_t): New type.
52863         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52865         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52867         (__SNSECONDS_T_TYPE): Likewise.
52868         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52869         (__SNSECONDS_T_TYPE): Likewise.
52870         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52871         (__SNSECONDS_T_TYPE): Likewise.
52873 2012-04-10  Andreas Jaeger  <aj@suse.de>
52875         [BZ #2636]
52876         * manual/time.texi (Processor Time): Return type of times is
52877         elapsed real time since an arbitrary point in the past.
52878         (CPU Time): Move CLK_TCK from here...
52879         (Processor Time): ...to here.  Correct description.
52880         * manual/conf.texi (Constants for Sysconf): Correct description of
52881         _SC_CLK_TCK.
52883 2012-04-10  David S. Miller  <davem@davemloft.net>
52885         [BZ #13967]
52886         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52887         where the is a gap between DT_REL(A) and DT_JMPREL.
52889 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52891         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52892         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52893         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52895 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52897         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52898         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52899         (dl_main): Handle --inhibit-cache.
52900         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52901         _dl_inhibit_cache.
52902         * elf/dl-load.c (_dl_map_object): Use it.
52903         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52905 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52907         [BZ #13872]
52908         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52909         (__ieee754_powl): Saturate large exponents rather than testing for
52910         overflow of y*log2(x).
52911         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52912         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52913         exceptions.
52915         [BZ #11521]
52916         * math/s_ctan.c: Include <float.h>.
52917         (__ctan): Avoid internal overflow or cancellation in calculating
52918         denominator.
52919         * math/s_ctanf.c: Likewise.
52920         * math/s_ctanl.c: Likewise.
52921         * math/s_ctanh.c: Likewise.
52922         * math/s_ctanhf.c: Likewise.
52923         * math/s_ctanhl.c: Likewise.
52924         * math/libm-test.inc (ctan_test): Add more tests.
52925         (ctanh_test): Likewise.
52926         * sysdeps/i386/fpu/libm-test-ulps: Update.
52927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52929 2012-04-09  Andreas Jaeger  <aj@suse.de>
52931         [BZ #6894]
52932         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52933         is an optional BSD extension.
52935         [BZ #10254]
52936         * manual/stdio.texi (Opening Streams): Document additional fopen
52937         parameters.
52939 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52941         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52942         %eax without telling the compiler.
52944 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52946         [BZ # 13963]
52947         * manual/install.texi: Use sourceware.org.
52949 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52951         [BZ #13873]
52952         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52953         (__ieee754_pow): Generate overflow and underflow using huge*huge
52954         and tiny*tiny rather than just returning constant infinity or zero
52955         for large exponents.
52956         * math/libm-test.inc (pow_test): Require overflow exceptions for
52957         applicable cases of large exponents.
52959         [BZ #706]
52960         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52961         (__ieee754_pow): Use iterative multiplication algorithm only for
52962         integer exponents with absolute value below 1024.  Check for odd
52963         integer exponents when using algorithm for real exponents.
52964         * math/libm-test.inc (pow_test): Add more tests.
52965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52967 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52969         [BZ #13705]
52970         * math/libm-test.inc (exp_test): Do not allow overflow exception
52971         on underflow test.
52973 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52975         [BZ #13705]
52976         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52977         instead of __kernel_standard_f.
52979 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52981         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52982         * sysdeps/x86_64/memset_chk.S: Likewise.
52984 2012-04-08  Andreas Jaeger  <aj@suse.de>
52986         [BZ #10153]
52987         * manual/startup.texi (Environment Access): Describe return value
52988         for putenv and setenv.
52990         [BZ #6895]
52991         * manual/filesys.texi (Directory Entries): Add description for
52992         DT_LNK.
52994         [BZ #6890]
52995         * manual/filesys.texi (Directory Entries): Clarify that it's file
52996         system not operating system in the description of DT_UNKNOWN.
52998         [BZ #6578]
52999         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53001 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53003         [BZ #6649]
53004         * manual/llio.texi (Opening and Closing Files): Add cross
53005         reference to explain mode argument.
53007 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53009         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53010         * sysdeps/x86_64/memset_chk.S: Likewise.
53012 2012-04-07  David S. Miller  <davem@davemloft.net>
53014         * elf/elf.h (R_SPARC_WDISP10): Define.
53015         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53016         R_SPARC_SIZE32.
53017         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53018         R_SPARC_SIZE64 and R_SPARC_H34.
53020 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53022         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53023         conditions and remove no longer applicable assertion.
53025 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53027         * bits/byteswap.h: Include <features.h>.
53028         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53029         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53031 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53033         * bits/byteswap.h (__bswap_16): Removed.
53034         Include <bits/byteswap-16.h> to get __bswap_16.
53035         * sysdeps/i386/bits/byteswap.h: Likewise.
53036         * sysdeps/s390/bits/byteswap.h: Likewise.
53037         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53038         * bits/byteswap-16.h: New file.
53039         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53040         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53041         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53042         * string/Makefile (headers): Add bits/byteswap-16.h.
53044 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53046         [BZ #13895]
53047         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53048         extra indirection.
53049         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53050         * nss/tst-nss-static.c: New.
53052 2012-04-06  Robert Millan  <rmh@gnu.org>
53054         [BZ #6486]
53055         * manual/llio.texi (File Position Primitive): lseek
53056         refers to WHENCE when it really means OFFSET.
53058 2012-04-06  Andreas Jaeger  <aj@suse.de>
53060         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53061         strncmp declarations.
53063         * abilist/libc.abilist: Add __poll and __ppoll.
53065 2012-04-05  David S. Miller  <davem@davemloft.net>
53067         * scripts/check-local-headers.sh: Accept a host triplet in the
53068         path matched by the exclude regexp.
53070         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53071         definition.
53072         * sysdeps/powerpc/powerpc32/dl-machine.h
53073         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53074         * sysdeps/s390/s390-32/dl-machine.h
53075         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53076         * sysdeps/sparc/sparc32/dl-machine.h
53077         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53078         * sysdeps/sparc/sparc64/dl-machine.h
53079         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53081         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53082         lazy binding.
53083         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53084         undefined symbol errors.
53086         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53087         DT_NEEDED entries.
53089 2012-04-05  Michael Matz  <matz@suse.de>
53091         [BZ #13592]
53092         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53094 2012-04-05  Andreas Jaeger  <aj@suse.de>
53096         [BZ #13908]
53097         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53098         comment.
53100 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53102         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53103         which ROUND is no valid rounding mode.
53105 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53107         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53108         read again.
53109         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53111 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53113         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53114         an exception using FPU order intentionally.
53116 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53118         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53119         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53120         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53121         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53123 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53125         [BZ #12340]
53126         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53127         EINVAL when BUFLEN is too smal.
53129 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53131         [BZ #13553]
53132         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53133         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53135 2012-04-03  Andreas Jaeger  <aj@suse.de>
53137         [BZ #13938]
53138         * manual/setjmp.texi (System V contexts): Fix sentence.
53140         [BZ #13926]
53141         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53142         New macro for this case.
53143         [!__GNUC__] (__bswap_64): New inline function for this case.
53144         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53145         * bits/byteswap.h: Likewise.
53146         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53147         ull, guard with __GLIBC_HAVE_LONG_LONG.
53149         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53150         __GLIBC_HAVE_LONG_LONG.
53152         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53153         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53155 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53157         [BZ #13691]
53158         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53159         inptr and inend, rather than using last_ch.
53161 2012-04-02  David S. Miller  <davem@davemloft.net>
53163         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53164         * stdio-common/printf-parse.h (read_int): Change return type to
53165         'int', return -1 on INT_MAX overflow.
53166         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53167         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53168         overflows INT_MAX.  Check for overflow of in-format-string precision
53169         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53170         SIZE_MAX not INT_MAX for integer overflow test.
53171         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53172         skip the construct in the format string but do not record anything.
53173         * stdio-common/bug22.c: Adjust to test both width/prevision
53174         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53175         explicitly for proper errno values.
53177 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53179         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53180         CHAR_MAX.
53181         * string/test-strcmp.c [! WIDE]: Likewise.
53182         * time/tst-mktime2.c: Likewise for INT_MAX.
53183         * string/test-string.h: #include <sys/param.h> for MIN.
53185         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53186         * sysdeps/i386/init-first.c (init): Likewise.
53187         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53188         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53189         * sysdeps/sh/init-first.c (init): Likewise.
53191 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53193         * po/ru.po: Update from translation team.
53194         * po/vi.po: Likewise.
53196 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53198         * resolv/nss_dns/dns-host.c: Merge copyright years.
53200 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53202         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53203         Optimize memcpy with prefetch if
53204         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53205         src, dst pointers have unequal 16 byte alignments.
53207 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53209         [BZ #13928]
53210         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53211         from a CNAME entry and return the minimum ttl for the query.
53212         (gaih_getanswer_slice): Likewise.
53214 2012-03-30  Jeff Law  <law@redhat.com>
53216         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53217         due to long keys.
53218         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53219         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53221         * resolv/nss_dns/dns-host.c: Update copyright year.
53223 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53225         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53226         requests to save a system call.  Fix check that all bytes are sent.
53228         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53229         comments for sendmmsg.
53231 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53233         [BZ #13691]
53234         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53235         with only 1 character between 0x0041 and 0x01b0.
53236         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53237         * wcsmbs/tst-mbsnrtowcs.c: New file.
53239 2012-03-29  David S. Miller  <davem@davemloft.net>
53241         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53242         small copies by hand.
53244 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53246         [BZ #13761]
53247         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53248         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53249         group memberships.
53251 2012-03-28  David S. Miller  <davem@davemloft.net>
53253         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53254         that branches into memcpy.
53255         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53256         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53257         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53258         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53259         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53260         bits.
53261         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53262         implementation too.
53263         * sysdeps/sparc/mempcpy.S: New file.
53265         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53266         the IFUNC routine in the libc case.
53267         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53269         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53270         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53271         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53272         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53273         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53274         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53275         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53276         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53278         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53279         loop to 256 bytes instead of 64 bytes and fix test signedness.
53281         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53282         * sysdeps/sparc/sparc32/Makefile: rather than here...
53283         * sysdeps/sparc/sparc64/Makefile: and here.
53285 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53287         * malloc/mallocbug.c: Avoid warnings about unused variables.
53289 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53291         [BZ #13760]
53292         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53293         in the right place. Discard and retry query if response is
53294         larger than input buffer size.
53296 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53298         [BZ #369]
53299         [BZ #2678]
53300         [BZ #3866]
53301         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53302         x for large integer exponent.
53303         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53304         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53305         sign of result as needed afterwards.
53306         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53307         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53308         result for underflowing pow the same as for overflow.
53309         (__kernel_standard_l): Handle powl overflow and underflow here
53310         rather than calling __kernel_standard.
53311         * math/libm-test.inc (pow_test): Add more tests.
53313         [BZ #3868]
53314         [BZ #13879]
53315         [BZ #13910]
53316         [BZ #13911]
53317         [BZ #13912]
53318         [BZ #13913]
53319         [BZ #13915]
53320         [BZ #13916]
53321         [BZ #13917]
53322         [BZ #13918]
53323         [BZ #13919]
53324         [BZ #13920]
53325         [BZ #13921]
53326         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53327         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53328         (__kernel_standard_l): New function.
53329         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53330         __kernel_standard.
53331         * math/w_acosl.c (__acosl): Likewise.
53332         * math/w_asinl.c (__asinl): Likewise.
53333         * math/w_atan2l.c (__atan2l): Likewise.
53334         * math/w_atanhl.c (__atanhl): Likewise.
53335         * math/w_coshl.c (__coshl): Likewise.
53336         * math/w_exp10l.c (__exp10l): Likewise.
53337         * math/w_exp2l.c (__exp2l): Likewise.
53338         * math/w_fmodl.c (__fmodl): Likewise.
53339         * math/w_hypotl.c (__hypotl): Likewise.
53340         * math/w_j0l.c (__j0l, __y0l): Likewise.
53341         * math/w_j1l.c (__j1l, __y1l): Likewise.
53342         * math/w_jnl.c (__jnl, __ynl): Likewise.
53343         * math/w_lgammal.c (__lgammal): Likewise.
53344         * math/w_log10l.c (__log10l): Likewise.
53345         * math/w_log2l.c (__log2l): Likewise.
53346         * math/w_logl.c (__logl): Likewise.
53347         * math/w_powl.c (__powl): Likewise.
53348         * math/w_remainderl.c (__remainderl): Likewise.
53349         * math/w_scalbl.c (sysv_scalbl): Likewise.
53350         * math/w_sinhl.c (__sinhl): Likewise.
53351         * math/w_sqrtl.c (__sqrtl): Likewise.
53352         * math/w_tgammal.c (__tgammal): Likewise.
53353         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53354         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53355         * math/libm-test.inc (acos_test): Add more tests.
53356         (acosh_test): Likewise.
53357         (asin_test): Likewise.
53358         (atanh_test): Likewise.
53359         (exp_test): Likewise.
53360         (exp10_test): Likewise.
53361         (exp2_test): Likewise.
53362         (expm1_test): Likewise.
53363         (lgamma_test): Likewise.
53364         (log_test): Likewise.
53365         (log10_test): Likewise.
53366         (log1p_test): Likewise.
53367         (log2_test): Likewise.
53368         (pow_test): Do not allow some spurious overflow exceptions.
53369         (sqrt_test): Add more tests.
53370         (tgamma_test): Likewise.
53371         (y0_test): Likewise.
53372         (y1_test): Likewise.
53373         (yn_test): Likewise.
53375 2012-03-27  Anton Blanchard  <anton@samba.org>
53377         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53378         MAP_HUGETLB.
53379         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53380         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53381         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53383 2012-03-27  David S. Miller  <davem@davemloft.net>
53385         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53387         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53388         have-as-vis3 check.
53390 2012-03-27  Andreas Jaeger  <aj@suse.de>
53392         * sysdeps/x86_64/elf/configure.in: Moved to ...
53393         * sysdeps/x86_64/configure.in: ... here.
53394         * sysdeps/x86_64/elf/start.S: Moved to ...
53395         * sysdeps/x86_64/start.S: ... here.
53396         * sysdeps/x86_64/elf/configure: Delete.
53398         * sysdeps/x86_64/configure.in: Merge contents from
53399         sysdeps/i386/configure.in (without i686 check).
53401         * sysdeps/i386/elf/Versions: Merge into ...
53402         * sysdeps/i386/Versions: ... this.
53403         * sysdeps/i386/elf/Versions: Delete file.
53404         * sysdeps/i386/elf/start.S: Moved to ...
53405         * sysdeps/i386/start.S: ...here.
53406         * sysdeps/i386/elf/configure.in: Merge into...
53407         * sysdeps/i386/configure.in: ...here.
53408         * sysdeps/i386/elf/configure.in: Delete file.
53409         * sysdeps/i386/elf/configure: Delete file.
53411         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53412         * debug/backtracesyms.c: ... here.
53413         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53414         * debug/backtracesymsfd.c: ... here.
53415         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53416         * sysdeps/generic/ifunc-sel.h: ... here.
53418         * sysdeps/unix/i386/start.c: Delete file.
53419         * sysdeps/unix/sparc/start.c: Delete file.
53420         * sysdeps/unix/start.c: Delete file.
53422         * sysdeps/sh/elf/configure.in: Moved to ...
53423         * sysdeps/sh/configure.in: ... here.
53424         * sysdeps/sh/elf/start.S: Moved to ...
53425         * sysdeps/sh/start.S: ... here.
53426         * sysdeps/sh/elf/configure: Delete file.
53428         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53429         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53430         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53431         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53432         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53433         * sysdeps/powerpc/powerpc64/start.S: here.
53434         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53435         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53436         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53437         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53438         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53440         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53441         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53442         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53443         * sysdeps/powerpc/powerpc32/start.S: ... here.
53444         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53445         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53446         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53448         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53449         * sysdeps/powerpc/ifunc-sel.h: ... here.
53450         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53451         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53453         * sysdeps/sparc/elf/configure.in: Moved to ...
53454         * sysdeps/sparc/configure.in: ... here.
53455         * sysdeps/sparc/elf/configure: Delete file.
53456         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53457         * sysdeps/sparc/sparc32/start.S: ... here.
53458         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53459         * sysdeps/sparc/sparc64/start.S: ... here.
53460         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53461         * sysdeps/sparc/sparc32/Makefile: ... this.
53462         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53463         * sysdeps/sparc/sparc64/Makefile: ... this.
53465         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53466         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53467         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53468         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53469         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53470         * sysdeps/s390/s390-32/setjmp.S: ... here.
53471         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53472         * sysdeps/s390/s390-32/configure.in: ... here.
53473         * sysdeps/s390/s390-32/elf/configure: Delete file.
53474         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53475         * sysdeps/s390/s390-32/start.S: ... here.
53477         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53478         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53479         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53480         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53481         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53482         * sysdeps/s390/s390-64/setjmp.S: ... here.
53483         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53484         * sysdeps/s390/s390-64/configure.in: ... here
53485         * sysdeps/s390/s390-64/elf/configure: Delete file.
53486         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53487         * sysdeps/s390/s390-64/start.S: ... here.
53488         * sysdeps/s390/s390-64/elf/configure: Delete.
53490         * configure.in: Remove support for elf directories in sysdeps.
53492         * configure: Regenerated.
53493         * sysdeps/i386/configure: Regenerated.
53494         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53495         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53496         * sysdeps/s390/s390-32/configure: Regenerated.
53497         * sysdeps/s390/s390-64/configure: Regenerated.
53498         * sysdeps/sh/configure: Regenerated.
53499         * sysdeps/sparc/configure: Regenerated.
53500         * sysdeps/x86_64/configure: Regenerated.
53502 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53506         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53507         denormal result into account.
53509 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53511         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53512         Reported by Allan McRae <allan@archlinux.org>.
53514 2012-03-23  Jeff Law  <law@redhat.com>
53516         * nss/getnssent.c (__nss_getent): Fix typo.
53518 2012-03-23  David S. Miller  <davem@davemloft.net>
53520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53522 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53524         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53525         to pad to uint64_t for each field.
53526         (dl_tls_index): Replace unsigned long with uint64_t.
53528 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53529         Paul Pluzhnikov  <ppluzhnikov@google.com>
53531         [BZ #6528]
53532         * grp/Makefile (otherlibs): Don't set it.
53533         * inet/Makefile (otherlibs): Likewise.
53534         * login/Makefile (otherlibs): Likewise.
53535         * nscd/Makefile (otherlibs): Likewise.
53536         * posix/Makefile (otherlibs): Likewise.
53537         * pwd/Makefile (otherlibs): Likewise.
53538         * rt/Makefile (otherlibs): Likewise.
53539         * sunrpc/Makefile (otherlibs): Likewise.
53540         * nss/Makefile (otherlibs): Likewise.
53541         Add libnss_files to routines and static-only-routines.
53542         ($(objpfx)getent): Remove rule.
53543         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53544         static-only-routines.
53546 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53548         [BZ #13892]
53549         * math/s_cexp.c: Include <float.h>.
53550         (__cexp): Handle exp result overflowing not necessarily
53551         overflowing both real and imaginary parts of result.
53552         * math/s_cexpf.c: Likewise.
53553         * math/s_cexpl.c: Likewise.
53554         * math/libm-test.inc (cexp_test): Add more tests.
53555         * sysdeps/i386/fpu/libm-test-ulps: Update.
53556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53558 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53560         * include/link.h (ELFW): New macro.
53561         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53562         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53564 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53566         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53567         with uint64_t.
53569 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53571         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53572         declaration.
53573         (struct La_x32_retval): Likewise.
53575 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53577         * sysdeps/x86_64/preconfigure.in: New file.
53578         * sysdeps/x86_64/preconfigure: New generated file.
53580 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53582         [BZ #13824]
53583         * math/e_exp2l.c: Include <float.h>.
53584         (__ieee754_exp2l): Handle overflow and underflow cases
53585         separately.  Only pass fractional part of argument to
53586         __ieee754_expl.
53587         * math/libm-test.inc (exp2_test): Add more tests.
53589         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53590         negating x to take absolute value.
53591         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53592         Likewise.
53593         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53594         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53595         Likewise.
53596         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53597         computing low part if x was negated.
53598         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53600 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53602         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53603         la_x32_gnu_pltexit.
53604         (pltexit): Cast int_retval to ptrdiff_t.
53605         * elf/tst-auditmod3b.c: Likewise.
53606         * elf/tst-auditmod4b.c: Likewise.
53607         * elf/tst-auditmod5b.c: Likewise.
53608         * elf/tst-auditmod6b.c: Likewise.
53609         * elf/tst-auditmod6c.c: Likewise.
53610         * elf/tst-auditmod7b.c: Likewise.
53612         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53613         and x32_gnu_pltexit.
53615         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53616         __ELF_NATIVE_CLASS.
53617         (La_x32_regs): New macro.
53618         (La_x32_retval): Likewise.
53619         (la_x32_gnu_pltenter): New function prototype.
53620         (la_x32_gnu_pltexit): Likewise.
53622 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53624         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53625         exponent.
53627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53629         * configure.in (libc_cv_cc_nofma): Check for option to disable
53630         generation of FMA instructions.
53631         * configure: Regenerate.
53632         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53633         * sysdeps/ieee754/dbl-64/Makefile: New file.
53634         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53635         Remove brandred-fma4.
53636         (CFLAGS-brandred-fma4.c): Remove.
53637         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53638         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53639         define.
53640         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53641         define.
53643 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53645         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53646         LLONG_MAX != LONG_MAX.
53647         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53648         (_fitoa_word): Likewise.
53649         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53650         LLONG_MAX != LONG_MAX.
53651         * stdio-common/_itowa.h: Include <_itoa.h>.
53652         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53653         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53654         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53655         only if not defined.
53656         (_ITOA_WORD_TYPE): Likewise.
53657         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53658         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53660 2012-03-21  David S. Miller  <davem@davemloft.net>
53662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53664 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53666         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53667         of x86_64 when setting libc_cv_slibdir, libdir and
53668         libc_cv_localedir.
53669         * sysdeps/unix/sysv/linux/configure: Regenerated.
53671 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53673         * manual/lang.texi (Old Varargs): Remove section.
53674         (How Variadic): Update menu.
53675         (va_start): Do not mention varargs.h.
53677 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53678             Joseph Myers  <joseph@codesourcery.com>
53680         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53681         link test.
53682         * configure: Regenerated.
53684 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53686         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53687         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53688         conformtest.pl
53690 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53692         * NOTES: Remove.
53693         * Makefile (files-for-dist): Remove NOTES.
53694         (NOTES): Remove rule.
53695         * README: Don't refer to NOTES.
53696         * manual/creature.texi: Don't include macros.texi.
53697         * manual/intro.texi (creature.texi): Remove comment referring to
53698         NOTES.
53700         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53701         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53702         * configure: Regenerated.
53703         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53704         LIBC_TRY_CC_OPTION.
53705         (libc_cv_as_i686): Likewise.
53706         (libc_cv_cc_avx): Likewise.
53707         (libc_cv_cc_sse2avx): Likewise.
53708         (libc_cv_cc_fma4): Likewise.
53709         (libc_cv_cc_novzeroupper): Likewise.
53710         * sysdeps/i386/configure: Regenerated.
53712         [BZ #13883]
53713         * sysdeps/i386/fpu/s_cexp.S: Remove.
53714         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53715         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53716         * math/libm-test.inc (cexp_test): Add more tests.
53717         * sysdeps/i386/fpu/libm-test-ulps: Update.
53718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53720 2012-03-21  Allan McRae  <allan@archlinux.org>
53722         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53724 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53726         [BZ #13871]
53727         * math/w_exp2.c: Do not include <float.h>.
53728         (o_threshold, u_threshold): Remove.
53729         (__exp2): Calculate result before checking finiteness and calling
53730         __kernel_standard.
53731         * math/w_exp2f.c: Likewise.
53732         * math/w_exp2l.c: Likewise.
53733         * math/libm-test.inc (exp2_test): Require overflow exception for
53734         1e6 input.
53736         [BZ #3866]
53737         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53738         range of signed 64-bit integers before using fistpll.  Remove
53739         checks for whether integers fit in mantissa bits.
53740         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53741         the range of signed 32-bit integers before using fistpl.  Remove
53742         checks for whether integers fit in mantissa bits.
53743         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53744         (__ieee754_powl): Test for y outside the range of signed 64-bit
53745         integers before using fistpll.  Reduce 64-bit values to 63-bit
53746         ones as needed.
53747         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53748         divide-by-zero is raised for zero to large negative powers.
53749         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53750         (__ieee754_powl): Test for y outside the range of signed 64-bit
53751         integers before using fistpll.  Reduce 64-bit values to 63-bit
53752         ones as needed.
53753         * math/libm-test.inc (pow_test): Add more tests.
53755 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53757         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53758         <stdio-common/_itoa.h>.
53759         * debug/segfault.c: Likewise.
53760         * elf/dl-cache.c: Likewise.
53761         * elf/dl-minimal.c: Likewise.
53762         * elf/dl-misc.c: Likewise.
53763         * elf/dl-sysdep.c: Likewise.
53764         * elf/dl-version.c: Likewise.
53765         * elf/rtld.c: Likewise.
53766         * hurd/hurdsock.c: Likewise.
53767         * hurd/lookup-retry.c: Likewise.
53768         * malloc/malloc.c: Likewise.
53769         * malloc/mtrace.c: Likewise.
53770         * nscd/nscd_getgr_r.c: Likewise.
53771         * nscd/nscd_getpw_r.c: Likewise.
53772         * nscd/nscd_getserv_r.c: Likewise.
53773         * posix/getopt_init.c: Likewise.
53774         * posix/wordexp.c: Likewise.
53775         * stdio-common/_itoa.c: Likewise.
53776         * stdio-common/printf_fphex.c: Likewise.
53777         * stdio-common/vfprintf.c: Likewise.
53778         * string/_strerror.c: Likewise.
53779         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53780         * sysdeps/i386/i686/hp-timing.h: Likewise.
53781         * sysdeps/mach/_strerror.c: Likewise.
53782         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53783         * sysdeps/mach/hurd/sethostid.c: Likewise.
53784         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53785         * sysdeps/mach/xpg-strerror.c: Likewise.
53786         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53787         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53788         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53789         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53790         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53791         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53792         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53793         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53794         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53795         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53796         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53797         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53798         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53799         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53800         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53801         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53802         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53803         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53804         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53805         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53806         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53808         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53810         * stdio-common/_itoa.h: Moved to ...
53811         * sysdeps/generic/_itoa.h: Here.
53813         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53815         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53816         instead of "_itoa.h" and "_itowa.h".
53817         * stdio-common/vfprintf.: Likewise.
53819 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53821         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53822         <bits/wordsize.h>.
53823         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53824         (__signbit): Likwise.
53825         (llrintf): Likwise.
53826         (llrint): Likwise.
53828 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53830         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53831         __WORDSIZE != 64.
53833 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53835         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53836         OVERFLOW_EXCEPTION_OK.
53837         * math/libm-test.inc ("Philosophy"): Update comment about
53838         exception testing.
53839         (OVERFLOW_EXCEPTION): Define.
53840         (OVERFLOW_EXCEPTION_OK): Likewise.
53841         (INVALID_EXCEPTION_OK): Renumber.
53842         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53843         (IGNORE_ZERO_INF_SIGN): Likewise.
53844         (test_exceptions): Handle FE_OVERFLOW.
53845         (exp10_test): Expect overflow exceptions.
53846         (exp2_test): Likewise.
53847         (expm1_test): Likewise.
53848         (nextafter_test): Likewise.
53849         (pow_test): Likewise.
53850         (scalbn_test): Likewise.
53851         (scalbln_test): Likewise.
53853 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53855         * sysdeps/x86_64/bits/atomic.h
53856         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53857         64bit integer.
53858         (atomic_exchange_acq): Likewise.
53859         (__arch_exchange_and_add_body): Likewise.
53860         (__arch_add_body): Likewise.
53861         (atomic_add_negative): Likewise.
53862         (atomic_add_zero): Likewise.
53864 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53866         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53867         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53869 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53871         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53872         Check __x86_64__ instead of __WORDSIZE.
53874 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53876         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53878 2012-03-19  David S. Miller  <davem@davemloft.net>
53880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53882         * sysdeps/sparc/fpu/fenv_private.h: New file.
53883         * sysdeps/sparc/fpu/math_private.h: Use it.
53884         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53885         Remove.
53886         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53887         (libc_feholdexcept_setroundl): Remove.
53888         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53889         Remove.
53890         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53891         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53893 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53895         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53896         int64_t instead of long int.
53897         (INSERT_WORDS64): Likwise.
53899 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53901         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53902         _Unwind_GetCFA return to _Unwind_Ptr first.
53904 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53906         [BZ #13629]
53907         * math/s_clog.c: Include <float.h>.
53908         (__clog): Scale large or subnormal inputs.
53909         * math/s_clogf.c: Likewise.
53910         * math/s_clogl.c: Likewise.
53911         * math/s_clog10.c: Include <float.h>.
53912         (M_LOG10_2): Define.
53913         (__clog10): Scale large or subnormal inputs.
53914         * math/s_clog10f.c: Likewise.
53915         * math/s_clog10l.c: Likewise.
53916         * math/libm-test.inc (clog_test): Add more tests.
53917         (clog10_test): Likewise.
53918         * sysdeps/i386/fpu/libm-test-ulps: Update.
53919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53921         [BZ #11451]
53922         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53923         x and y.
53924         * math/libm-test.inc (atan2_test): Add another test.
53926         * Makerules (common-objdir-compile): Remove.
53927         * sysdeps/unix/Makefile (config-generated): Do not add
53928         $(unix-generated) to variable.
53929         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53930         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53931         Remove rule.
53932         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53933         Likewise.
53934         [generic bits/local_lim.h] (before-compile): Do not append to
53935         variable.
53936         [generic bits/local_lim.h] (common-generated): Likewise.
53937         [generic sys/param.h] (before-compile): Do not append to variable.
53938         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53939         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53940         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53941         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53942         include.
53943         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53944         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53945         [generic sys/param.h] ($(addprefix
53946         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53947         [generic sys/param.h] (common-generated): Do not append to
53948         variable.
53949         [generic sys/param.h] (sysdep_headers): Likewise.
53950         [generic bits/errno.h] (before-compile): Do not append to
53951         variable.
53952         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53953         rule.
53954         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53955         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53956         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53957         [generic bits/errno.h] (common-generated): Do not append to
53958         variable.
53959         [generic bits/ioctls.h] (before-compile): Do not append to
53960         variable.
53961         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53962         rule.
53963         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53964         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53965         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53966         rule.
53967         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53968         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53969         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53970         [generic bits/ioctls.h] (common-generated): Do not append to
53971         variable.
53972         [generic sys/syscall.h] (syscall.h): Remove variable.
53973         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53974         rule.
53975         [generic sys/syscall.h] (before-compile): Do not append to
53976         variable.
53977         [generic sys/syscall.h] (common-generated): Likewise.
53978         * sysdeps/unix/errnos-tmpl.c: Remove file.
53979         * sysdeps/unix/errnos.awk: Likewise.
53980         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53981         * sysdeps/unix/ioctls.awk: Likewise.
53982         * sysdeps/unix/mk-local_lim.c: Likewise.
53983         * sysdeps/unix/snarf-ioctls: Likewise.
53985 2012-03-19  Richard Henderson  <rth@twiddle.net>
53987         * sysdeps/i386/fpu/fenv_private.h: New file.
53988         * sysdeps/i386/fpu/math_private.h: Use it.
53989         (math_opt_barrier, math_force_eval): Remove.
53990         (libc_feholdexcept_setround_53bit): Remove.
53991         (libc_feupdateenv_53bit): Remove.
53992         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53993         (math_opt_barrier, math_force_eval): Remove.
53994         (libc_feholdexcept): Remove.
53995         (libc_feholdexcept_setround): Remove.
53996         (libc_fetestexcept, libc_fesetenv): Remove.
53997         (libc_feupdateenv_test): Remove.
53998         (libc_feupdateenv, libc_feholdsetround): Remove.
53999         (libc_feresetround): Remove.
54001         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54002         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54004         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54005         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54006         (libc_feupdateenv_testl): New.
54007         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54008         (libc_feupdateenv_testf): New.
54009         (libc_feupdateenv): Use libc_feupdateenv_test.
54010         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54011         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54013         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54014         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54015         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54016         (libc_feresetround_noex): New.
54017         (libc_feresetround_noexf): New.
54018         (libc_feresetround_noexl): New.
54019         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54020         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54021         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54022         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54023         SET_RESTORE_ROUND.
54024         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54025         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54026         (__cos): Likewise.
54027         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54028         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54029         SET_RESTORE_ROUND_NOEX.
54030         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54031         SET_RESTORE_ROUND_NOEXF.
54032         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54033         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54034         (libc_feholdsetroundf): New.
54035         (libc_feresetround, libc_feresetroundf): New.
54037         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54038         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54039         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54041         * sysdeps/generic/math_private.h: Include <fenv.h>.
54042         (default_libc_feholdexcept): New.
54043         (default_libc_feholdexcept_setround): New.
54044         (default_libc_fesetenv, default_libc_feupdateenv): New.
54045         (libc_feholdexcept): Only define if undefined.
54046         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54047         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54048         (libc_feholdexcept_setroundl): Likewise.
54049         (libc_feholdexcept_setround_53bit): Likewise.
54050         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54051         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54052         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54053         (libc_feupdateenv_53bit): Likewise.
54054         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54055         (libc_feholdexcept): Convert from macro to inline function.
54056         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54057         (libc_fesetenv, libc_feupdateenv): Likewise.
54059         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54060         not previously defined.
54061         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54062         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54063         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54064         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54065         * sysdeps/ieee754/flt-32/math_private.h: New file.
54066         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54067         math_private.h below SET_FLOAT_WORD.
54068         (__isnan, __isinf_ns, __finite): Remove.
54069         (__isnanf, __isinf_nsf, __finitef): Remove.
54071 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54075 2012-03-17  David S. Miller  <davem@davemloft.net>
54077         [BZ #6471]
54078         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54079         for 2.16.
54081 2012-03-16  David S. Miller  <davem@davemloft.net>
54083         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54084         warnings.
54086         [BZ #6471]
54087         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54088         properly.
54089         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54090         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54091         sysdep_routines when subdir is sysvipc.
54092         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54093         __getshmlba helper.
54095         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54097 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54099         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54100         [__LP64__].
54102 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54104         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54105         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54106         (__lround): Renamed to ...
54107         (__llround): This.  Replace long int with long long int.
54108         Define lround functions as aliases of llround functions.
54109         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54111 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54113         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54114         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54115         adresses to uintptr_t.  Replace "long int" and "unsigned long
54116         int" with "greg_t" on va_arg.
54118 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54120         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54121         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54123         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54124         Move e_machine check before EI_CLASS check.  Handle x32
54125         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54126         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54127         SKIP_EM_IA_64 and include
54128         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54130         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54131         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54132         (add_system_dir): New macro.
54134         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54135         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54137 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54139         [BZ #2551]
54140         [BZ #2552]
54141         [BZ #2553]
54142         [BZ #2554]
54143         [BZ #2562]
54144         [BZ #2563]
54145         [BZ #2565]
54146         [BZ #2566]
54147         [BZ #2576]
54148         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54149         (y0): Likewise.
54150         * math/w_j0f.c (j0f): Likewise.
54151         (y0f): Likewise.
54152         * math/w_j0l.c (__j0l): Likewise.
54153         (__y0l): Likewise.
54154         * math/w_j1.c (j1): Likewise.
54155         (y1): Likewise.
54156         * math/w_j1f.c (j1f): Likewise.
54157         (y1f): Likewise.
54158         * math/w_j1l.c (__j1l): Likewise.
54159         (__y1l): Likewise.
54160         * math/w_jn.c (jn): Likewise.
54161         (yn): Likewise.
54162         * math/w_jnf.c (jnf): Likewise.
54163         (ynf): Likewise.
54164         * math/w_jnl.c (__jnl): Likewise.
54165         (__ynl): Likewise.
54166         * math/libm-test.inc (j0_test): Add more tests.
54167         (j1_test): Likewise.
54168         (jn_test): Likewise.  Add trailing semicolon to existing test.
54169         (y0_test): Likewise.
54170         (y1_test): Likewise.
54171         * sysdeps/i386/fpu/libm-test-ulps: Update.
54172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54174         [BZ #13851]
54175         [BZ #13854]
54176         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54177         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54178         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54179         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54180         (__tanl): Set errno for infinite argument.
54181         * sysdeps/i386/fpu/mptan.c: Remove.
54182         * sysdeps/i386/fpu/s_tan.S: Likewise.
54183         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54184         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54185         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54186         * math/libm-test.inc (tan_test): Add more tests and enable more
54187         tests for double and long double.
54188         * sysdeps/i386/fpu/libm-test-ulps: Update.
54189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54191 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54193         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54194         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54196 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54198         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54199         * configure.in: Use it for both main tree and add-ons.
54200         * configure: Regenerated.
54202 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54204         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54206 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54208         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54209         in comment.
54211         [BZ #13851]
54212         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54213         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54214         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54215         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54216         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54217         infinite argument.
54218         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54219         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54220         != 0 for prec == 2.
54221         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54222         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54223         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54224         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54225         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54226         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54227         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54228         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54229         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54230         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54231         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54232         * math/libm-test.inc (cos_test): Add more tests and enable more
54233         tests for long double.
54234         (sin_test): Likewise.
54235         (sincos_test): Likewise.
54236         * sysdeps/i386/fpu/libm-test-ulps: Update.
54237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54239 2012-03-16  David S. Miller  <davem@davemloft.net>
54241         * sysdeps/sparc/fpu/math_private.h: New file.
54243 2012-03-15  David S. Miller  <davem@davemloft.net>
54245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54246         file.
54247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54249         file.
54250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54255         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54256         sysdep routines.
54257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54259         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54260         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54262         * sysdeps/sparc/sparc-ifunc.h: New file.
54263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54264         sparc-ifunc.h
54265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54267         Likewise.
54268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54269         Likewise.
54270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54274         Likewise.
54275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54280         Likewise.
54281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54282         Likewise.
54283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54287         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54288         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54289         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54290         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54291         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54296         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54298         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54299         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54300         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54301         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54302         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54303         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54304         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54305         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54306         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54308 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54310         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54311         scaling.
54312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54314 2012-03-15  Andreas Jaeger  <aj@suse.de>
54316         [BZ #13852]
54317         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54318         ieee754/flt-32 implementation for sin, cos and sincos.
54319         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54320         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54321         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54322         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54323         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54324         ieee754/flt-32 implementation for tan.
54326         * math/libm-test.inc (cos_test): Enable some large input tests for
54327         float as well
54328         (sin_test): Likewise.
54329         (sincos_test): Likewise.
54330         (tan_test): Add tests for large input.
54332         * sysdeps/i386/fpu/libm-test-ulps: Update.
54334 2012-03-15  Andreas Jaeger  <aj@suse.de>
54336         [BZ #13658]
54337         * math/libm-test.inc (cos_test): Add more test cases.
54338         (sin_test): Likewise.
54339         (sincos_test): Likewise.
54341 2012-03-15  Andreas Jaeger  <aj@suse.de>
54343         [BZ #13837]
54344         * math/libm-test.inc (cos_test): Add a test case for large input
54345         value.
54346         (sin_test): Likewise.
54347         (sincos_test): Likewise.
54349 2012-03-15  Andreas Jaeger  <aj@suse.de>
54350             Joseph Myers  <joseph@codesourcery.com>
54352         [BZ #13658]
54353         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54354         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54355         * sysdeps/i386/fpu/branred.c: Likewise.
54356         * sysdeps/i386/fpu/dosincos.c: Likewise.
54357         * sysdeps/i386/fpu/mpa.c: Likewise.
54358         * sysdeps/i386/fpu/s_cos.S: Likewise.
54359         * sysdeps/i386/fpu/s_sin.S: Likewise.
54360         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54361         * sysdeps/i386/fpu/sincos32.c: Likewise.
54363         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54364         Define.
54365         (libc_feupdateenv_53bit): Define.
54366         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54367         Define.
54368         (libc_feupdateenv_53bit): Define.
54370         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54371         53 bit (without extend i386 double precision).
54373         * math/libm-test.inc (sincos_test): Add tests for large input.
54374         (sin): Likewise.
54375         (cos): Likewise.
54377         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54379 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54383 2012-03-15  David S. Miller  <davem@davemloft.net>
54385         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54386         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54387         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54388         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54401         file.
54402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54404         file.
54405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54407         file.
54408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54410         file.
54411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54412         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54413         fmin/fmax sysdep routines.
54414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54416 2012-03-14  David S. Miller  <davem@davemloft.net>
54418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54421         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54422         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54423         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54424         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54425         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54427         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54428         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54429         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54433         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54434         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54435         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54436         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54437         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54438         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54439         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54440         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54441         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54442         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54443         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54444         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54445         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54446         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54447         routines.
54448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54449         file.
54450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54452         file.
54453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54455         file.
54456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54458         file.
54459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54461         file.
54462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54464         file.
54465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54466         file.
54467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54468         file.
54469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54470         file.
54471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54472         New file.
54473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54474         file.
54475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54476         file.
54477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54479         file.
54480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54482         file.
54483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54485         file.
54486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54488         VIS3 routines.
54490         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54491         New file.
54493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54495         * sysdeps/sparc/configure.in: New file.
54496         * sysdeps/sparc/configure: Generate.
54497         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54498         * configure: Regenerate.
54499         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54500         * config.make.in (have-as-vis3): New.
54501         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54502         available use -Av9d instead of -Av9a.
54503         * sysdeps/sparc/sparc64/Makefile: Likewise.
54504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54506         New file.
54507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54508         file.
54509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54510         New file.
54511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54512         file.
54513         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54514         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54515         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54516         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54517         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54519         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54520         fzeros/fnegs to load 0x80000000 into a float register instead of
54521         using the stack.
54522         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54524 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54526         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54527         bits/syscall.h.
54528         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54529         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54530         ($(inst_includedir)/bits/syscall.h): Remove rule.
54531         ($(objpfx)bits/syscall.d): Include instead of
54532         $(objpfx)syscall-list.d.
54533         (generated): Change syscall-list.h and syscall-list.d to
54534         bits/syscall.h and bits/syscall.d.
54536 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54538         [BZ #13846]
54539         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54541 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54543         [BZ #13841]
54544         * math/s_csqrt.c: Include <float.h>.
54545         (__csqrt): Scale large or subnormal inputs.
54546         * math/s_csqrtf.c: Likewise.
54547         * math/s_csqrtl.c: Likewise.
54548         * math/libm-test.inc (csqrt_test): Add more tests.
54549         * sysdeps/i386/fpu/libm-test-ulps: Update.
54550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54552         [BZ #13840]
54553         * math/libm-test.inc (hypot_test): Add more tests.
54555 2012-03-13  David S. Miller  <davem@davemloft.net>
54557         [BZ #13840]
54558         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54559         double-precision for the calculation instead of scaling.
54561 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54563         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54564         manipulate bits before adding and subtracting TWO52[sx].
54565         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54566         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54567         Likewise.
54568         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54570 2012-03-13  David S. Miller  <davem@davemloft.net>
54572         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54573         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54574         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54575         rtld-global-offsets.h
54576         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54578         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54579         large parameters.
54581         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54583         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54584         'err' in the ifdef scope in which it is actually used.
54586         * nss/nss_db/db-init.c: Include string.h
54588 2012-03-12  David S. Miller  <davem@davemloft.net>
54590         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54591         masking out of the most significant byte of random value used.
54592         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54593         Fix coding style in previous change.
54595         * sysdeps/unix/sysv/linux/kernel-features.h
54596         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54597         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54598         expression.
54599         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54600         later.
54602 2012-03-11  David S. Miller  <davem@davemloft.net>
54604         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54605         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54606         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54607         for 'resultvar' otherwise things get truncated on 64-bit.
54609         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54610         Fix masking out of the most significant byte of random value used.
54612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54614 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54618 2012-03-09  David S. Miller  <davem@davemloft.net>
54620         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54621         variables with appropriate CPP guards.
54622         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54623         from the frame pointer, not the stack pointer.  Correct layout
54624         comments.  Fix test on resulting framesize and the management of
54625         the outregs buffer for pltexit.  Preserve floating point return
54626         values across _dl_call_pltexit call.
54627         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54628         framesize and the management of the outregs buffer for pltexit.
54629         Preserve floating point return values across _dl_call_pltexit
54630         call.
54631         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54632         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54633         (la_sparc64_gnu_pltexit): New functions.
54634         (print_exit): Fix format string for return register value.
54636 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54638         * sunrpc/Makefile (others): Add rpcgen.
54639         ($(objpfx)rpcgen): Remove special build rule and dependency on
54640         libc.
54641         * sunrpc/rpcgen.c: New file.
54643 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54645         [BZ #13673]
54646         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54647         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54648         * sysdeps/i386/crti.S: Likewise.
54649         * sysdeps/i386/crtn.S: Likewise.
54650         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54651         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54652         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54653         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54654         * sysdeps/sh/crti.S: Likewise.
54655         * sysdeps/sh/crtn.S: Likewise.
54656         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54658         [BZ #13673]
54659         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54660         with URL.
54661         * locale/programs/locfile-kw.gperf: Likewise.
54662         * locale/programs/charmap-kw.h: Regenerated.
54663         * locale/programs/locfile-kw.h: Likewise.
54665         [BZ #13673]
54666         * intl/plural.y: Replace FSF snail mail address with URL.
54667         * intl/plural.c: Regenerated.
54669 2012-03-09  Richard Henderson  <rth@twiddle.net>
54671         * include/math_private.h: Remove file.
54672         * math/math_private.h: Move file ...
54673         * sysdeps/generic/math_private.h: ... here.
54675         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54676         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54677         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54679         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54680         and <math_private.h>.
54681         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54682         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54683         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54684         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54685         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54686         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54687         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54688         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54689         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54690         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54691         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54692         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54693         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54694         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54695         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54696         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54697         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54698         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54699         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54700         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54701         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54702         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54703         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54704         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54705         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54706         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54707         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54708         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54709         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54710         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54711         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54712         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54713         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54714         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54715         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54716         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54717         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54718         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54719         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54720         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54721         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54722         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54723         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54724         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54725         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54726         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54727         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54728         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54729         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54730         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54731         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54732         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54733         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54734         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54735         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54736         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54737         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54738         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54739         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54740         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54741         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54742         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54743         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54744         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54745         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54746         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54747         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54748         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54749         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54750         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54751         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54752         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54753         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54754         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54755         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54756         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54757         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54758         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54759         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54760         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54761         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54762         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54763         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54764         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54765         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54766         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54767         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54768         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54769         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54770         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54771         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54772         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54773         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54774         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54775         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54776         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54777         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54778         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54779         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54780         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54781         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54782         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54783         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54784         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54785         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54786         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54787         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54788         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54789         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54790         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54791         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54792         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54793         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54794         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54795         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54796         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54797         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54798         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54799         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54800         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54801         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54802         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54803         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54804         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54805         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54806         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54807         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54808         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54809         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54810         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54811         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54812         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54813         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54814         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54815         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54816         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54817         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54818         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54819         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54820         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54821         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54822         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54823         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54824         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54825         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54826         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54827         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54828         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54829         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54830         * sysdeps/ieee754/k_standard.c: Likewise.
54831         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54832         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54833         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54834         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54835         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54836         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54837         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54838         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54839         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54840         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54841         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54842         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54843         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54844         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54845         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54846         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54847         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54848         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54849         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54850         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54851         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54852         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54853         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54854         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54855         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54856         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54857         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54858         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54859         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54860         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54861         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54862         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54863         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54864         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54865         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54866         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54867         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54868         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54869         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54870         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54871         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54872         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54873         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54874         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54875         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54876         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54877         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54878         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54879         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54880         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54881         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54882         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54883         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54884         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54885         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54886         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54887         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54888         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54889         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54890         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54891         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54892         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54893         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54894         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54895         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54896         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54897         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54898         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54899         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54900         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54901         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54902         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54903         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54904         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54905         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54906         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54907         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54908         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54909         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54910         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54911         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54912         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54913         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54914         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54915         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54916         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54917         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54918         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54919         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54920         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54921         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54922         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54923         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54924         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54925         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54926         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54927         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54928         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54929         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54930         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54931         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54932         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54933         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54934         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54935         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54936         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54937         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54938         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54939         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54940         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54941         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54942         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54943         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54944         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54945         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54946         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54947         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54948         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54949         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54950         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54951         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54952         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54953         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54954         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54955         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54956         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54957         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54958         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54959         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54960         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54961         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54962         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54963         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54964         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54965         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54966         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54967         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54968         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54969         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54970         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54971         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54972         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54973         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54974         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54975         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54976         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54977         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54978         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54979         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54980         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54981         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54982         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54983         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54984         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54985         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54986         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54987         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54988         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54989         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54990         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54991         * sysdeps/ieee754/s_lib_version.c: Likewise.
54992         * sysdeps/ieee754/s_matherr.c: Likewise.
54993         * sysdeps/ieee754/s_signgam.c: Likewise.
54994         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54995         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54996         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54997         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54998         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54999         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55000         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55001         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55002         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55003         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55004         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55005         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55006         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55007         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55008         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55009         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55010         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55011         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55012         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55013         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55014         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55016 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55018         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55019         * sunrpc/rpc_main.c: Likewise.
55020         * sunrpc/rpc_svcout.c: Likewise.
55022 2012-03-09  David S. Miller  <davem@davemloft.net>
55024         * include/math_private.h: New file.
55026 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55028         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55029         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55030         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55031         from <bits/socket_type.h>.
55032         (enum __socket_type): Don't define here.
55033         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55034         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55035         bits/socket_type.h.
55037         [BZ #13566]
55038         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55039         checking __USE_GNU.
55041         * Makerules ($(inst_includedir)/%.h): New rule.
55042         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55043         (install-others): Remove variable setting.
55044         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55046 2012-03-08  Richard Henderson  <rth@twiddle.net>
55048         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55049         from macro to inline function; merge with the
55050         !__LIBC_INTERNAL_MATH_INLINES version.
55051         (__ieee754_sqrtf): Likewise.
55053         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55054         to inline function.
55055         (__rintf, __floor, __floorf): Likewise.
55057         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55058         macro to inline function.
55059         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55061         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55062         not <math/math_private.h>.
55064 2012-03-08  David S. Miller  <davem@davemloft.net>
55066         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55067         copyright year.
55068         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55070 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55072         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55073         normalization.
55074         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55075         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55077 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55079         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55080         be defined individually, they must be defined as a block.  Define
55081         S for printing a string instead of hidint the different by using a
55082         macro for adding the 'l'.
55083         * stdio-common/tst-fphex-wide.c: Adjust.
55085 2012-03-07  Marek Polacek  <polacek@redhat.com>
55087         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55089 2012-03-08  Marek Polacek  <polacek@redhat.com>
55091         [BZ #13806]
55092         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55093         * stdio-common/tst-fphex.c: Define a few macros to make the
55094         test reusable.  Use them.
55095         * stdio-common/tst-fphex-wide.c: New file.
55097 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55099         [BZ #6911]
55100         * manual/macros.texi (gnusystems): New macro.
55101         (nongnusystems): Likewise.
55102         (gnulinuxhurdsystems): Likewise.
55103         (gnuhurdsystems): Likewise..
55104         (gnulinuxsystems): Likewise.
55105         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55106         variants of the GNU system, not "GNU system".
55107         * manual/conf.texi: Likewise.
55108         * manual/errno.texi: Likewise.  Update example of errno macro
55109         expansion.
55110         * manual/filesys.texi: Likewise.
55111         (getumask): Document as specific to GNU/Hurd.
55112         * manual/install.texi: Likewise.  Reword some references to
55113         GNU/Linux.
55114         * manual/intro.texi: Likewise.
55115         * manual/io.texi: Likewise.
55116         (File Name Portability): Detail which constraints are inapplicable
55117         to all GNU systems and which are only inapplicable to GNU/Hurd.
55118         * manual/job.texi: Likewise.
55119         * manual/llio.texi: Likewise.
55120         (O_NOCTTY): Document as present on GNU/Linux.
55121         * manual/maint.texi: Likewise.
55122         * manual/memory.texi: Likewise.
55123         * manual/pattern.texi: Likewise.
55124         * manual/pipe.texi: Likewise.
55125         * manual/process.texi: Likewise.
55126         * manual/resource.texi: Likewise.
55127         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55128         child on GNU/Hurd.
55129         * manual/setjmp.texi: Likewise.
55130         * manual/signal.texi: Likewise.
55131         * manual/startup.texi: Likewise.
55132         * manual/stdio.texi: Likewise.
55133         * manual/terminal.texi: Likewise.
55134         (ONLCR): Document as POSIX.
55135         (OXTABS): Document availability on GNU/Linux as XTABS.
55136         (ONOEOT): Document availability separately from other bits.
55137         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55138         * manual/time.texi: Likewise.
55139         * manual/users.texi: Likewise.
55140         * INSTALL: Regenerated.
55141         * sysdeps/gnu/errlist.c: Regenerated.
55143         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55144         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55145         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55146         puts.
55147         * configure: Regenerated.
55149 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55151         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55152         default includes instead of AC_HEADER_CHECK.
55153         * sysdeps/i386/configure: Regenerated.
55155         [BZ #10716]
55156         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55157         * math/s_cacoshf.c (__cacoshf): Likewise.
55158         * math/s_cacoshl.c (__cacoshl): Likewise.
55159         * math/s_casinh.c (__casinh): Set signs of result from argument.
55160         * math/s_casinhf.c (__casinhf): Likewise.
55161         * math/s_casinhl.c (__casinhl): Likewise.
55162         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55163         (casinh_test): Add more tests.
55164         * sysdeps/i386/fpu/libm-test-ulps: Update.
55165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55167 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55169         * po/zh_TW.po: Update from translation team.
55171         * login/Makefile (distribute): Remove variable.
55172         * catgets/Makefile: Likewise.
55173         * mach/Makefile: Likewise.
55174         * malloc/Makefile: Likewise.
55175         * misc/Makefile: Likewise.
55176         * iconv/Makefile: Likewise.
55177         * nscd/Makefile: Likewise.
55178         * hurd/Makefile: Likewise.
55179         * manual/Makefile: Likewise.
55180         * locale/Makefile: Likewise.
55181         * intl/Makefile: Likewise.
55182         * conform/Makefile: Likewise.
55183         * nss/Makefile: Likewise.
55184         * time/Makefile: Likewise.
55185         * soft-fp/Makefile: Likewise.
55186         * dirent/Makefile: Likewise.
55187         * gmon/Makefile: Likewise.
55188         * po/Makefile: Likewise.
55189         * rt/Makefile: Likewise.
55190         * socket/Makefile: Likewise.
55191         * math/Makefile: Likewise.
55192         * signal/Makefile: Likewise.
55193         * debug/Makefile: Likewise.
55194         * elf/Makefile: Likewise.
55195         * timezone/Makefile: Likewise.
55196         * stdlib/Makefile: Likewise.
55197         * iconvdata/Makefile: Likewise.
55198         * sunrpc/Makefile: Likewise.
55199         * io/Makefile: Likewise.
55200         * argp/Makefile: Likewise.
55201         * inet/Makefile: Likewise.
55202         * hesiod/Makefile: Likewise.
55203         * grp/Makefile: Likewise.
55204         * csu/Makefile: Likewise.
55205         * wctype/Makefile: Likewise.
55206         * crypt/Makefile: Likewise.
55207         * libio/Makefile: Likewise.
55208         * string/Makefile: Likewise.
55209         * nis/Makefile: Likewise.
55210         * resolv/Makefile: Likewise.
55211         * stdio-common/Makefile: Likewise.
55212         * wcsmbs/Makefile: Likewise.
55213         * dlfcn/Makefile: Likewise.
55214         * posix/Makefile: Likewise.
55216         [BZ #6959]
55217         * timezone/Makefile: Don't install timezone files, just the programs
55218         and scripts.
55220 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55222         * nss/databases.def: Add missing gshadow entry.
55224         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55226 2012-03-06  Marek Polacek  <polacek@redhat.com>
55228         [BZ #13726]
55229         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55230         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55231         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55232         * stdio-common/tst-long-dbl-fphex.c: New file.
55234 2012-03-06  David S. Miller  <davem@davemloft.net>
55236         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55237         (set_obp_int): New function.
55238         (get_obp_int): New function.
55239         (__get_clockfreq_via_dev_openprom): Likewise.
55240         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55241         Avoid unused variable warnings on 'val' and use builtin_expect.
55242         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55243         __builtin_expect.
55244         (INLINE_CLONE_SYSCALL): Likewise.
55246 2012-03-05  David S. Miller  <davem@davemloft.net>
55248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55250 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55254         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55255         only for |x| >= 40.
55256         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55258 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55260         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55261         Replace gettimeofday with __vdso_gettimeofday.
55263         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55264         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55265         __vdso_clock_gettime and __vdso_getcpu.
55267         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55268         time with __vdso_time.
55270 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55272         * manual/lang.texi (size_t): Note types to which size_t may be
55273         equivalent with the GNU C Library, but do not describe when
55274         differences between them are significant.
55276 2012-03-05  Andreas Jaeger  <aj@suse.de>
55278         * sysdeps/i386/fpu/libm-test-ulps: Update.
55280 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55282         [BZ #3976]
55283         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55284         (__ieee754_pow): Save and restore rounding mode and use
55285         round-to-nearest for main computations.
55286         * math/libm-test.inc (pow_test_tonearest): New function.
55287         (pow_test_towardzero): Likewise.
55288         (pow_test_downward): Likewise.
55289         (pow_test_upward): Likewise.
55290         (main): Call the new functions.
55291         * sysdeps/i386/fpu/libm-test-ulps: Update.
55292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55294         [BZ #3976]
55295         * math/libm-test.inc (cosh_test_tonearest): New function.
55296         (cosh_test_towardzero): Likewise.
55297         (cosh_test_downward): Likewise.
55298         (cosh_test_upward): Likewise.
55299         (sinh_test_tonearest): Likewise.
55300         (sinh_test_towardzero): Likewise.
55301         (sinh_test_downward): Likewise.
55302         (sinh_test_upward): Likewise.
55303         (main): Call the new functions.
55304         * sysdeps/i386/fpu/libm-test-ulps: Update.
55305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55307 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55309         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55310         default stack guard is set in last bytes.
55311         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55313 2012-03-05  Kees Cook  <keescook@chromium.org>
55315         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55317         [BZ #13656]
55318         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55319         possibly allocate from heap instead of stack.
55320         * stdio-common/bug-vfprintf-nargs.c: New file.
55321         * stdio-common/Makefile (tests): Add nargs overflow test.
55323 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55327 2012-03-03  Marek Polacek  <polacek@redhat.com>
55329         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55330         * math/math_private.h: Likewise.
55331         * stdlib/tst-strtod.c: Likewise.
55332         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55333         * sysdeps/x86_64/bits/atomic.h: Likewise.
55335 2012-03-02  David S. Miller  <davem@davemloft.net>
55337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55341         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55342         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55343         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55344         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55346 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55348         [BZ #13792]
55349         * manual/examples/README: New file, says the example source files
55350         can be used under GPL>=2.
55351         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55352         line containing just "*/".
55353         * manual/examples/add.c: Add copyright header (GPL>=2).
55354         * manual/examples/argp-ex1.c: Likewise.
55355         * manual/examples/argp-ex2.c: Likewise.
55356         * manual/examples/argp-ex3.c: Likewise.
55357         * manual/examples/argp-ex4.c: Likewise.
55358         * manual/examples/atexit.c: Likewise.
55359         * manual/examples/db.c: Likewise.
55360         * manual/examples/dir.c: Likewise.
55361         * manual/examples/dir2.c: Likewise.
55362         * manual/examples/execinfo.c: Likewise.
55363         * manual/examples/filecli.c: Likewise.
55364         * manual/examples/filesrv.c: Likewise.
55365         * manual/examples/fmtmsgexpl.c: Likewise.
55366         * manual/examples/genpass.c: Likewise.
55367         * manual/examples/inetcli.c: Likewise.
55368         * manual/examples/inetsrv.c: Likewise.
55369         * manual/examples/isockad.c: Likewise.
55370         * manual/examples/longopt.c: Likewise.
55371         * manual/examples/memopen.c: Likewise.
55372         * manual/examples/memstrm.c: Likewise.
55373         * manual/examples/mkfsock.c: Likewise.
55374         * manual/examples/mkisock.c: Likewise.
55375         * manual/examples/mygetpass.c: Likewise.
55376         * manual/examples/pipe.c: Likewise.
55377         * manual/examples/popen.c: Likewise.
55378         * manual/examples/rprintf.c: Likewise.
55379         * manual/examples/search.c: Likewise.
55380         * manual/examples/select.c: Likewise.
55381         * manual/examples/setjmp.c: Likewise.
55382         * manual/examples/sigh1.c: Likewise.
55383         * manual/examples/sigusr.c: Likewise.
55384         * manual/examples/stpcpy.c: Likewise.
55385         * manual/examples/strdupa.c: Likewise.
55386         * manual/examples/strftim.c: Likewise.
55387         * manual/examples/strncat.c: Likewise.
55388         * manual/examples/subopt.c: Likewise.
55389         * manual/examples/swapcontext.c: Likewise.
55390         * manual/examples/termios.c: Likewise.
55391         * manual/examples/testopt.c: Likewise.
55392         * manual/examples/testpass.c: Likewise.
55393         * manual/examples/timeval_subtract.c: Likewise.
55395         [BZ #13792]
55396         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55397         function to ...
55398         * manual/timeval_subtract.c.texi: ... here, new file.
55400 2012-03-02  David S. Miller  <davem@davemloft.net>
55402         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55404 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55406         [BZ #3976]
55407         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55408         (__sin): Save and restore rounding mode and use round-to-nearest
55409         for all computations.
55410         (__cos): Save and restore rounding mode and use round-to-nearest
55411         for all computations.
55412         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55413         <fenv.h>.
55414         (tan): Save and restore rounding mode and use round-to-nearest for
55415         all computations.
55416         * math/libm-test.inc (cos_test_tonearest): New function.
55417         (cos_test_towardzero): Likewise.
55418         (cos_test_downward): Likewise.
55419         (cos_test_upward): Likewise.
55420         (sin_test_tonearest): Likewise.
55421         (sin_test_towardzero): Likewise.
55422         (sin_test_downward): Likewise.
55423         (sin_test_upward): Likewise.
55424         (tan_test_tonearest): Likewise.
55425         (tan_test_towardzero): Likewise.
55426         (tan_test_downward): Likewise.
55427         (tan_test_upward): Likewise.
55428         (main): Call the new functions.
55429         * sysdeps/i386/fpu/libm-test-ulps: Update.
55430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55432         [BZ #10135]
55433         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55434         small n, then large n, before computing and testing k+n.
55435         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55436         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55437         Likewise.
55438         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55439         Likewise.
55440         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55441         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55442         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55443         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55444         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55445         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55446         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55447         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55448         * math/libm-test.inc (scalbn_test): Add more tests.
55449         (scalbln_test): Likewise.
55451         * manual/filesys.texi (mode_t): Describe constraints on size and
55452         signedness, not exact equivalence to a particular type.
55453         (ino_t): Likewise.
55454         (ino64_t): Likewise.
55455         (dev_t): Likewise.
55456         (nlink_t): Likewise.
55457         (blkcnt_t): Likewise.
55458         (blkcnt64_t): Likewise.
55459         * manual/llio.texi (off_t): Likewise.
55461         [BZ #3976]
55462         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55463         (__ieee754_exp): Save and restore rounding mode and use
55464         round-to-nearest for all computations.
55465         * math/libm-test.inc (exp_test_tonearest): New function.
55466         (exp_test_towardzero): Likewise.
55467         (exp_test_downward): Likewise.
55468         (exp_test_upward): Likewise.
55469         (main): Call the new functions.
55470         * sysdeps/i386/fpu/libm-test-ulps: Update.
55471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55473 2012-03-01  Chris Demetriou  <cgd@google.com>
55475         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55476         have predictable order.
55478 2012-03-01  David S. Miller  <davem@davemloft.net>
55480         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55482         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55483         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55484         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55485         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55487         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55488         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55489         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55491         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55492         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55493         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55494         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55495         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55499         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55500         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55501         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55503         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55504         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55505         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55506         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55507         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55508         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55509         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55510         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55511         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55512         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55513         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55514         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55515         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55516         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55517         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55518         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55519         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55520         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55521         * sysdeps/sparc/elf/configure: Regenerated.
55523 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55525         * configure.in (AS, LD): Require binutils 2.20 or later.
55526         * configure: Regenerated.
55527         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55528         as required minimum version.
55529         * INSTALL: Regenerated.
55531         [BZ #2541]
55532         [BZ #4108]
55533         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55534         before squaring exponent.
55535         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55536         bottom long double and 27 bits of top long double before squaring
55537         exponent.
55538         * math/libm-test.inc (erfc_test): Add more tests.
55539         * sysdeps/i386/fpu/libm-test-ulps: Update.
55540         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55543 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55545         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55546         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55547         containing bit-fields.
55548         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55549         * soft-fp/single.h (_FP_UNION_S): Likewise.
55550         * soft-fp/double.h (_FP_UNION_D): Likewise.
55552 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55554         [BZ #13786]
55555         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55556         not include ../strcmp.S.
55557         [USE_AS_STRNCASECMP_L]: Likewise.
55558         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55559         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55560         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55561         (__strncasecmp_l_ia32): Define as alias to
55562         __strncasecmp_l_nonascii.
55564         [BZ #5794]
55565         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55566         * sysdeps/i386/fpu/libm-test-ulps: Update.
55567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55569         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55572 2012-02-29  Jeff Law  <law@redhat.com>
55574         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55575         out of bounds read.
55577 2012-02-29  Marek Polacek  <polacek@redhat.com>
55579         [BZ #13706]
55580         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55581         * elf/Makefile: Add rules to run tst-unused-dep.out.
55583 2012-02-28  David S. Miller  <davem@davemloft.net>
55585         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55586         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55587         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55588         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55589         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55590         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55592 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55594         * math/libm-test.inc (llround_test): Move one test from
55595         lround_test.  Use TEST_f_L in moved test.
55596         (lround_test): Move misplaced test to llround_test.  Add testcase
55597         from bug 2561.
55599 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55601         * sysdeps/x86_64/fpu/e_expf.S: New file.
55602         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55604 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55606         [BZ #13637]
55607         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55608         of remain_len that may cause incomplete multi-byte character and
55609         false match.
55610         * posix/bug-regex33.c: New file.
55611         * posix/Makefile (tests): Add bug-regex33.
55613 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55615         * manual/macros.texi: New file.
55616         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55617         * manual/libc.texinfo: Include macros.texi.
55618         * manual/creatute.texi: Likewise.
55619         * manual/install.texi: Likewise.
55620         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55621         @glibcadj{} in references to the GNU C Library.
55622         * manual/charset.texi: Likewise.
55623         * manual/conf.texi: Likewise.
55624         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55625         when not using those macros.
55626         * manual/creature.texi: Likewise.
55627         * manual/crypt.texi: Likewise.
55628         * manual/errno.texi: Likewise.
55629         * manual/filesys.texi: Likewise.
55630         * manual/header.texi: Likewise.
55631         * manual/install.texi: Likewise.
55632         * manual/intro.texi: Likewise.
55633         * manual/io.texi: Likewise.
55634         * manual/job.texi: Likewise.
55635         * manual/lang.texi: Likewise.
55636         * manual/libc.texiinfo: Likewise.
55637         * manual/llio.texi: Likewise.
55638         * manual/locale.texi: Likewise.
55639         * manual/maint.texi: Likewise.
55640         * manual/math.texi: Likewise.
55641         * manual/memory.texi: Likewise.
55642         * manual/message.texi: Likewise.
55643         * manual/nss.texi: Likewise.
55644         * manual/pattern.texi: Likewise.
55645         * manual/process.texi: Likewise.
55646         * manual/resource.texi: Likewise.
55647         * manual/search.texi: Likewise.
55648         * manual/setjmp.texi: Likewise.
55649         * manual/signal.texi: Likewise.
55650         * manual/socket.texi: Likewise.
55651         * manual/startup.texi: Likewise.
55652         * manual/stdio.texi: Likewise.
55653         * manual/string.texi: Likewise.
55654         * manual/sysinfo.texi: Likewise.
55655         * manual/syslog.texi: Likewise.
55656         * manual/terminal.texi: Likewise.
55657         * manual/time.texi: Likewise.
55658         * manual/users.texi: Likewise.
55659         * INSTALL: Regenerated.
55660         * NOTES: Regenerated.
55661         * sysdeps/gnu/errlist.c: Regenerated.
55663 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55665         * include/dirent.h: Include <dirstream.h> before
55666         <dirent/dirent.h>.
55668 2012-02-28  David S. Miller  <davem@davemloft.net>
55670         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55671         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55672         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55673         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55675 2012-02-27  David S. Miller  <davem@davemloft.net>
55677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55679         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55680         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55683         frame pointer instead of stack pointer relative arg slot.
55684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55685         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55686         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55688 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55690         [BZ #3992]
55691         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55693 2012-02-27  David S. Miller  <davem@davemloft.net>
55695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55699         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55700         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55701         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55702         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55704 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55706         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55707         later.  Allow versions 5-9.
55708         * configure: Regenerated.
55709         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55710         required minimum version and 4.6 as recommended version.  Do not
55711         mention bugs in GCC 2.7 and 2.8.
55712         * INSTALL: Regenerated.
55714 2012-02-27  David S. Miller  <davem@davemloft.net>
55716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55720         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55721         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55722         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55723         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55725         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55726         manipulate bits before adding and subtracting TWO112[sx].
55727         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55729 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55731         [BZ #13775]
55732         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55733         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55734         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55735         being in POSIX, because they are in 1003.1-2008.
55737         * rt/tst-aio.c: Include <fcntl.h>.
55738         * rt/tst-aio7.c: Likewise.
55739         * rt/tst-aio64.c: Likewise.
55741         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55743 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55745         * manual/install.texi (--with-headers): Describe headers as
55746         interface headers, not private headers.
55747         (Specific advice for GNU/Linux systems): Describe use of headers
55748         from "make headers_install", not private headers from older
55749         kernels.
55750         * INSTALL: Regenerated.
55751         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55752         Change to 2.6.19.
55753         * sysdeps/unix/sysv/linux/configure: Regenerated.
55755         * manual/llio.texi (fclean): Remove documentation.
55757         * manual/Makefile (libc-texi-generated): New variable.  Include
55758         version.texi.
55759         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55760         $(libc-texi-generated), not duplicated list of files.
55761         (version.texi, stamp-version): New rules.
55762         (realclean): Remove $(libc-texi-generated), not individual files
55763         from that list.  Do not remove dir-add.texinfo.
55764         * manual/libc.texinfo: Comment out uses of edition numbers and
55765         references to printed manual.  Remove last-updated dates.
55766         (EDITION): Comment out.
55767         (ISBN): Likewise.
55768         (VERSION, UPDATED): Remove.
55769         (version.texi): Include.
55771 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55773         * sysdeps/posix/spawni.c: Include <signal.h>.
55774         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55775         * sysdeps/pthread/aio_fsync.c: Likewise.
55777 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55779         * conform/Makefile (tests): Run only when not cross-compiling and
55780         when fast-check is not defined.
55782         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55783         * conform/data/limits.h-data: Fixes for POSIX2008.
55784         * conform/run-conformtest.sh: Run all tests.
55785         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55786         headers.
55787         * include/bits/dlfcn.h: Likewise.
55788         * include/langinfo.h: Likewise.
55789         * include/monetary.h: Likewise.
55790         * include/sys/poll.h: Likewise.
55792         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55793         for __USE_GNU.
55794         * posix/spawn.h: Define __need_sigset_t.
55795         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55796         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55797         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55798         to get sigevent_t only.
55799         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55800         only for __USE_GNU.
55801         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55802         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55803         process_vm_writev only for __USE_GNU.
55804         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55806         * conform/Makefile: For now ignore errors from run-conformtest.
55807         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55808         POSIX to avoid namespace pollution.  Don't prepend headers.
55809         * conform/data/aio.h-data: Fixes for POSIX testing.
55810         * conform/data/fcntl.h-data: Likewise.
55811         * conform/data/glob.h-data: Likewise.
55812         * conform/data/grp.h-data: Likewise.
55813         * conform/data/pthread.h-data: Likewise.
55814         * conform/data/pwd.h-data: Likewise.
55815         * conform/data/signal.h-data: Likewise.
55816         * conform/data/spawn.h-data: Likewise.
55817         * conform/data/stdio.h-data: Likewise.
55818         * conform/data/stdlib.h-data: Likewise.
55819         * conform/data/stropts.h-data: Likewise.
55820         * conform/data/sys/mman.h-data: Likewise.
55821         * conform/data/sys/stat.h-data: Likewise.
55822         * conform/data/sys/types.h-data: Likewise.
55823         * conform/data/sys/wait.h-data: Likewise.
55824         * conform/data/time.h-data: Likewise.
55825         * conform/data/unistd.h-data: Likewise.
55826         * conform/data/utime.h-data: Likewise.
55828         * io/sys/stat.h: fchmod was always in POSIX.
55829         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55830         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55831         * rt/aio.h: Define __need_timespec before including <time.h>.
55832         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55833         struct.  Add forward declaration of pthread_attr_t and use it in
55834         sigevent.
55835         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55836         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55837         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55838         always remove CLK_TCK definition.
55840 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55842         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55844 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55846         * conform/run-conformtest.sh: New file.
55847         * conform/Makefile: Run run-conformtest for tests.
55848         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55849         support.
55851         * conform/data/uchar.h-data: New file.
55852         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55853         * conform/data/arpa/inet.h-data: Likewise.
55854         * conform/data/assert.h-data: Likewise.
55855         * conform/data/complex.h-data: Likewise.
55856         * conform/data/cpio.h-data: Likewise.
55857         * conform/data/ctype.h-data: Likewise.
55858         * conform/data/dirent.h-data: Likewise.
55859         * conform/data/dlfcn.h-data: Likewise.
55860         * conform/data/errno.h-data: Likewise.
55861         * conform/data/fcntl.h-data: Likewise.
55862         * conform/data/float.h-data: Likewise.
55863         * conform/data/fmtmsg.h-data: Likewise.
55864         * conform/data/fnmatch.h-data: Likewise.
55865         * conform/data/ftw.h-data: Likewise.
55866         * conform/data/glob.h-data: Likewise.
55867         * conform/data/grp.h-data: Likewise.
55868         * conform/data/iconv.h-data: Likewise.
55869         * conform/data/inttypes.h-data: Likewise.
55870         * conform/data/langinfo.h-data: Likewise.
55871         * conform/data/libgen.h-data: Likewise.
55872         * conform/data/limits.h-data: Likewise.
55873         * conform/data/locale.h-data: Likewise.
55874         * conform/data/math.h-data: Likewise.
55875         * conform/data/monetary.h-data: Likewise.
55876         * conform/data/mqueue.h-data: Likewise.
55877         * conform/data/ndbm.h-data: Likewise.
55878         * conform/data/net/if.h-data: Likewise.
55879         * conform/data/netdb.h-data: Likewise.
55880         * conform/data/netinet/in.h-data: Likewise.
55881         * conform/data/nl_types.h-data: Likewise.
55882         * conform/data/poll.h-data: Likewise.
55883         * conform/data/pthread.h-data: Likewise.
55884         * conform/data/pwd.h-data: Likewise.
55885         * conform/data/regex.h-data: Likewise.
55886         * conform/data/sched.h-data: Likewise.
55887         * conform/data/search.h-data: Likewise.
55888         * conform/data/semaphore.h-data: Likewise.
55889         * conform/data/setjmp.h-data: Likewise.
55890         * conform/data/signal.h-data: Likewise.
55891         * conform/data/spawn.h-data: Likewise.
55892         * conform/data/stdarg.h-data: Likewise.
55893         * conform/data/stdio.h-data: Likewise.
55894         * conform/data/stdlib.h-data: Likewise.
55895         * conform/data/string.h-data: Likewise.
55896         * conform/data/strings.h-data: Likewise.
55897         * conform/data/stropts.h-data: Likewise.
55898         * conform/data/sys/ipc.h-data: Likewise.
55899         * conform/data/sys/mman.h-data: Likewise.
55900         * conform/data/sys/msg.h-data: Likewise.
55901         * conform/data/sys/resource.h-data: Likewise.
55902         * conform/data/sys/select.h-data: Likewise.
55903         * conform/data/sys/sem.h-data: Likewise.
55904         * conform/data/sys/shm.h-data: Likewise.
55905         * conform/data/sys/socket.h-data: Likewise.
55906         * conform/data/sys/stat.h-data: Likewise.
55907         * conform/data/sys/statvfs.h-data: Likewise.
55908         * conform/data/sys/time.h-data: Likewise.
55909         * conform/data/sys/timeb.h-data: Likewise.
55910         * conform/data/sys/times.h-data: Likewise.
55911         * conform/data/sys/types.h-data: Likewise.
55912         * conform/data/sys/uio.h-data: Likewise.
55913         * conform/data/sys/un.h-data: Likewise.
55914         * conform/data/sys/utsname.h-data: Likewise.
55915         * conform/data/sys/wait.h-data: Likewise.
55916         * conform/data/syslog.h-data: Likewise.
55917         * conform/data/tar.h-data: Likewise.
55918         * conform/data/termios.h-data: Likewise.
55919         * conform/data/utime.h-data: Likewise.
55920         * conform/data/utmpx.h-data: Likewise.
55921         * conform/data/varargs.h-data: Likewise.
55922         * conform/data/wchar.h-data: Likewise.
55923         * conform/data/wctype.h-data: Likewise.
55924         * conform/data/wordexp.h-data: Likewise.
55926         * include/stropts.h: New file.
55927         * include/uchar.h: New file.
55928         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55929         * include/assert.h: Likewise.
55930         * include/ctype.h: Likewise.
55931         * include/dirent.h: Likewise.
55932         * include/dlfcn.h: Likewise.
55933         * include/fcntl.h: Likewise.
55934         * include/fnmatch.h: Likewise.
55935         * include/glob.h: Likewise.
55936         * include/grp.h: Likewise.
55937         * include/libio.h: Likewise.
55938         * include/locale.h: Likewise.
55939         * include/math.h: Likewise.
55940         * include/net/if.h: Likewise.
55941         * include/netdb.h: Likewise.
55942         * include/netinet/in.h: Likewise.
55943         * include/pthread.h: Likewise.
55944         * include/pwd.h: Likewise.
55945         * include/regex.h: Likewise.
55946         * include/sched.h: Likewise.
55947         * include/search.h: Likewise.
55948         * include/setjmp.h: Likewise.
55949         * include/signal.h: Likewise.
55950         * include/stdio.h: Likewise.
55951         * include/stdlib.h: Likewise.
55952         * include/string.h: Likewise.
55953         * include/sys/cdefs.h: Likewise.
55954         * include/sys/mman.h: Likewise.
55955         * include/sys/msg.h: Likewise.
55956         * include/sys/resource.h: Likewise.
55957         * include/sys/select.h: Likewise.
55958         * include/sys/socket.h: Likewise.
55959         * include/sys/stat.h: Likewise.
55960         * include/sys/statvfs.h: Likewise.
55961         * include/sys/time.h: Likewise.
55962         * include/sys/times.h: Likewise.
55963         * include/sys/uio.h: Likewise.
55964         * include/sys/utsname.h: Likewise.
55965         * include/sys/wait.h: Likewise.
55966         * include/termios.h: Likewise.
55967         * include/time.h: Likewise.
55968         * include/ulimit.h: Likewise.
55969         * include/unistd.h: Likewise.
55970         * include/utime.h: Likewise.
55971         * include/wchar.h: Likewise.
55972         * include/wctype.h: Likewise.
55973         * include/wordexp.h: Likewise.
55975         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55977         * time/time.h: TIME_UTC must be a macro.
55978         Make timespec_get available for ISO C11 only as well.
55980 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55982         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55983         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55985 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55987         * configure.in: Use -o not -a in test for unsupported multi-arch.
55989 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55991         * manual/texinfo.tex: Update to version 2012-01-19.16.
55993 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55995         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55997 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55999         [BZ #13738]
56000         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56001         * manual/fdl-1.3.texi: New file.
56002         * manual/fdl-1.1.texi: File removed.
56004         [BZ #13738]
56005         * manual/libc.texinfo (FDL_VERSION): New @set.
56006         Use it for mention of FDL in cover text.
56007         (Documentation License): Use it in @include file name.
56009 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56010             Roland McGrath  <roland@hack.frob.com>
56012         [BZ #5461]
56013         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56014         (not LONG_LONG_MAX and LONG_LONG_MIN.
56015         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56016         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56017         name.
56018         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56020 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56022         [BZ #2547]
56023         [BZ #11365]
56024         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56025         manipulate bits before adding and subtracting TWO23[sx].
56026         * math/libm-test.inc (nearbyint_test): Add more tests.
56028 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56030         [BZ #2548]
56031         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56032         bits before adding and subtracting TWO23[sx].
56033         * math/libm-test.inc (rint_test): Add more tests.
56034         (rint_test_tonearest): Likewise.
56035         (rint_test_towardzero): Likewise.
56036         (rint_test_downward): Likewise.
56037         (rint_test_upward: Likewise.
56039 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56041         [BZ #10110]
56042         * include/stdc-predef.h: New file.  Extracted from features.h.
56043         * include/features.h: Include stdc-predef.h.
56044         * Makefile (headers): Add stdc-predef.h.
56045         * CONFORMANCE (Compiler limitations): Update.
56047 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56049         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56051 2012-02-21  David S. Miller  <davem@davemloft.net>
56053         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56054         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56056 2012-02-20  David S. Miller  <davem@davemloft.net>
56058         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56059         using a normal save/restore sequence, rather than allocating a
56060         dummy stack frame just to store a frame pointer and restore.
56061         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56063 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56065         * manual/install.texi: Fix stray word in line-wrapped comment.
56067 2012-02-20  David S. Miller  <davem@davemloft.net>
56069         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56070         both binutils and gcc support GOTDATA.
56072         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56073         "rd %pc" in the PIC register setup sequences.
56075         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56076         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56077         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56078         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56079         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56080         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56081         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56082         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56083         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56084         (SYSCALL_ERROR_HANDLER): Likewise.
56085         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56086         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56087         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56088         (SYSCALL_ERROR_HANDLER): Likewise.
56090         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56091         (HAVE_GCC_GOTDATA): New.
56092         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56093         relocation support in both binutils and gcc.
56094         * sysdeps/sparc/elf/configure: Regenerate.
56096         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56097         * sysdeps/sparc/sparc32/elf/configure: Delete.
56098         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56099         * sysdeps/sparc/sparc64/elf/configure: Delete.
56100         * sysdeps/sparc/elf/configure.in: New file.
56101         * sysdeps/sparc/elf/configure: Generate.
56103         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56104         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56105         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56106         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56107         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56109 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56111         * manual/install.texi: Do not mention specific glibc version
56112         numbers.
56113         * manual/libc.texinfo (VERSION, UPDATED): Update.
56114         (@copying): Use @copyright{} and range of years.
56116 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56118         [BZ #13695]
56119         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56120         [crti.S not in sysdirs] (generated): Do not append.
56121         [crti.S not in sysdirs] (omit-deps): Likewise.
56122         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56123         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56124         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56125         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56126         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56127         Likewise.
56128         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56129         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56130         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56131         * csu/defs.awk: Remove file.
56132         * sysdeps/generic/initfini.c: Likewise.
56133         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56134         variable.
56135         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56136         Likewise.
56138 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56140         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56141         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56142         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56143         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56144         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56145         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56146         <bits/epoll.h>.
56147         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56148         (__EPOLL_PACKED): Define to empty if not defined by
56149         <bits/epoll.h>.
56150         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56151         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56152         bits/epoll.h.
56154 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56156         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56157         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56158         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56159         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56160         <bits/timerfd.h>.
56161         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56162         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56163         bits/timerfd.h.
56165 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56167         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56168         in C locale.
56169         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56170         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56171         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56174 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56176         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56177         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56179 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56181         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56182         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56183         defined.
56184         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56185         Likewise.
56186         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56187         entry for 2.16.
56189 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56191         * math/w_acos.c: Use non-signaling floating-point comparisons.
56192         * math/w_acosf.c: Likewise.
56193         * math/w_acosh.c: Likewise.
56194         * math/w_acoshf.c: Likewise.
56195         * math/w_acoshl.c: Likewise.
56196         * math/w_acosl.c: Likewise.
56197         * math/w_asin.c: Likewise.
56198         * math/w_asinf.c: Likewise.
56199         * math/w_asinl.c: Likewise.
56200         * math/w_atanh.c: Likewise.
56201         * math/w_atanhf.c: Likewise.
56202         * math/w_atanhl.c: Likewise.
56203         * math/w_exp2.c: Likewise.
56204         * math/w_exp2f.c: Likewise.
56205         * math/w_exp2l.c: Likewise.
56206         * math/w_j0.c: Likewise.
56207         * math/w_j0f.c: Likewise.
56208         * math/w_j0l.c: Likewise.
56209         * math/w_j1.c: Likewise.
56210         * math/w_j1f.c: Likewise.
56211         * math/w_j1l.c: Likewise.
56212         * math/w_jn.c: Likewise.
56213         * math/w_jnf.c: Likewise.
56214         * math/w_log.c: Likewise.
56215         * math/w_log10.c: Likewise.
56216         * math/w_log10f.c: Likewise.
56217         * math/w_log10l.c: Likewise.
56218         * math/w_log2.c: Likewise.
56219         * math/w_log2f.c: Likewise.
56220         * math/w_log2l.c: Likewise.
56221         * math/w_logf.c: Likewise.
56222         * math/w_logl.c: Likewise.
56223         * math/w_sqrt.c: Likewise.
56224         * math/w_sqrtf.c: Likewise.
56225         * math/w_sqrtl.c: Likewise.
56226         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56227         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56228         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56229         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56230         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56232 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56234         [BZ #9739]
56235         * manual/string.texi (strnlen): Use correct parameter name in
56236         equivalent expression.
56238 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56240         [BZ #11174]
56241         * manual/users.texi (seteuid): Consistently use neweuid for
56242         argument name.
56244 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56246         [BZ #13704]
56247         * manual/nss.texi (Services in the NSS configuration): Correct
56248         list of services in example configuration file.
56250 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56252         [BZ #11322]
56253         * manual/arith.texi: Remove statements about negative zero
56254         behaving identically to zero.
56256 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56258         [BZ #5993]
56259         * manual/install.texi: Do not document upgrading from libc5.
56261 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56263         [BZ #4596]
56264         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56266 2012-02-18  David S. Miller  <davem@davemloft.net>
56268         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56269         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56270         %o7 across the call.
56271         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56272         instead.
56273         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56274         SETUP_PIC_REG_LEAF.
56275         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56276         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56277         * sysdeps/sparc/crtn.S: Likewise.
56279 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56281         * aout/Makefile: Remove.
56283 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56285         [BZ #13058]
56286         * manual/examples/argp-ex1.c (main): Format definition in GNU
56287         style.
56288         * manual/examples/argp-ex2.c (main): Likewise.
56289         * manual/examples/argp-ex3.c (main): Likewise.
56290         * manual/examples/argp-ex4.c (main): Likewise.
56291         * manual/examples/longopt.c (main): Use new-style prototype
56292         definition.
56293         * manual/examples/strncat.c (main): Specify return type and use
56294         (void) for arguments.
56295         * manual/examples/subopt.c (main): Use char **argv argument.
56297 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56299         [BZ #5077]
56300         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56301         rounding modes.
56303 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56305         [BZ #6907]
56306         * manual/string.texi (strchr): Change when strchrnul is
56307         recommended.
56309 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56311         [BZ #174]
56312         * manual/locale.texi (setlocale): Document LOCPATH.
56314 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56316         [BZ #10210]
56317         * manual/process.texi (execle): Move @dots{} before last argument.
56319 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56321         [BZ #12047]
56322         * manual/charset.texi (Generic Charset Conversion): Fix typo
56323         (LC_TYPE -> LC_CTYPE).
56325 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56327         [BZ #5805]
56328         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56329         (scalbnf): Likewise.
56330         (scalbnl): Likewise.
56331         (scalbln): Likewise.
56332         (scalblnf): Likewise.
56333         (scalblnl): Likewise.
56334         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56335         (vwarnx): Likewise.
56336         (verr): Likewise.
56337         (verrx): Likewise.
56338         * manual/filesys.texi (telldir): Use braces around return type.
56339         * manual/llio.texi (mmap): Add space after comma.
56340         (mmap64): Likewise.
56341         * manual/math.texi (jn): Use @var{} on parameter names.
56342         (jnf): Likewise.
56343         (jnl): Likewise.
56344         (yn): Likewise.
56345         (ynf): Likewise.
56346         (ynl): Likewise.
56347         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56348         line.
56349         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56350         "...".
56351         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56352         (sched_get_priority_max): Likewise.
56353         * manual/signal.texi (sigvec): Add space after comma.
56354         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56355         names.
56356         (if_indextoname): Likewise.
56357         (if_freenameindex): Likewise.
56358         (sendto): Use ',' instead of '.' in prototype.
56359         * manual/startup.texi (syscall): Use @dots{} instead of literal
56360         "...".
56361         * manual/stdio.texi (__fpending): Separate initial words of
56362         paragraph from @deftypefun line.
56363         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56364         "...".
56365         (vsyslog): Use @var{} on parameter names.
56366         * manual/terminal.texi (stty): Use @var{} on parameter names.
56367         * manual/users.texi (getutmp): Use @var{} on parameter names.
56368         (getutmpx): Likewise.
56370 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56372         [BZ #6884]
56373         * manual/stdio.texi (fopen): Fix typos in description of
56374         ",ccs=STRING".
56376 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56378         [BZ #4026]
56379         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56380         get clock_id definition.
56382 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56384         [BZ #4822]
56385         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56386         (madvise): Cast every argument to void on its own.
56388 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56390         [BZ #9902]
56391         * manual/startup.texi (Exit Status): Fix typo.
56393 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56395         [BZ #10140]
56396         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56397         * manual/examples/argp-ex2.c: Likewise.
56398         * manual/examples/argp-ex3.c: Likewise.
56400 2012-02-16  Richard Henderson  <rth@redhat.com>
56402         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56403         * sysdeps/s390/s390-32/initfini.c: Remove.
56404         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56405         * sysdeps/s390/s390-64/initfini.c: Remove.
56407 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56409         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56410         compiler output for sysdeps/generic/initfini.c.
56411         * sysdeps/sh/elf/initfini.c: Remove file.
56413 2012-02-16  David S. Miller  <davem@davemloft.net>
56415         [BZ #11494]
56416         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56418         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56419         * sysdeps/sparc/crti.S: New file.
56420         * sysdeps/sparc/crtn.S: New file.
56421         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56422         * sysdeps/sparc/sparc64/Makefile: Likewise.
56424 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56426         [BZ #3335]
56427         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56429 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56431         [BZ #4822]
56432         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56434         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56435         (write, read, close): Likewise.
56436         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56438 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56440         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56441         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56442         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56443         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56444         <bits/signalfd.h>.
56445         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56447         bits/signalfd.h.
56449 2012-02-14  Marek Polacek  <polacek@redhat.com>
56451         * sysdeps/x86_64/crti.S: New file.
56452         * sysdeps/x86_64/crtn.S: New file.
56453         * sysdeps/x86_64/elf/initfini.c: Remove file.
56455 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56457         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56458         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56459         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56460         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56461         <bits/inotify.h>.
56462         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56463         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56464         bits/inotify.h.
56466 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56468         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56469         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56470         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56471         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56472         <bits/eventfd.h>.
56473         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56474         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56475         bits/eventfd.h.
56477 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56479         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56480         __feraiseexcept instead of feraiseexcept.
56482         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56483         nanosleep invocations.
56484         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56485         strings, and add error checking for a nanosleep invocations.
56487 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56489         Replace FSF snail mail address with URLs, as per GNU coding standards.
56490         Most of the snail mail addresses were wrong anyway, and omitting
56491         them makes the source code easier to maintain.  Almost all of the
56492         changes are to license notices and to locale LC_IDENTIFICATION
56493         addresses, except for this one:
56494         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56495         not its snail mail address.
56497 2012-02-09  Richard Henderson  <rth@twiddle.net>
56499         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56500         of kernel-features.h.
56502         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56504 2012-02-08  Marek Polacek  <polacek@redhat.com>
56506         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56507         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56508         * sysdeps/gnu/_G_config.h: Likewise.
56509         * sysdeps/generic/_G_config.h: Likewise.
56511 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56513         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56514         tests.
56515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56517         * sysdeps/powerpc/powerpc32/crti.S: New file.
56518         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56519         * sysdeps/powerpc/powerpc64/crti.S: New file.
56520         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56522         * Makeconfig (have-initfini): Don't set.
56523         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56524         * configure.in (nopic_initfini): Don't substitute.
56525         * config.h.in (HAVE_INITFINI): Don't #undef.
56526         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56527         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56529 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56531         Support crti.S and crtn.S provided directly by architectures.
56532         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56533         [crti.S in sysdirs] (omit-deps): Likewise.
56534         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56535         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56536         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56537         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56538         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56539         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56540         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56541         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56542         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56543         compiler output for sysdeps/generic/initfini.c.
56544         * sysdeps/i386/elf/Makefile: Remove file.
56545         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56547 2012-02-07  Marek Polacek  <polacek@redhat.com>
56549         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56550         * sysdeps/gnu/_G_config.h: Likewise.
56551         * sysdeps/mach/hurd/_G_config.h: Likewise.
56553 2012-02-07  Marek Polacek  <polacek@redhat.com>
56555         * math/Makefile (tests): Add tst-CMPLX2.
56556         * math/tst-CMPLX2.c: New file.
56558 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56560         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56562         * math/libm-test.inc (jn_test): Add missing L suffix.
56564 2012-02-06  Marek Polacek  <polacek@redhat.com>
56566         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56567         * sysdeps/i386/fpu/e_powf.S: Likewise.
56568         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56569         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56570         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56571         * sysdeps/i386/fpu/e_pow.S: Likewise.
56572         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56573         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56574         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56575         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56576         * sysdeps/i386/fpu/e_log2.S: Likewise.
56577         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56578         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56579         * sysdeps/i386/fpu/e_powl.S: Likewise.
56580         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56581         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56582         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56583         * sysdeps/i386/fpu/e_logl.S: Likewise.
56584         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56585         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56586         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56587         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56588         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56589         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56590         * sysdeps/i386/fpu/e_log.S: Likewise.
56591         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56592         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56593         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56594         * sysdeps/i386/fpu/e_logf.S: Likewise.
56595         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56596         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56597         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56598         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56599         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56600         * sysdeps/i386/fpu/e_log10.S: Likewise.
56601         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56602         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56603         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56604         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56605         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56606         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56607         * sysdeps/i386/asm-syntax.h: Likewise.
56608         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56609         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56610         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56611         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56612         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56613         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56614         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56615         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56616         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56617         * sysdeps/powerpc/sysdep.h: Likewise.
56618         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56619         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56621 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56623         [BZ #411]
56624         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56626 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56628         * sysdeps/i386/sysdep.h: Include <features.h>.
56629         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56630         version.
56632 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56634         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56635         Define.
56636         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56637         LOAD_PIC_REG_STR.
56639 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56641         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56642         (SETUP_PIC_REG): Use GET_PC_THUNK.
56643         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56644         macro.
56646 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56648         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56649         for non-PIC compilation.
56650         (SETUP_PIC_REG): Add .p2align directive.
56651         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56652         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56653         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56654         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56655         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56656         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56657         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56658         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56659         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56660         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56661         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56662         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56663         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56664         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56665         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56666         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56667         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56668         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56669         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56670         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56671         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56672         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56673         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56674         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56675         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56676         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56677         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56678         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56679         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56680         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56681         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56682         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56683         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56684         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56685         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56686         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56687         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56688         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56689         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56690         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56691         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56693 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56695         * math/tst-CMPLX.c: Include <stdio.h>.
56697 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56699         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56700         float.
56701         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56702         * sysdeps/sparc/bits/mathdef.h: Likewise.
56704 2012-01-31  Marek Polacek  <polacek@redhat.com>
56706         * libio/libio.h: Don't define _PARAMS.
56707         * locale/programs/config.h: Don't define PARAMS.
56708         * stdlib/strtol_l.c: Likewise.
56709         (__strtol_l): Remove PARAMS from the prototype.
56711 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56713         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56714         names.  Just use the correct names.  Remove unnecessary wrapper
56715         functions.
56716         * malloc/arena.c: Likewise.
56717         * malloc/hooks.c: Likewise.
56719         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56720         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56721         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56723 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56725         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56726         into tail calls.
56727         (update_get_addr): New function.
56728         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56729         GET_ADDR_MODULE parameter.
56731 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56733         * crypt/cert.c: Remove __STDC__ conditionals.
56734         * crypt/crypt-entry.c: Likewise.
56735         * crypt/crypt_util.c: Likewise.
56736         * libio/filedoalloc.c: Likewise.
56737         * libio/fileops.c: Likewise.
56738         * libio/genops.c: Likewise.
56739         * libio/iofclose.c: Likewise.
56740         * libio/iofdopen.c: Likewise.
56741         * libio/iofopen.c: Likewise.
56742         * libio/iofopen64.c: Likewise.
56743         * libio/iogetdelim.c: Likewise.
56744         * libio/iopopen.c: Likewise.
56745         * libio/obprintf.c: Likewise.
56746         * libio/oldfileops.c: Likewise.
56747         * libio/oldiofclose.c: Likewise.
56748         * libio/oldiofdopen.c: Likewise.
56749         * libio/oldiofopen.c: Likewise.
56750         * libio/oldiopopen.c: Likewise.
56751         * libio/wfiledoalloc.c: Likewise.
56752         * libio/wgenops.c: Likewise.
56753         * locale/programs/xmalloc.c: Likewise.
56754         * misc/syslog.c: Likewise.
56755         * stdio-common/xbug.c: Likewise.
56756         * string/memchr.c: Likewise.
56757         * string/memcmp.c: Likewise.
56758         * string/memrchr.c: Likewise.
56759         * string/rawmemchr.c: Likewise.
56760         * sysdeps/posix/getcwd.c: Likewise.
56761         * time/strftime_l.c: Likewise.
56763 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56765         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56766         * config.make.in (config-cflags-sse2avx): Define.
56767         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56768         Fix typo.
56770 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56772         * scripts/config.guess: Update from upstream config git repository.
56773         * scripts/config.sub: Likewise.
56775 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56777         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56778         (EM_NUM): Update.
56779         (R_TILEPRO_*, R_TILEGX_*): New macros.
56781         * scripts/firstversions.awk: Fix bug in version range handling.
56783         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56785         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56787         * include/sys/epoll.h: New file.
56788         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56789         libc_hidden_def.
56791 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56793         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56794         Avoid unnecessary __WORDSIZE == 64 test.
56795         (fmaxf): Use VEX format if possible.
56796         (fmax): Likewise.
56797         (fminf): Likewise.
56798         (fmin): Likewise.
56800         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56801         * math/math_private.h: Remove libc_fegetround* and
56802         libc_fesetround*.
56803         * sysdeps/i386/configure.in: Check for -msse2avx.
56804         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56805         also if SSE2AVX is defined.
56806         Remove libc_fegetround* and libc_fesetround*.
56807         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56808         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56809         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56810         of HAS_YMM_USABLE.
56811         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56812         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56813         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56814         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56815         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56817         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56819 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56821         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56822         size is not set.
56823         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56825 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56827         [BZ #13618]
56828         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56829         relocation.
56830         * Makeconfig (libm): Define.
56831         * elf/Makefile: Add rules to build and run tst-relsort1.
56832         * elf/tst-relsort1.c: New file.
56833         * elf/tst-relsort1mod1.c: New file.
56834         * elf/tst-relsort1mod2.c: New file.
56836 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56838         * math/s_ldexp.c: Remove __STDC__ conditionals.
56839         * math/s_ldexpf.c: Likewise.
56840         * math/s_ldexpl.c: Likewise.
56841         * math/s_nextafter.c: Likewise.
56842         * math/s_nexttowardf.c: Likewise.
56843         * math/s_significand.c: Likewise.
56844         * math/s_significandf.c: Likewise.
56845         * math/s_significandl.c: Likewise.
56846         * math/w_jnl.c: Likewise.
56847         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56848         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56849         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56850         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56851         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56852         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56853         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56854         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56855         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56856         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56857         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56858         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56859         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56860         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56861         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56862         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56863         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56864         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56865         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56866         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56867         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56868         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56869         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56870         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56871         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56872         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56873         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56874         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56875         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56876         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56877         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56878         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56879         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56880         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56881         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56882         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56883         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56884         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56885         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56886         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56887         * sysdeps/ieee754/k_standard.c: Likewise.
56888         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56889         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56890         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56891         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56892         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56893         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56894         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56895         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56896         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56897         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56898         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56899         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56900         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56901         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56902         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56903         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56904         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56905         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56906         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56907         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56908         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56909         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56910         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56911         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56912         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56913         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56914         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56915         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56916         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56917         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56918         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56919         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56920         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56921         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56922         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56923         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56924         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56925         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56926         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56927         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56928         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56929         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56930         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56931         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56932         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56933         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56934         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56935         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56936         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56937         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56938         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56939         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56940         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56941         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56942         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56943         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56944         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56945         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56946         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56947         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56948         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56949         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56950         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56951         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56952         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56953         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56954         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56955         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56956         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56957         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56958         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56959         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56960         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56961         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56962         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56963         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56964         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56965         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56966         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56967         * sysdeps/ieee754/s_matherr.c: Likewise.
56968         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56969         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56970         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56971         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56973 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56975         * crypt/md5.h: Remove __STDC__ conditionals.
56976         * libio/libioP.h: Likewise.
56977         * locale/programs/config.h: Likewise.
56978         * sysdeps/generic/sysdep.h: Likewise.
56979         * sysdeps/i386/asm-syntax.h: Likewise.
56980         * sysdeps/s390/asm-syntax.h: Likewise.
56981         * sysdeps/unix/sysdep.h: Likewise.
56982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56985 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56987         * libio/libio.h: Remove __STDC__ conditionals.
56988         * malloc/obstack.h: Likewise.
56989         * math/complex.h: Likewise.
56990         * math/math.h: Likewise.
56991         * sysdeps/generic/_G_config.h: Likewise.
56992         * sysdeps/gnu/_G_config.h: Likewise.
56993         * sysdeps/mach/hurd/_G_config.h: Likewise.
56994         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56995         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56996         * sysdeps/sparc/bits/mathdef.h: Likewise.
56998 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57000         [BZ #13583]
57001         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57002         Clean up HAS_* macros.
57003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57004         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57005         possible.
57006         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57007         HAS_AVX.
57008         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57009         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57010         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57011         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57012         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57014 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57016         * elf/tst-unique3.cc (gets): Remove declaration.
57017         * elf/tst-unique3lib.cc (gets): Likewise.
57018         * elf/tst-unique3lib2.cc (gets): Likewise.
57019         * elf/tst-unique4.cc (gets): Likewise.
57021 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57023         * include/stdio.h: Add C++ protection.  Add gets declarations and
57024         definitions.
57025         * debug/tst-chk1.c: Don't declare gets here.
57026         * stdio-common/tst-gets.c: Likewise.
57028 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57030         * posix/glob: Remove directory.
57032 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57034         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57036 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57038         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57039         of the non-standard EPFNOSUPPORT.
57041 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57043         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57044         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57045         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57047 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57049         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57051 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57053         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57054         transient errors.
57055         * nscd/grpcache.c (cache_addgr): Likewise.
57056         * nscd/hstcache.c (cache_addhst): Likewise.
57057         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57058         * nscd/pwdcache.c (cache_addpw): Likewise.
57059         * nscd/servicescache.c (cache_addserv): Likewise.
57061 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57063         * malloc/malloc.c: Various cleanups.
57064         * malloc/hooks.c: Likewise.
57066         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57067         * stdlib/bug-fmtmsg1.c: New file.
57069         * stdlib/fmtmsg.c (init): Add missing unlock.
57070         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57072 2012-01-12  Marek Polacek  <polacek@redhat.com>
57074         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57075         and _GNU_SOURCE.
57077 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57079         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57080         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57081         macro to ensure uniqueness of label name.
57082         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57083         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57085 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57087         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57089         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57090         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57091         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57092         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57094 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57096         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57098         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57099         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57100         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57102         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57104         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57105         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57106         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57107         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57109         * math/bits/math-finite.h: Add ldexp support.
57111 2012-01-10  Marek Polacek  <polacek@redhat.com>
57113         * locale/programs/localedef.h (show_archive_content): Add noreturn
57114         attribute.
57116 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57118         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57120 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57122         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57124         * io/Makefile (headers): Add bits/poll2.h.
57126 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57129         typo #include statement.
57131 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57133         * include/sys/cdefs.h: Define __attribute_alloc_size.
57134         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57135         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57136         * elf/pldd.c: Likewise.
57137         * iconv/iconv_charmap.c: Likewise.
57138         * iconv/iconvconfig.c: Likewise.
57139         * iconv/strtab.c: Likewise.
57140         * locale/programs/locale.c: Likewise.
57141         * locale/programs/localedef.h: Likewise.
57142         * locale/programs/simple-hash.c: Likewise.
57143         * nscd/nscd.h: Likewise.
57144         * nss/makedb.c: Likewise.
57145         * sysdeps/generic/ldconfig.h: Likewise.
57146         * locale/programs/localedef.c: Remove xmalloc prototype.
57147         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57149 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57151         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57152         appropriate.
57154 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57156         * math/Makefile (tests): Add tst-CMPLX.
57157         * math/tst-CMPLX.c: New file.
57159         * math/complex.h (CMPLXL): Fix typo.
57161         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57162         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57163         GLIBC_2.16.
57164         * debug/tst-chk1.c: Add poll and ppoll tests.
57165         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57166         * include/sys/poll.h: Add hidden proto for ppoll.
57167         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57168         * sysdeps/mach/hurd/ppoll.c: Likewise.
57169         * io/ppoll.c: Likewise.
57170         * debug/poll_chk.c: New file.
57171         * debug/ppoll_chk.c: New file.
57172         * include/bits/poll2.h: New file.
57173         * io/bits/poll2.h: New file.
57175         [BZ #1350]
57176         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57178         * configure.in: static is always set to yes.  Remove.
57179         * config.make.in: Don't set build-static.
57180         * Makeconfig: Remove use of build-static.
57181         * dlfcn/Makefile: Likewise.
57182         * elf/Makefile: Likewise.
57183         * math/Makefile: Likewise.
57184         * misc/Makefile: Likewise.
57185         * nptl/Makefile: Likewise.
57186         * sysdeps/mach/hurd/Makefile: Likewise.
57188         * configure.in: PWD_P is not used anymore.
57189         * config.make.in: Remove PWD_P entry.
57191         * configure.in: Remove last remnants of RANLIB.
57192         No need to check for signed size_t anymore.
57193         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57194         and IA-64.
57195         Remove __builtin_expect test because we require at least gcc 3.4.
57196         * aclocal.m4: Likewise.
57198         * wcsmbs/mbrtoc16.c: Implement using towc function.
57199         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57200         * wcsmbs/wcsmbsload.c: Likewise.
57201         * iconv/gconv_simple.c: Likewise.
57202         * iconv/gconv_int.h: Likewise.
57203         * iconv/gconv_builtin.h: Likewise.
57204         * iconv/iconv_prog.c: Remove CHAR16 handling.
57206         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57208         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57210         * configure.in: Remove --with-elf and --enable-bounded options.
57211         Dont set base_machine for ia64.  More non-ELF conditions removed.
57212         Remove testing and setting of leading underscore information.
57213         * config.make.in (build-bounded): Set to no.
57214         * config.h.in: Remove NO_UNDERSCORES entry.
57215         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57216         them.
57217         * csu/start.c: Remove !NO_UNDERSCORE code.
57218         * locale/localeinfo.h: Likewise.
57219         * sysdeps/generic/machine-gmon.h: Likewise.
57220         * sysdeps/generic/sysdep.h: Likewise.
57221         * sysdeps/i386/sysdep.h: Likewise.
57222         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57223         * sysdeps/mach/sysdep.h: Likewise.
57224         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57225         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57226         * sysdeps/sh/sysdep.h: Likewise.
57227         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57228         * sysdeps/unix/i386/sysdep.S: Likewise.
57229         * sysdeps/unix/sparc/start.c: Likewise.
57230         * sysdeps/unix/sparc/sysdep.S: Likewise.
57231         * sysdeps/unix/sparc/sysdep.h: Likewise.
57232         * sysdeps/unix/start.c: Likewise.
57233         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57234         * sysdeps/x86_64/sysdep.h: Likewise.
57236 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57238         [BZ #13553]
57239         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57240         for non-gcc.
57241         * argp/argp-fmtstream.h: Use const instead __const.
57242         * argp/argp.h: Likewise.
57243         * assert/assert.h: Likewise.
57244         * bits/fenv.h: Likewise.
57245         * bits/sched.h: Likewise.
57246         * bits/sigset.h: Likewise.
57247         * bits/sigthread.h: Likewise.
57248         * catgets/nl_types.h: Likewise.
57249         * conform/data/pthread.h-data: Likewise.
57250         * crypt/crypt-private.h: Likewise.
57251         * crypt/crypt.h: Likewise.
57252         * crypt/crypt_util.c: Likewise.
57253         * ctype/ctype.h: Likewise.
57254         * debug/execinfo.h: Likewise.
57255         * debug/mbsnrtowcs_chk.c: Likewise.
57256         * debug/mbsrtowcs_chk.c: Likewise.
57257         * debug/wcsnrtombs_chk.c: Likewise.
57258         * debug/wcsrtombs_chk.c: Likewise.
57259         * debug/wcstombs_chk.c: Likewise.
57260         * dirent/dirent.h: Likewise.
57261         * dlfcn/dlfcn.h: Likewise.
57262         * elf/neededtest4.c: Likewise.
57263         * grp/grp.h: Likewise.
57264         * gshadow/gshadow.h: Likewise.
57265         * iconv/gconv.h: Likewise.
57266         * iconv/gconv_int.h: Likewise.
57267         * iconv/gconv_simple.c: Likewise.
57268         * iconv/iconv.h: Likewise.
57269         * iconv/loop.c: Likewise.
57270         * iconv/skeleton.c: Likewise.
57271         * include/aio.h: Likewise.
57272         * include/aliases.h: Likewise.
57273         * include/argz.h: Likewise.
57274         * include/arpa/inet.h: Likewise.
57275         * include/assert.h: Likewise.
57276         * include/dirent.h: Likewise.
57277         * include/dlfcn.h: Likewise.
57278         * include/execinfo.h: Likewise.
57279         * include/fcntl.h: Likewise.
57280         * include/fenv.h: Likewise.
57281         * include/glob.h: Likewise.
57282         * include/grp.h: Likewise.
57283         * include/libintl.h: Likewise.
57284         * include/mntent.h: Likewise.
57285         * include/netdb.h: Likewise.
57286         * include/pwd.h: Likewise.
57287         * include/rpc/netdb.h: Likewise.
57288         * include/sched.h: Likewise.
57289         * include/search.h: Likewise.
57290         * include/shadow.h: Likewise.
57291         * include/signal.h: Likewise.
57292         * include/stdio.h: Likewise.
57293         * include/stdlib.h: Likewise.
57294         * include/string.h: Likewise.
57295         * include/sys/socket.h: Likewise.
57296         * include/sys/stat.h: Likewise.
57297         * include/sys/statfs.h: Likewise.
57298         * include/sys/statvfs.h: Likewise.
57299         * include/sys/syslog.h: Likewise.
57300         * include/sys/time.h: Likewise.
57301         * include/sys/uio.h: Likewise.
57302         * include/time.h: Likewise.
57303         * include/unistd.h: Likewise.
57304         * include/utmp.h: Likewise.
57305         * include/wchar.h: Likewise.
57306         * include/wctype.h: Likewise.
57307         * inet/aliases.h: Likewise.
57308         * inet/arpa/inet.h: Likewise.
57309         * inet/netinet/ether.h: Likewise.
57310         * inet/netinet/in.h: Likewise.
57311         * intl/libintl.h: Likewise.
57312         * io/bits/fcntl2.h: Likewise.
57313         * io/fcntl.h: Likewise.
57314         * io/ftw.h: Likewise.
57315         * io/sys/poll.h: Likewise.
57316         * io/sys/stat.h: Likewise.
57317         * io/sys/statfs.h: Likewise.
57318         * io/sys/statvfs.h: Likewise.
57319         * io/utime.h: Likewise.
57320         * libio/bits/stdio.h: Likewise.
57321         * libio/bits/stdio2.h: Likewise.
57322         * libio/libio.h: Likewise.
57323         * libio/libioP.h: Likewise.
57324         * libio/stdio.h: Likewise.
57325         * locale/lc-ctype.c: Likewise.
57326         * locale/locale.h: Likewise.
57327         * login/utmp.h: Likewise.
57328         * malloc/arena.c: Likewise.
57329         * malloc/malloc.c: Likewise.
57330         * malloc/malloc.h: Likewise.
57331         * malloc/mcheck.c: Likewise.
57332         * malloc/mtrace.c: Likewise.
57333         * math/bits/mathcalls.h: Likewise.
57334         * math/fenv.h: Likewise.
57335         * math/math_private.h: Likewise.
57336         * misc/bits/error.h: Likewise.
57337         * misc/bits/syslog.h: Likewise.
57338         * misc/err.h: Likewise.
57339         * misc/error.h: Likewise.
57340         * misc/fstab.h: Likewise.
57341         * misc/mntent.h: Likewise.
57342         * misc/regexp.h: Likewise.
57343         * misc/search.h: Likewise.
57344         * misc/sgtty.h: Likewise.
57345         * misc/sys/mman.h: Likewise.
57346         * misc/sys/syslog.h: Likewise.
57347         * misc/sys/uio.h: Likewise.
57348         * misc/sys/xattr.h: Likewise.
57349         * misc/ttyent.h: Likewise.
57350         * nis/rpcsvc/ypclnt.h: Likewise.
57351         * nss/nss.h: Likewise.
57352         * posix/bits/unistd.h: Likewise.
57353         * posix/fnmatch.h: Likewise.
57354         * posix/glob.h: Likewise.
57355         * posix/sched.h: Likewise.
57356         * posix/spawn.h: Likewise.
57357         * posix/sys/wait.h: Likewise.
57358         * posix/unistd.h: Likewise.
57359         * posix/wordexp.h: Likewise.
57360         * pwd/pwd.h: Likewise.
57361         * resolv/netdb.h: Likewise.
57362         * resource/sys/resource.h: Likewise.
57363         * rt/aio.h: Likewise.
57364         * rt/bits/mqueue2.h: Likewise.
57365         * rt/mqueue.h: Likewise.
57366         * shadow/shadow.h: Likewise.
57367         * signal/signal.h: Likewise.
57368         * socket/send.c: Likewise.
57369         * socket/sendto.c: Likewise.
57370         * socket/sys/socket.h: Likewise.
57371         * stdio-common/printf.h: Likewise.
57372         * stdlib/bits/stdlib.h: Likewise.
57373         * stdlib/fmtmsg.h: Likewise.
57374         * stdlib/monetary.h: Likewise.
57375         * stdlib/stdlib.h: Likewise.
57376         * stdlib/ucontext.h: Likewise.
57377         * streams/stropts.h: Likewise.
57378         * string/argz.h: Likewise.
57379         * string/bits/string2.h: Likewise.
57380         * string/string.h: Likewise.
57381         * string/strings.h: Likewise.
57382         * sunrpc/rpc/auth.h: Likewise.
57383         * sunrpc/rpc/auth_des.h: Likewise.
57384         * sunrpc/rpc/clnt.h: Likewise.
57385         * sunrpc/rpc/netdb.h: Likewise.
57386         * sunrpc/rpc/pmap_clnt.h: Likewise.
57387         * sunrpc/rpc/xdr.h: Likewise.
57388         * sysdeps/generic/inttypes.h: Likewise.
57389         * sysdeps/generic/net/if.h: Likewise.
57390         * sysdeps/generic/sys/swap.h: Likewise.
57391         * sysdeps/gnu/net/if.h: Likewise.
57392         * sysdeps/gnu/utmpx.h: Likewise.
57393         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57394         * sysdeps/i386/i486/bits/string.h: Likewise.
57395         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57396         * sysdeps/s390/bits/string.h: Likewise.
57397         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57398         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57399         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57400         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57401         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57402         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57403         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57404         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57405         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57406         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57407         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57408         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57409         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57410         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57411         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57412         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57413         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57414         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57415         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57416         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57417         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57418         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57419         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57420         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57421         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57422         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57423         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57424         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57425         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57426         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57427         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57428         * sysvipc/sys/ipc.h: Likewise.
57429         * sysvipc/sys/msg.h: Likewise.
57430         * sysvipc/sys/sem.h: Likewise.
57431         * sysvipc/sys/shm.h: Likewise.
57432         * termios/termios.h: Likewise.
57433         * time/sys/time.h: Likewise.
57434         * time/time.h: Likewise.
57435         * wcsmbs/bits/wchar2.h: Likewise.
57436         * wcsmbs/uchar.h: Likewise.
57437         * wcsmbs/wchar.h: Likewise.
57438         * wctype/wctype.h: Likewise.
57440         [BZ #13551]
57441         * Makeconfig: Remove all but ELF support including AIX support.
57442         * Makerules: Likewise.
57443         * config.h.in: Likewise.
57444         * config.make.in: Likewise.
57445         * configure: Likewise.
57446         * configure.in: Likewise.
57447         * csu/Makefile: Likewise.
57448         * csu/version.c: Likewise.
57449         * debug/Makefile: Likewise.
57450         * dlfcn/Makefile: Likewise.
57451         * elf/Makefile: Likewise.
57452         * extra-lib.mk: Likewise.
57453         * iconv/Makefile: Likewise.
57454         * include/libc-symbols.h: Likewise.
57455         * include/shlib-compat.h: Likewise.
57456         * resolv/Makefile: Likewise.
57457         * resolv/res_libc.c: Likewise.
57458         * rt/Makefile: Likewise.
57459         * sysdeps/i386/asm-syntax.h: Likewise.
57460         * sysdeps/i386/sysdep.h: Likewise.
57461         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57462         * sysdeps/mach/sysdep.h: Likewise.
57463         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57464         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57465         * sysdeps/s390/asm-syntax.h: Likewise.
57466         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57467         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57468         * sysdeps/sh/sysdep.h: Likewise.
57469         * sysdeps/unix/sparc/sysdep.h: Likewise.
57470         * sysdeps/wordsize-32/divdi3.c: Likewise.
57471         * sysdeps/x86_64/sysdep.h: Likewise.
57473         * argp/Versions: Remove _argp_unlock_xxx.
57475         [BZ #13559]
57476         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57477         * abilist/libBrokenLocale.abilist: Likewise.
57478         * abilist/libanl.abilist: Likewise.
57479         * abilist/libc.abilist: Likewise.
57480         * abilist/libcrypt.abilist: Likewise.
57481         * abilist/libdl.abilist: Likewise.
57482         * abilist/libm.abilist: Likewise.
57483         * abilist/libnsl.abilist: Likewise.
57484         * abilist/libpthread.abilist: Likewise.
57485         * abilist/libresolv.abilist: Likewise.
57486         * abilist/librt.abilist: Likewise.
57487         * abilist/libthread_db.abilist: Likewise.
57488         * abilist/libutil.abilist: Likewise.
57489         * abilist/libnss_db.abilist: New file.
57491         * scripts/abilist.awk: Add support for indirect functions.
57493         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57495         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57497         * shlib-versions: Remove entries for ports architectures.
57499         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57500         files in ports.
57501         * elf/stackguard-macros.h: Remove support for IA-64.
57502         * elf/tst-auditmod1.c: Likewise.
57503         * sysdeps/generic/ldsodefs.h: Likewise.
57505         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57506         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57507         configure files.
57509         [BZ #13552]
57510         * configure.in: Remove --enable-omitfp support.
57511         * FAQ.in: Adjust.
57512         * config.make.in: Likewise.
57513         * Makeconfig: Likewise.
57514         * manual/install.texi: Likewise.
57516         In case anyone cares, the IA-64 architecture could move to ports.
57517         * sysdeps/ia64/*: Removed.
57518         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57519         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57521         [BZ #13555]
57522         * configure.in: Remove entries for unsupported architectures.
57524         [BZ #13533]
57525         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57526         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57527         routines.
57528         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57529         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57530         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57531         fall back to using wcrtomb.
57532         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57533         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57534         renaming.
57535         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57536         * wcsmbs/tst-c16c32-1.c: New file.
57538         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57539         local variable.
57541         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57543         * elf/tst-unique3.cc: Add explicit declaration of gets.
57544         * elf/tst-unique3lib.cc: Likewise.
57545         * elf/tst-unique3lib2.cc: Likewise.
57546         * elf/tst-unique4.cc: Likewise.
57548         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57550 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57552         [BZ #13566]
57553         * assert/assert.h (static_assert): Don't define for C++.
57554         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57555         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57557 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57559         * iconv/loop.c (single loop): Fix assertion in storing of
57560         remaining bytes.
57562         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57564 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57566         * posix/getconf.c: Update copyright year.
57567         * nss/getent.c: Likewise.
57568         * nss/makedb.c: Likewise.
57569         * iconv/iconvconfig.c: Likewise.
57570         * iconv/iconv_prog.c: Likewise.
57571         * elf/ldconfig.c: Likewise.
57572         * elf/pldd.c: Likewise.
57573         * elf/sotruss.ksh: Likewise.
57574         * catgets/gencat.c: Likewise.
57575         * csu/version.c: Likewise.
57576         * elf/ldd.bash.in: Likewise.
57577         * elf/sprof.c (print_version): Likewise.
57578         * locale/programs/locale.c: Likewise.
57579         * locale/programs/localedef.c: Likewise.
57580         * login/programs/pt_chown.c: Likewise.
57581         * nscd/nscd.c (print_version): Likewise.
57582         * debug/xtrace.sh: Likewise.
57583         * malloc/memusage.sh: Likewise.
57584         * malloc/mtrace.pl: Likewise.
57585         * debug/catchsegv.sh: Likewise.
57587 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57589         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57590         pure attribute.
57592 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57594         [BZ #13533]
57595         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57596         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57597         transformations.
57598         * iconv/gconv_int.h: Likewise.
57599         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57600         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57601         from libc for GLIBC_2.16.
57602         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57603         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57604         * wcsmbs/uchar.h: Really define mbstate_t.
57605         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57606         * wcsmbs/c16rtomb.c: New file.
57607         * wcsmbs/mbrtoc16.c: New file.
57608         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57609         for C/POSIX locale.
57610         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57611         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57613         * wcsmbs/wchar.h: Add missing __restrict.
57615 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57617         [BZ #13532]
57618         * time/Makefile (routines): Add timespec_get.
57619         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57620         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57621         timespec for ISO C11.
57622         * time/timespec_get.c: New file.
57623         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57624         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57626         [BZ #13531]
57627         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57628         * stdlib/stdlib.h: Declare aligned_alloc.
57629         * Versions.def: Add GLIBC_2.16 for libc.
57630         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57632         [BZ 13527]
57633         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57634         ISO C11.
57636         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57637         code.
57639         [BZ #13528]
57640         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57642         [BZ #13529]
57643         * assert/assert.h (static_assert): Define.
57645         * version.h: Update for 2.16 development version.
57647         [BZ #13526]
57648         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57649         _ISOC11_SOURCE.
57651         * version.h (RELEASE): Bump for 2.15 release.
57652         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57654         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57655         Patch by Marek Polacek <mpolacek@redhat.com>.
57657         * bits/byteswap.h: Protect long long constants with __extension__.
57658         * sysdeps/i386/bits/byteswap.h: Likewise.
57659         * sysdeps/ia64/bits/byteswap.h: Likewise.
57660         * sysdeps/s390/bits/byteswap.h: Likewise.
57661         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57663 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57665         [BZ #13540]
57666         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57667         destination buffer.
57668         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57670 2011-12-23  Marek Polacek  <polacek@redhat.com>
57672         * elf/dl-addr.c (determine_info): Add inline keyword.
57673         * elf/tst-auditmod4b.c (check_avx): Likewise.
57674         * elf/tst-auditmod6b.c (check_avx): Likewise.
57675         * elf/tst-auditmod6c.c (check_avx): Likewise.
57676         * elf/tst-auditmod7b.c (check_avx): Likewise.
57678 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57680         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57681         !__SSE_MATH__.
57683 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57685         [BZ #13540]
57686         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57687         processing for last bytes.
57689 2011-08-06  Bruno Haible  <bruno@clisp.org>
57691         [BZ #13061]
57692         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57693         U+0385, not to U+1FEE.
57695         [BZ #13062]
57696         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57697         entry for U+00A5 U+0301.
57699 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57701         [BZ #13166]
57702         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57703         buffer for the output is too small.
57705         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57706         optimization.
57708         [BZ #13185]
57709         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57710         SSE flags if possible.
57712 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57714         [BZ #13540]
57715         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57716         processing for last bytes.
57718 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57720         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57721         (syscall-list-default-options, syscall-list-default-condition)
57722         (syscall-list-includes): Define.
57723         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57724         list of ABIs and options and #if conditions for each ABI.  Do not
57725         handle common syscalls between ABIs specially.
57726         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57727         Remove.
57728         (syscall-list-variants, syscall-list-32bit-options)
57729         (syscall-list-32bit-condition, syscall-list-64bit-options)
57730         (syscall-list-64bit-condition): Define.
57731         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57732         (syscall-list-variants, syscall-list-32bit-options)
57733         (syscall-list-32bit-condition, syscall-list-64bit-options)
57734         (syscall-list-64bit-condition): Define.
57735         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57736         Remove.
57737         (syscall-list-variants, syscall-list-32bit-options)
57738         (syscall-list-32bit-condition, syscall-list-64bit-options)
57739         (syscall-list-64bit-condition): Define.
57740         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57741         Remove.
57742         (syscall-list-variants, syscall-list-32bit-options)
57743         (syscall-list-32bit-condition, syscall-list-64bit-options)
57744         (syscall-list-64bit-condition): Define.
57746 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57748         * locale/iso-639.def: Add brx entry.
57750         [BZ #13328]
57751         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57752         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57754         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57755         __feraiseexcept_renamed.
57757 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57759         [BZ #13538]
57760         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57761         EPOLLET with unsigned values.
57762         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57763         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57765         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57766         to large cancellation.
57767         * math/s_cacoshf.c: Likewise.
57768         * math/s_cacoshl.c: Likewise.
57770 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57772         [BZ #13305]
57773         [BZ #12786]
57774         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57775         * math/s_cacoshf.c: Likewise.
57776         * math/s_cacoshl.c: Likewise.
57778 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57780         [BZ #13439]
57781         * iconv/gconv.h: Define __GCONV_SWAP.
57782         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57783         * iconvdata/utf-16.c: Likewise.
57784         * iconvdata/utf-32.c: Likewise.
57786 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57788         [BZ #13524]
57789         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57790         numerator after shifting it by one limb.
57792 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57794         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57795         under [__USE_EXTERN_INLINES].
57797 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57799         [BZ #13446]
57800         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57802 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57804         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57805         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57806         optimized code.
57807         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57808         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57809         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57810         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57811         for strncasecmp/strncasecmp_l compilation.
57812         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57813         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57815 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57817         [BZ #13484]
57818         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57819         of __asm__.
57821 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57823         [BZ #13506]
57824         * time/tzfile.c (__tzfile_read): Check values from file header.
57826 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57828         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57829         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57830         * powerpc/powerpc32/dl-start.S: Likewise.
57831         * powerpc/powerpc32/elf/start.S: Likewise.
57832         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57833         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57834         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57835         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57836         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57837         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57838         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57839         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57840         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57841         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57842         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57843         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57844         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57845         * powerpc/powerpc32/memset.S: Likewise.
57846         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57847         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57848         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57849         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57850         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57851         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57852         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57853         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57854         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57855         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57856         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57857         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57858         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57860 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57862         * math/libm-test.inc: Added more nearbyint tests.
57863         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57864         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57865         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57866         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57868 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57870         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57871         FD_CLOEXEC.
57873 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57875         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57876         Add wcscpy-ssse3 wcscpy-c.
57877         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57878         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57879         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57880         * sysdeps/x86_64/wcschr.S: New file.
57881         * sysdeps/x86_64/wcsrchr.S: New file.
57882         * string/test-strcmp.c: Remove checking of wcscmp function for
57883         wrong alignments.
57884         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57885         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57886         wcsrchr-sse2 wcsrchr-c.
57887         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57888         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57889         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57890         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57891         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57892         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57893         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57894         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57895         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57896         * wcsmbc/wcschr.c (WCSCHR): New macro.
57898 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57900         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57901         * wcsmbs/test-wcsrchr.c: New file.
57902         * string/test-strrchr.c: Add wcsrchr support.
57903         (WIDE): New macro.
57904         * wcsmbs/test-wcscpy.c: New file.
57905         * string/test-strcpy.c: Add wcscpy support.
57906         (WIDE): New macro.
57908 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57910         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57911         the inner loop.
57913 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57915         [BZ #13472]
57916         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57918 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57920         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57921         Minor optimizations.
57923         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57924         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57925         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57927 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57929         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57930         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57931         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57932         for gcc to avoid warnings.
57933         * inet/Makefile (tests): Add tst-checks.
57934         * inet/tst-checks.c: New file.
57936         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57937         warning.
57939         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57940         __wmemcmp_sse2.
57942         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57943         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57945         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57947 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57949         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57950         problem.
57952         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57954 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57956         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57957         conditional on GCC version.
57958         (__arch_compare_and_exchange_val_8_acq)
57959         (__arch_compare_and_exchange_val_16_acq)
57960         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57961         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57962         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57964 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57966         * sysdeps/sh/backtrace.c: New file.
57968 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57970         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57971         parenthesis.
57973 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57975         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57976         falling back to utime.
57978 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57980         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57981         expectations for float.
57983 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57985         * locale/weight.h (findidx): Add parameter len.
57986         * locale/weightwc.h (findidx): Likewise.
57987         * posix/fnmatch_loop.c (FCT): Adjust caller.
57988         * posix/regcomp.c (build_equiv_class): Likewise.
57989         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57990         * posix/regexec.c (check_node_accept_bytes): Likewise.
57991         * string/strcoll_l.c (STRCOLL): Likewise.
57992         * string/strxfrm_l.c (STRXFRM): Likewise.
57994 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57996         * Makefile.in: Remove CVSOPT handling.
57997         * configure.in: Remove use of AC_REVISION.
57998         * iconvdata/Makefile (distribute): No need to filter out CVS.
57999         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58000         handling.
58002 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58004         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58005         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58006         [USE_AS_STRNCASECMP_L]: Likewise.
58007         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58008         NO_TLS_DIRECT_SEG_REFS.
58009         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58010         Fix argument offsets for non-PIC.
58011         [USE_AS_STRNCASECMP_L]: Likewise.
58012         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58013         NO_TLS_DIRECT_SEG_REFS.
58015 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58017         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58018         O_CLOEXEC.
58019         * locale/loadlocale.c (_nl_load_locale): Likewise.
58021 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58023         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58024         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58025         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58026         (SYSCALL_GETTIME): Set errno on error.
58028         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58029         count references to noai6ai_cached.
58031 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58033         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58035         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58036         FD_CLOEXEC for /proc/self/maps.
58038         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58039         FD_CLOEXEC for /proc/meminfo.
58041         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58042         gai.conf.
58044         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58045         FD_CLOEXEC for given file.
58047         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58049         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58050         FD_CLOEXEC for /etc/hosts.
58051         (_gethtent): Likewise.
58053         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58055         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58056         cancellation and set FD_CLOEXEC for /etc/netgroup.
58058         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58059         reading /etc/publickey.
58061         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58062         allow cancellation when reading /etc/group.
58064         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58065         cancellation.
58066         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58068         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58069         when using data file.
58071         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58073         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58074         (write_nis_obj): Use "c" and "e" in fopen.
58076         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58078         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58080         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58082         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58084         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58085         locale.alias.
58087         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58089         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58091         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58093         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58094         file parsing and set FD_CLOEXEC.
58096 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58098         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58100 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58102         * malloc/arena.c (arena_get2): Don't call reused_arena when
58103         _int_new_arena failed.
58105 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58107         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58108         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58109         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58110         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58111         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58112         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58113         to compile strcasecmp and strncasecmp.
58114         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58115         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58117         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58119 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58121         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58122         locale-defines.sym to gen-as-const-headers.
58123         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58124         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58125         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58126         to compile strcasecmp and strncasecmp.
58127         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58128         strcasecmp_l and strncasecmp_l.
58129         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58130         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58131         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58132         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58133         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58134         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58135         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58136         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58137         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58138         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58139         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58141 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58143         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58144         result of SYSDEP_GETTIME_CPU to retval.
58145         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58146         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58148         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58149         variable.
58151         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58152         mantissa words.
58153         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58155         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58156         from unused variable.
58158         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58159         DWARF definitions.
58160         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58161         for assembling.
58163         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58164         over namespaces.
58166         * sunrpc/rpc_prot.c (rejected): Fix case value.
58168         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58169         unsigned long long int to avoid warnings in shift.
58171         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58172         of use of trans.
58173         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58174         variable tmp.
58176         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58177         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58178         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58180         * nis/nis_table.c (nis_list): Use variable of correct type for
58181         result of __follow_path call.
58183 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58185         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58186         of math functions ceil, trunc, floor, round, and sqrt, when
58187         avaliable on the platform.
58188         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58189         name clash.
58190         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58191         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58192         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58194 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58196         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58197         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58199 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58201         * include/unistd.h: Fix __readlink return type.
58202         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58204 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58206         * stdlib/ucontext.h: Undo last change for makecontext.
58208 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58210         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58212         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58213         * setjmp/setjmp.h: Mark functions as non-leaf.
58214         * setjmp/bits/setjmp2.h: Likewise.
58215         * stdlib/ucontext.h: Likewise.
58217 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58219         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58220         (reused_arena): Don't check arena limit.
58221         (arena_get2): Atomically check arena limit.
58223 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58225         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58226         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58228         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58229         instructions.
58231 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58233         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58234         handler when locking.
58236         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58237         Fix size of allocated buffer.
58239 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58241         [BZ #10103]
58242         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58243         declarations for long double functions.
58244         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58246         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58248 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58250         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58251         installed.
58253         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58254         is disabled.
58256 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58258         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58260 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58262         * include/alloca.h (stackinfo_alloca_round): Define.
58263         (extend_alloca): Use it.
58264         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58265         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58266         here.
58268         * scripts/check-local-headers.sh: Ignore libaudit.h.
58270         * nscd/Makefile (extra-objs): Make recursively expanded.
58272 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58274         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58275         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58277         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58278         * posix/tst-rfc3484-2.c: Likewise.
58279         * posix/tst-rfc3484-3.c: Likewise.
58281         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58282         process_vm_writev.
58283         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58284         process_vm_writev.
58285         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58286         process_vm_writev from libc using GLIBC_2.15 version.
58288         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58290 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58292         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58293         stack usage.
58295 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58297         [BZ #13367]
58298         * nss/getent.c (initgroups_keys): Show error message in case no group
58299         names are given.
58301         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58302         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58303         __bump_nl_timestamp.
58304         * nscd/connections (nscd_init): When host database is served open
58305         netlink socket and request notification about configuration changes.
58306         (main_loop_poll): Track netlink file descriptor and bump timestamp
58307         in case data becomes available.
58308         (main_loop_epoll): Likewise.
58309         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58310         (database_pers_head): Add extra_data fileds.
58311         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58312         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58313         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58314         Adjust caller.
58315         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58316         in6ai data, call __free_in6ai.
58317         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58318         Add -DHAVE_NETLINK.
58319         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58320         interface information.  Reuse previous data if netlink timestamp
58321         is not changed.
58322         (__bump_nl_timestamp): New function.
58323         (__free_in6ai): New function.
58325 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58327         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58328         close_not_cancel_no_status here.
58329         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58331 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58333         [BZ #13276]
58334         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58335         return value.
58337         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58338         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58339         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58341 2011-07-03  Andreas Jaeger  <aj@suse.de>
58343         [BZ #10709]
58344         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58345         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58346         * math/libm-test.inc (sin_test): Add test case.
58348 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58350         [BZ #13337]
58351         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58352         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58354         * elf/chroot_canon.c (chroot_canon): Cleanups.
58356         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58358         [BZ #13335]
58359         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58360         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58362         * string/test-strchr.c: Make usable for strchrnul testing.
58363         * string/test-strchrnul.c: New file.
58364         * string/Makefile (strop-tests): Add strchrnul.
58366         * po/it.po: Update from translation team.
58367         * po/es.po: Likewise.
58369 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58371         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58372         the three constants needed as parameters.  Drop the others.
58373         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58374         __m128i_strloadu_tolower.
58375         Create and initialize variable zero and use it in all the places
58376         where _mm_setzero_si128 was used.
58378         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58379         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58380         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58381         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58382         anymore.
58383         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58384         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58385         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58386         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58387         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58388         __mpranred, __mptan.
58389         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58390         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58391         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58392         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58393         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58394         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58395         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58396         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58397         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58399 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58401         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58402         redefine if SHARED.
58403         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58405         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58406         wide char related routines to wcsmbs subdir.
58408 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58410         [BZ #13344]
58411         * misc/sys/cdefs.h (__THROWNL): Define.
58412         * posix/unistd.h: Use __THREADNL instead of __THREAD
58413         for memory synchronization functions.
58415 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58417         [BZ #13349]
58418         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58419         doesn't exist.
58420         * manual/stdio.texi (Obstack Streams): Node removed.
58422 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58424         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58425         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58426         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58428         * math/math_private.h (math_force_eval): Allow non-addressable
58429         arguments.
58430         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58432 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58434         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58435         file is not needed.
58437         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58438         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58439         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58440         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58441         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58442         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58443         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58444         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58445         Add AVX variants.
58446         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58447         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58448         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58449         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58450         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58451         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58452         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58453         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58454         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58455         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58456         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58457         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58458         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58459         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58460         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58461         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58462         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58463         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58464         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58466         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58467         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58469         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58470         place.  Use VEX encoding when compiling for AVX.
58472 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58474         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58475         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58477         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58479 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58481         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58482         useless if() expression.
58483         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58484         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58485         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58486         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58487         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58488         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58489         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58490         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58491         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58492         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58493         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58494         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58495         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58496         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58497         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58498         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58499         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58500         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58501         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58503         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58505 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58507         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58508         condition.
58509         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58511 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58513         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58514         .text section.  Avoid duplicate constants.
58515         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58516         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58517         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58518         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58519         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58520         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58521         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58522         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58523         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58524         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58525         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58526         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58527         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58528         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58529         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58530         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58531         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58532         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58533         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58534         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58535         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58536         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58537         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58538         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58539         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58540         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58541         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58542         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58543         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58544         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58545         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58546         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58547         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58548         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58549         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58550         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58551         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58552         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58553         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58554         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58555         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58556         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58557         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58558         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58559         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58561 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58563         * sysdeps/x86_64/dla.h: Move to ...
58564         * sysdeps/x86_64/fpu/dla.h: ...here.
58565         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58566         situations.  Use __builtin_fma only for gcc 4.6 and up.
58568         * config.make.in: Add have-mfma4 entry.
58569         * configure.in: Substitute libc_cv_cc_fma4.
58570         * math/Makefile (dbl-only-routines): Add sincostab.
58571         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58572         Use __sincostab not sincos.
58573         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58574         name is a macro.
58575         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58576         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58577         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58578         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58579         using __copysign.
58580         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58581         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58582         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58583         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58584         and __inv.
58585         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58586         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58587         __copysign.
58588         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58589         define aliases when function name is a macro.
58590         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58591         sysdeps/ieee754/dbl-64/sincos.tbl.
58592         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58593         fma4-enabled routines.
58594         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58595         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58596         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58597         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58598         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58599         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58600         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58601         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58602         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58603         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58604         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58605         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58606         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58607         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58608         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58609         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58610         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58611         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58612         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58613         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58614         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58615         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58616         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58617         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58618         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58619         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58620         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58621         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58622         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58623         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58625         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58626         rename.
58627         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58628         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58629         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58630         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58631         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58632         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58633         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58634         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58636 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58638         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58640 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58642         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58644         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58645         prediction.
58646         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58648         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58649         Remove unused variable magic_bits.
58650         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58652         * string/strnlen.c: Define and use STRNLEN macro.
58653         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58654         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58655         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58656         * wcsmbs/wcslen.c: Define and use WCSLEN.
58657         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58658         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58659         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58660         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58661         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58662         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58663         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58665 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58668         strnlen-sse2-no-bsf.
58669         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58670         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58671         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58672         Add strnlen support.
58673         (USE_AS_STRNLEN): New macro.
58674         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58675         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58676         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58677         * sysdeps/x86_64/wcslen.S: New file.
58679 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58681         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58682         XMM-moves are used for copying on small sizes.
58684 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58686         * wcsmbs/Makefile (strop-tests): Add wcschr.
58687         * wcsmbs/test-wcschr.c: New file.
58688         * string/test-strchr.c: Update.
58689         Add wcschr support.
58690         (WIDE): New macro.
58692 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58694         * wcsmbs/Makefile (strop-tests): Add wcslen.
58695         * wcsmbs/test-wcslen.c: New file.
58696         * string/test-strlen.c: Update.
58697         Add wcslen support.
58698         (WIDE): New macro.
58700 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58702         * po/it.po: Update from translation team.
58704 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58706         * sysdeps/x86_64/wcscmp.S: Update.
58707         Fix wrong comparison semantics.
58708         wcscmp shall use signed comparison not unsigned.
58709         Don't use substraction to avoid overflow bug.
58710         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58711         * wcsmbc/wcscmp.c: Likewise.
58712         * string/test-strcmp.c: Likewise.
58713         Add new tests to check cases with negative values.
58715 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58717         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58718         * sysdeps/x86_64/dla.h: ...here.  New file.
58719         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58720         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58721         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58722         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58723         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58724         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58725         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58726         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58727         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58729 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58731         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58732         __ynl_finite aliases.
58734 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58738         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58739         define DLA_FMA.
58740         [DLA_FMA] (EMULV): Use DLA_FMA.
58741         [DLA_FMA] (MUL12): Use EMULV.
58742         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58743         that are not needed.
58744         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58745         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58746         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58747         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58748         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58749         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58750         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58752 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58754         * math/s_nan.c: Undef __nan.
58755         * math/s_nanf.c: Undef __nanf.
58756         * math/s_nanl.c: Undef __nanl.
58757         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58758         "math_private.h".
58760 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58762         * math/s_catan.c: Add branch predictions.
58763         * math/s_catanf.c: Likewise.
58764         * math/s_catanh.c: Likewise.
58765         * math/s_catanhf.c: Likewise.
58766         * math/s_catanhl.c: Likewise.
58767         * math/s_catanl.c: Likewise.
58768         * math/s_cexp.c: Likewise.
58769         * math/s_cexpf.c: Likewise.
58770         * math/s_cexpl.c: Likewise.
58771         * math/s_clog.c: Likewise.
58772         * math/s_clog10.c: Likewise.
58773         * math/s_clog10f.c: Likewise.
58774         * math/s_clog10l.c: Likewise.
58775         * math/s_clogf.c: Likewise.
58776         * math/s_clogl.c: Likewise.
58777         * math/s_csqrt.c: Likewise.
58778         * math/s_csqrtf.c: Likewise.
58779         * math/s_csqrtl.c: Likewise.
58780         * math/s_ctanf.c: Likewise.
58781         * math/s_ctanh.c: Likewise.
58782         * math/s_ctanhf.c: Likewise.
58783         * math/s_ctanhl.c: Likewise.
58784         * math/s_ctanl.c: Likewise.
58786         * math/math_private.h: Define __nan, __nanf, __nanl.
58787         * math/s_cacosh.c: Include <math_private.h>.
58788         * math/s_cacoshl.c: Likewise.
58789         * math/s_casinh.c: Likewise.
58790         * math/s_casinhf.c: Likewise.
58791         * math/s_casinhl.c: Likewise.
58792         * math/s_ccos.c: Rely entire on ccosh.
58793         * math/s_ccosf.c: Rely entire on ccoshf.
58794         * math/s_ccosl.c: Rely entirely on ccoshl.
58795         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58796         Remove tests for FE_INVALID.
58797         * math/s_ccoshf.c: Likewise.
58798         * math/s_ccoshl.c: Likewise.
58799         * math/s_csin.c: Likewise.
58800         * math/s_csinf.c: Likewise.
58801         * math/s_csinh.c Likewise.
58802         * math/s_csinhf.c: Likewise.
58803         * math/s_csinhl.c: Likewise.
58804         * math/s_csinl.c: Likewise.
58805         * math/s_ctan.c: Likewise.
58806         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58807         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58808         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58810 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58813         compilation problems.
58815         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58816         __builtin_expect.
58818 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58820         * sysdeps/i386/configure.in: Test for -mfma4 option.
58821         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58822         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58823         COMMON_CPUID_INDEX_80000001.
58824         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58825         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58826         use it if FMA3 is not supported.
58827         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58829         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58830         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58832 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58834         [BZ #12892]
58835         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58836         it would create a cycle with a link time dependency.
58838 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58840         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58841         instruction.
58842         * string/Makefile (strop-tests): Add rawmemchr.
58843         * string/test-rawmemchr.c: New file.
58845         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58846         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58847         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58848         when compiling str{,n}casecmp and when AVX is available.  Hook up
58849         new optimized code in initializers.
58851 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58853         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58854         __feraiseexcept instead of feraiseexcept.
58856 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58858         * math/math_private.h: Define defaults for libc_fetestexcept and
58859         libc_feupdateenv.
58860         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58861         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58862         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58863         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58864         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58865         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58866         libc_fetestexcept and libc_feupdateenv.
58868         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58869         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58870         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58871         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58872         libc_feholdexcept_setround.
58874         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58875         Add s_nearbyint-c and s_nearbyintf-c.
58876         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58877         nearbyintf inlines.
58878         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58879         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58880         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58881         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58883         * math/math_private.h: Define defaults for libc_fegetround,
58884         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58885         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58886         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58887         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58888         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58889         standard functions.
58890         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58891         Remove comments and hacks for old compiler versions.
58892         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58893         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58894         libc_feholdexceptl.
58896 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58898         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58899         (__feraiseexcept_renamed): Add __NTH.
58900         (feraiseexcept): Add __NTH.  Rename local variables to fix
58901         namespace violations.
58903 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58905         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58907         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58909         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58910         recently added interfaces.
58911         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58913         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58914         about macro parameter expansion.
58916         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58917         __NO_MATH_INLINES is defined.  Cleanups.
58919         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58920         and __floorf is target has SSE4.1.
58921         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58922         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58923         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58924         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58926         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58927         name.
58928         (floorf): Likewise.
58930         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58932 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58934         * misc/sys/cdefs.h: Fix last change.
58936         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58937         database lookup.
58939 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58941         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58943         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58944         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58945         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58946         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58947         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58948         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58949         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58950         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58951         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58952         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58953         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58954         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58955         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58956         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58957         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58958         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58959         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58960         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58961         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58962         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58963         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58964         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58966         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58967         ceil, ceilf, floor, floorf.
58969         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58970         Perform IRELATIVE relocations last.
58972         * elf/do-rel.h: Add another parameter nrelative, replacing the
58973         local variable with the same name.  Change name of the function
58974         to end in Rel or Rela (uppercase).
58975         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58976         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58977         elf_dynamic_do_##reloc function.
58979 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58981         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58982         is sufficient, at least on modern CPUs.
58984         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58986         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58987         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58989         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58990         __expl_finite.
58991         * math/bits/math-finite.h: Add entries for exp.
58992         * math/e_expl.c: Add __*_finite alias.
58993         * sysdeps/i386/fpu/e_exp.S: Likewise.
58994         * sysdeps/i386/fpu/e_expf.S: Likewise.
58995         * sysdeps/i386/fpu/e_expl.c: Likewise.
58996         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58997         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58998         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58999         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59000         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59001         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59002         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59004         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59005         is sufficient, at least on modern CPUs.
59007         * ctype/ctype-info.c (__ctype_init): Define.
59008         * include/ctype.h (__ctype_init): Declare.
59009         (__ctype_b_loc): The variable is always initialized.
59010         (__ctype_toupper_loc): Likewise.
59011         (__ctype_tolower_loc): Likewise.
59012         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59013         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59015 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59017         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59019         * configure.in: Also look in $cxxmachine/include for C++ system
59020         headers.
59022 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59024         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59025         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59026         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59027         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59028         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59029         (USE_AS_WMEMCMP): New macro.
59030         Fixing indents.
59031         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59032         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59033         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59034         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59035         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59036         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59037         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59038         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59039         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59040         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59041         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59042         (USE_AS_WMEMCMP): New macro.
59043         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59044         * sysdeps/string/test-memcmp.c: Update.
59045         Fix simple_wmemcmp.
59046         Add new tests.
59047         * wcsmbs/wmemcmp.c: Update.
59048         (WMEMCMP): New macro.
59049         Fix overflow bug.
59051 2011-10-12  Andreas Jaeger  <aj@suse.de>
59053         [BZ #13268]
59054         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59056 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59058         * libio/iofwide.c (do_length): Avoid warning.
59060         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59062 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59064         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59066         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59067         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59068         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59069         * sysdeps/i386/i686/fpu/e_log.S: New file.
59070         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59071         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59073         * ctype/ctype.h: Add support for inlined isXXX functions when
59074         compiling C++ code.
59076 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59078         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59080         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59082 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59084         [BZ #13291]
59085         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59087 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59089         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59090         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59091         feraiseexcept.
59093         * sysdeps/x86_64/memrchr.S: Check for zero size.
59095         * string/stratcliff.c: Add memrchr tests.
59097 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59100         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59101         rawmemchr-sse2 rawmemchr-sse2-bsf.
59102         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59103         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59104         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59105         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59106         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59107         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59108         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59109         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59110         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59111         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59112         * string/memrchr.c (MEMRCHR): New macro.
59114 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59116         Add integration with gcc's -ffinite-math-only and optimize wrapper
59117         functions in libm.
59118         * Versions.def: Define GLIBC_2.15 version for libm.
59119         * math/Makefile (headers): Add bits/math-finite.h.
59120         * math/bits/math-finite.h: New file.
59121         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59122         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59123         * math/e_acoshl.c: Add __*_finite alias.
59124         * math/e_acosl.c: Likewise.
59125         * math/e_asinl.c: Likewise.
59126         * math/e_atan2l.c: Likewise.
59127         * math/e_atanhl.c: Likewise.
59128         * math/e_coshl.c: Likewise.
59129         * math/e_exp10.c: Likewise.
59130         * math/e_exp10f.c: Likewise.
59131         * math/e_exp10l.c: Likewise.
59132         * math/e_exp2l.c: Likewise.
59133         * math/e_fmodl.c: Likewise.
59134         * math/e_gammal_r.c: Likewise.
59135         * math/e_hypotl.c: Likewise.
59136         * math/e_j0l.c: Likewise.
59137         * math/e_j1l.c: Likewise.
59138         * math/e_jnl.c: Likewise.
59139         * math/e_lgammal_r.c: Likewise.
59140         * math/e_log10l.c: Likewise.
59141         * math/e_log2l.c: Likewise.
59142         * math/e_logl.c: Likewise.
59143         * math/e_powl.c: Likewise.
59144         * math/e_sinhl.c: Likewise.
59145         * math/e_sqrtl.c: Likewise.
59146         * math/e_scalb.c: Completely rewritten and optimized.
59147         * math/e_scalbf.c: Likewise.
59148         * math/e_scalbl.c: Likewise.
59149         * math/w_acos.c: Likewise.
59150         * math/w_acosf.c: Likewise.
59151         * math/w_acosl.c: Likewise.
59152         * math/w_acosh.c: Likewise.
59153         * math/w_acoshf.c: Likewise.
59154         * math/w_acoshl.c: Likewise.
59155         * math/w_asin.c: Likewise.
59156         * math/w_asinf.c: Likewise.
59157         * math/w_asinl.c: Likewise.
59158         * math/w_atan2.c: Likewise.
59159         * math/w_atan2f.c: Likewise.
59160         * math/w_atan2l.c: Likewise.
59161         * math/w_atanh.c: Likewise.
59162         * math/w_atanhf.c: Likewise.
59163         * math/w_atanhl.c: Likewise.
59164         * math/w_exp10.c: Likewise.
59165         * math/w_exp10f.c: Likewise.
59166         * math/w_exp10l.c: Likewise.
59167         * math/w_fmod.c: Likewise.
59168         * math/w_fmodf.c: Likewise.
59169         * math/w_fmodl.c: Likewise.
59170         * math/w_j0.c: Likewise.
59171         * math/w_j0f.c: Likewise.
59172         * math/w_j0l.c: Likewise.
59173         * math/w_j1.c: Likewise.
59174         * math/w_j1f.c: Likewise.
59175         * math/w_j1l.c: Likewise.
59176         * math/w_jn.c: Likewise.
59177         * math/w_jnf.c: Likewise.
59178         * math/w_log.c: Likewise.
59179         * math/w_logf.c: Likewise.
59180         * math/w_logl.c: Likewise.
59181         * math/w_log10.c: Likewise.
59182         * math/w_log10f.c: Likewise.
59183         * math/w_log10l.c: Likewise.
59184         * math/w_log2.c: Likewise.
59185         * math/w_log2f.c: Likewise.
59186         * math/w_log2l.c: Likewise.
59187         * math/w_pow.c: Likewise.
59188         * math/w_powf.c: Likewise.
59189         * math/w_powl.c: Likewise.
59190         * math/w_remainder.c: Likewise.
59191         * math/w_remainderf.c: Likewise.
59192         * math/w_remainderl.c: Likewise.
59193         * math/w_scalb.c: Likewise.
59194         * math/w_scalbf.c: Likewise.
59195         * math/w_scalbl.c: Likewise.
59196         * math/w_sqrt.c: Likewise.
59197         * math/w_sqrtf.c: Likewise.
59198         * math/w_sqrtl.c: Likewise.
59199         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59200         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59201         used.
59202         * math/math_private.h: Declare __kernel_standard_f.
59203         * math/w_cosh.c: Remove cruft and optimize a bit.
59204         * math/w_coshf.c: Likewise.
59205         * math/w_coshl.c: Likewise.
59206         * math/w_exp2.c: Likewise.
59207         * math/w_exp2f.c: Likewise.
59208         * math/w_exp2l.c: Likewise.
59209         * math/w_hypot.c: Likewise.
59210         * math/w_hypotf.c: Likewise.
59211         * math/w_hypotl.c: Likewise.
59212         * math/w_lgamma.c: Likewise.
59213         * math/w_lgamma_r.c: Likewise.
59214         * math/w_lgammaf.c: Likewise.
59215         * math/w_lgammaf_r.c: Likewise.
59216         * math/w_lgammal.c: Likewise.
59217         * math/w_lgammal_r.c: Likewise.
59218         * math/w_sinh.c: Likewise.
59219         * math/w_sinhf.c: Likewise.
59220         * math/w_sinhl.c: Likewise.
59221         * math/w_tgamma.c: Likewise.
59222         * math/w_tgammaf.c: Likewise.
59223         * math/w_tgammal.c: Likewise.
59224         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59225         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59226         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59227         Minor optimizations.  Pretty printing.  Remove cruft.
59228         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59229         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59230         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59231         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59232         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59233         * sysdeps/i386/fpu/e_asin.S: Likewise.
59234         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59235         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59236         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59237         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59238         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59239         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59240         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59241         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59242         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59243         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59244         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59245         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59246         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59247         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59248         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59249         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59250         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59251         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59252         * sysdeps/i386/fpu/e_log.S: Likewise.
59253         * sysdeps/i386/fpu/e_log10.S: Likewise.
59254         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59255         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59256         * sysdeps/i386/fpu/e_log2.S: Likewise.
59257         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59258         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59259         * sysdeps/i386/fpu/e_logf.S: Likewise.
59260         * sysdeps/i386/fpu/e_logl.S: Likewise.
59261         * sysdeps/i386/fpu/e_pow.S: Likewise.
59262         * sysdeps/i386/fpu/e_powf.S: Likewise.
59263         * sysdeps/i386/fpu/e_powl.S: Likewise.
59264         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59265         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59266         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59267         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59268         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59269         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59270         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59271         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59272         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59273         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59274         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59275         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59276         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59277         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59278         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59279         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59280         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59281         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59282         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59283         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59284         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59285         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59286         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59287         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59288         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59289         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59290         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59291         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59292         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59293         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59294         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59295         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59296         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59297         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59298         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59299         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59300         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59301         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59302         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59303         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59304         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59305         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59306         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59307         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59308         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59309         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59310         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59311         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59312         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59313         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59314         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59315         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59316         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59317         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59318         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59319         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59320         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59321         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59322         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59323         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59324         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59325         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59326         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59327         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59328         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59329         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59330         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59331         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59332         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59333         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59334         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59335         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59336         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59337         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59338         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59339         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59340         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59341         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59342         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59343         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59344         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59345         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59346         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59347         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59348         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59349         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59350         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59351         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59352         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59353         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59354         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59355         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59356         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59357         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59358         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59359         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59360         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59361         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59362         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59363         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59364         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59365         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59366         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59367         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59368         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59369         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59370         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59371         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59372         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59373         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59374         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59375         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59376         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59377         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59378         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59379         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59380         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59381         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59382         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59383         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59384         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59385         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59386         (__isnanf): Likewise.
59387         (__isinf_ns): Likewise.
59388         (__isinf_nsf): Likewise.
59389         (__finite): Likewise.
59390         (__finitef): Likewise.
59391         (__ieee754_sqrt): Define as macro.
59392         (__ieee754_sqrtf): Define as macro.
59393         (__ieee754_sqrtl): Define as macro.
59394         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59395         inlined copy.
59396         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59397         __FINITE_MATH_ONLY__ consistent.
59398         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59400 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59402         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59403         of rawmemchr.
59405         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59407 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59409         * po/ja.po: Update from translation team.
59411 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59413         * locale/programs/locarchive.c (prepare_address_space): New function.
59414         (create_archive, enlarge_archive, open_archive): Use it.
59416         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59417         inside [SHARED], where it is used.
59419         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59421         * nss/getent.c (netgroup_keys): Remove unused variable.
59422         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59424 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59426         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59427         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59428         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59429         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59430         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59431         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59432         * math/Makefile (libm-calls): Add s_isinf_ns.
59433         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59434         * math/multc3.c: Likewise.
59435         * math/s_casin.c: Likewise.
59436         * math/s_casinf.c: Likewise.
59437         * math/s_casinl.c: Likewise.
59438         * math/s_ccos.c: Likewise.
59439         * math/s_ccosf.c: Likewise.
59440         * math/s_ccosl.c: Likewise.
59441         * math/s_ctan.c: Likewise.
59442         * math/s_ctanf.c: Likewise.
59443         * math/s_ctanh.c: Likewise.
59444         * math/s_ctanhf.c: Likewise.
59445         * math/s_ctanhl.c: Likewise.
59446         * math/s_ctanl.c: Likewise.
59447         * math/w_fmod.c: Likewise.
59448         * math/w_fmodf.c: Likewise.
59449         * math/w_fmodl.c: Likewise.
59450         * math/w_remainder.c: Likewise.
59451         * math/w_remainderf.c: Likewise.
59452         * math/w_remainderl.c: Likewise.
59453         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59454         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59455         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59456         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59457         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59458         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59459         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59460         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59462         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59463         of the number.
59464         * stdio-common/printf_fphex.c: Likewise.
59465         * stdio-common/printf_size.c: Likewise.
59467         * math/e_exp10.c: Include math_private.h using <...> not "...".
59468         * math/e_exp10f.c: Likewise.
59469         * math/e_exp10l.c: Likewise.
59470         * math/e_exp2l.c: Likewise.
59471         * math/e_j0l.c: Likewise.
59472         * math/e_j1l.c: Likewise.
59473         * math/e_jnl.c: Likewise.
59474         * math/e_lgammal_r.c: Likewise.
59475         * math/e_rem_pio2l.c: Likewise.
59476         * math/e_scalb.c: Likewise.
59477         * math/e_scalbf.c: Likewise.
59478         * math/e_scalbl.c: Likewise.
59479         * math/k_cosl.c: Likewise.
59480         * math/k_sinl.c: Likewise.
59481         * math/k_tanl.c: Likewise.
59482         * math/s_cacoshf.c: Likewise.
59483         * math/s_catan.c: Likewise.
59484         * math/s_catanf.c: Likewise.
59485         * math/s_catanh.c: Likewise.
59486         * math/s_catanhf.c: Likewise.
59487         * math/s_catanhl.c: Likewise.
59488         * math/s_catanl.c: Likewise.
59489         * math/s_ccosh.c: Likewise.
59490         * math/s_ccoshf.c: Likewise.
59491         * math/s_ccoshl.c: Likewise.
59492         * math/s_cexp.c: Likewise.
59493         * math/s_cexpf.c: Likewise.
59494         * math/s_cexpl.c: Likewise.
59495         * math/s_clog.c: Likewise.
59496         * math/s_clog10.c: Likewise.
59497         * math/s_clog10f.c: Likewise.
59498         * math/s_clog10l.c: Likewise.
59499         * math/s_clogf.c: Likewise.
59500         * math/s_clogl.c: Likewise.
59501         * math/s_csin.c: Likewise.
59502         * math/s_csinf.c: Likewise.
59503         * math/s_csinh.c: Likewise.
59504         * math/s_csinhf.c: Likewise.
59505         * math/s_csinhl.c: Likewise.
59506         * math/s_csinl.c: Likewise.
59507         * math/s_csqrt.c: Likewise.
59508         * math/s_csqrtf.c: Likewise.
59509         * math/s_csqrtl.c: Likewise.
59510         * math/s_ctan.c: Likewise.
59511         * math/s_ctanf.c: Likewise.
59512         * math/s_ctanh.c: Likewise.
59513         * math/s_ctanhf.c: Likewise.
59514         * math/s_ctanhl.c: Likewise.
59515         * math/s_ctanl.c: Likewise.
59516         * math/s_ldexp.c: Likewise.
59517         * math/s_ldexpf.c: Likewise.
59518         * math/s_ldexpl.c: Likewise.
59519         * math/s_significand.c: Likewise.
59520         * math/s_significandf.c: Likewise.
59521         * math/s_significandl.c: Likewise.
59522         * math/w_acos.c: Likewise.
59523         * math/w_acosf.c: Likewise.
59524         * math/w_acosh.c: Likewise.
59525         * math/w_acoshf.c: Likewise.
59526         * math/w_acoshl.c: Likewise.
59527         * math/w_acosl.c: Likewise.
59528         * math/w_asin.c: Likewise.
59529         * math/w_asinf.c: Likewise.
59530         * math/w_asinl.c: Likewise.
59531         * math/w_atan2.c: Likewise.
59532         * math/w_atan2f.c: Likewise.
59533         * math/w_atan2l.c: Likewise.
59534         * math/w_atanh.c: Likewise.
59535         * math/w_atanhf.c: Likewise.
59536         * math/w_atanhl.c: Likewise.
59537         * math/w_cosh.c: Likewise.
59538         * math/w_coshf.c: Likewise.
59539         * math/w_coshl.c: Likewise.
59540         * math/w_dremf.c: Likewise.
59541         * math/w_exp10.c: Likewise.
59542         * math/w_exp10f.c: Likewise.
59543         * math/w_exp10l.c: Likewise.
59544         * math/w_exp2.c: Likewise.
59545         * math/w_exp2f.c: Likewise.
59546         * math/w_fmod.c: Likewise.
59547         * math/w_fmodf.c: Likewise.
59548         * math/w_fmodl.c: Likewise.
59549         * math/w_hypot.c: Likewise.
59550         * math/w_hypotf.c: Likewise.
59551         * math/w_hypotl.c: Likewise.
59552         * math/w_j0.c: Likewise.
59553         * math/w_j0f.c: Likewise.
59554         * math/w_j0l.c: Likewise.
59555         * math/w_j1.c: Likewise.
59556         * math/w_j1f.c: Likewise.
59557         * math/w_j1l.c: Likewise.
59558         * math/w_jn.c: Likewise.
59559         * math/w_jnf.c: Likewise.
59560         * math/w_jnl.c: Likewise.
59561         * math/w_lgamma.c: Likewise.
59562         * math/w_lgamma_r.c: Likewise.
59563         * math/w_lgammaf.c: Likewise.
59564         * math/w_lgammaf_r.c: Likewise.
59565         * math/w_lgammal.c: Likewise.
59566         * math/w_lgammal_r.c: Likewise.
59567         * math/w_log.c: Likewise.
59568         * math/w_log10.c: Likewise.
59569         * math/w_log10f.c: Likewise.
59570         * math/w_log10l.c: Likewise.
59571         * math/w_log2.c: Likewise.
59572         * math/w_log2f.c: Likewise.
59573         * math/w_log2l.c: Likewise.
59574         * math/w_logf.c: Likewise.
59575         * math/w_logl.c: Likewise.
59576         * math/w_pow.c: Likewise.
59577         * math/w_powf.c: Likewise.
59578         * math/w_powl.c: Likewise.
59579         * math/w_remainder.c: Likewise.
59580         * math/w_remainderf.c: Likewise.
59581         * math/w_remainderl.c: Likewise.
59582         * math/w_scalb.c: Likewise.
59583         * math/w_scalbf.c: Likewise.
59584         * math/w_scalbl.c: Likewise.
59585         * math/w_sinh.c: Likewise.
59586         * math/w_sinhf.c: Likewise.
59587         * math/w_sinhl.c: Likewise.
59588         * math/w_sqrt.c: Likewise.
59589         * math/w_sqrtf.c: Likewise.
59590         * math/w_sqrtl.c: Likewise.
59591         * math/w_tgamma.c: Likewise.
59592         * math/w_tgammaf.c: Likewise.
59593         * math/w_tgammal.c: Likewise.
59595         * po/ja.po: Update from translation team.
59597 2011-09-29  Andreas Jaeger  <aj@suse.de>
59599         [BZ #13179]
59600         * sunrpc/netname.c (netname2host): Fix logic.
59602         [BZ #6779]
59603         [BZ #6783]
59604         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59605         correctly.
59606         * math/w_remainder.c (__remainder): Likewise.
59607         * math/w_remainderf.c (__remainderf): Likewise.
59608         * math/libm-test.inc (remainder_test): Add test cases.
59610 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59612         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59613         sdiv_qrnnd.
59615 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59617         * string/test-memcmp.c: Avoid unncessary #defines.
59618         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59620 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59622         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59623         Use new sse2 version for core i3 - i7 as it's faster
59624         than sse42 version.
59625         (bit_Prefer_PMINUB_for_stringop): New.
59626         * sysdeps/x86_64/rawmemchr.S: Update.
59627         Replace with faster SSE2 version.
59628         * sysdeps/x86_64/memrchr.S: New file.
59629         * sysdeps/x86_64/memchr.S: Update.
59630         Replace with faster SSE2 version.
59632 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59634         * elf/dl-load.c (lose): Add cast to avoid warning.
59636 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59638         * po/ca.po: Update from translation team.
59640         * inet/getnetgrent_r.c: Hook up nscd.
59641         * nscd/Makefile (routines): Add nscd_netgroup.
59642         (nscd-modules): Add netgroupcache.
59643         (CFLAGS-netgroupcache.c): Define.
59644         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59645         (cache_search): Add const to second parameter.
59646         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59647         INNETGR.
59648         (dbs): Add netgrdb entry.
59649         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59650         (verify_persistent_db): Handle netgrdb.
59651         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59652         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59653         GETFDNETGR.
59654         (netgroup_response_header): Define.
59655         (innetgroup_response_header): Define.
59656         (datahead): Add netgroup_response_header and innetgroup_response_header
59657         elements.
59658         * nscd/nscd.conf: Add entries for netgroup cache.
59659         * nscd/nscd.h (dbtype): Add netgrdb.
59660         (_PATH_NSCD_NETGROUP_DB): Define.
59661         (netgroup_iov_disabled): Declare.
59662         (xmalloc, xcalloc, xrealloc): Move declarations here.
59663         (cache_search): Adjust prototype.
59664         Add netgroup-related prototypes.
59665         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59666         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59667         (__nscd_innetgr): Declare.
59668         * nscd/selinux.c (perms): Use access_vector_t as element type and
59669         add netgroup-related initializers.
59670         * nscd/netgroupcache.c: New file.
59671         * nscd/nscd_netgroup.c: New file.
59672         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59673         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59674         For four parameters use innetgr.
59675         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59676         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59677         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59678         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59680         * nscd/connections.c (register_traced_file): Don't register file
59681         for disabled databases.
59683 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59685         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59687         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59688         from tree and freeing node.
59690 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59692         * nss/nsswitch.c (__nss_database_lookup): Handle
59693         nss_parse_service_list out of memory case.
59695 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59697         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59698         out of memory case.
59700 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59702         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59703         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59704         pass it down.
59705         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59706         elf_machine_rela, elf_machine_lazy_rel.
59707         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59708         (ELF_DYNAMIC_DO_REL): Likewise.
59709         (ELF_DYNAMIC_DO_RELA): Likewise.
59710         (ELF_DYNAMIC_RELOCATE): Likewise.
59711         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59712         to ELF_DYNAMIC_DO_REL.
59713         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59714         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59715         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59716         elf_machine_rela.
59717         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59718         skip_ifunc, don't call ifunc function if non-zero.
59719         (elf_machine_rela): Likewise.
59720         (elf_machine_lazy_rel): Likewise.
59721         (elf_machine_lazy_rela): Likewise.
59722         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59723         (elf_machine_lazy_rel): Likewise.
59724         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59725         Likewise.
59726         (elf_machine_lazy_rel): Likewise.
59727         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59728         Likewise.
59729         (elf_machine_lazy_rel): Likewise.
59730         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59731         (elf_machine_lazy_rel): Likewise.
59732         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59733         (elf_machine_lazy_rel): Likewise.
59734         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59735         (elf_machine_lazy_rel): Likewise.
59736         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59737         (elf_machine_lazy_rel): Likewise.
59738         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59739         (elf_machine_lazy_rel): Likewise.
59740         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59741         (elf_machine_lazy_rel): Likewise.
59743 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59745         * nss/nss_files/files-init.c (_nss_files_init): Use static
59746         initialization for all the *_traced_file variables.
59748 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59750         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59752 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59754         [BZ #13226]
59755         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59757 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59759         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59760         Reread the line before reparsing it.
59762 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59764         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59766 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59767             Maxim Kuvyrkov  <maxim@codesourcery.com>
59768             Joseph Myers  <joseph@codesourcery.com>
59770         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59771         if needed for __stack_chk_guard.
59773 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59775         * sysdeps/posix/spawni.c (script_execute): Always define it.
59776         It will be optimized away if unused.
59777         (maybe_script_execute): New function.
59778         (__spawni): Call it.
59780         * Makerules: Don't include tls.make.
59781         (config-tls): Always set to thread.
59782         * tls.make.c: File removed.
59784 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59786         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59787         * config.make.in (CPPFLAGS-config): New substituted variable.
59789 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59791         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59793         [BZ #13192]
59794         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59795         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59797 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59799         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59800         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59801         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59802         (CALL_FAIL): Likewise.
59803         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59804         (CALL_FAIL): Macro removed.
59805         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59807 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59809         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59810         for __FINITE_MATH_ONLY__ == 1.
59812 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59814         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59815         __ieee754_sqrt instead of sqrt.
59816         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59817         __ieee754_sqrtf instead of sqrtf.
59818         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59819         __floorf instead of floorf.
59820         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59821         __floorf, __truncf instead of floorf, truncf.
59823 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59825         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59827         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59828         __extern_always_inline.
59829         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59830         32-bit.
59832 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59834         * elf/rtld.c (dl_main): Also relocate in dependency order when
59835         doing symbol dependency testing.
59837 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59839         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59840         Always define `refsym'.
59842 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59844         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59845         (__FD_ELT): Renamed from __FDELT.
59846         * misc/bits/select2.h (__FD_ELT): Likewise.
59847         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59848         __FD_MASK instead of __FDELT, __FDMASK.
59849         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59850         Likewise.
59851         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59852         Likewise.
59854         * elf/Makefile (gen-ldd): Fix pattern.
59856         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59857         (init_tls): Likewise.
59859 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59861         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59863 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59865         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59866         `struct cmsghdr *' instead of `void *'.
59867         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59868         Likewise.
59870 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59872         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59873         if non-absolute.
59874         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59875         ldd_rewrite_script.
59877 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59879         * configure.in: Remove --with-tls option.
59880         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59881         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59882         out in case it is missing.
59883         * sysdeps/ia64/elf/configure.in: Likewise.
59884         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59885         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59886         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59887         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59888         * sysdeps/sh/elf/configure.in: Likewise.
59889         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59890         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59891         * sysdeps/x86_64/elf/configure.in: Likewise.
59892         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59893         * sysdeps/mach/hurd/tls.h: Likewise.
59895         [BZ #13067]
59896         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59898         [BZ #13090]
59899         * configure.in: Fix use of AC_INIT.
59901         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59903 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59905         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59906         __set_errno.
59907         * malloc/hooks.c: Likewise.
59909         [BZ #11929]
59910         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59911         variables statically.
59912         (narenas): Initialize.
59913         (list_lock): Initialize.
59914         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59915         initializtion of main_arena and list_lock.  Small cleanups.
59916         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59917         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59918         Add initializers to main_arena and mp_.
59919         (malloc_state): Remove pagesize member.  Change all users to use
59920         GLRO(dl_pagesize).
59922         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59923         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59924         is always initialized.
59926         * malloc/malloc.c: Removed unused configurations and dead code.
59927         * malloc/arena.c: Likewise.
59928         * malloc/hooks.c: Likewise.
59929         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59931         * include/tls.h: Removed.  USE___THREAD must always be defined.
59932         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59933         * elf/dl-libc.c: Likewise.
59934         * elf/dl-tsd.c: Likewise.
59935         * include/errno.h: Likewise.
59936         * include/netdb.h: Likewise.
59937         * include/resolv.h: Likewise.
59938         * inet/herrno-loc.c: Likewise.
59939         * inet/herrno.c: Likewise.
59940         * malloc/arena.c: Likewise.
59941         * malloc/hooks.c: Likewise.
59942         * malloc/malloc.c: Likewise.
59943         * resolv/res-state.c: Likewise.
59944         * resolv/res_libc.c: Likewise.
59945         * sysdeps/i386/dl-machine.h: Likewise.
59946         * sysdeps/ia64/dl-machine.h: Likewise.
59947         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59948         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59949         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59950         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59951         * sysdeps/sh/dl-machine.h: Likewise.
59952         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59953         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59954         * sysdeps/unix/i386/sysdep.S: Likewise.
59955         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59956         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59958         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59959         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59960         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59961         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59962         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59963         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59965         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59966         * sysdeps/x86_64/dl-machine.h: Likewise.
59967         * tls.make.c: Likewise.
59969         * configure.in: Remove --with-__thread option.  Make tests for
59970         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59971         tls_model attribute fail if no support is available.  Remove
59972         USE_IN_LIBIO.
59973         * Makeconfig: Adjust for dropped configure option.  All features are
59974         now mandatory.
59975         * Makerules: Likewise.
59976         * Versions.def: Likewise.
59977         * argp/argp-fmtstream.c: Likewise.
59978         * argp/argp-fmtstream.h: Likewise.
59979         * argp/argp-help.c: Likewise.
59980         * assert/assert.c: Likewise.
59981         * config.h.in: Likewise.
59982         * config.make.in: Likewise.
59983         * configure: Likewise.
59984         * configure.in: Likewise.
59985         * csu/Versions: Likewise.
59986         * csu/init.c: Likewise.
59987         * elf/tst-audit2.c: Likewise.
59988         * elf/tst-tls10.c: Likewise.
59989         * elf/tst-tls10.h: Likewise.
59990         * elf/tst-tls11.c: Likewise.
59991         * elf/tst-tls12.c: Likewise.
59992         * elf/tst-tls14.c: Likewise.
59993         * elf/tst-tlsmod11.c: Likewise.
59994         * elf/tst-tlsmod12.c: Likewise.
59995         * elf/tst-tlsmod13.c: Likewise.
59996         * elf/tst-tlsmod13a.c: Likewise.
59997         * elf/tst-tlsmod14a.c: Likewise.
59998         * elf/tst-tlsmod15b.c: Likewise.
59999         * elf/tst-tlsmod16a.c: Likewise.
60000         * elf/tst-tlsmod16b.c: Likewise.
60001         * elf/tst-tlsmod7.c: Likewise.
60002         * elf/tst-tlsmod8.c: Likewise.
60003         * elf/tst-tlsmod9.c: Likewise.
60004         * gmon/gmon.c: Likewise.
60005         * grp/fgetgrent_r.c: Likewise.
60006         * grp/putgrent.c: Likewise.
60007         * hurd/fopenport.c: Likewise.
60008         * include/libc-symbols.h: Likewise.
60009         * include/tls.h: Likewise.
60010         * intl/gettextP.h: Likewise.
60011         * intl/loadinfo.h: Likewise.
60012         * locale/global-locale.c: Likewise.
60013         * locale/localeinfo.h: Likewise.
60014         * mach/devstream.c: Likewise.
60015         * malloc/arena.c: Likewise.
60016         * malloc/set-freeres.c: Likewise.
60017         * misc/err.c: Likewise.
60018         * misc/getttyent.c: Likewise.
60019         * misc/mntent_r.c: Likewise.
60020         * posix/getopt.c: Likewise.
60021         * posix/wordexp.c: Likewise.
60022         * pwd/fgetpwent_r.c: Likewise.
60023         * resolv/Versions: Likewise.
60024         * resolv/res_hconf.c: Likewise.
60025         * shadow/fgetspent_r.c: Likewise.
60026         * shadow/putspent.c: Likewise.
60027         * stdio-common/printf_fphex.c: Likewise.
60028         * stdio-common/tmpfile.c: Likewise.
60029         * stdlib/abort.c: Likewise.
60030         * stdlib/fmtmsg.c: Likewise.
60031         * sunrpc/auth_unix.c: Likewise.
60032         * sunrpc/clnt_perr.c: Likewise.
60033         * sunrpc/clnt_tcp.c: Likewise.
60034         * sunrpc/clnt_udp.c: Likewise.
60035         * sunrpc/clnt_unix.c: Likewise.
60036         * sunrpc/openchild.c: Likewise.
60037         * sunrpc/svc_simple.c: Likewise.
60038         * sunrpc/svc_tcp.c: Likewise.
60039         * sunrpc/svc_udp.c: Likewise.
60040         * sunrpc/svc_unix.c: Likewise.
60041         * sunrpc/xdr.c: Likewise.
60042         * sunrpc/xdr_array.c: Likewise.
60043         * sunrpc/xdr_rec.c: Likewise.
60044         * sunrpc/xdr_ref.c: Likewise.
60045         * sunrpc/xdr_stdio.c: Likewise.
60047 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60049         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60051 2011-07-03  Andreas Jaeger  <aj@suse.de>
60053         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60054         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60055         regenerate with gen-libm-tests.pl.
60057 2010-05-12  Petr Baudis  <pasky@suse.cz>
60059         [BZ #11589]
60060         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60061         around j0() zero points by switching to j1().
60062         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60063         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60064         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60065         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60067 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60069         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60070         instead of 0.
60071         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60072         instead of 0.
60073         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60074         Patch in part by Pavel Roskin <proski@gnu.org>.
60076         [BZ #13138]
60077         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60078         realloc.
60079         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60080         Free memory block if necessary.
60082         [BZ #12847]
60083         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60084         be NULL.  Don't lock in this case.
60086 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60088         * elf/elf.h (ELFOSABI_GNU): New macro.
60089         (ELFOSABI_LINUX): Define to that.
60091 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60093         * string/strncat.c (strncat): Undef the symbol in case it has been
60094         defined in bits/string.h.
60096 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60098         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60100         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60101         link map.
60103 2011-08-17  Andreas Jaeger  <aj@suse.de>
60105         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60107 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60108             Ian Lance Taylor  <iant@google.com>
60110         * math/libm-test.inc (lround_test): New testcase.
60111         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60113 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60115         * Makefile: Remove support for automatic cvs check-ins.
60116         * Makerules: Likewise.
60117         * config.make.in: Likewise.
60118         * configure.in: Likewise.
60119         * intl/Makefile: Likewise.
60120         * locale/Makefile: Likewise.
60121         * po/Makefile: Likewise.
60122         * posix/Makefile: Likewise.
60123         * sysdeps/gnu/Makefile: Likewise.
60124         * sysdeps/mach/hurd/Makefile: Likewise.
60125         * sysdeps/sparc/sparc32/Makefile: Likewise.
60127         [BZ #13118]
60128         * posix/Makefile (bug-regex32-ENV): Define.
60129         Patch by John Stanley <jpsinthemix@verizon.net>.
60131         * misc/Makefile (headers): Add bits/select2.h.
60132         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60133         * misc/bits/select2.h: New file.
60134         * include/bits/select2.h: New file.
60135         * debug/Makefile (routines): Add fdelt_chk.
60136         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60137         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60138         FD_ISSET.
60139         * debug/fdelt_chk.c: New file.
60141         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60142         * wcsmbs/test-wmemcmp.c: Likewise.
60143         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60144         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60146 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60148         * string/Makefile (strop-tests): Add memcmp.
60149         * string/test-wmemcmp.c: New file.
60150         * string/test-memcmp.c: Add wmemcmp support.
60152 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60154         [BZ #13153]
60155         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60156         2011-07-19 change.
60158         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60159         garbage value in a __mach_port_mod_refs call in the cases of the
60160         task-self and thread-self ports.
60162 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60164         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60166 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60168         * elf/dl-load.c (lose): Check for non-null L.
60170 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60172         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60174         * elf/dl-libc.c (dlerror_run): Pass back error code from
60175         dl_catch_error.
60177         [BZ #13123]
60178         * elf/dl-load.c (lose): Free l_origin if it is valid.
60180         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60181         names.
60182         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60183         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60184         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60185         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60186         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60187         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60189 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60191         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60192         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60193         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60194         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60195         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60196         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60197         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60198         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60199         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60200         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60202 2011-08-15  Alan Modra  <amodra@gmail.com>
60204         [BZ #13092]
60205         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60206         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60207         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60208         ppc_mcount to static-only-routines.
60209         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60210         __mcount_internal.
60211         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60212         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60214 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60216         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60217         for finite and infinity parameters.
60219 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60221         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60222         and add nop instructions for throughput optimization.
60223         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60225 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60227         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60228         aligned copy for power7 with vector-scalar instructions.
60229         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60231 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60234         AVX check.
60236 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60238         [BZ #13144]
60239         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60240         last change.
60242 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60244         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60245         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60246         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60247         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60248         clock_gettime.
60250 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60252         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60253         Forgot to demangle the pointer.
60255         * sysdeps/i386/sysdep.h: Define atom_text_section.
60256         * sysdeps/x86_64/sysdep.h: Likewise.
60257         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60258         section with atom_text_section.
60259         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60260         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60261         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60262         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60263         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60265         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60266         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60267         already be defined.  Change to take two parameters and don't assign
60268         result to variable.  Adjust all users.
60269         Define INTERNAL_GETTIME if not already defined.
60270         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60271         call.
60272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60273         HAVE_CLOCK_GETTIME_VSYSCALL.
60274         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60276         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60277         gettimeofday vsyscall, just use time.
60279 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60281         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60282         <errno.h>.
60284 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60286         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60287         syscall on x86-64.
60288         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60289         syscall.
60290         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60291         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60292         syscall if possible.
60294 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60296         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60297         e_ident.  Don't pass to find_mapsXX.
60298         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60300 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60303         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60304         * sysdeps/x86_64/multiarch/strchr.S: Update.
60305         Check bit_slow_BSF bit.
60306         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60307         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60308         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60310 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60312         [BZ #13134]
60313         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60314         before glibc 2.15.
60315         (tryshell): Define.
60316         (__spawni): Change last parameter to be flag.  Test
60317         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60318         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60319         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60320         * posix/spawni.c: Likewise.
60321         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60322         * posix/spawnp.c: Likewise.  Change normal version to use
60323         SPAWN_XFLAGS_USE_PATH.
60324         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60325         SPAWN_XFLAGS_TRY_SHELL.
60327         [BZ #13150]
60328         * posix/glob.h: Remove gcc 1.x support.
60330         [BZ #13068]
60331         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60333 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60336         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60337         strrchr-sse2-bsf
60338         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60339         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60340         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60341         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60342         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60343         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60345 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60347         * sysdeps/x86_64/wcscmp.S: New file.
60349         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60350         wcscmp-c wcscmp-sse2
60351         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60352         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60353         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60354         * wcsmbs/wcscmp.c: Allow renaming.
60356 2011-09-05  David S. Miller  <davem@davemloft.net>
60358         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60359         stack slot, rather than the struct return pointer slot.
60360         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60361         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60363         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60365 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60367         * po/ja.po: Update from translation team.
60369         [BZ #13144]
60370         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60371         kernel in 64-bit binaries.
60373 2011-09-01  David S. Miller  <davem@davemloft.net>
60375         * elf/elf.h (HWCAP_SPARC_*): Move to..
60376         * sysdeps/sparc/sysdep.h: this new file and add new values.
60377         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60378         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60379         _DL_HWCAP_COUNT to 24.
60380         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60381         entries.
60382         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60383         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60384         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60386         instead of magic constants.
60387         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60389 2011-08-31  David S. Miller  <davem@davemloft.net>
60391         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60393         Reimplement to do errno handling inline.
60394         (SYSCALL_ERROR_HANDLER): New macro.
60395         (__SYSCALL_STRING): Do not do errno handling in asm.
60396         (__CLONE_SYSCALL_STRING): Delete.
60397         (__INTERNAL_SYSCALL_STRING): Delete.
60398         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60399         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60400         (PSEUDO): Reimplement to do errno handling inline.
60401         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60402         (SYSCALL_ERROR_HANDLER): New macro.
60403         (__SYSCALL_STRING): Do not do errno handling in asm.
60404         (__CLONE_SYSCALL_STRING): Delete.
60405         (__INTERNAL_SYSCALL_STRING): Delete.
60406         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60407         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60408         i386.
60409         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60410         (inline_syscall*): Add 'err' argument.
60411         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60412         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60413         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60414         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60416         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60417         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60419 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60421         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60423 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60425         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60426         directive.
60428 2011-08-24  David S. Miller  <davem@davemloft.net>
60430         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60432 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60434         * elf/Makefile: Add rules to build and run unload8 test.
60435         * elf/unload8.c: New file.
60436         * elf/unload8mod1.c: New file.
60437         * elf/unload8mod1x.c: New file.
60438         * elf/unload8mod2.c: New file.
60439         * elf/unload8mod3.c: New file.
60441         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60442         it wasn't used.
60444 2011-08-23  David S. Miller  <davem@davemloft.net>
60446         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60447         subtract stack bias.
60448         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60449         %sp not %fp in calculations.
60450         (_JMPBUF_UNWINDS_ADJ): Likewise.
60452         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60453         (aio_suspend): Call it to force an exception region around the
60454         AIO_MISC_WAIT() invocation.
60456 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60458         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60459         backslash.
60461 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60463         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60464         protection macro.
60465         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60466         and <dl-machine.h>.
60467         (Elf64_FuncDesc): Remove.
60469 2011-08-22  David S. Miller  <davem@davemloft.net>
60471         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60472         sigaltstack check, add missing cfi directives.
60473         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60474         missing cfi directives, and sigaltstack handling.
60476 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60478         [BZ #11724]
60479         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60480         object is seen twice.
60481         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60483         * elf/Makefile (distribute): Add tst-initorder2.c.
60484         (tests): Add tst-initorder2.
60485         (modules-names): Add tst-initorder2a tst-initorder2b
60486         tst-initorder2c tst-initorder2d.  Add rules to build them.
60487         ($(objpfx)tst-initorder2.out): New rule.
60488         * elf/tst-initorder2.c: New file.
60489         * elf/tst-initorder2.exp: New file.
60491 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60493         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60495         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60496         dependencies back to end of function.
60498         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60499         $(elfobjdir)/ld.so.
60501 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60503         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60504         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60505         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60506         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60507         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60508         of __vdso_gettimeofday.
60509         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60510         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60511         attribute_hidden.
60512         (_libc_vdso_platform_setup): Remove initialization of
60513         __vdso_gettimeofday and __vdso_time.
60515 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60517         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60518         and fgetc_unlocked.
60519         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60520         getc_unlocked.
60522         * elf/dl-open.c (add_to_global): Report additions to the global scope
60523         for LD_DEBUG=scopes.
60524         (dl_open_worker): Also print scope of newly loaded dependencies.
60525         (_dl_show_scope): Indicate if there is no scope.
60527         [BZ #13114]
60528         * stdio-common/Makefile (tests): Add bug24.
60529         * stdio-common/bug24.c: New file.
60531 2011-08-19  Andreas Jaeger  <aj@suse.de>
60533         [BZ #13114]
60534         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60535         non-existant file when using close-on-exec mode.
60537 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60539         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60540         the very first instruction.
60542         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60543         the CFI state in the end.
60544         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60545         inclusion of dl-trampoline.h.
60546         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60548 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60550         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60551         expectations for long double.
60553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60554         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60556 2011-08-14  David S. Miller  <davem@davemloft.net>
60558         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60559         artificual limit depends upon the system page size.
60561 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60563         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60564         * resolv/Makefile: Define CFLAGS-libresolv.
60566 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60568         * nss/makedb.c (compute_tables): Make variables used in nested
60569         function static.
60571 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60573         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60574         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60575         if buffer was too small.
60577         * elf/pldd.c (main): Attach to all threads in the process.
60578         Rewrite /proc handling to use *at functions.
60580 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60582         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60583         specifies first scope to show.
60584         (dl_open_worker): Update callers.  Move printing scope of new
60585         object to before the relocation.
60586         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60587         * sysdeps/generic/ldsodefs.h: Update declaration.
60589         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60590         string for the scope number.
60592 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60594         * nscd/servicescache.c (cache_addserv): Make sure written is always
60595         initialized.
60597 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60599         * sysdeps/i386/i486/bits/atomic.h
60600         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60601         statement expression, so as to suppress "set but not used" warning.
60602         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60604         * string/strncat.c (STRNCAT): Use prototype definition.
60606         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60607         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60608         -Iprograms here.
60609         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60610         (localedef-modules): Add localedef.
60611         (locale-modules): Add locale.
60613         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60614         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60615         to avoid a warning.
60617 2011-08-14  David S. Miller  <davem@davemloft.net>
60619         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60620         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60622 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60624         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60625         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60626         * elf/rtld.c (dl_main): Set l_name of vDSO.
60627         Call _dl_show_scope when DL_DEBUG_SCOPES.
60628         (process_dl_debug): Recognize scopes flag and also set it for all.
60629         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60630         Declare _dl_show_scope.
60632         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60633         (do_dlopen): Pass caller_dlopen to dl_open.
60634         (__libc_dlopen_mode): Initialize caller_dlopen.
60636         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60637         of libc.  Make tolower call locale-independent.  Optimize a bit by
60638         using isdigit instead of isalnum.
60639         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60641 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60643         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60644         was a dependency or dynamically loaded.
60646 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60648         * intl/l10nflist.c: Allow architecture-specific pop function.
60649         * sysdeps/x86_64/l10nflist.c: New file.
60651         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60652         classification.
60654 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60656         * include/dirent.h: Add libc_hidden_proto for scandirat and
60657         scandirat64.  Don't declare __scandirat64.
60658         * dirent/scandirat.c: Add libc_hidden_def.
60659         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60660         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60662 2011-08-10  David S. Miller  <davem@davemloft.net>
60664         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60665         enum.
60666         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60667         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60668         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60670 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60672         * Versions.def [libc]: Add GLIBC_2.15.
60673         * dirent/Makefile (routines): Add scandirat and scandirat64.
60674         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60675         GLIBC_2.15.
60676         * dirent/dirent.h: Declare scandirat and scandirat64.
60677         * dirent/scandirat.c: New file.
60678         * dirent/scandirat64.c: New file.
60679         * sysdeps/wordsize-64/scandirat.c: New file.
60680         * sysdeps/wordsize-64/scandirat64.c: New file.
60681         * dirent/opendir.c: Define opendirat.
60682         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60683         using scandirat.
60684         * dirent/scandir64.c: Adjust for scandir.c change.
60685         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60686         __scandirat64, and __scandir_cancel_handler.
60687         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60688         additional parameter and use openat instead of open (outside of ld.so).
60689         Add new __opendir as wrapper around __opendirat.
60690         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60691         here without requiring old scandirat implementation.
60693 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60695         * dirent/scandir.c (cancel_handler): Renamed to
60696         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60697         defined.  Adjust users.
60698         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60699         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60701 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60703         * string/test-string.h (IMPL): Use __STRING to expand name and then
60704         stringify it.
60706         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60707         of cleanups.
60709 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60711         * string/Makefile: Update.
60712         (strop-tests): Append strncat.
60713         * string/test-wcscmp.c: New file.
60714         New comprehensive test for wcscmp.
60715         * string/test-strcmp.c: Update.
60716         (WIDE): New define.
60718 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60720         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60721         line.
60723 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60726         encoding to ACE if AI_IDN.
60728 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60730         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60731         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60733 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60735         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60736         Fix overflow bug in strncat.
60737         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60739         * string/test-strncat.c: Update.
60740         Add new tests for checking overflow bugs.
60742 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60744         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60745         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60746         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60747         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60748         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60749         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60750         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60751         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60752         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60754         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60755         (USE_AS_STRCAT): Define.
60756         Add strcat and strncat support.
60757         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60759 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60761         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60762         __n bigger than INT_MAX+1.
60763         (__strncmp_g): Likewise.
60765 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60767         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60768         * libio/stido.h: Likewise.
60770         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60771         (AF_NFC): Define.
60772         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60773         (AF_NFC): Define.
60775         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60776         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60777         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60778         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60779         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60781         [BZ #13021]
60782         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60783         installed.
60785         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60786         typo.
60787         (_dl_x86_64_save_sse): Likewise.
60789 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60791         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60792         OSXSAVE.
60793         (_dl_x86_64_save_sse): Likewise.
60795         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60797         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60799 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60801         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60802         change.
60803         (_dl_x86_64_save_sse): Use correct AVX check.
60805 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60807         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60808         bug in strncpy/strncat.
60809         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60811 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60813         * string/tester.c (test_strcat): Add tests for different alignments
60814         of source and destination.
60815         (test_strncat): Likewise.
60817 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60819         [BZ #12852]
60820         * posix/glob.c (glob): Check passed in values before using them in
60821         expressions to avoid some overflows.
60822         (glob_in_dir): Likewise.
60824         [BZ #13007]
60825         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60826         check for AVX enablement so that we don't crash with old kernels and
60827         new hardware.
60828         * elf/tst-audit4.c: Add same checks here.
60829         * elf/tst-audit6.c: Likewise.
60831         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60833 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60835         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60837 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60839         * po/cs.po: Update from translation team.
60840         * po/bg.po: Likewise.
60842 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60844         * misc/sys/cdefs.h: Add support for const attribute.
60845         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60846         to gnu_dev_{major,minor,makedev} functions.
60848 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60850         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60852 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60854         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60855         strlen results.
60857 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60859         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60860         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60861         register in order to avoid conflicts with the soft frame pointer
60862         being held in r11 when necessary.
60863         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60864         (INTERNAL_VSYSCALL_NCS): Likewise.
60866 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60868         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60869         * elf/dl-fini.c (_dl_fini): Adjust caller.
60870         * elf/dl-close.c (_dl_close_worker): Likewise.
60871         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60873 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60875         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60876         "aux_cache->nlibs < 0".
60878         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60879         in the reload-count case.
60881 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60883         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60884         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60885         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60886         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60887         * sysdeps/x86_64/multiarch/strcat.S: New file.
60888         * sysdeps/x86_64/multiarch/strncat.S: New file.
60889         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60890         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60891         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60892         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60893         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60894         (USE_AS_STRCAT): Define.
60895         Add strcat and strncat support.
60896         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60897         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60898         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60899         * string/strncat.c: Update.
60900         (USE_AS_STRNCAT): Define.
60901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60902         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60903         and i7.
60904         * sysdeps/x86_64/multiarch/init-arch.h
60905         (bit_Prefer_PMINUB_for_stringop): New.
60906         (index_Prefer_PMINUB_for_stringop): Likewise.
60907         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60908         bit_Prefer_PMINUB_for_stringop.
60910 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60912         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60913         buffer64.
60914         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60915         of casting of buffer.
60916         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60917         buffer32 and buffer64.
60918         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60919         writes instead of casting of buffer.
60920         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60921         buffer32.
60922         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60923         casting of buffer.
60925 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60927         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60929 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60931         * nscd/nscd.c (termination_handler): Don't do anything for a database
60932         if it has not yet been initialized.
60934 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60936         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60938 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60940         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60942 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60944         * po/nl.po: Update from translation team.
60945         * po/sv.po: Likewise.
60947 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60949         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60950         now disallowed by GCC.
60952         * configure.in (use-default-link): Default to yes if a test -shared
60953         link meets our qualifications.
60954         * configure: Regenerated.
60956         * config.make.in (output-format): New variable.
60957         * configure.in: Check for ld --print-output-format support.
60958         * configure: Regenerated.
60959         * Makerules ($(common-objpfx)format.lds)
60960         [$(output-format) != unknown]: Just use $(output-format),
60961         instead of the linker-script munging.
60963 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60965         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60966         of $(common-objpfx)shlib.lds.
60967         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60969         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60970         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60972         * configure.in (-z relro check): Adjust test code to add a large
60973         writable data section after it.
60974         * configure: Regenerated.
60976 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60978         * configure.in (-z relro check): Fix test code to make the variable
60979         truly const.
60980         * configure: Regenerated.
60982 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60984         * nscd/nscd.h (struct traced_file): Define.
60985         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60986         elements.  Add traced_files.
60987         (inotify_fd): Declare.
60988         (register_traced_file): Declare.
60989         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60990         (inotify_fd): Export.
60991         (resolv_conf_descr): Remove.
60992         (nscd_init): Move inotify descriptor creation to main.
60993         Don't register files for notification here.
60994         (register_traced_file): New function.
60995         (invalidate_cache): Don't use reset_res to determine whether to call
60996         res_init, go through the list of registered files.
60997         (main_loop_poll): The inotify descriptors are now stored in the
60998         structures for the traced files.
60999         (main_loop_epoll): Likewise
61000         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61001         to __nss_disable_nscd.
61002         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61003         for a database anymore.  Check the records for all the registered
61004         files instead.
61005         * nss/Makefile (libnss_files-routines): Add files-init.
61006         (libnss_db-routines): Add db-init.
61007         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61008         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61009         * nss/nss_db/db-init.c: New file.
61010         * nss/nss_files/files-init.c: New file.
61011         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61012         __nss_lookup_function.
61013         (__nss_lookup_function): Call nss_load_library.
61014         (nss_load_all_libraries): New function.
61015         (__nss_disable_nscd): Take parameter with callback function for files
61016         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61017         used for the cached services.
61018         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61019         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61020         options for features to all the files in nscd.
61022         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61024 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61026         * csu/elf-init.c (__libc_csu_init): Comment typo.
61028 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61030         * po/pl.po: Update from translation team.
61031         * po/ja.po: Likewise.
61032         * po/ru.po: Likewise.
61033         * po/ko.po: Likewise.
61034         * po/fr.po: Likewise.
61036 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61038         * configure.in (.ctors/.dtors header and trailer check):
61039         Use an empirical test on a built program.
61040         * configure: Regenerated.
61042         * configure.in (-z relro check): Use an empirical test on a built DSO.
61043         Detect, but do not require, on ia64.
61044         * configure: Regenerated.
61046         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61047         Update tests that use readelf to use $READELF instead.
61048         * configure: Regenerated.
61050 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61052         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61053         if the result is not used.
61055 2011-07-05  Andreas Jaeger  <aj@suse.de>
61057         [BZ#9696]
61058         * stdlib/tst-strtod.c: Add testcase.
61060 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61062         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61063         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61064         The latter has a higher limit.  Take additional parameter to pass to
61065         the new function.
61066         (__pathconf): Pass file to __statfs_link_max.
61067         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61068         __statfs_link_max.
61069         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61070         __statfs_link_max.
61072         [BZ #12868]
61073         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61074         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61075         Handle Lustre.
61076         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61077         (__statfs_filesize_max): Likewise.
61078         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61080 2011-07-05  Andreas Jaeger  <aj@suse.de>
61082         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61084 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61086         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61087         `status' variable.
61088         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61089         Likewise.
61091 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61093         * Makefile (strop-tests): Add strncat.
61094         * string/test-strncat.c: New file.
61096 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61098         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61100 2011-06-21  Andreas Jaeger  <aj@suse.de>
61102         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61103         Copy rule from iconvdata/Makefile.
61105 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61107         [BZ #12922]
61108         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61109         but no long options are defined, just return 'W'.
61111 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61113         [BZ #9696]
61114         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61116 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61118         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61119         netgroups to read.
61120         (innetgr): Likewise.
61122 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61124         * config.make.in (install_root): Default to $(DESTDIR).
61126 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61128         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61130 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61132         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61134         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61135         containing directory rather than embedding absolute directory names.
61137         * scripts/check-local-headers.sh: Rewritten using awk.
61138         Match by word, not by line.  Print error messages for matches.
61139         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61141         * Makerules [shlib-lds-flags empty]:
61142         ($(common-objpfx)libc_pic.opts): New target.
61143         ($(common-objpfx)libc_pic.os.clean): New target.
61144         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61146         * config.make.in (OBJCOPY): New variable.
61147         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61148         * configure: Regenerated.
61150         * config.make.in (use-default-link): New variable.
61151         * configure.in (use_default_link): Grok --with-default-link to set it.
61152         * configure: Regenerated.
61153         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61154         (shlib-lds, shlib-lds-flags): Define to empty.
61156         * Makerules (shlib-lds): New variable.
61157         (shlib-lds-flags): New variable.
61158         (build-shlib, build-moduile, build-module-asneeded): Use it.
61159         ($(common-objpfx)libc.so): Use $(shlib-lds).
61160         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61161         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61163         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61164         DT_FLAGS/DT_FLAGS_1 with zero flags.
61166         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61167         linker script munging.
61169 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61171         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61172         as 128-bit value.
61173         * crypt/sha512.c (sha512_process_block): Perform total addition using
61174         128-bit if possible.
61175         (__sha512_finish_ctx): Likewise.
61176         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61177         as 64-bit value.
61178         * crypt/sha256.c (SWAP64): Define.
61179         (sha256_process_block): Perform total addition using 64-bit if
61180         possible.
61181         (__sha256_finish_ctx): Likewise.
61183 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61185         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61186         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61187         * nscd/hstcache.c (cache_addhst): Likewise.
61188         * nscd/grpcache.c (cache_addgr): Likewise.
61189         * nscd/aicache.c (addhstaiX): Likewise
61190         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61192 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61194         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61195         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61196         * nscd/hstcache.c (cache_addhst): Likewise.
61197         * nscd/grpcache.c (cache_addgr): Likewise.
61198         * nscd/aicache.c (addhstaiX): Likewise
61200 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61202         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61203         domain only when needed.
61205 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61208         is always restored.
61210 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61212         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61213         are re-adding the entry.
61214         * nscd/servicescache.c (cache_addserv): Likewise.
61216 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61218         * sysdeps/generic/dl-irel.h: fix protection against multiple
61219         inclusions.
61220         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61222 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61224         [BZ #12935]
61225         * malloc/memusage.sh: Fix quoting in message.
61226         * debug/xtrace.sh: Likewise.
61228         * configure.in: Remove support for --experimental-malloc option, make
61229         it the default.
61230         * config.make.in: Likewise.
61231         * malloc/Makefile: Likewise.
61233 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61235         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61236         two-byte characters.
61238 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61240         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61241         AC_CACHE_CHECK invocation.
61242         * configure: Regenerated.
61244         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61246 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61248         [BZ #12350]
61249         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61250         bit from old_res_options.
61252         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61254         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61255         value type for setfct.
61257 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61259         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61260         __gettimeofday instead of gettimeofday.
61262 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61264         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61266 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61268         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61270         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61271         info.
61273 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61276         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61277         strcpy-sse2-unaligned strncpy-sse2-unaligned
61278         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61279         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61280         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61281         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61282         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61283         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61284         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61285         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61286         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61287         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61288         (STRCPY): Support SSE2 and SSSE3 versions.
61290 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61292         [BZ #12874]
61293         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61294         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61295         kernels which artificially limit size of requests.
61297 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61299         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61300         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61301         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61302         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61303         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61304         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61305         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61306         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61307         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61308         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61309         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61310         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61311         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61312         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61313         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61315         Enable unaligned load optimization for Intel Core i3, i5 and i7
61316         processors.
61317         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61318         Define.
61319         (index_Fast_Unaligned_Load): Define.
61320         (HAS_FAST_UNALIGNED_LOAD): Define.
61322 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61324         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61326 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61328         [BZ #12907]
61329         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61330         until it is clear that the information is realy needed.
61331         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61333 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61335         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61337 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61339         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61340         /sys/devices/system/cpu/online if it is usable.
61342         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61343         reading the information from the /proc filesystem to once a second.
61345 2011-06-21  Andreas Jaeger  <aj@suse.de>
61347         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61348         NULL after inclusion of kernel headers.
61350 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61352         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61353         calls to internal_setent.
61355         [BZ #12885]
61356         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61357         addresses using gethostbyname4_r ignore IPv4 addresses.
61359         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61360         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61362         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61364 2011-06-20  David S. Miller  <davem@davemloft.net>
61366         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61367         inclusions.
61368         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61370         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61371         (elf_irel): Use it.
61372         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61373         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61374         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61375         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61376         * sysdeps/x86_64/dl-irel.h: Likewise.
61378         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61379         * elf/dl-sym.c: Likewise.
61381 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61383         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61384         need to dereference resplen2.
61386 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61388         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61390 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61392         * Makeconfig: Define vardbdir and inst_vardbdir.
61393         * nss/Makefile: Add rules to install db-Makefile.
61395         * nss/nss_db/db-XXX.c: Cleanup.
61397         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61398         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61399         GLIBC_PRIVATE.
61400         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61401         * nss/makedb.c: Implement -g option to specify that value strings
61402         are generated and should not be added to table iterated over for
61403         get*ent calls.
61404         * nss/nss_db/db-initgroups.c: New file.
61406         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61407         interface.
61409         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61410         (internal_getgrouplist): Adjust to name change.
61411         Update use_initgroups_entry if this is not the first call.
61412         * nss/databases.def: Add initgroups entry.
61414         * nss/makedb.c (compute_tables): Check result of multiple hash table
61415         sizes to minimize maximum chain length.
61417 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61419         * Versions.def: Add entry for libnss_db.
61420         * shlib-versions: Likewise.
61421         * nss/Makefile: Add rules to build libnss_db.
61422         * nss/Versions: Add libnss_db information.  Organize libnss_files
61423         entries better.
61424         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61425         makedb progra.  Some minor improvements to generate smaller files.
61426         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61427         here from...
61428         * nss/makedb.c: ...here.
61429         Improve database format to be smaller and require less memory at
61430         runtime.
61431         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61432         db anymore.
61433         * nss/nss_db/db-netgrp.c: Likewise.
61434         * nss/nss_db/db-open.c: Likewise.
61435         * nss/nss_files/flies-XXX.x: Adjust comments.
61436         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61437         * nss/nss_files/files-grp.c: Likewise.
61438         * nss/nss_files/files-hosts.c: Likewise.
61439         * nss/nss_files/files-network.c: Likewise.
61440         * nss/nss_files/files-proto.c: Likewise.
61441         * nss/nss_files/files-pwd.c: Likewise.
61442         * nss/nss_files/files-rpc.c: Likewise.
61443         * nss/nss_files/files-service.c: Likewise.
61444         * nss/nss_files/files-sgrp.c: Likewise.
61445         * nss/nss_files/files-spwd.c: Likewise.
61446         * nss/nss_db/db-alias.c: Removed.
61447         * nss/nss_db/dummy-db.h: Removed.
61449 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61451         * nss/makedb.c: Rewritten to not use database library.
61452         * nss/Makefile: Update to build new makedb program.
61454 2011-06-14  Andreas Jaeger  <aj@suse.de>
61456         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61457         memset declaration.
61459 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61462         tmpbuf.
61464 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61466         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61467         * elf/Makefile ($(objpfx)ld.so): Likewise.
61469         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61470         Don't list ld.so twice in dependencies.
61472         * posix/bug-regex31.c: Include <stdlib.h>.
61474         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61476         * nis/nss_compat/compat-spwd.c
61477         (getspent_next_nss_netgr): Remove unused variable.
61478         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61480         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61481         nonmembers" output to use the right array.
61483         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61485         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61487         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61488         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61489         * catgets/gencat.c (read_input_file): Likewise.
61490         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61492         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61493         variable definition inside #if's controlling its use.
61495         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61497         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61499         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61501         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61502         unreachable code.
61504         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61506         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61507         * configure: Regenerated.
61509         * Makerules: Revert last change.
61510         * elf/Makefile: Likewise.
61512 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61514         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61515         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61516         (reloc-link): Likewise.
61518 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61520         * elf/Makefile: Add rules to build pldd.
61521         * elf/pldd.c: New file.
61522         * elf/pldd-xx.c: New file.
61524 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61526         * version.h: Update for 2.15 development version.
61528 2011-06-07  David S. Miller  <davem@davemloft.net>
61530         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61531         ifuncs.
61532         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61533         elf_machine_lazy_rel): Likewise.
61534         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61535         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61536         elf_machine_lazy_rel): Likewise.
61537         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61538         dl_hwcap via passed in argument.
61539         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61540         Likewise.
61542 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61544         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61546 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61548         [BZ #12849]
61549         * manual/fdl-1.1.texi: New file, verbatim from:
61550         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61551         * manual/lgpl-2.1.texi: New file, verbatim from:
61552         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61553         * manual/Makefile (licenses): New variable, list those new file names.
61554         (texis): Use it.
61555         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61557         * manual/fdl.texi: File removed.
61558         * manual/lesser.texi: File removed.
61559         * manual/libc.texinfo (Copying, Documentation License):
61560         Use new @include file names, put @appendix directive before @include.
61562 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61564         [BZ #12841]
61565         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61566         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61567         (mq_open): Add __NTH.
61569 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61571         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61572         Assume Intel Core i3/i5/i7 processor if AVX is available.
61574 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61576         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61577         typo.
61579 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61581         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61582         memory.  Use alloca_account.  Fix memory leak when retrying.
61584 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61586         * version.h (RELEASE): Bump for 2.14 release.
61587         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61589         * config.make.in (RANLIB): Remove entry.
61591 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61593         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61594         (libc.pot): Work around missing support for .ksh extension in xgettext.
61596         [BZ #12684]
61597         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61598         if both request failed.
61599         (send_dg): In case of server errors clear resplen or *resplen2.
61601         [BZ #12454]
61602         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61603         when there are multiple maps.
61604         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61605         (_dl_fini): Remove test here.
61607         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61609 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61611         [BZ #12350]
61612         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61613         bit from old_res_options.
61614         (gaih_inet): Likewise.
61616         [BZ #11099]
61617         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61618         as signed.
61620         * resolv/res_init.c (res_setoptions): Make the code more compact.
61622         [BZ #11558]
61623         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61624         set RES_USEVC.
61626         [BZ #11634]
61627         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61629         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61631         [BZ #11781]
61632         * malloc/malloc.h: Declare malloc hook variables as volatile.
61634         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61635         in last patch.
61637         [BZ #11799]
61638         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61639         raise in the comment.
61640         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61641         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61642         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61644 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61646         [BZ #12811]
61647         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61648         grow the buffers more if it already has to be sufficient.
61649         (build_wcs_upper_buffer): Likewise.
61650         * posix/regexec.c (check_matching): Likewise.
61651         (clean_state_log_if_needed): Likewise.
61652         (extend_buffers): Don't enlarge buffers beyond size of the input
61653         buffer.
61654         Patches mostly by Emil Wojak <emil@wojak.eu>.
61655         * posix/bug-regex32.c: New file.
61656         * posix/Makefile (tests): Add bug-regex32.
61658         * locale/findlocale.c (_nl_find_locale): Return right away if
61659         _nl_explode_name failed.
61660         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61662         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61664         * debug/xtrace.sh: Unify messages.
61665         * malloc/memusage.sh: Likewise.
61667         [BZ #12813]
61668         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61669         time symbol from vDSO.  Substitute with vsyscall if not available.
61670         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61671         __vdso_time.
61673         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61674         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61675         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61676         Add sendmmsg and internal_sendmmsg.
61677         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61678         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61679         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61681         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61682         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61683         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61685 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61687         [BZ #12813]
61688         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61689         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61690         available.
61691         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61692         __vdso_getcpu.
61694         [BZ #12814]
61695         * iconvdata/Makefile (tests): Add bug-iconv9.
61696         * iconvdata/bug-iconv9.c: New file.
61698 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61700         [BZ #12814]
61701         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61703 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61705         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61706         (struct user_regs_struct): Change intcs field back to cs.
61708 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61710         * po/ja.po: Update from translation team.
61712 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61714         [BZ #12795]
61715         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61716         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61718 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61720         * stdlib/longlong.h: Update from GCC.
61722 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61724         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61725         parameter name.
61726         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61727         Add parameter name.
61728         (__sysconf): Pass it down.
61730 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61732         [BZ #12671]
61733         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61734         some situations.
61735         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61736         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61737         add in in __libc_use_alloca calls.  Adjust callers.
61738         (glob): Use malloc in some situations.
61740         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61741         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61742         pltexit.
61744 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61746         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61747         and CLOCK_BOOTTIME_ALARM.
61749         [BZ #12782]
61750         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61751         is returned.
61753         * string/_strerror.c (__strerror_r): Print negative errors as signed
61754         numbers.
61756         [BZ #12777]
61757         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61758         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61759         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61761         * configure.in: Fix typo in redirection and correct removal of test
61762         files in two cases.
61764         [BZ #12788]
61765         * locale/setlocale.c (new_composite_name): Fix test to check for
61766         identical name of all categories.
61768         [BZ #12792]
61769         * libio/filedoalloc.c (local_isatty): New function.
61770         (_IO_file_doallocate): Use local_isatty.
61771         * stdio-common/perror.c (perror): In case a new stream is used
61772         forward the stream error.
61773         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61774         error flag.
61776 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61778         [BZ #11869]
61779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61780         alloca.
61781         * include/alloca.h (extend_alloca_account): Define.
61783         [BZ #11857]
61784         * posix/regex.h: Fix comments with documentation of user-accessible
61785         fields after compilation and describe correct free'ing of pattern
61786         after re_compile_pattern.
61787         Patch by Reuben Thomas <rrt@sc3d.org>.
61789 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61791         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61792         and -mno-altivec to prevent the compiler from using Altivec and/or
61793         VSX instructions when the corresponding registers are not available.
61795 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61797         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61799 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61801         * libio/freopen.c (freopen): Use __dup2, not dup2.
61802         * libio/freopen64.c (freopen64): Likewise.
61804 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61806         [BZ #12775]
61807         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61808         * math/Makefile (tests): Add test-powl.
61809         (CFLAGS-test-powl.c): Define.
61810         * math/test-powl.c: New file.
61812 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61814         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61816 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61818         [BZ #11837]
61819         * iconvdata/gb18030.c: Update to GB18020-2005.
61821 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61823         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61824         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61825         Patch by Aharon Robbins <arnold@skeeve.com>.
61827         [BZ #11892]
61828         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61829         on the stack.
61831         [BZ #11895]
61832         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61833         through underflows.
61835         [BZ #12766]
61836         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61837         point to strings before performing equality test for error_one_per_line
61838         mode.
61840         [BZ #11697]
61841         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61843         [BZ #11820]
61844         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61845         (struct user_fpregs_struct): Avoid __uint*_t types.
61847         [BZ #6420]
61848         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61849         symbol info.  Use it instead of calling _dl_addr locally.
61850         (lock_and_info): New function.
61851         (tr_freehook): Call lock_and_info and pass symbol info as additional
61852         parameter to tr_where.
61853         (tr_mallochook): Likewise.
61854         (tr_reallochook): Likewise.
61855         (tr_memalignhook): Likewise.
61857         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61858         used and couldn't be at all thread-safe.
61860 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61862         * libio/freopen.c (freopen): Don't close old file descriptor
61863         before the new one is opened.  Instead dup the new file descriptor
61864         to the old one after the new stream is created.
61865         * libio/freopen64.c (freopen64): Likewise.
61866         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61867         * libio/fileops.c (_IO_new_file_close_it): Handle new
61868         _IO_FLAGS2_NOCLOSE flag.
61869         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61870         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61871         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61872         _IO_FLAGS2_NOCLOSE flag.
61873         * include/unistd.h: Add hidden_proto for dup3.
61874         Define __have_dup3.
61875         * io/dup3.c: Define hidden symbol.
61876         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61878         [BZ #7101]
61879         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61880         when an incomplete long option is used.
61881         * posix/tst-getopt_long1.c: New file.
61882         * posix/Makefile (tests): Add tst-getopt_long1.
61884         [BZ #10138]
61885         * scripts/config.guess: Update from autoconf-2.68.
61886         * scripts/config.sub: Likewise.
61888         [BZ #10157]
61889         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61890         tests into ...
61891         (has_cpuclock): ...this.  New function.
61892         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61893         macro here based on has_cpuclock code.
61895         [BZ #10149]
61896         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61897         First byte (not low byte) is now always NUL.
61898         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61900         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61901         Use non-cancelable interfaces.
61903         [BZ #9809]
61904         * locale/iso-639.def: Add entry for Sorani.
61906         [BZ #11901]
61907         * include/stdlib.h: Move include protection to the right place.
61908         Define abort_msg_s.  Declare __abort_msg with it.
61909         * stdlib/abort.c (__abort_msg): Adjust type.
61910         * assert/assert.c (__assert_fail_base): New function.  Majority
61911         of code from __assert_fail.  Allocate memory for __abort_msg with
61912         mmap.
61913         (__assert_fail): Now call __assert_fail_base.
61914         * assert/assert-perr.c: Remove bulk of implementation.  Use
61915         __assert_fail_base.
61916         * include/assert.hL Declare __assert_fail_base.
61917         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61918         mmap.
61919         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61921 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61923         [BZ #11952]
61924         [BZ #12453]
61925         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61926         until all modules are registered in the DTV.
61927         * elf/Makefile: Add rules to build and run tst-tls19.
61928         * elf/tst-tls19.c: New file.
61929         * elf/tst-tls19mod1.c: New file.
61930         * elf/tst-tls19mod2.c: New file.
61931         * elf/tst-tls19mod3.c: New file.
61932         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61934         [BZ #12083]
61935         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61936         correctly.
61938         [BZ #12601]
61939         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61940         two-byte sequence errors.
61941         * iconvdata/Makefile (tests): Add bug-iconv8.
61942         * iconvdata/bug-iconv8.c: New file.
61944         [BZ #12626]
61945         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61946         buf2 definition.
61948         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61950         [BZ #12432]
61951         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61952         (dummy_getcfa): New function.
61953         (init): Get _Unwind_GetCFA address, use dummy if not found.
61954         (backtrace_helper): In recursion check, also check whether CFA changes.
61955         (__backtrace): Completely initialize arg.
61957         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61958         storing incomplete byte sequence in state object.  Avoid testing for
61959         guaranteed too small input if we know there is enough data available.
61961 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61963         * Makeconfig (+link-pie): Indent.
61964         * Rules (binaries-pie): Define if $(have-fpie) and
61965         $(build-shared).
61966         (binaries-shared): Also filter out $(binaries-pie).
61967         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61968         * nscd/Makefile (others-pie): Add nscd.
61969         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61970         ($(objpfx)nscd): Remove command override.
61971         * login/Makefile (others-pie): Add pt_chown.
61972         ($(objpfx)pt_chown): Remove command override.
61973         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61974         remove command overrides.
61976 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61978         * libio/tst_putwc.c: Fix error messages.
61980         [BZ #12724]
61981         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61982         currently writing and seek to current position when not.
61983         * libio/Makefile (tests): Add bug-fclose1.
61984         * libio/bug-fclose1.c: New file.
61986 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61988         [BZ #12511]
61989         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61990         don't set DF_1_NODELETE here.
61991         (do_lookup_x): When entering new entry test for copy relocation
61992         and if necessary set DF_1_NODELETE flag.
61993         * elf/tst-unique4.cc: New file.
61994         * elf/tst-unique4.h: New file.
61995         * elf/tst-unique4lib.cc: New file.
61996         * elf/Makefile: Add rules to build and run tst-unique4.
61997         Patch by Piotr Bury <pbury@goahead.com>.
61999 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62001         [BZ #12052]
62002         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62004         [BZ #12625]
62005         * misc/mntent_r.c (addmntent): Flush the stream after the output
62007         [BZ #12393]
62008         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62009         (is_trusted_path_normalize): Skip initial colon.  Append slash
62010         to empty buffer.  Duplicate is_trusted_path code but allow
62011         constructed patch to be prefix.
62012         (is_dst): Allow $ORIGIN followed by /.
62013         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62014         Correct testing of result of is_trusted_path_normalize
62015         (decompose_rpath): Fix warning.
62017 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62019         [BZ #11257]
62020         * grp/initgroups.c (internal_getgrouplist): When we found the service
62021         list through the initgroups entry in nsswitch.conf do not always
62022         continue on a successful lookup.  Don't always use the
62023         __nss_group_database value if it is set.
62024         * nss/nsswitch.conf (initgroups): Change action for successful db
62025         lookup to continue for compatibility.
62027 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62029         [BZ #11532]
62030         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62031         and CP774 modules.
62032         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62033         and CP774 modules.
62034         * iconvdata/tst-tables.sh: Likewise.
62035         * iconvdata/cp770.c: New file.
62036         * iconvdata/cp771.c: New file.
62037         * iconvdata/cp772.c: New file.
62038         * iconvdata/cp773.c: New file.
62039         * iconvdata/cp774.c: New file.
62040         * iconvdata/testdata/CP770: New file.
62041         * iconvdata/testdata/CP770..UTF8: New file.
62042         * iconvdata/testdata/CP771: New file.
62043         * iconvdata/testdata/CP771..UTF8: New file.
62044         * iconvdata/testdata/CP772: New file.
62045         * iconvdata/testdata/CP772..UTF8: New file.
62046         * iconvdata/testdata/CP773: New file.
62047         * iconvdata/testdata/CP773..UTF8: New file.
62048         * iconvdata/testdata/CP774: New file.
62049         * iconvdata/testdata/CP774..UTF8: New file.
62051         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62052         END CHARMAP line.
62053         * iconvdata/gen-8bit-gap.sh: Likewise.
62054         * iconvdata/gen-8bit.sh: Likewise.
62056         * locale/iso-639.def: Add ary entry.
62058         [BZ #11258]
62059         * locale/C-translit.h.in: Add U20A1 transliteration.
62061         [BZ #12178]
62062         * locale/iso-639.def: Add wae entry.
62063         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62065         [BZ #12545]
62066         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62067         for n.
62069         [BZ #12711]
62070         * locale/C-translit.h.in: Add entry for U20B9.
62071         Patch by pravin.d.s@gmail.com.
62073 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62075         [BZ #12713]
62076         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62077         ENAMETOOLONG use generic getcwd.
62078         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62079         in rtld.  Use *stat64.
62080         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62081         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62082         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62083         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62084         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62085         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62086         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62087         __fstatat64 macros.
62088         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62089         * dirent/rewinddir.c: Add libc_hidden_def.
62090         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62091         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62093         * include/dirent.h (__alloc_dir): Add flags parameter.
62094         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62095         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62096         __alloc_dir.
62097         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62098         from fdopendir if O_CLOEXEC is already set.
62100 2011-03-15  Alan Modra  <amodra@gmail.com>
62102         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62103         l_tls_firstbyte_offset non-zero.  Save padding offset in
62104         l_tls_firstbyte_offset for later use.
62105         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62106         freeing static tls block.
62108 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62110         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62111         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62112         being defined by the kernel headers.
62114 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62116         [BZ #12734]
62117         * resolv/resolv.h: Define RES_NOTLDQUERY.
62118         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62119         no-tld-query and set RES_NOTLDQUERY.
62120         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62121         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62122         modern BIND to search name as TLD unless forbidden.
62124 2011-05-07  Petr Baudis  <pasky@suse.cz>
62125             Ulrich Drepper  <drepper@gmail.com>
62127         [BZ #12393]
62128         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62129         (is_trusted_path): ...to here.
62130         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62131         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62132         using is_trusted_path_normalize() in setuid scripts.
62134 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62136         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62137         __BEGIN/__END_DECLS.
62139 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62141         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62142         NSS_STATUS_NOTFOUND if no record was found.
62144 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62146         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62147         (headers-not-in-tirpc): Remove rpc/netdb.h
62148         * resolv/netdb.h: Revert last change.
62150 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62152         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62153         circular dependency between libgcc.a and libc.a.
62155 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62157         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62158         * nis/Makefile: Don't install rpcsvc/*.
62159         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62160         instead of <rpc/types.h>.
62161         (MAXHOSTNAMELEN): Define.
62163 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62165         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62167 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62169         [BZ #12714]
62170         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62171         gethostbyname4_r when IPv6 results are possible.
62173 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62175         [BZ #12723]
62176         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62177         _PC_PIPE_BUF handling.
62179 2011-04-30  Bruno Haible  <bruno@clisp.org>
62181         [BZ #12717]
62182         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62183         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62184         to 'int'.
62185         * inet/getnameinfo.c (getnameinfo): Likewise.
62187 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62189         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62190         to groups setting in database lookup.
62191         * nss/nsswitch.conf: Add initgroups entry.
62193 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62195         [BZ #12685]
62196         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62197         mode string.
62198         Patch by Eric Blake <eblake@redhat.com>.
62200 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62202         * sunrpc/Makefile (need-export-routines): Add svc_run.
62203         (routines): Remove svc_run.
62204         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62205         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62206         * sunrpc/svc_run.c (svc_run): Likewise.
62207         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62209 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62211         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62212         problem in reallocation in last patch.
62214 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62216         * sunrpc/Makefile: Move inclusion of Rules.
62218 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62220         * nss/nss_files/files-initgroups.c: New file.
62221         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62222         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62223         _nss_files_initgroups_dyn.
62225 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62227         * elf/elf.h (R_ARM_IRELATIVE): Define.
62229 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62231         * po/ru.po: Update from translation team.
62233 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62235         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62236         dependencies.
62238 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62240         [BZ #12653]
62241         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62242         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62243         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62244         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62245         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62247 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62249         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62250         differing bytes.
62251         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62252         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62253         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62255 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62257         [BZ #12420]
62258         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62259         storing it.
62260         * stdlib/bug-getcontext.c: New file.
62261         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62263 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62265         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62266         instructions into .machine "z9-109".
62267         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62268         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62270 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62272         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62273         between environment variables and auxiliary vector.
62275 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62277         * Makefile: Add rules to build linkobj/libc.so.
62278         * include/libc-symbols.h: Define libc_hidden_nolink.
62279         * include/rpc/auth.h: Mark functions which are to be hidden.
62280         * include/rpc/auth_des.h: Likewise.
62281         * include/rpc/auth_unix.h: Likewise.
62282         * include/rpc/clnt.h: Likewise.
62283         * include/rpc/des_crypt.h: Likewise.
62284         * include/rpc/key_prot.h: Likewise.
62285         * include/rpc/pmap_clnt.h: Likewise.
62286         * include/rpc/pmap_prot.h: Likewise.
62287         * include/rpc/pmap_rmt.h: Likewise.
62288         * include/rpc/rpc_msg.h: Likewise.
62289         * include/rpc/svc.h: Likewise.
62290         * include/rpc/svc_auth.h: Likewise.
62291         * include/rpc/xdr.h: Likewise.
62292         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62293         * nss/Makefile: Likewise.
62294         * sunrpc/Makefile: Don't install headers.  Build library with normal
62295         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62296         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62297         for the compat linking library.  Remove use of INTDEF/INTUSE.
62298         * sunrpc/auth_none.c: Likewise.
62299         * sunrpc/auth_unix.c: Likewise.
62300         * sunrpc/authdes_prot.c: Likewise.
62301         * sunrpc/authuxprot.c: Likewise.
62302         * sunrpc/clnt_gen.c: Likewise.
62303         * sunrpc/clnt_perr.c: Likewise.
62304         * sunrpc/clnt_raw.c: Likewise.
62305         * sunrpc/clnt_simp.c: Likewise.
62306         * sunrpc/clnt_tcp.c: Likewise.
62307         * sunrpc/clnt_udp.c: Likewise.
62308         * sunrpc/clnt_unix.c: Likewise.
62309         * sunrpc/des_crypt.c: Likewise.
62310         * sunrpc/des_soft.c: Likewise.
62311         * sunrpc/get_myaddr.c: Likewise.
62312         * sunrpc/key_call.c: Likewise.
62313         * sunrpc/key_prot.c: Likewise.
62314         * sunrpc/netname.c: Likewise.
62315         * sunrpc/pm_getmaps.c: Likewise.
62316         * sunrpc/pm_getport.c: Likewise.
62317         * sunrpc/pmap_clnt.c: Likewise.
62318         * sunrpc/pmap_prot.c: Likewise.
62319         * sunrpc/pmap_prot2.c: Likewise.
62320         * sunrpc/pmap_rmt.c: Likewise.
62321         * sunrpc/publickey.c: Likewise.
62322         * sunrpc/rpc_cmsg.c: Likewise.
62323         * sunrpc/rpc_common.c: Likewise.
62324         * sunrpc/rpc_dtable.c: Likewise.
62325         * sunrpc/rpc_prot.c: Likewise.
62326         * sunrpc/rpc_thread.c: Likewise.
62327         * sunrpc/rtime.c: Likewise.
62328         * sunrpc/svc.c: Likewise.
62329         * sunrpc/svc_auth.c: Likewise.
62330         * sunrpc/svc_authux.c: Likewise.
62331         * sunrpc/svc_raw.c: Likewise.
62332         * sunrpc/svc_run.c: Likewise.
62333         * sunrpc/svc_simple.c: Likewise.
62334         * sunrpc/svc_tcp.c: Likewise.
62335         * sunrpc/svc_udp.c: Likewise.
62336         * sunrpc/svc_unix.c: Likewise.
62337         * sunrpc/svcauth_des.c: Likewise.
62338         * sunrpc/xcrypt.c: Likewise.
62339         * sunrpc/xdr.c: Likewise.
62340         * sunrpc/xdr_array.c: Likewise.
62341         * sunrpc/xdr_float.c: Likewise.
62342         * sunrpc/xdr_intXX_t.c: Likewise.
62343         * sunrpc/xdr_mem.c: Likewise.
62344         * sunrpc/xdr_rec.c: Likewise.
62345         * sunrpc/xdr_ref.c: Likewise.
62346         * sunrpc/xdr_sizeof.c: Likewise.
62347         * sunrpc/xdr_stdio.c: Likewise.
62349 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62351         [BZ #12650]
62352         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62353         * sysdeps/ia64/dl-tls.h: Likewise.
62354         * sysdeps/powerpc/dl-tls.h: Likewise.
62355         * sysdeps/s390/dl-tls.h: Likewise.
62356         * sysdeps/sh/dl-tls.h: Likewise.
62357         * sysdeps/sparc/dl-tls.h: Likewise.
62358         * sysdeps/x86_64/dl-tls.h: Likewise.
62359         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62361 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62363         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62364         rpath element also skip the following colon.
62365         (expand_dynamic_string_token): Add is_path parameter and pass
62366         down to DL_DST_REQUIRED and _dl_dst_substitute.
62367         (decompose_rpath): Call expand_dynamic_string_token with
62368         non-zero is_path.  Ignore empty rpaths.
62369         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62370         with zero is_path.
62372 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62375         Make cancelable.
62377 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62379         [BZ #12655]
62380         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62381         Patch by Filipe David Manana <fdmanana@apache.org>.
62383 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62385         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62386         Maintain aligned stack.
62387         (CHECK_RSP): Remove unused macro.
62389 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62391         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62392         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62394 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62396         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62398         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62400 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62402         [BZ #12518]
62403         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62404         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62405         * sysdeps/x86_64/memmove.c: New file.
62406         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62407         (memcpy): Renamed to ...
62408         (__new_memcpy): This.
62409         (memcpy): Provide GLIBC_2_14 memcpy.
62410         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62411         (memcpy): Provide GLIBC_2_2_5 memcpy.
62413 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62415         [BZ #12631]
62416         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62418 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62420         * misc/syncfs.c: New file.
62421         * misc/Makefile (routines): Add syncfs.
62422         * posix/unistd.h: Declare syncfs.
62423         * sysdeps/unix/syscalls.list: Add syncfs.
62425 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62427         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62428         open_by_handle_at.
62429         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62430         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62431         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62432         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62433         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62434         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62435         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62437 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62439         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62440         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62441         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62442         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62443         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62444         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62445         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62447         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62448         sync_file_range.c with -fexceptions.
62449         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62450         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62451         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62452         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62453         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62454         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62455         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62456         sync_file_range as cancellation point
62457         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62458         now a wrapper around __call_sync_file_range with cancellation handling.
62459         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62460         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62461         function name to __call_sync_file_range.
62462         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62463         Add call_sync_file_range.
62465 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62468         bits/timex.h.
62470 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62472         * iconv/iconv.h: Fix typo in comment.
62473         * io/fcntl.h: Likewise.
62474         * libio/stdio.h: Likewise.
62475         * posix/spawn.h: Likewise.
62476         * posix/unistd.h: Likewise.
62477         * stdlib/stdlib.h: Likewise.
62478         * time/time.h: Likewise.
62479         * wcsmbs/wchar.h: Likewise.
62481         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62482         open_by_handle): Add.
62483         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62484         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62485         Augment a few comments.
62486         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62487         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62488         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62489         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62490         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62491         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62492         open_by_handle.
62494         * io/fcntl.h (AT_EMPTY_PATH): Define.
62496 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62498         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62499         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62500         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62501         to...
62502         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62503         * Versions.def: Add GLIBC_2.14.
62504         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62505         Export.
62507 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62509         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62510         round counter.
62511         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62513 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62515         [BZ #12597]
62516         * string/test-strncmp.c (do_page_test): New function.
62517         (check2): Likewise.
62518         (test_main): Call check2.
62519         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62521 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62523         [BZ #12587]
62524         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62525         Handle cache information in CPU leaf 4.
62526         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62528 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62530         [BZ #12583]
62531         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62532         character representation.
62533         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62535 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62537         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62538         END(__isnan) to END(__isnanf) to match function entry point/label
62539         EALIGN(__isnanf,...).
62541 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62543         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62545 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62547         [BZ #12510]
62548         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62549         copy from the symbol referenced in the relocation to initialize the
62550         used variable.
62551         Patch by Piotr Bury <pbury@goahead.com>.
62552         * elf/Makefile: Add rules to build and tst-unique3.
62553         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62554         * elf/tst-unique3.cc: New file.
62555         * elf/tst-unique3.h: New file.
62556         * elf/tst-unique3lib.cc: New file.
62557         * elf/tst-unique3lib2.cc: New file.
62559         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62561 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62563         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62564         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62565         to _start.
62567 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62569         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62570         to-be-loaded object along a path to loader is ld.so.
62572 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62573             Ulrich Drepper  <drepper@gmail.com>
62575         * sysdeps/x86_64/memset.S: After aligning destination, code
62576         branches to different locations depending on the value of
62577         misalignment, when multiarch is enabled. Fix this.
62579 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62581         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62582         Set _x86_64_preferred_memory_instruction for AMD processsors.
62583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62584         Set bit_Prefer_SSE_for_memop for AMD processors.
62586 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62588         * libio/fmemopen.c (fmemopen): Optimize a bit.
62590 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62592         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62594 2011-03-03  Roland McGrath  <roland@redhat.com>
62596         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62598 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62600         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62601         __bzero_ultra1 instead of __memset_ultra1.
62603 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62604             Ulrich Drepper  <drepper@gmail.com>
62606         [BZ #12509]
62607         * include/link.h (struct link_map): Add l_orig_initfini.
62608         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62609         returning unsuccessfully.
62610         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62611         close of a file loaded at startup, restore the original l_initfini
62612         list.
62613         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62614         list, store the pointer.
62615         * elf/Makefile ($(objpfx)noload-mem): New rule.
62616         (noload-ENV): Define.
62617         (tests): Add $(objpfx)noload-mem.
62618         * elf/noload.c: Include <memcheck.h>.
62619         (main): Call mtrace.  Close all opened handles.
62621 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62623         [BZ #12454]
62624         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62625         dependencies are missing.
62627 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62629         Fix __if_freereq crash: Unlike the generic version which uses free,
62630         Hurd needs munmap.
62631         * sysdeps/mach/hurd/ifreq.h: New file.
62633 2011-01-27  Petr Baudis  <pasky@suse.cz>
62634             Ulrich Drepper  <drepper@gmail.com>
62636         [BZ 12445]#
62637         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62638         to extend_alloca().
62639         * stdio-common/bug23.c: New file.
62640         * stdio-common/Makefile (tests): Add bug23.
62642 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62643             Ulrich Drepper  <drepper@gmail.com>
62645         [BZ #12489]
62646         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62647         before performing relro protection.  At old place add assertion
62648         to make sure nothing changed.
62650 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62651             Glauber de Oliveira Costa  <glommer@gmail.com>
62653         * elf/elf.h: Add new ARM TLS relocs.
62655 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62658         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62659         cast from r3.
62660         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62661         'tests' variable.
62662         * sysdeps/wordsize-64/tst-writev.c: New file.
62664 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62666         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62667         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62668         insns in _dl_start to prevent a TOC reference before relocs are
62669         resolved.
62671 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62673         [BZ #12469]
62674         * Makeconfig: Remove RANLIB definition.
62675         * Makerules: Don't use RANLIB.
62676         * aclocal.m4: Remove ranlib test.
62677         * configure.in: No need to check for ranlib.
62678         * elf/rtld-Rules: Don't use RANLIB.
62680 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62682         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62683         protection macro.
62684         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62685         inclusion protection macro.
62687         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62688         SIGRTMIN and SIGRTMAX and print information in that case only when
62689         SIGRTMIN is defined.
62691 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62693         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62694         arginfo fn returning -1.
62696         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62697         and thousands string is zero terminated.
62699 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62701         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62702         sysdeps/unix/sysv/linux/bits/socket.h.
62704 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62706         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62707         (__CPU_COUNT): Remove old macros.
62708         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62709         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62710         (__CPU_ALLOC, __CPU_FREE): Add macros.
62711         (__sched_cpualloc, __sched_cpufree): Add declarations.
62713 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62715         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62716         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62717         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62718         (readdhstai): Return value of addhstaiX call.
62719         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62720         (addgrbyX): Return value returned by cache_addgr.
62721         (readdgrbyname): Return value returned by addgrbyX.
62722         (readdgrbygid): Likewise.
62723         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62724         (addpwbyX): Return value returned by cache_addpw.
62725         (readdpwbyname): Return value returned by addhstbyX.
62726         (readdpwbyuid): Likewise.
62727         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62728         (addservbyX): Return value returned by cache_addserv.
62729         (readdservbyname): Return value returned by addservbyX:
62730         (readdservbyport): Likewise.
62731         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62732         (addhstbyX): Return value returned by cache_addhst.
62733         (readdhstbyname): Return value returned by addhstbyX.
62734         (readdhstbyaddr): Likewise.
62735         (readdhstbynamev6): Likewise.
62736         (readdhstbyaddrv6): Likewise.
62737         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62738         (readdinitgroups): Return value returned by addinitgroupsX.
62739         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62740         (prune_cache): Keep track of timeout value of re-added entries.
62741         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62742         * nscd/nscd.h: Adjust prototypes of readd* functions.
62744 2011-02-04  Roland McGrath  <roland@redhat.com>
62746         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62747         (nis_stats): Likewise.
62748         * nis/nis_modify.c (nis_modify): Likewise.
62749         * nis/nis_remove.c (nis_remove): Likewise.
62750         * nis/nis_add.c (nis_add): Likewise.
62752         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62754         * posix/fnmatch_loop.c: Add some consts.
62756         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62758 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62760         [BZ #12460]
62761         * config.make.in (config-cflags-novzeroupper): Define.
62762         * configure.in: Substitute libc_cv_cc_novzeroupper.
62763         * elf/Makefile (AVX-CFLAGS): Define.
62764         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62765         (CFLAGS-tst-auditmod4a.c): Likewise.
62766         (CFLAGS-tst-auditmod4b.c): Likewise.
62767         (CFLAGS-tst-auditmod6b.c): Likewise.
62768         (CFLAGS-tst-auditmod6c.c): Likewise.
62769         (CFLAGS-tst-auditmod7b.c): Likewise.
62770         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62772 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62774         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62775         function to the callback.
62776         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62778 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62780         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62781         of errno.
62783 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62785         [BZ #11724]
62786         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62787         of constructors.
62788         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62789         of destructors.
62790         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62792         [BZ #11724]
62793         * elf/Makefile: Add rules to build and run new test.
62794         * elf/tst-initorder.c: New file.
62795         * elf/tst-initorder.exp: New file.
62796         * elf/tst-initordera1.c: New file.
62797         * elf/tst-initordera2.c: New file.
62798         * elf/tst-initordera3.c: New file.
62799         * elf/tst-initordera4.c: New file.
62800         * elf/tst-initorderb1.c: New file.
62801         * elf/tst-initorderb2.c: New file.
62802         * elf/tst-order-a1.c: New file.
62803         * elf/tst-order-a2.c: New file.
62804         * elf/tst-order-a3.c: New file.
62805         * elf/tst-order-a4.c: New file.
62806         * elf/tst-order-b1.c: New file.
62807         * elf/tst-order-b2.c: New file.
62808         * elf/tst-order-main.c: New file.
62809         New test case by George Gensure <werkt0@gmail.com>.
62811 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62814         decoding ACE if AI_CANONIDN.
62816 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62818         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62820 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62822         * version.h (RELEASE): Bump for 2.13 release.
62823         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62825         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62827         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62828         MADV_NOHUGEPAGE.
62829         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62830         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62831         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62832         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62833         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62834         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62836         * posix/getconf.c: Update copyright year.
62837         * catgets/gencat.c: Likewise.
62838         * csu/version.c: Likewise.
62839         * debug/catchsegv.sh: Likewise.
62840         * debug/xtrace.sh: Likewise.
62841         * elf/ldconfig.c: Likewise.
62842         * elf/ldd.bash.in: Likewise.
62843         * elf/sprof.c (print_version): Likewise.
62844         * iconv/iconv_prog.c: Likewise.
62845         * iconv/iconvconfig.c: Likewise.
62846         * locale/programs/locale.c: Likewise.
62847         * locale/programs/localedef.c: Likewise.
62848         * malloc/memusage.sh: Likewise.
62849         * malloc/mtrace.pl: Likewise.
62850         * nscd/nscd.c (print_version): Likewise.
62851         * nss/getent.c: Likewise.
62853         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62854         PF_CAIF, and PF_ALG.
62855         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62857 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62859         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62860         (modules-names): Use them.
62861         (ifunc-test-modules, ifunc-pie-tests): Define.
62862         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62863         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62864         (test-extras): Likewise.
62865         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62866         $(compile-command.c).
62867         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62868         (all-built-dso): Define.
62869         (check-textrel.out, check-execstack.out): Depend on it.
62871         * configure.in: Don't override --enable-multi-arch.
62873 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62875         [BZ #6812]
62876         * nscd/hstcache.c (tryagain): Define.
62877         (cache_addhst): Return tryagain not notfound for temporary errors.
62878         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62879         failed.
62881 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62883         [BZ #10563]
62884         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62885         to make the syscall.
62886         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62888         [BZ #12378]
62889         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62890         and fall back to matching as normal character if the string ends before
62891         the matching ']' is found.  This is what POSIX requires.
62892         * posix/testfnm.c: Adjust test result.
62893         * posix/globtest.sh: Adjust test result.  Add new test.
62894         * posix/tst-fnmatch.input: Likewise.
62895         * posix/tst-fnmatch2.c: Add new test.
62897 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62899         * elf/Makefile (check-execstack): Revert last change.  Depend on
62900         check-execstack.h.
62901         (check-execstack.h): New target.
62902         (generated): Add check-execstack.h.
62903         * elf/check-execstack.c: Include "check-execstack.h".
62904         (main): Revert last change.
62905         (handle_file): Return zero if GNU_STACK is absent and
62906         DEFAULT_STACK_PERMS doesn't include PF_X.
62908 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62910         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62911         in child fails because the descriptor is already closed.
62912         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62913         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62914         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62916         [BZ #12397]
62917         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62918         syscall.
62920         [BZ #10484]
62921         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62922         temporary buffer used to handle multi lookups locally.
62923         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62925 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62927         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62928         loader is ld.so.
62930 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62932         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62933         alignment for SSE2.
62935 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62937         [BZ #12394]
62938         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62939         characters.  When rounding increased number of integer digits recompute
62940         number of groups.
62941         * stdio-common/tst-grouping.c: New file.
62942         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62944 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62946         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62947         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62949         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62950         void.
62951         * bits/select.h: Likewise.
62953 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62955         * po/ja.po: Update from translation team.
62957 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62959         [BZ #11155]
62960         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62961         implementation just like for lxstat, fxstatat, et al.
62963 2010-12-27  Jim Meyering  <meyering@redhat.com>
62965         [BZ #12348]
62966         * posix/regexec.c (build_trtable): Return failure indication upon
62967         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62969 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62971         [BZ #12201]
62972         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62973         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62974         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62975         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62977         [BZ #12207]
62978         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62980         [BZ #12204]
62981         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62982         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62984 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62986         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62987         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62988         script has SORT_BY_INIT_PRIORITY.
62989         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62990         NO_CTORS_DTORS_SECTIONS is defined.
62991         * elf/soinit.c: Likewise.
62992         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62993         NO_CTORS_DTORS_SECTIONS is defined.
62994         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62995         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62996         * sysdeps/sh/init-first.c: Likewise.
62997         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62999 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63001         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63002         always use the slow path.
63004 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63006         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63007         similar rule which adds the sysdep directories to the header search in
63008         order to pick up the correct platform stackinfo.h.
63009         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63010         perform test if it is, otherwise return successfully without testing.
63011         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63012         DEFAULT_STACK_PERMS define in stackinfo.h.
63013         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63014         defined in stackinfo.h.
63015         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63016         DEFAULT_STACK_PERMS defined in stackinfo.h.
63017         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63018         * sysdeps/ia64/stackinfo.h: Likewise.
63019         * sysdeps/s390/stackinfo.h: Likewise.
63020         * sysdeps/sh/stackinfo.h: Likewise.
63021         * sysdeps/sparc/stackinfo.h: Likewise.
63022         * sysdeps/x86_64/stackinfo.h: Likewise.
63023         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63024         PF_X for powerpc64.  Retain PF_X for powerpc32.
63026 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63028         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63029         accurately.
63030         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63031         GETDENTS_64BIT_ALIGNED.
63033 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63035         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63037 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63039         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63040         _GNU_SOURCE.
63042         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63043         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63044         Remove __restrict.
63045         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63046         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63048 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63050         [BZ #11655]
63051         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63052         are initialized.
63054 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63056         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63058 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63060         * po/it.po: Update from translation team.
63062 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63064         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63065         unused codes.
63067 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63069         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63071 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63073         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63074         specially.
63075         (gaih_getanswer_slice): Likewise.
63077 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63079         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63081 2010-05-31  Petr Baudis  <pasky@suse.cz>
63083         [BZ #11149]
63084         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63085         silently even in the chroot mode.
63087 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63089         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63090         last patch a bit.  Pretty printing
63092 2010-05-31  Petr Baudis <pasky@suse.cz>
63094         [BZ #10085]
63095         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63096         initialization of skip_initgroups_dyn.
63098 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63100         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63101         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63103 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63105         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63107 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63109         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63110         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63111         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63112         ($(objpfx)tst-fnmatch-mem): New rule.
63113         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63114         * posix/tst-fnmatch.c (main): Call mtrace.
63116 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63118         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63119         Support Intel processor model 6 and model 0x2c.
63121 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63123         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63124           signed comparison.
63126 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63128         [BZ #12205]
63129         * string/test-strncasecmp.c (check_result): New function.
63130         (do_one_test): Use it.
63131         (check1): New function.
63132         (test_main): Use it.
63133         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63134         Support strcasecmp and strncasecmp.
63136 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63138         [BZ #12194]
63139         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63140         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63142 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63144         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63145         IFUNC support.
63146         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63147         memset-x86-64.
63148         * sysdeps/x86_64/multiarch/bzero.S: New file.
63149         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63150         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63151         * sysdeps/x86_64/multiarch/memset.S: New file.
63152         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63153         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63154         Set bit_Prefer_SSE_for_memop for Intel processors.
63155         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63156         Define.
63157         (index_Prefer_SSE_for_memop): Define.
63158         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63160 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63162         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63163         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63165 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63167         [BZ #12191]
63168         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63169         (__x86_64_raw_data_cache_size_half): Likewise.
63170         (__x86_64_raw_shared_cache_size): Likewise.
63171         (__x86_64_raw_shared_cache_size_half): Likewise.
63173         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63174         (__x86_64_raw_data_cache_size_half): Likewise.
63175         (__x86_64_raw_shared_cache_size): Likewise.
63176         (__x86_64_raw_shared_cache_size_half): Likewise.
63177         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63178         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63179         and __x86_64_raw_shared_cache_size_half.  Round
63180         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63181         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63182         to multiple of 256 bytes.
63184 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63186         [BZ #12167]
63187         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63188         of inacessible symlinks.  Verify result of symlink before returning it.
63189         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63190         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63192 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63194         * math/math.h (isinf): Fix typo in comment.
63196 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63198         * po/da.po: Update from translation team.
63200 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63202         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63203         is added to the list.
63205 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63206             Ulrich Drepper  <drepper@gmail.com>
63208         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63209         the global list here.  Move code to...
63210         (_dl_add_to_namespace_list): ...here.  New function.
63211         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63212         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63213         * elf/dl-load.c (lose): Don't remove the element from the list.
63214         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63215         (_dl_map_object): Likewise.
63217 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63219         [BZ #12159]
63220         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63221         into all bytes of SSE register.
63222         Patch by Richard Li <richardpku@gmail.com>.
63224 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63226         [BZ #12140]
63227         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63228         perturbing.
63230 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63232         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63233         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63234         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63235         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63237         submachine.
63238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63240 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63242         * include/dlfcn.h (__RTLD_SECURE): Define.
63243         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63244         mode & __RTLD_SECURE instead.
63245         (open_path): Rename preloaded parameter to secure.
63246         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63247         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63248         * elf/dl-deps.c (openaux): Likewise.
63249         * elf/rtld.c (struct map_args): Remove is_preloaded.
63250         (map_doit): Don't use it.
63251         (dl_main): Likewise.
63252         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63253         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63255 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63257         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63258         (sysd-rules-targets): Remove duplicates.
63259         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63260         rtld-%.$o dependency.
63262 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63264         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63265         _dl_map_object do it.
63267 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63269         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63270         fast fma builtins, define the macros in the C99 standard.
63271         (FP_FAST_FMAF): Likewise.
63272         (FP_FAST_FMAL): Likewise.
63273         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63275         * bits/mathdef.h: Update copyright year.
63276         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63278 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63280         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63281         builtins, define the macros in the C99 standard.
63282         (FP_FAST_FMAF): Likewise.
63283         (FP_FAST_FMAL): Likewise.
63284         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63285         multiply/add.
63286         (FP_FAST_FMAF): Likewise.
63288 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63290         [BZ #3268]
63291         * math/libm-test.inc (fma_test): Some new testcases.
63292         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63293         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63294         y and infinite z.  Do multiplication by C already in long double.
63295         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63297         y and infinite z.  Do bitwise or of inexact bit into u.d.
63298         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63299         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63300         * sysdeps/i386/fpu/s_fma.S: Removed.
63301         * sysdeps/i386/fpu/s_fmal.S: Removed.
63303 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63305         [BZ #3268]
63306         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63307         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63308         computation is not scheduled after fetestexcept.  Fix value
63309         of minimum denormal long double.
63311 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63313         [BZ #3268]
63314         * math/libm-test.inc (fma_test): Add some more tests.
63315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63316         correctly.
63318 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63320         * scripts/data/localplt-s390-linux-gnu.data: New file.
63321         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63323 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63325         [BZ #3268]
63326         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63327         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63328         instead of dbl-64.
63329         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63330         inlines.
63331         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63332         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63333         if one of x and y is very large and the other is subnormal.
63334         * sysdeps/s390/fpu/s_fmaf.c: New file.
63335         * sysdeps/s390/fpu/s_fma.c: New file.
63336         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63337         * sysdeps/powerpc/fpu/s_fma.S: New file.
63338         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63339         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63340         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63342 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63344         [BZ #3268]
63345         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63346         fma tests.
63347         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63348         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63349         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63350         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63351         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63352         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63353         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63355 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63357         [BZ #12078]
63358         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63359         * posix/bug-regex31.input: Add test case.
63361 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63363         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63364         * posix/bug-regex31.input: New file.
63366         [BZ #12078]
63367         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63368         (parse_sub_exp): Fix last change, use postorder.
63370         * posix/bug-regex31.c: New file.
63371         * posix/Makefile: Add rules to build and run bug-regex31.
63373         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63375         [BZ #12078]
63376         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63378         [BZ #12108]
63379         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63380         to have entries in sys_siglist.
63382         [BZ #12093]
63383         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63384         be NULL.
63386 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63388         [BZ #3268]
63389         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63390         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63391         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63392         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63393         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63394         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63395         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63396         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63397         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63398         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63399         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63400         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63401         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63402         * math/ftestexcept.c (fetestexcept): Likewise.
63403         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63404         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63405         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63406         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63407         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63408         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63409         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63411 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63413         [BZ #12107]
63414         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63415         newline.
63417 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63419         * string/bug-strstr1.c: New file.
63420         * string/Makefile: Add rules to build and run bug-strstr1.
63422 2010-10-05  Eric Blake  <eblake@redhat.com>
63424         [BZ #12092]
63425         * string/str-two-way.h (two_way_long_needle): Always clear memory
63426         when skipping input due to the shift table.
63428 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63430         [BZ #12005]
63431         * malloc/mcheck.c: Handle large requests.
63433         [BZ #12077]
63434         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63435         for strncmp and strncasecmp.
63436         * string/stratcliff.c: Add tests for strcmp and strncmp.
63437         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63439 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63441         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63442         __set_fpscr.
63444 2010-09-30  Andreas Jaeger  <aj@suse.de>
63446         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63447         (CGROUP_SUPER_MAGIC): Define.
63448         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63449         Handle btrfs and cgroup file systems.
63450         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63451         Likewise.
63453 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63455         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63456         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63458 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63460         [BZ #12067]
63461         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63462         trying to locate the ELF header.
63464 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63466         [BZ #11611]
63467         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63468         Mask out sign-bit copies when constructing f_fsid.
63470 2010-09-24  Petr Baudis <pasky@suse.cz>
63472         * debug/stack_chk_fail_local.c: Add missing licence exception.
63473         * debug/warning-nop.c: Likewise.
63475 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63477         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63478         implementing getdents64 using getdents syscall, set d_type if
63479         __ASSUME_GETDENTS32_D_TYPE.
63481 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63483         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63484         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63486 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63488         [BZ #12037]
63489         * posix/unistd.h: Undo change of feature selection for ftruncate from
63490         2010-01-11.
63492 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63494         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63495         detection.
63497 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63499         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63500         fanotify_mark.
63501         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63503 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63505         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63506         variables after CHECK_SP call.
63507         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63509 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63510             Ulrich Drepper  <drepper@redhat.com>
63512         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63513         re-relocationg ld.so.
63514         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63515         _dl_init_paths call.
63516         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63517         here anymore.
63519 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63521         * resolv/res_init.c (__res_vinit): Count the default server we added.
63523 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63524             Ulrich Drepper  <drepper@redhat.com>
63526         [BZ #11968]
63527         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63528         (____longjmp_chk): Use %ebx for saving value across system call.
63529         Add unwind info.
63531 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63533         * manual/Makefile: Don't mix pattern rules with normal rules.
63535 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63537         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63538         operation.
63539         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63540         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63541         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63542         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63543         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63544         Likewise.
63546 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63548         [BZ #11979]
63549         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63550         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63552 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63554         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63555         * sysdeps/x86_64/addmul_1.S: Likewise.
63556         * sysdeps/x86_64/lshift.S: Likewise.
63557         * sysdeps/x86_64/mul_1.S: Likewise.
63558         * sysdeps/x86_64/rshift.S: Likewise.
63559         * sysdeps/x86_64/sub_n.S: Likewise.
63560         * sysdeps/x86_64/submul_1.S: Likewise.
63562 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63564         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63565         Define __sched_param instead of SCHED_* and sched_param when
63566         <bits/sched.h> is included with __need_schedparam defined.
63567         * bits/sched.h [__need_schedparam]
63568         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63569         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63570         (__defined_schedparam): Define to 1.
63571         (__sched_param): New structure, identical to sched_param.
63572         (__need_schedparam): Undefine.
63574 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63576         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63577         (epoll_create1): Declare.
63579         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63581 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63583         [BZ #7066]
63584         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63585         shifting retval into place.
63587 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63589         * nis/rpcsvc/nis.h: Update copyright notice.
63590         * nis/rpcsvc/nis.x: Likewise.
63591         * nis/rpcsvc/nis_callback.h: Likewise.
63592         * nis/rpcsvc/nis_callback.x: Likewise.
63593         * nis/rpcsvc/nis_object.x: Likewise.
63594         * nis/rpcsvc/nis_tags.h: Likewise.
63595         * nis/rpcsvc/yp.h: Likewise.
63596         * nis/rpcsvc/yp.x: Likewise.
63597         * nis/rpcsvc/ypupd.h: Likewise.
63598         * nis/yp_xdr.c: Likewise.
63599         * nis/ypupdate_xdr.c: Likewise.
63601         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63602         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63603         (pmap_getport): Use __libc_rpc_getport.
63604         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63605         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63606         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63608 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63611         fanotify_mark.
63613 2010-08-27  Roland McGrath  <roland@redhat.com>
63615         * sysdeps/i386/i686/multiarch/Makefile
63616         (CFLAGS-varshift.c): New variable.
63618 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63620         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63621         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63623         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63625         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63627 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63629         * sysdeps/x86_64/strlen.S: Unroll the loop.
63630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63631         strlen-sse2 strlen-sse2-bsf.
63632         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63633         __strlen_no_bsf if bit_Slow_BSF is set.
63634         (__strlen_sse42): Removed.
63635         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63636         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63638 2010-08-25  Roland McGrath  <roland@redhat.com>
63640         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63641         * sysdeps/x86_64/multiarch/varshift.c: New file.
63642         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63643         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63644         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63645         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63647 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63649         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63650         strlen-sse2 strlen-sse2-bsf.
63651         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63652         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63653         (__strlen_sse2): Removed.
63654         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63655         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63657         bit_Slow_BSF for Atom.
63658         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63659         (index_Slow_BSF): Define.
63660         (HAS_SLOW_BSF): Define.
63662 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63664         [BZ #10851]
63665         * resolv/res_init.c (__res_vinit): When no server address at all
63666         is given default to loopback.
63668 2010-08-24  Roland McGrath  <roland@redhat.com>
63670         * configure.in: Remove config-name.h generation.
63671         * configure: Regenerated.
63672         * config-name.in: File removed.
63673         * scripts/config-uname.sh: New file.
63674         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63675         ($(objdir)config-name.h): New target.
63677         * sunrpc/rpc_parse.h: Avoid nested comment.
63679 2010-08-24  Richard Henderson  <rth@redhat.com>
63680             Ulrich Drepper  <drepper@redhat.com>
63681             H.J. Lu  <hongjiu.lu@intel.com>
63683         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63685         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63686         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63687         _mm_alignr_epi8 with _mm_loadu_si128.
63688         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63689         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63690         (__m128i_shift_right): Removed.
63691         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63692         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63693         * sysdeps/x86_64/multiarch/varshift.h: New file.
63694         * sysdeps/x86_64/multiarch/varshift.S: New file.
63696 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63698         * configure.in: Move assembler checks to before sysdep dir checking.
63700 2010-08-20  Petr Baudis  <pasky@suse.cz>
63702         * LICENSES: Sync the sunrpc license.
63704 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63706         * sunrpc/auth_des.c: Update copyright notice once again.
63707         * sunrpc/auth_none.c: Likewise.
63708         * sunrpc/auth_unix.c: Likewise.
63709         * sunrpc/authdes_prot.c: Likewise.
63710         * sunrpc/authuxprot.c: Likewise.
63711         * sunrpc/bindrsvprt.c: Likewise.
63712         * sunrpc/clnt_gen.c: Likewise.
63713         * sunrpc/clnt_perr.c: Likewise.
63714         * sunrpc/clnt_raw.c: Likewise.
63715         * sunrpc/clnt_simp.c: Likewise.
63716         * sunrpc/clnt_tcp.c: Likewise.
63717         * sunrpc/clnt_udp.c: Likewise.
63718         * sunrpc/clnt_unix.c: Likewise.
63719         * sunrpc/des_crypt.c: Likewise.
63720         * sunrpc/des_soft.c: Likewise.
63721         * sunrpc/get_myaddr.c: Likewise.
63722         * sunrpc/getrpcport.c: Likewise.
63723         * sunrpc/key_call.c: Likewise.
63724         * sunrpc/key_prot.c: Likewise.
63725         * sunrpc/openchild.c: Likewise.
63726         * sunrpc/pm_getmaps.c: Likewise.
63727         * sunrpc/pm_getport.c: Likewise.
63728         * sunrpc/pmap_clnt.c: Likewise.
63729         * sunrpc/pmap_prot.c: Likewise.
63730         * sunrpc/pmap_prot2.c: Likewise.
63731         * sunrpc/pmap_rmt.c: Likewise.
63732         * sunrpc/rpc/auth.h: Likewise.
63733         * sunrpc/rpc/auth_unix.h: Likewise.
63734         * sunrpc/rpc/clnt.h: Likewise.
63735         * sunrpc/rpc/des_crypt.h: Likewise.
63736         * sunrpc/rpc/key_prot.h: Likewise.
63737         * sunrpc/rpc/netdb.h: Likewise.
63738         * sunrpc/rpc/pmap_clnt.h: Likewise.
63739         * sunrpc/rpc/pmap_prot.h: Likewise.
63740         * sunrpc/rpc/pmap_rmt.h: Likewise.
63741         * sunrpc/rpc/rpc.h: Likewise.
63742         * sunrpc/rpc/rpc_des.h: Likewise.
63743         * sunrpc/rpc/rpc_msg.h: Likewise.
63744         * sunrpc/rpc/svc.h: Likewise.
63745         * sunrpc/rpc/svc_auth.h: Likewise.
63746         * sunrpc/rpc/types.h: Likewise.
63747         * sunrpc/rpc/xdr.h: Likewise.
63748         * sunrpc/rpc_clntout.c: Likewise.
63749         * sunrpc/rpc_cmsg.c: Likewise.
63750         * sunrpc/rpc_common.c: Likewise.
63751         * sunrpc/rpc_cout.c: Likewise.
63752         * sunrpc/rpc_dtable.c: Likewise.
63753         * sunrpc/rpc_hout.c: Likewise.
63754         * sunrpc/rpc_main.c: Likewise.
63755         * sunrpc/rpc_parse.c: Likewise.
63756         * sunrpc/rpc_parse.h: Likewise.
63757         * sunrpc/rpc_prot.c: Likewise.
63758         * sunrpc/rpc_sample.c: Likewise.
63759         * sunrpc/rpc_scan.c: Likewise.
63760         * sunrpc/rpc_scan.h: Likewise.
63761         * sunrpc/rpc_svcout.c: Likewise.
63762         * sunrpc/rpc_tblout.c: Likewise.
63763         * sunrpc/rpc_util.c: Likewise.
63764         * sunrpc/rpc_util.h: Likewise.
63765         * sunrpc/rpcinfo.c: Likewise.
63766         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63767         * sunrpc/rpcsvc/key_prot.x: Likewise.
63768         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63769         * sunrpc/rpcsvc/mount.x: Likewise.
63770         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63771         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63772         * sunrpc/rpcsvc/rex.x: Likewise.
63773         * sunrpc/rpcsvc/rstat.x: Likewise.
63774         * sunrpc/rpcsvc/rusers.x: Likewise.
63775         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63776         * sunrpc/rpcsvc/spray.x: Likewise.
63777         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63778         * sunrpc/rtime.c: Likewise.
63779         * sunrpc/svc.c: Likewise.
63780         * sunrpc/svc_auth.c: Likewise.
63781         * sunrpc/svc_authux.c: Likewise.
63782         * sunrpc/svc_raw.c: Likewise.
63783         * sunrpc/svc_run.c: Likewise.
63784         * sunrpc/svc_simple.c: Likewise.
63785         * sunrpc/svc_tcp.c: Likewise.
63786         * sunrpc/svc_udp.c: Likewise.
63787         * sunrpc/svc_unix.c: Likewise.
63788         * sunrpc/svcauth_des.c: Likewise.
63789         * sunrpc/xcrypt.c: Likewise.
63790         * sunrpc/xdr.c: Likewise.
63791         * sunrpc/xdr_array.c: Likewise.
63792         * sunrpc/xdr_float.c: Likewise.
63793         * sunrpc/xdr_mem.c: Likewise.
63794         * sunrpc/xdr_rec.c: Likewise.
63795         * sunrpc/xdr_ref.c: Likewise.
63796         * sunrpc/xdr_sizeof.c: Likewise.
63797         * sunrpc/xdr_stdio.c: Likewise.
63799         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63800         handling.
63802 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63804         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63806 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63808         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63809         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63810         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63811         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63812         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63813         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63814         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63815         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63816         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63817         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63818         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63819         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63820         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63821         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63823 2010-07-26  Anton Blanchard  <anton@samba.org>
63825         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63826         * malloc/arena.c (heap_trim): Likewise.
63828 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63830         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63831         here.  Not...
63832         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63833         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63835 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63837         * sysdeps/i386/elf/Makefile: New file.
63839 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63841         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63842         from fanotify_init.
63843         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63844         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63846 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63848         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63849         of strncasecmp_l.
63850         * sysdeps/multiarch/strcmp.S: Likewise.
63852 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63854         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63855         strncase_l-nonascii.
63856         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63857         Add strncase_l-ssse3.
63858         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63859         * sysdeps/x86_64/strcmp.S: Likewise.
63860         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63861         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63862         * sysdeps/x86_64/strncase.S: New file.
63863         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63864         * sysdeps/x86_64/strncase_l.S: New file.
63865         * string/Makefile (strop-tests): Add strncasecmp.
63866         * string/test-strncasecmp.c: New file.
63868         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63869         warning.
63871         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63872         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63874 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63876         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63878 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63880         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63881         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63882         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63884 2010-05-01  Alan Modra  <amodra@gmail.com>
63886         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63887         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63888         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63889         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63890         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63891         tidying.  Don't tail-call __sigjmp_save for static lib.
63892         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63893         save location.
63894         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63895         (CALL_MCOUNT): Add eh info, and nop after bl.
63896         (TAIL_CALL_SYSCALL_ERROR): New macro.
63897         (PSEUDO_RET): Use it.
63898         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63899         Correct save location of integer regs and cr.
63900         (_dl_profile_resolve): Correct cr save location.  Delete nops
63901         after bl when SHARED.  Reduce cfi size a little by better
63902         placement of cfi directives.
63903         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63904         make a stack frame.  Instead use parm save area as a temp.
63905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63906         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63908         Don't make a stack frame for parent, use parm save area.
63909         Increase child stack frame to 112 bytes.  Don't save unused reg,
63910         and adjust reg usage.  Set up cfi on error recovery and
63911         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63913         (__makecontext): Add dummy nop after jump to exit.
63914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63915         Use correct parm save area and cr save, reduce stack frame.
63916         Correct cfi for possible PSEUDO_RET frame setup.
63917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63918         Branch to local label emitted by PSEUDO_RET rather than
63919         __syscall_error.
63921 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63923         [BZ #11904]
63924         * locale/programs/locale.c (print_assignment): New function.
63925         (show_locale_vars): Use it.
63927 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63929         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63930         field.
63931         (struct statfs64): Likewise.
63932         (_STATFS_F_FLAGS): Define.
63933         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63934         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63935         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63936         (ST_VALID): Define locally.
63937         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63938         __statvfs_getflags, use the provided value.
63939         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63940         __ASSUME_STATFS_F_FLAGS.
63942         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63944         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63945         Add sys/fanotify.h.
63946         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63947         fanotify_mask for GLIBC_2.13.
63948         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63949         fanotify_init and fanotify_mark.
63950         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63951         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63953         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63954         Add prlimit.
63955         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63956         prlimit64 for GLIBC_2.13.
63957         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63958         prlimit64.
63959         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63960         syscall.
63961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63962         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63963         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63964         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63965         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63966         add prlimit alias.
63967         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63969         [BZ #11903]
63970         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63971         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63973         * nss/Makefile: Add rules to build and run tst-nss-test1.
63974         * shlib-versions: Add entry for libnss_test1.
63975         * nss/nss_test1.c: New file.
63976         * nss/tst-nss-test1.c: New file.
63978         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63979         (__nss_configure_lookup): Set appropriate entry in
63980         __nss_configure_lookup to true.
63981         * nss/nsswitch.h: Define enum with indeces of databases in
63982         databases and __nss_database_custom arrays.  Declare
63983         __nss_database_custom.
63984         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63985         to avoid using nscd when custom rules are installed.
63986         * nss/getXXbyYY_r.c: Likewise.
63987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63989         * nss/nss_files/files-parse.c: Whitespace fixes.
63991 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63993         [BZ #11883]
63994         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63995         * posix/fnmatch_loop.c: Likewise.
63997 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63999         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64000         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64001         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64002         * Versions.def [GLIBC_2.13]: Add.
64004 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64006         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64007         Also fail if tpwd after pwuid call is NULL.
64009 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64011         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64012         when converting to ms.
64014 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64016         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64017         EOPNOTSUPP errors with ENOTTY.
64018         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64019         EOPNOTSUPP errors with ENOTTY.
64021 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64023         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64024         Add strcasecmp_l-ssse3.
64025         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64026         strcasecmp.
64027         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64028         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64029         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64031 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64033         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64035         * string/Makefile (strop-tests): Add strcasecmp.
64036         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64037         strcasecmp_l-nonascii.
64038         (gen-as-const-headers): Add locale-defines.sym.
64039         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64040         * sysdeps/x86_64/strcasecmp.S: New file.
64041         * sysdeps/x86_64/strcasecmp_l.S: New file.
64042         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64043         * sysdeps/x86_64/locale-defines.sym: New file.
64044         * string/test-strcasecmp.c: New file.
64046         * string/test-strcasestr.c: Test both ends of the range of characters.
64047         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64049 2010-07-29  Roland McGrath  <roland@redhat.com>
64051         [BZ #11856]
64052         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64054 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64056         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64057         for ld.so.
64059 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64061         * manual/memory.texi (Malloc Tunable Parameters): Document
64062         M_PERTURB.
64064 2010-07-26  Roland McGrath  <roland@redhat.com>
64066         [BZ #11840]
64067         * configure.in (-fgnu89-inline check): Set and substitute
64068         gnu89_inline, not libc_cv_gnu89_inline.
64069         * configure: Regenerated.
64070         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64072 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64074         * string/test-strnlen.c: New file.
64075         * string/Makefile (strop-tests): Add strnlen.
64076         * string/tester.c (test_strnlen): Add a few more test cases.
64077         * string/tst-strlen.c: Better error reporting.
64079         * sysdeps/x86_64/strnlen.S: New file.
64081 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64083         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64084         lower-latency instructions.
64086 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64088         * string/test-strcasestr.c: New file.
64089         * string/test-strstr.c: New file.
64090         * string/Makefile (strop-tests): Add strstr and strcasestr.
64091         * string/str-two-way.h: Don't undefine MAX.
64092         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64094 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64096         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64097         strcasestr-nonascii.
64098         (CFLAGS-strcasestr-nonascii.c): Define.
64099         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64100         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64101         Remove unused attribute.
64103 2010-07-20  Roland McGrath  <roland@redhat.com>
64105         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64106         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64107         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64108         like LD_HWCAP_MASK can disable hwcaps.
64110 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64112         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64114 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64116         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64117         call in strcasestr.
64118         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64119         __strcasestr_sse42_nonascii.
64120         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64121         strcasestr-nonascii.c.
64122         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64124 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64126         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64127         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64128         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64129         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64131 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64133         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64134         fcntl.
64136 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64138         [BZ #11577]
64139         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64140         dl_signal_cerror.
64142 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64144         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64145         _PC_PIPE_BUF using F_GETPIPE_SZ.
64147 2010-07-05  Roland McGrath  <roland@redhat.com>
64149         * manual/arith.texi (Rounding Functions): Fix rint description
64150         implicit in round description.
64152 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64154         * elf/Makefile: Fix linking for a few tests to make recent linker
64155         happy.
64157 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64159         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64160         $(common-objpfx)libc_nonshared.a.
64162 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64164         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64165         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64166         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64167         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64168         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64169         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64170         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64171         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64186         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64187         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64188         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64189         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64190         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64191         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64192         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64193         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64194         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64195         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64196         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64197         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64213 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64215         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64216         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64217         * string/memmove.c (memmove): Renamed to ...
64218         (MEMMOVE): ...this.  Default to memmove.
64219         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64220         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64221         (END_CHK): Define.
64222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64223         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64224         mempcpy-ssse3-back memmove-ssse3-back.
64225         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64226         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64227         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64228         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64229         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64230         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64231         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64232         * sysdeps/x86_64/multiarch/memmove.c: New file.
64233         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64234         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64235         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64236         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64237         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64238         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64239         Define.
64240         (index_Fast_Copy_Backward): Define.
64241         (HAS_ARCH_FEATURE): Define.
64242         (HAS_FAST_REP_STRING): Define.
64243         (HAS_FAST_COPY_BACKWARD): Define.
64245 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64247         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64248         Restore proper fallback handling.
64250 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64252         [BZ #11701]
64253         * posix/group_member.c (__group_member): Correct checking loop.
64255         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64256         OOM in getpwuid_r correctly.  Return error number when the caller
64257         should return, otherwise -1.
64258         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64259         call returning > 0 value.
64260         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64262 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64264         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64265         libc_nonshared.a from targets in modules-names.
64267 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64269         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64270         requires it.
64272 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64274         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64275         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64276         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64277         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64279 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64281         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64283 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64285         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64286         and F_GETPIPE_SZ.
64287         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64288         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64289         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64291         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64292         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64294 2010-06-14  Roland McGrath  <roland@redhat.com>
64296         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64298 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64300         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64301         __REDIRECT followed by __THROW.
64302         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64303         * posix/getopt.h (getopt): Likewise.
64305 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64307         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64308         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64309         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64310         in AT_FLAGS.
64311         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64312         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64314 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64316         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64318 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64320         [BZ #11640]
64321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64322         Properly check family and model.
64324 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64326         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64328 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64330         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64332 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64334         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64335         symbol reference.
64337 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64339         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64340         symbol reference.
64342 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64344         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64345         and internal_recvmmsg.
64346         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64347         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64348         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64349         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64351         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64352         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64353         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64355 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64357         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64359 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64361         POWER7 optimizations.
64362         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64363         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64365 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64367         * version.h: Update for 2.13 development version.
64369 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64371         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64372         exceptions.  Return 0.
64374 2010-05-07  Roland McGrath  <roland@redhat.com>
64376         * elf/ldconfig.c (main): Add a const.
64378 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64380         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64381         (args_options): Add no-idn option.
64382         (ahosts_keys_int): Add idn_flags to ai_flags.
64383         (parse_option): Handle 'i' option to clear idn_flags.
64385         * malloc/malloc.c (_int_free): Possible race in the most recently
64386         added check.  Only act on the data if no current modification
64387         happened.
64389 See ChangeLog.17 for earlier changes.