S390: Fix build error with gcc6 in utf8_utf16-z9.c.
[glibc.git] / ChangeLog
blobea5367ca90d852b8f9a10b1d1c890e1cc9bc82b7
1 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4         (MAX_NEEDED_INPUT): New define.
5         (MAX_NEEDED_OUTPUT): New define.
7 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9         * NEWS: New item for IBM z13 string optimizations.
11 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16         * sysdeps/s390/multiarch/Makefile
17         (sysdep_routines): Add memrchr functions.
18         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
25         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26         * sysdeps/s390/multiarch/Makefile
27         (sysdep_routines): Add wmemcmp functions.
28         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
30         * benchtests/bench-wmemcmp.c: New File.
31         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
33 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35         * sysdeps/s390/multiarch/wmemset-c.c: New File.
36         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
37         * sysdeps/s390/multiarch/wmemset.c: Likewise.
38         * sysdeps/s390/multiarch/Makefile
39         (sysdep_routines): Add wmemset functions.
40         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
41         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
42         * wcsmbs/wmemset.c: Use WMEMSET if defined.
43         * string/test-memset.c: Add wmemset support.
44         * wcsmbs/test-wmemset.c: New File.
45         * wcsmbs/Makefile (strop-tests): Add wmemset.
46         * benchtests/bench-memset.c: Add wmemset support.
47         * benchtests/bench-wmemset.c: New File.
48         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
50 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
52         * sysdeps/s390/multiarch/memccpy-c.c: New File.
53         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
54         * sysdeps/s390/multiarch/memccpy.c: Likewise.
55         * sysdeps/s390/multiarch/Makefile
56         (sysdep_routines): Add memccpy functions.
57         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
58         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
59         * string/memccpy.c: Use MEMCCPY if defined.
61 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
63         * sysdeps/s390/multiarch/memchr-vx.S: New File.
64         * sysdeps/s390/multiarch/memchr.c: Likewise.
65         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
66         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
67         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
68         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
69         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
70         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
71         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
72         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
73         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
74         and rawmemchr functions.
75         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
76         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
77         and wmemchr.
78         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
79         * string/test-memchr.c: Add wmemchr support.
80         * wcsmbs/test-wmemchr.c: New File.
81         * wcsmbs/Makefile (strop-tests): Add wmemchr.
82         * benchtests/bench-memchr.c: Add wmemchr support.
83         * benchtests/bench-wmemchr.c: New File.
84         * benchtests/Makefile (wcsmbs-bench): wmemchr.
86 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
88         * sysdeps/s390/multiarch/strcspn-c.c: New File.
89         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
90         * sysdeps/s390/multiarch/strcspn.c: Likewise.
91         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
92         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
93         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
94         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
95         wcscspn functions.
96         * sysdeps/s390/multiarch/ifunc-impl-list.c
97         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
98         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
99         * string/test-strcspn.c: Add wcscspn support.
100         * wcsmbs/test-wcscspn.c: New File.
101         * wcsmbs/Makefile (strop-tests): Add wcscspn.
102         * benchtests/bench-strcspn.c: Add wcscspn support.
103         * benchtests/bench-wcscspn.c: New File.
104         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
106 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
108         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
109         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
110         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
111         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
112         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
113         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
114         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
115         wcspbrk functions.
116         * sysdeps/s390/multiarch/ifunc-impl-list.c
117         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
118         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
119         * string/test-strpbrk.c: Add wcspbrk support.
120         * wcsmbs/test-wcspbrk.c: New File.
121         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
122         * benchtests/bench-strpbrk.c: Add wcspbrk support.
123         * benchtests/bench-wcspbrk.c: New File.
124         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
126 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
128         * sysdeps/s390/multiarch/strspn-c.c: New File.
129         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
130         * sysdeps/s390/multiarch/strspn.c: Likewise.
131         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
132         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
133         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
134         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
135         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
136         wcsspn functions.
137         * sysdeps/s390/multiarch/ifunc-impl-list.c
138         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
139         * string/test-strspn.c: Add wcsspn support.
140         * wcsmbs/test-wcsspn.c: New File.
141         * wcsmbs/Makefile (strop-tests): Add wcsspn.
142         * benchtests/bench-strspn.c: Add wcsspn support.
143         * benchtests/bench-wcsspn.c: New File.
144         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
146 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
148         * sysdeps/s390/multiarch/strrchr-c.c: New File.
149         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
150         * sysdeps/s390/multiarch/strrchr.c: Likewise.
151         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
152         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
153         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
154         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
155         wcsrchr functions.
156         * sysdeps/s390/multiarch/ifunc-impl-list.c
157         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
158         * benchtests/bench-wcsrchr.c: New File.
159         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
161 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
163         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
164         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
165         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
166         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
167         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
168         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
169         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
170         wcschrnul functions.
171         * sysdeps/s390/multiarch/ifunc-impl-list.c
172         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
173         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
174         * string/test-strchr.c: Add wcschrnul support.
175         * wcsmbs/test-wcschrnul.c: New File.
176         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
177         * benchtests/bench-strchr.c: Add wcschrnul support.
178         * benchtests/bench-wcschrnul.c: New File.
179         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
181 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
183         * sysdeps/s390/multiarch/strchr-c.c: New File.
184         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
185         * sysdeps/s390/multiarch/strchr.c: Likewise.
186         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
187         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
188         * sysdeps/s390/multiarch/wcschr.c: Likewise.
189         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
190         wcschr functions.
191         * sysdeps/s390/multiarch/ifunc-impl-list.c
192         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
193         * string/strchr.c (STRCHR): Define and use macro.
194         * benchtests/bench-wcschr.c: New File.
195         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
197 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
199         * sysdeps/s390/multiarch/strncmp-c.c: New File.
200         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
201         * sysdeps/s390/multiarch/strncmp.c: Likewise.
202         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
203         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
204         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
205         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
206         wcsncmp functions.
207         * sysdeps/s390/multiarch/ifunc-impl-list.c
208         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
209         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
210         * benchtests/bench-strncmp.c: Add wcsncmp support.
211         * benchtests/bench-wcsncmp.c: New File.
212         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
214 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
216         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
217         * sysdeps/s390/multiarch/strcmp.c: Likewise.
218         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
219         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
220         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
221         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
222         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
223         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
224         wcscmp functions.
225         * sysdeps/s390/multiarch/ifunc-impl-list.c
226         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
227         * string/strcmp.c (STRCMP): Define and use macro.
228         * benchtests/bench-wcscmp.c: New File.
229         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
230         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
231         instead of _HAVE_STRING_ARCH_memchr.
233 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
235         * sysdeps/s390/multiarch/strncat-c.c: New File.
236         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
237         * sysdeps/s390/multiarch/strncat.c: Likewise.
238         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
239         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
240         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
241         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
242         wcsncat functions.
243         * sysdeps/s390/multiarch/ifunc-impl-list.c
244         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
245         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
246         * string/test-strncat.c: Add wcsncat support.
247         * wcsmbs/test-wcsncat.c: New File.
248         * wcsmbs/Makefile (strop-tests): Add wcsncat.
249         * benchtests/bench-strncat.c: Add wcsncat support.
250         * benchtests/bench-wcsncat.c: New File.
251         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
253 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
255         * sysdeps/s390/multiarch/strcat-c.c: New File.
256         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
257         * sysdeps/s390/multiarch/strcat.c: Likewise.
258         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
259         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
260         * sysdeps/s390/multiarch/wcscat.c: Likewise.
261         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
262         wcscat functions.
263         * sysdeps/s390/multiarch/ifunc-impl-list.c
264         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
265         * string/strcat.c (STRCAT): Define and use macro.
266         * wcsmbs/wcscat.c: Use WCSCAT if defined.
267         * string/test-strcat.c: Add wcscat support.
268         * wcsmbs/test-wcscat.c: New File.
269         * wcsmbs/Makefile (strop-tests): Add wcscat.
270         * benchtests/bench-strcat.c: Add wcscat support.
271         * benchtests/bench-wcscat.c: New File.
272         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
274 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
276         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
277         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
278         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
279         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
280         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
281         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
282         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
283         wcpncpy functions.
284         * sysdeps/s390/multiarch/ifunc-impl-list.c
285         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
286         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
287         * string/test-stpncpy.c: Add wcpncpy support.
288         * wcsmbs/test-wcpncpy.c: New File.
289         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
290         * benchtests/bench-stpncpy.c: Add wcpncpy support.
291         * benchtests/bench-wcpncpy.c: New File.
292         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
294 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
296         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
297         * sysdeps/s390/multiarch/strncpy.c: Likewise.
298         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
299         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
300         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
301         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
302         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
303         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
304         wcsncpy functions.
305         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
306         * sysdeps/s390/multiarch/ifunc-impl-list.c
307         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
308         * string/test-strncpy.c: Add wcsncpy support.
309         * wcsmbs/test-wcsncpy.c: New File.
310         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
311         * benchtests/bench-strncpy.c: Add wcsncpy support.
312         * benchtests/bench-wcsncpy.c: New File.
313         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
315 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
317         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
318         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
319         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
320         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
321         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
322         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
323         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
324         wcpcpy functions.
325         * string/stpcpy.c: Use STPCPY if defined.
326         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
327         * sysdeps/s390/multiarch/ifunc-impl-list.c
328         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
329         * string/test-stpcpy.c: Add wcpcpy support.
330         * wcsmbs/test-wcpcpy.c: New File.
331         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
332         * benchtests/bench-stpcpy.c: Add wcpcpy support.
333         * benchtests/bench-wcpcpy.c: New File.
334         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
336 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
338         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
339         * sysdeps/s390/multiarch/strcpy.c: Likewise.
340         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
341         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
342         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
343         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
344         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
345         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
346         wcscpy functions.
347         * sysdeps/s390/multiarch/ifunc-impl-list.c
348         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
349         * benchtests/bench-wcscpy.c: New File.
350         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
352 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
354         * sysdeps/s390/multiarch/strnlen-c.c: New File.
355         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
356         * sysdeps/s390/multiarch/strnlen.c: Likewise.
357         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
358         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
359         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
360         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
361         wcsnlen functions.
362         * sysdeps/s390/multiarch/ifunc-impl-list.c
363         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
364         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
365         * string/test-strnlen.c: Add wcsnlen support.
366         * wcsmbs/test-wcsnlen.c: New File.
367         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
368         * benchtests/bench-strnlen.c: Add wcsnlen support.
369         * benchtests/bench-wcsnlen.c: New File.
370         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
372 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
374         * sysdeps/s390/multiarch/Makefile: New File.
375         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
376         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
377         * sysdeps/s390/multiarch/strlen.c: Likewise.
378         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
379         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
380         * sysdeps/s390/multiarch/wcslen.c: Likewise.
381         * string/strlen.c (STRLEN): Define and use macro.
382         * sysdeps/s390/multiarch/ifunc-impl-list.c
383         (IFUNC_VX_IMPL): New macro function.
384         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
385         * benchtests/Makefile (wcsmbs-bench): New variable.
386         (string-bench-all): Added wcsmbs-bench.
387         * benchtests/bench-wcslen.c: New File.
389 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
391         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
392         s390_vx_libc_ifunc2): New macro function.
394 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
396         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
397         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
398         assembler support.
399         * sysdeps/s390/configure: Regenerated.
401 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
403         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
404         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
406 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
408         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
409         * sysdeps/s390/dl-procinfo.h: Add vector capability.
410         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
412 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
414         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
415         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
416         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
417         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
418         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
419         (memcmp, bcmp): Use __memcmp_default as alias source.
420         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
421         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
422         Rename to __memcmp_default.
423         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
424         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
425         (memcpy): Use __memcpy_default as alias source.
426         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
427         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
428         Rename to __memcpy_default.
429         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
430         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
431         (memset): Use __memset_default as alias source.
432         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
433         * sysdeps/s390/s390-32/memset.S (__memset_g5):
434         Rename to __memset_default.
435         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
436         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
437         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
438         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
439         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
440         (memcmp, bcmp): Use __memcmp_default as alias source.
441         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
442         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
443         Rename to __memcmp_default.
444         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
445         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
446         (memcpy): Use __memcpy_default as alias source.
447         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
448         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
449         Rename to __memcpy_default.
450         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
451         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
452         (memset): Use __memset_default as alias source.
453         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
454         * sysdeps/s390/s390-64/memset.S (__memset_z900):
455         Rename to __memset_default.
456         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
457         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
459 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
461         [BZ #18610]
462         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
463         __ieee_instruction_pointer to __unused.
464         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
465         __ieee_instruction_pointer.
466         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
467         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
468         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
469         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
470         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
471         Mark dxc-field as reserved.
473 2015-08-25  Roland McGrath  <roland@hack.frob.com>
475         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
476         if the weak reference is not null.
478 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
480         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
482 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
484         [BZ #11214]
485         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
487 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
489         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
490         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
491         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
492         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
493         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
494         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
495         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
496         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
497         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
498         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
499         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
500         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
501         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
502         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
503         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
504         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
505         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
506         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
508 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
510         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
511         register other than r0 for tabort, it has special meaning.
512         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
513         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
514         transaction before starting syscall.
516 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
518         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
520 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
522         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
524 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
526         * sysdeps/x86_64/rtld-memcmp.c: Removed.
527         * sysdeps/x86_64/rtld-memset.S: Likewise.
528         * sysdeps/x86_64/rtld-strchr.S: Likewise.
529         * sysdeps/x86_64/rtld-strlen.S: Likewise.
530         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
531         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
533 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
535         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
537 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
539         * debug/strcpy_chk.c: Improve performance.
540         * debug/stpcpy_chk.c: Likewise.
541         * sysdeps/x86_64/strcpy_chk.S: Remove.
542         * sysdeps/x86_64/stpcpy_chk.S: Remove.
544         [BZ #18240]
545         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
547 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
549         [BZ #15128]
550         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
551         ifuncmain8.
552         (modules-names): Add ifuncmod8.
553         ($(objpfx)ifuncmain8): New rule.
554         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
555         <cpuid.h>.
556         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
557         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
558         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
559         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
560         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
561         * sysdeps/x86_64/dl-trampoline.h: Likewise.
562         * sysdeps/x86_64/ifuncmain8.c: New file.
563         * sysdeps/x86_64/ifuncmod8.c: Likewise.
564         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
565         Removed.
566         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
567         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
568         Change rtld_savespace_sse to __glibc_unused2.
569         (RTLD_CHECK_FOREIGN_CALL): Removed.
570         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
571         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
572         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
574 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
576         * sysdeps/aarch64/bzero.S (__bzero): Remove.
578 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
580         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
581         Unconditionally set __fpcr to avoid uninialized warning.
582         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
584 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
586         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
587         is corrupt.
589         * malloc/arena.c (arena_get2): Drop unused argument.
590         (arena_lock): Adjust.
591         (arena_get_retry): Likewise.
593 2015-08-24  Andreas Schwab  <schwab@suse.de>
595         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
596         Don't define.
597         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
598         (__ASSUME_IPC64): Don't undef.
599         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
600         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
601         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
602         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
603         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
604         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
605         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
606         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
607         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
608         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
609         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
610         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
611         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
612         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
613         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
614         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
615         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
616         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
617         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
618         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
619         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
621 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
623         * manual/Makefile (install): Only build manual when perl is available.
625 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
627         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
628         '#undef memcpy' by '#undef memchr'.
630 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
632         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
633         memchr not point to the internal __GI_memchr implementation.
635 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
637         * timezone/Makefile (CFLAGS-zdump.c): Remove
638         -Wno-strict-prototypes.
639         (CFLAGS-zic.c): Likewise.
640         (CFLAGS-ialloc.c): Likewise.
641         (CFLAGS-scheck.c): Likewise.
643         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
644         -Wno-error=undef.
646 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
648         * i386/i686/multiarch/strcasestr-c.c: Removed.
649         * x86_64/multiarch/strcasestr.c: Likewise.
650         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
651         Remove strcasestr.
653 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
655         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
657         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
658         variables for high and low parts before possibly modifying them.
660 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
662         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
663         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
664         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
665         of "multiarch/init-arch.h".
666         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
667         * sysdeps/x86/init-arch.h: This.
669 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
671         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
672         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
674 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
676         [BZ #17787]
677         * manual/macros.texi: Add twoexp macro.
678         * manual/filesys.texi: Fix exponents.
679         * manual/llio.texi: Likewise.
680         * manual/stdio.texi: Likewise.
682 2015-08-20  Florian Weimer  <fweimer@redhat.com>
684         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
685         incorrect use.
687 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
689         [BZ #18370]
690         * math/s_csqrt.c (__csqrt): Force underflow exception for results
691         whose real or imaginary part has small absolute value.
692         * math/s_csqrtf.c (__csqrtf): Likewise.
693         * math/s_csqrtl.c (__csqrtl): Likewise.
694         * math/auto-libm-test-in: Add more tests of csqrt.
695         * math/auto-libm-test-out: Regenerated.
696         * sysdeps/i386/fpu/libm-test-ulps: Update.
698 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
700         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
701         __ppc_set_ppr_very_low): New functions.
702         * manual/platform.texi: Add documentation about
703         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
705 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
707         * string/stpncpy.c (stpncpy): Improve performance using
708         __strnlen/memcpy/memset.
710 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
712         [BZ #18796]
713         * scripts/test-installation.pl: Don't add -lmvec to build options if
714         libmvec wasn't built.
716 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
718         [BZ #14341]
719         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
720         case when there is a gap between DT_REL and DT_JMPREL sections.
721         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
722         (LDFLAGS-tst-split-dynreloc): New.
723         (tst-split-dynreloc-ENV): Likewise.
724         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
725         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
727 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
729         [BZ #18822]
730         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
731         attribute_hidden.
732         (__xstat64_conv): Likewise.
733         (__xstat32_conv): Likewise.
735 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
737         [BZ #18822]
738         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
739         Don't load %ebx when calling __setcontext.  Call __setcontext
740         with HIDDEN_JUMPTARGET.
741         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
742         libc_hidden_def.
744 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
746         * sysdeps/i386/i686/Makefile
747         [$(subdir) == string] (sysdep_routines): Moved to ...
748         * sysdeps/i386/Makefile: Here.
749         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
750         * sysdeps/i386/cacheinfo.c: Here.
751         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
752         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
753         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
754         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
756 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
758         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
759         __i586__ is defined.
760         (HAS_I686): Defined to 1 if __i686__ is defined.
762 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
764         * elf/Makefile [$(have-z-execstack) = yes]
765         (CPPFLAGS-tst-execstack.c): New variable.
767         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
768         conditional to [defined UTMPX || _HAVE_UT_TYPE].
769         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
770         UTMPX || _HAVE_UT_TV].
771         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
772         UTMPX || _HAVE_UT_TV - 0].
774 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
776         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
777         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
778         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
780 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
782         * sysdeps/powerpc/dl-procinfo.c:
783         (_dl_powerpc_cap_flags): Added missing strings for some
784         hwcap features.
785         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
787 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
789         Port the 0x7efe...feff pattern to GCC 6.
790         See Steve Ellcey's bug report in:
791         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
792         * string/memrchr.c (MEMRCHR):
793         * string/rawmemchr.c (RAWMEMCHR):
794         * string/strchr.c (strchr):
795         * string/strchrnul.c (STRCHRNUL):
796         Rewrite code to avoid issues with signed shift overflow.
798 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
800         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
801         whether cpuid is available only if HAS_CPUID is 0.
802         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
803         (HAS_I586): Likewise.
804         (HAS_I686): Likewise.
806 2015-08-18  Zack Weinberg  <zackw@panix.com>
808         * misc/Versions (libc): Add GLIBC_2.23.
810 2015-08-18  Alan Modra  <amodra@gmail.com>
812         [BZ #18421]
813         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
814         .Lp__global.
815         (_start): Load %dp via .Lp__global.
816         [!SHARED]: Use .section .rodata.
818 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
820         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
821         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
823 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
825         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
826         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
828 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
830         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
831         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
833 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
835         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
836         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
838 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
840         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
841         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
843 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
845         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
846         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
848 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
850         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
852 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
854         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
855         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
856         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
857         (__ASSUME_LWS_CAS): Delete.
859 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
861         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
862         * sysdeps/hppa/configure: Regenerated.
863         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
864         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
865         * sysdeps/hppa/nptl/tls.h: Likewise.
867 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
869         [BZ #18823]
870         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
871         for scaling up small arguments.
872         * math/s_csqrtf.c (__csqrtf): Likewise.
873         * math/s_csqrtl.c (__csqrtl): Likewise.
874         * math/auto-libm-test-in: Add more tests of csqrt.
875         * math/auto-libm-test-out: Regenerated.
877 2015-08-17  Andreas Schwab  <schwab@suse.de>
879         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
880         version set GLIBC_2.19.
882 2015-08-16  Zack Weinberg  <zackw@panix.com>
884         [BZ #18681]
885         * misc/regexp.h: This interface is no longer supported.
886         Remove all contents, leaving only an #error directive.
887         * misc/regexp.c (loc1, loc2, locs, step, advance):
888         Demote to compatibility symbols.
890 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
892         [BZ #18084]
893         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
894         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
895         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
896         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
897         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
898         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
899         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
900         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
901         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
903 2015-08-15  Zack Weinberg  <zackw@panix.com>
905         [BZ #18795]
906         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
907         buffer length is known to be too large, not if it's known to be
908         small enough.
909         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
910         overflow at runtime, involving a length parameter, twice: once
911         with a compile-time constant length parameter, once without.
913 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
915         [BZ #18824]
916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
917         scaling x * y up instead of down.
918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
919         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
920         * math/auto-libm-test-in: Add more tests of fma.
921         * math/auto-libm-test-out: Regenerated.
923 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
925         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
927 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
929         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
930         unnecessary movq.
931         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
932         Likewise.
934 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
936         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
937         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
938         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
939         and tgamma.
940         * math/auto-libm-test-out: Regenerated.
941         * sysdeps/i386/fpu/libm-test-ulps: Update.
942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
944         [BZ #16520]
945         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
946         (__tanh): Force underflow exception for arguments with small
947         absolute value.
948         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
949         (__tanhf): Force underflow exception for arguments with small
950         absolute value.
951         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
952         (__tanhl): Force underflow exception for arguments with small
953         absolute value.
954         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
955         (__tanhl): Force underflow exception for arguments with small
956         absolute value.
957         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
958         (__tanhl): Force underflow exception for arguments with small
959         absolute value.
960         * math/auto-libm-test-in: Add more tests of tanh.
961         * math/auto-libm-test-out: Regenerated.
962         * sysdeps/i386/fpu/libm-test-ulps: Update.
964 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
966         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
967         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
969 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
971         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
972         <cpuid.h>.
974 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
976         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
977         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
979 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
981         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
982         Remove $(objpfx)init-arch.o.
983         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
984         init-arch.
985         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
986         (INIT_ARCH_EXT): Defined as empty.
987         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
988         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
989         __init_cpu_features call.  Replace HAS_XXX with
990         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
991         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
992         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
993         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
994         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
995         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
996         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
997         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
998         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
999         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1000         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1001         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1002         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1003         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1004         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1005         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1006         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1007         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1008         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1009         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1010         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1011         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1012         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1013         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1014         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1015         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1016         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1017         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1018         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1019         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1020         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1021         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1022         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1023         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1024         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1025         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1027 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1029         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1030         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1031         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1032         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1033         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1034         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1035         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1036         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1037         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1038         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1039         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1040         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1041         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1042         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1043         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1044         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1045         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1046         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1047         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1048         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1049         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1050         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1051         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1052         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1053         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1054         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1055         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1056         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1057         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1058         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1059         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1060         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1061         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1062         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1063         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1064         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1065         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1066         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1067         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1068         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1069         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1070         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1071         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1073 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1075         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1076         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1077         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1078         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1079         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1080         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1081         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1082         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1083         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1084         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1085         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1086         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1087         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1088         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1089         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1090         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1091         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1092         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1093         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1094         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1095         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1096         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1097         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1098         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1099         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1100         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1101         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1102         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1103         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1104         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1105         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1106         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1107         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1108         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1109         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1110         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1111         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1112         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1113         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1114         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1115         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1116         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1117         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1119 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1121         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1122         (dl_platform_init): Call init_cpu_features.
1123         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1124         * sysdeps/i386/i686/cacheinfo.c
1125         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1126         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1127         * sysdeps/i386/i686/multiarch/Versions: Removed.
1128         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1129         Removed.
1130         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1131         * sysdeps/unix/sysv/linux/x86/Makefile
1132         (libpthread-sysdep_routines): Remove init-arch.
1133         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1134         <sysdeps/x86_64/dl-procinfo.c> instead of
1135         sysdeps/generic/dl-procinfo.c>.
1136         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1137         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1138         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1139         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1140         [$(subdir) == elf] (tests-static): Add
1141         tst-get-cpu-features-static.
1142         * sysdeps/x86/Versions: New file.
1143         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1144         * sysdeps/x86/cpu-features.c: Likewise.
1145         * sysdeps/x86/cpu-features.h: Likewise.
1146         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1147         * sysdeps/x86/libc-start.c: Likewise.
1148         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1149         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1150         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1151         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1152         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1153         Assume USE_MULTIARCH is defined and don't check it.
1154         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1155         (is_amd): Likewise.
1156         (max_cpuid): Likewise.
1157         (intel_check_word): Likewise.
1158         (__cache_sysconf): Don't call __init_cpu_features.
1159         (__x86_preferred_memory_instruction): Removed.
1160         (init_cacheinfo): Don't call __init_cpu_features. Replace
1161         __cpu_features with GLRO(dl_x86_cpu_features).
1162         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1163         (dl_platform_init): Call init_cpu_features.
1164         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1165         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1166         * sysdeps/x86_64/multiarch/Versions: Removed.
1167         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1168         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1169         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1170         Removed.
1171         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1173 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1175         [BZ #18820]
1176         * libio/Makefile (test-fmemopen-mem): New test.
1177         * libio/test-fmemopen.c (do_bz18820): New test.
1178         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1179         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1181 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1183         [BZ #16734]
1184         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1185         (FREE_BUF): Delete.
1186         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1187         * libio/genops.c (_IO_setb): Use malloc and free directly.
1188         (_IO_default_doallocate, _IO_default_finish): Likewise.
1189         ( _IO_unbuffer_all): Likewise.
1190         ( libc_freeres_fn): Likewise.
1191         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1192         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1193         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1194         (_IO_wdefault_doallocate): Likewise.
1196 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1198         [BZ #18086]
1199         * sysdeps/posix/nice.c (nice): Restore old errno.
1200         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1202 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1204         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1206 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1208         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1209         __bcopy and add a weak_alias to bcopy.
1210         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1211         for static build.
1213         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1214         cleanup macro usage.
1215         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1216         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1217         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1218         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1219         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1220         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1221         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1222         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1223         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1224         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1225         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1226         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1227         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1228         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1230         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1231         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1232         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1233         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1235         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1236         libc_hidden_def.
1237         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1239         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1240         (sysdep_routines): Add strstr-ppc64.
1241         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1243 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1245         [BZ #18778]
1246         * elf/Makefile (tests): Add Add tst-nodelete2.
1247         (modules-names): Add tst-nodelete2mod.
1248         (tst-nodelete2mod.so-no-z-defs): New.
1249         ($(objpfx)tst-nodelete2): Likewise.
1250         ($(objpfx)tst-nodelete2.out): Likewise.
1251         (LDFLAGS-tst-nodelete2): Likewise.
1252         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1253         out of loop through all loaded libraries.
1254         * elf/tst-nodelete2.c: New file.
1255         * elf/tst-nodelete2mod.c: Likewise.
1257 2015-08-11  Andreas Schwab  <schwab@suse.de>
1259         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1260         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1261         (__openat64_nocancel): Likewise.
1263 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1265         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1266         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1267         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1268         * math/auto-libm-test-out: Regenerated.
1269         * sysdeps/i386/fpu/libm-test-ulps: Update.
1270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1272 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1274         [BZ #18790]
1275         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1276         threshold for returning +/- 1.
1277         * math/auto-libm-test-in: Add more tests of tanh.
1278         * math/auto-libm-test-out: Regenerated.
1279         * sysdeps/i386/fpu/libm-test-ulps: Update.
1281 2015-08-10  Andreas Schwab  <schwab@suse.de>
1283         [BZ #18781]
1284         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1285         MORE_OFLAGS to oflag.
1286         * io/test-lfs.c (do_test): Test openat64.
1288 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1290         [BZ #18789]
1291         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1292         smaller threshold for returning the argument.
1293         * math/auto-libm-test-in: Add more tests of sinh.
1294         * math/auto-libm-test-out: Regenerated.
1295         * sysdeps/i386/fpu/libm-test-ulps: Update.
1297 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1299         [BZ #18674]
1300         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1301         break.
1303 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1305         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1306         (generated): Don't add $(addprefix z.,$(tzfiles)).
1308 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1310         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1311         * scripts/sysd-rules.awk: Likewise.
1313 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1315         * iconvdata/tst-tables.sh: Change echo -n to printf.
1316         * nss/db-Makefile: Likewise.
1317         * posix/tst-getconf.sh: Likewise.
1318         * stdio-common/tst-unbputc.sh: Likewise.
1320 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1322         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1323         MADV_*_PAGES defines behind this feature check.
1325 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1327         [BZ #18480]
1328         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1329         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1330         Define.
1331         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1332         LOAD_REGS_5, LOAD_REGS_6): Update.
1333         (INTERNAL_SYSCALL): Update using new LOAD defines.
1334         (INTERNAL_SYSCALL_NCS): Likewise.
1335         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1337 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1339         [BZ #16734]
1340         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1342 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1344         [BZ #17905]
1345         * catgets/Makefile (tst-catgets-mem): New test.
1346         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1347         * catgets/open_catalog.c (__open_catalog): Likewise.
1348         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1350 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1352         [BZ #18787]
1353         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1354         clobber registers.
1355         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1356         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1357         Cast return to __typeof (oldval).
1359 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1361         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1362         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1363         and delete sys/syscall.h include.
1365 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1367         [BZ #16517]
1368         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1369         (tan): Force underflow exception for arguments with small absolute
1370         value.
1371         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1372         (__kernel_tanf): Force underflow exception for arguments with
1373         small absolute value.
1374         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1375         (__kernel_tanl): Force underflow exception for arguments with
1376         small absolute value.
1377         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1378         (__kernel_tanl): Force underflow exception for arguments with
1379         small absolute value.
1380         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1381         (__kernel_tanl): Force underflow exception for arguments with
1382         small absolute value.
1383         * math/auto-libm-test-in: Add more tests of tan.
1384         * math/auto-libm-test-out: Regenerated.
1386 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1388         Fix sysdeps/i386/fpu/s_scalbn.S build
1390         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1392 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1394         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1396 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1398         Fix gcrt0.o compilation
1400         When static-start-installed-name is different from
1401         start-installed-name, we must not use the shared objects.
1403         * csu/Makefile
1404         (extra-objs): Add gmon-start.o when building shared library and
1405         $(static-start-installed-name) is different from
1406         $(start-installed-name).
1407         $(objpfx)g$(static-start-installed-name): When building shared
1408         library and $(static-start-installed-name) is different from
1409         $(static-start-installed-name), revert to non-shared rule,
1410         i.e. using $(objpfx)% and gmon-start.o.
1412 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1414         [BZ #16519]
1415         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1416         (__ieee754_sinh): Force underflow exception for arguments with
1417         small absolute value.
1418         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1419         (__ieee754_sinhf): Force underflow exception for arguments with
1420         small absolute value.
1421         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1422         (__ieee754_sinhl): Force underflow exception for arguments with
1423         small absolute value.
1424         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1425         (__ieee754_sinhl): Force underflow exception for arguments with
1426         small absolute value.
1427         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1428         (__ieee754_sinhl): Force underflow exception for arguments with
1429         small absolute value.
1430         * math/auto-libm-test-in: Add more tests of sinh.
1431         * math/auto-libm-test-out: Regenerated.
1432         * sysdeps/i386/fpu/libm-test-ulps: Update.
1434 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1436         * libio/oldfileops.c: Include unistd.h.
1438 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1440         * stdlib/isomac.c: Include ctype.h.
1442 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1444         * dirent/tst-seekdir.c (main): Converted to ...
1445         (do_test): ... this.
1446         (TEST_FUNCTION): New macro.
1447         Include test-skeleton.c.
1448         * elf/tst-dlmodcount.c (main): Converted to ...
1449         (do_test): ... this.
1450         (TEST_FUNCTION): New macro.
1451         Include test-skeleton.c.
1452         * elf/tst-order-main.c (main): Converted to ...
1453         (do_test): ... this.
1454         (TEST_FUNCTION): New macro.
1455         Include test-skeleton.c.
1456         * elf/tst-pie2.c (main): Converted to ...
1457         (do_test): ... this.
1458         (TEST_FUNCTION): New macro.
1459         Include test-skeleton.c.
1460         * inet/tst-ether_aton.c (main): Converted to ...
1461         (do_test): ... this.
1462         (TEST_FUNCTION): New macro.
1463         Include test-skeleton.c.
1464         * misc/tst-mntent.c (main): Converted to ...
1465         (do_test): ... this.
1466         (TEST_FUNCTION): New macro.
1467         Include test-skeleton.c.
1468         * misc/tst-tsearch.c (main): Converted to ...
1469         (do_test): ... this.
1470         (TEST_FUNCTION): New macro.
1471         Include test-skeleton.c.
1472         * posix/tst-regexloc.c (main): Converted to ...
1473         (do_test): ... this.
1474         (TEST_FUNCTION): New macro.
1475         Include test-skeleton.c.
1476         * resolv/tst-aton.c (main): Converted to ...
1477         (do_test): ... this.
1478         (TEST_FUNCTION): New macro.
1479         Include test-skeleton.c.
1480         * stdio-common/test-fwrite.c (main): Converted to ...
1481         (do_test): ... this.
1482         (TEST_FUNCTION): New macro.
1483         Include test-skeleton.c.
1484         * stdio-common/tst-ferror.c (main): Converted to ...
1485         (do_test): ... this.
1486         (TEST_FUNCTION): New macro.
1487         Include test-skeleton.c.
1488         * stdio-common/tst-printf.c (main): Converted to ...
1489         (do_test): ... this.
1490         (TEST_FUNCTION): New macro.
1491         Include test-skeleton.c.
1492         * stdio-common/tst-printfsz.c (main): Converted to ...
1493         (do_test): ... this.
1494         (TEST_FUNCTION): New macro.
1495         Include test-skeleton.c.
1496         * stdlib/tst-strtod.c (main): Converted to ...
1497         (do_test): ... this.
1498         (TEST_FUNCTION): New macro.
1499         Include test-skeleton.c.
1500         * string/tst-strlen.c (main): Converted to ...
1501         (do_test): ... this.
1502         (TEST_FUNCTION): New macro.
1503         Include test-skeleton.c.
1504         * string/tst-svc.c (main): Converted to ...
1505         (do_test): ... this.
1506         (TEST_FUNCTION): New macro.
1507         Include test-skeleton.c.
1508         * time/tst-strptime.c (main): Converted to ...
1509         (do_test): ... this.
1510         (TEST_FUNCTION): New macro.
1511         Include test-skeleton.c.
1512         * timezone/tst-timezone.c (main): Converted to ...
1513         (do_test): ... this.
1514         (TEST_FUNCTION): New macro.
1515         Include test-skeleton.c.
1517 2015-08-05  Zack Weinberg  <zackw@panix.com>
1519         * misc/regexp.h: Update comments.
1521 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1523         [BZ #18635]
1524         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1525         before return label.
1527 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1529         [BZ #18661]
1530         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1531         when calling __errno_location.
1532         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1533         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1535 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1537         [BZ #18661]
1538         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1539         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1540         __gettimeofday.
1542 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1544         [BZ #18661]
1545         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1546         (__start_context): Don't use pop to restore %rdi so that stack
1547         is aligned to 16 bytes when calling __setcontext.
1549 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1551         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1552         only for libc.
1553         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1555 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1557         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1558         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1559         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1561 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1563         * string/memccpy.c (memccpy):
1564         Improve performance by using memchr/memcpy/__mempcpy.
1566 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1568         * string/strncpy.c (strncpy):
1569         Improve performance by using __strnlen/memcpy.
1571 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1573         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1574         Optimize to avoid an unnecessary FPCR read.
1576 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1578         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1579         Optimize to reduce FPCR/FPSR accesses.
1581 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1583         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1584         dead->data[category] != NULL.
1586 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1588         [BZ #18647]
1589         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1590         and |x| close to 1, use absolute value of x when computing log.
1591         * math/auto-libm-test-in: Add more tests of pow.
1592         * math/auto-libm-test-out: Regenerated.
1594 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1596         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1597         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1598         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1600 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1602         [BZ #18525]
1603         * locales/km_KH: Remove timezone definition.
1604         * locales/lo_LA: Likewise.
1605         * locales/my_MM: Likewise.
1606         * locales/nan_TW@latin: Likewise.
1607         * locales/th_TH: Likewise.
1608         * locales/uk_UA: Likewise.
1610 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1612         [BZ #18265]
1613         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1614         (wcsncat): Likewise.
1615         (wcscmp): Likewise.
1616         (wcsncmp): Likewise.
1618 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1620         * test-skeleton.c (usage): New function.
1621         (main): Call usage when opt is '?'.
1623 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1625         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1626         before first use.
1628 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1630         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1631         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1632         in there too.
1634 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1636         * version.h (RELEASE): Set to "development".
1637         (VERSION): Set to "2.22.90"
1639         * version.h (RELEASE): Set to "stable".
1640         (VERSION): Set to "2.22"
1641         * include/features.h (__GLIBC_MINOR__): Set to 22.
1643 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1645         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1646         Restructure macro to avoid "value computed is not used" warning.
1647         (atomic_compare_and_exchange_val_acq): Likewise.
1649 2015-08-04  Andreas Schwab  <schwab@suse.de>
1651         [BZ #18635]
1652         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1653         ret.
1654         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1656 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1658         * po/pl.po: Updated translation.
1659         * po/uk.po: Likewise.
1660         * po/fi.po: Likewise.
1661         * po/ko.po: Likewise.
1662         * po/ru.po: Likewise.
1663         * po/vi.po: Likewise.
1665 2015-07-31  Zack Weinberg  <zackw@panix.com>
1667         [BZ #18681]
1668         * regexp.h: Add unconditional #warning stating that this header
1669         will be removed soon.  Revise banner comment to match.
1670         (compile): Consistently use ERROR instead of RETURN to report
1671         errors (partial fix for bz#18681).
1672         * regexp.c: Don't include regexp.h. Remove some unnecessary
1673         declarations.
1675 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1677         * po/libc.pot: Regenerated.
1679 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1681         [BZ #18740]
1682         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1683         float-vlen4-arch-ext-cflags): Removed.
1684         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1685         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1687 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1689         [BZ #14113]
1690         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1691         aligned to __aligned__.
1692         (pthread_cond_t, pthread_rwlock_t): Likewise.
1694 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1696         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1698 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1700         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1701         (struct sigaction): Change sa_flags from a long to an int, and add
1702         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1704 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1706         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1707         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1708         sysdeps/generic/sysdep.h include.
1709         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1710         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1711         sysdeps/hppa/sysdep.h.
1712         (ENTRY, PSEUDO): Undefine before defining.
1714 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1716         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1717         from scratch to use INTERNAL_SYSCALL.
1719 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1721         [BZ #18078]
1722         * scripts/check-localplt.awk: Support alternate relocations.
1723         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1724         sections.
1725         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1726         malloc entries with + REL R_386_GLOB_DAT.
1727         * sysdeps/x86_64/localplt.data: New file.
1729 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1731         [BZ #18731]
1732         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1733         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1734         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1736 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1738         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1740 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1742         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1743         directly in terms of __sync_fetch_and_add and delete (int) cast.
1745 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1747         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1748         the -D_ASM_IA64_CURRENT_H flag.
1750 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1752         [BZ #18641]
1753         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1755 2015-07-27  Andreas Schwab  <schwab@suse.de>
1757         * conform/conformtest.pl (checknamespace): Filter out string
1758         literals while tokenizing.
1760 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1762         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1763         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1764         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1766 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1768         * nptl/tst-join7mod.c: Add #include <string.h>.
1770 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1772         * sysdeps/nios2/libm-test-ulps: Update.
1774 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1776         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1777         Fix order of arguments to the rt_sigprocmask syscall.
1778         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1779         Likewise.
1781 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1783         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1785 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1787         [BZ #18457]
1788         * nptl/Makefile (tests): New test case tst-join7.
1789         (modules-names): New test case module tst-join7mod.
1790         * nptl/tst-join7.c: New file.
1791         * nptl/tst-join7mod.c: New file.
1792         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1793         all translation units in libc.so, libpthread.so and rtld.
1795 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1799 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1801         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1802         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1803         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1804         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1805         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1806         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1807         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1808         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1809         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1810         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1811         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1812         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1813         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1814         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1815         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1816         implementation.
1818 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1820         [BZ #17711]
1821         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1822         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1823         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1824         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1825         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1826         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1828 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1830         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1831         instead of just saying load lock in the comments.
1833 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1835         * sysdeps/unix/Subdirs: Moved ...
1836         * sysdeps/posix/Subdirs: ... here.
1837         * login/pty.h (struct termios, struct winsize): Add forward decls.
1838         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1839         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1840         * sysdeps/arm/nacl/libc.abilist: Updated.
1841         * sysdeps/nacl/libutil.abilist: New file.
1843         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1844         (SIGWINCH): New macro.
1846         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1847         * sysdeps/arm/nacl/libc.abilist: Add it.
1849 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1851         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1853 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1855         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1856         Swap __glibc_reserved0 and sa_flags order.
1858 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1860         [BZ #18657]
1861         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1862         are pending TLS destructor calls.
1863         * include/link.h (struct link_map): Add concurrency note for
1864         L_TLS_DTOR_COUNT.
1865         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1866         Don't touch the link map flag.  Atomically increment
1867         l_tls_dtor_count.
1868         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1869         Avoid taking the load lock and don't touch the link map flag.
1870         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1871         * stdlib/Makefile (tests): Use it.
1872         * stdlib/tst-tls-atexit.c (do_test): dlopen
1873         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1874         to allow tst-tls-atexit-nodelete test case to use it.
1876 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1878         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1879         to bits/types.h.
1880         (msgqnum_t): New typedef.
1881         (msglen_t): Likewise.
1882         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1883         and msg_qbytes type to msglen_t.
1885 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1887         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1888         pad0 to __glibc_reserved0.
1889         (struct stat64): Likewise.
1891 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1893         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1894         Change sa_flags from a long to an int and add __glibc_reserved0 before
1895         it for padding.
1897 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1899         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1900         anonymous by deleting "siginfo" name.
1902 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1904         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1905         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1906         rather than __nacl_irt_filename.
1907         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1909         * NEWS: New item for arm-nacl port.
1910         * sysdeps/arm/nacl/libc.abilist: New file.
1911         * sysdeps/nacl/ld.abilist: New file.
1912         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1913         * sysdeps/nacl/libanl.abilist: New file.
1914         * sysdeps/nacl/libcrypt.abilist: New file.
1915         * sysdeps/nacl/libdl.abilist: New file.
1916         * sysdeps/nacl/libm.abilist: New file.
1917         * sysdeps/nacl/libpthread.abilist: New file.
1918         * sysdeps/nacl/libresolv.abilist: New file.
1919         * sysdeps/nacl/librt.abilist: New file.
1921 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1923         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1924         __startcontext to initialize the new context.
1925         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1926         up CFI directive to forbid further backtracing.
1928 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1930         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1931         reference.
1932         * charmaps/ANSI_X3.4-1968: Likewise.
1933         * charmaps/BS_4730: Likewise.
1934         * charmaps/BS_VIEWDATA: Likewise.
1935         * charmaps/CP1250: Likewise.
1936         * charmaps/CP1251: Likewise.
1937         * charmaps/CP1252: Likewise.
1938         * charmaps/CP1253: Likewise.
1939         * charmaps/CP1254: Likewise.
1940         * charmaps/CP1255: Likewise.
1941         * charmaps/CP1256: Likewise.
1942         * charmaps/CSN_369103: Likewise.
1943         * charmaps/EBCDIC-DK-NO: Likewise.
1944         * charmaps/GB_1988-80: Likewise.
1945         * charmaps/GREEK-CCITT: Likewise.
1946         * charmaps/GREEK7: Likewise.
1947         * charmaps/INIS-8: Likewise.
1948         * charmaps/ISIRI-3342: Likewise.
1949         * charmaps/ISO_2033-1983: Likewise.
1950         * charmaps/ISO_5427-EXT: Likewise.
1951         * locales/POSIX: Likewise.
1952         * locales/ar_SA: Likewise.
1953         * locales/be_BY: Likewise.
1954         * locales/be_BY@latin: Likewise.
1955         * locales/ca_ES: Likewise.
1956         * locales/cs_CZ: Likewise.
1957         * locales/da_DK: Likewise.
1958         * locales/de_BE: Likewise.
1959         * locales/de_CH: Likewise.
1960         * locales/de_LU: Likewise.
1961         * locales/en_AU: Likewise.
1962         * locales/en_BW: Likewise.
1963         * locales/en_CA: Likewise.
1964         * locales/en_DK: Likewise.
1965         * locales/en_GB: Likewise.
1966         * locales/en_IE: Likewise.
1967         * locales/en_NZ: Likewise.
1968         * locales/en_ZA: Likewise.
1969         * locales/en_ZW: Likewise.
1970         * locales/es_AR: Likewise.
1971         * locales/es_BO: Likewise.
1972         * locales/es_CL: Likewise.
1973         * locales/es_CO: Likewise.
1974         * locales/es_DO: Likewise.
1975         * locales/es_EC: Likewise.
1976         * locales/es_ES: Likewise.
1977         * locales/es_HN: Likewise.
1978         * locales/es_MX: Likewise.
1979         * locales/es_PA: Likewise.
1980         * locales/es_PE: Likewise.
1981         * locales/es_PY: Likewise.
1982         * locales/es_SV: Likewise.
1983         * locales/es_US: Likewise.
1984         * locales/es_UY: Likewise.
1985         * locales/es_VE: Likewise.
1986         * locales/et_EE: Likewise.
1987         * locales/fa_IR: Likewise.
1988         * locales/fo_FO: Likewise.
1989         * locales/fr_CA: Likewise.
1990         * locales/fr_CH: Likewise.
1991         * locales/gv_GB: Likewise.
1992         * locales/he_IL: Likewise.
1993         * locales/hr_HR: Likewise.
1994         * locales/id_ID: Likewise.
1995         * locales/is_IS: Likewise.
1996         * locales/it_CH: Likewise.
1997         * locales/iw_IL: Likewise.
1998         * locales/kl_GL: Likewise.
1999         * locales/ko_KR: Likewise.
2000         * locales/kw_GB: Likewise.
2001         * locales/lg_UG: Likewise.
2002         * locales/lt_LT: Likewise.
2003         * locales/lv_LV: Likewise.
2004         * locales/mi_NZ: Likewise.
2005         * locales/nhn_MX: Likewise.
2006         * locales/nl_BE: Likewise.
2007         * locales/pl_PL: Likewise.
2008         * locales/sk_SK: Likewise.
2009         * locales/sl_SI: Likewise.
2010         * locales/sv_FI: Likewise.
2011         * locales/tl_PH: Likewise.
2012         * locales/tr_TR: Likewise.
2013         * locales/vi_VN: Likewise.
2015 2015-07-21  Khem Raj  <raj.khem@gmail.com>
2017         [BZ #17475]
2018         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2019         of tu_IN and bh_IN.
2021 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2023         [BZ #18694]
2024         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2025         bits/wordsize.h.
2026         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2028 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2030         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2031         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2032         (spawn_thread): New function.
2033         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2034         (do_test): ... here.  Use IS_LOADED to test for its
2035         availability.
2037 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2039         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2041 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2043         [BZ #18696]
2044         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2045         si_addr_bnd.
2046         (si_lower): New.
2047         (si_upper): Likewise.
2049 2015-07-16  David S. Miller  <davem@davemloft.net>
2051         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2053 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2055         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2056         buffer.
2057         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2058         fail output information.
2060 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2063         and strstr-ppc64..
2064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2065         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2066         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2067         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2068         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2070 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2072         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2073         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2074         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2075         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2077 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2079         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2080         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2081         rtld_hidden_proto.
2082         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2084 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2086         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2087         the test can fail.
2089         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2091         [BZ #18676]
2092         * elf/tst-nodelete-opened.c: New test case.
2093         * elf/tst-nodelete-opened-lib.c: New test case module.
2094         * elf/Makefile (tests, modules-names): Use them.
2095         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2096         early.
2098 2015-07-15  David S. Miller  <davem@davemloft.net>
2100         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2101         futex-intenal.h
2102         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2103         * sysdeps/sparc/sparc64/Makefile: Likewise.
2104         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2105         Remove space from macro define.
2106         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2108 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2110         [BZ #17475]
2111         * locale/iso-639.def: Update Bhili and Tulu language codes as
2112         per iso639-3.
2114 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2116         * elf/tst-leaks1.c (main): Converted to ...
2117         (do_test): ... this.
2118         (TEST_FUNCTION): New macro.
2119         Include test-skeleton.c.
2120         * localedata/tst-langinfo.c (main): Converted to ...
2121         (do_test): ... this.
2122         (TEST_FUNCTION): New macro.
2123         Include test-skeleton.c.
2124         * math/test-fpucw.c (main): Converted to ...
2125         (do_test): ... this.
2126         (TEST_FUNCTION): New macro.
2127         Include test-skeleton.c.
2128         * math/test-tgmath.c (main): Converted to ...
2129         (do_test): ... this.
2130         (TEST_FUNCTION): New macro.
2131         Include test-skeleton.c.
2132         * math/test-tgmath2.c (main): Converted to ...
2133         (do_test): ... this.
2134         (TEST_FUNCTION): New macro.
2135         Include test-skeleton.c.
2136         * setjmp/tst-setjmp.c (main): Converted to ...
2137         (do_test): ... this.
2138         (TEST_FUNCTION): New macro.
2139         Include test-skeleton.c.
2140         * stdio-common/tst-sscanf.c (main): Converted to ...
2141         (do_test): ... this.
2142         (TEST_FUNCTION): New macro.
2143         Include test-skeleton.c.
2144         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2145         (do_test): ... this.
2146         (TEST_FUNCTION): New macro.
2147         Include test-skeleton.c.
2149         * elf/tst-audit9.c (main): Converted to ...
2150         (do_test): ... this.
2151         (TEST_FUNCTION): New macro.
2152         Include test-skeleton.c.
2154 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2156         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2158 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2160         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2161         New variable.
2163 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2165         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2167 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2169         * sysdeps/generic/dl-fileid.h: New file.
2170         * sysdeps/posix/dl-fileid.h: New file.
2171         * sysdeps/nacl/dl-fileid.h: New file.
2172         * include/link.h: Include <dl-fileid.h>.
2173         (struct link_map): Replace l_dev and l_ino with l_file_id.
2174         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2175         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2176         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2178 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2180         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2182 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2184         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2185         Add iff $CXX is set.
2186         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2187         Likewise.
2188         (tst-nodelete-zmodiff): Likewise.
2189         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2191 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2193         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2195 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2197         * sysdeps/aarch64/fpu/math_private.h
2198         (define math_opt_barrier): Add AArch64 version.
2199         (math_force_eval): Likewise.
2201 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2203         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2205 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2207         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2208         %ld with %jd and cast to intmax_t.
2209         (do_test_length_zero): Likewise.
2211 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2213         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2215 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2217         * sysdeps/tile/libm-test-ulps: Regenerated.
2219         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2220         Comment out the whole function, not just its body.
2222 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2224         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2225         locks.
2227         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2229 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2231         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2232         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2234 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2236         * sysdeps/nptl/futex-internal.h: New file.
2237         * sysdeps/nacl/futex-internal.h: New file.
2238         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2239         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2240         error checking.
2241         (setxid_unmark_thread): Likewise.
2242         (__nptl_setxid): Likewise.
2243         (__wait_lookup_done): Likewise.
2244         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2245         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2246         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2247         * nptl/pthread_once.c (clear_once_control): Likewise.
2248         (__pthread_once_slow): Likewise.
2249         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2250         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2251         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2252         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2253         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2254         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2255         Likewise.
2256         (__pthread_rwlock_rdlock): Likewise.
2257         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2258         Likewise.
2259         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2260         Likewise.
2261         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2262         Likewise.
2263         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2264         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2265         Likewise.
2266         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2267         __ASSUME_PRIVATE_FUTEX check.
2268         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2269         Check that shared futexes are supported.
2270         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2271         wrappers with error checking.
2272         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2273         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2274         * nptl/pthread_barrierattr_setpshared.c
2275         (pthread_barrierattr_setpshared): Check that shared futexes are
2276         supported.
2277         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2278         Likewise.
2279         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2280         Likewise.
2281         * nptl/sem_init.c (futex_private_if_supported): Remove.
2282         (__new_sem_init): Adapt and check that shared futexes are supported.
2283         * nptl/sem_open.c (sem_open): Likewise.
2284         * nptl/sem_post.c (futex_wake): Remove.
2285         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2286         (do_futex_wait): Use futex wrappers with error checking.
2287         * nptl/sem_wait.c: Include lowlevellock.h.
2288         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2289         Use futex_supports_pshared.
2290         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2291         Use futex wrappers with error checking.
2292         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2293         Likewise.
2294         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2295         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2296         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2297         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2298         (futex_wake): Likewise.
2299         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2300         (do_futex_wait): Use futex wrappers with error checking.
2301         (__new_sem_wait_slow): Update EINTR handling.
2302         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2304 2015-07-09  Martin Sebor  <msebor@redhat.com>
2306         [BZ #18435]
2307         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2308         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2309         * nptl/Makefile (test-xfail-tst-once5): Define.
2311 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2313         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2314         * elf/dl-minimal.c: For readability, reorder some definitions and
2315         introduce more page breaks.  Include <stdio.h>.
2316         (__libc_fatal): New function.
2318         * include/unistd.h: Add rtld_hidden_proto for _exit.
2319         * posix/_exit.c: Add rtld_hidden_def.
2320         * sysdeps/mach/hurd/_exit.c: Likewise.
2321         * sysdeps/nacl/_exit.c: Likewise.
2322         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2323         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2325 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2327         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2328         bndmov encoding with zero displacement.
2330 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2331             H.J. Lu  <hongjiu.lu@intel.com>
2333         [BZ #18134]
2334         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2335         * sysdeps/i386/configure: Regenerated.
2336         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2337         (_dl_runtime_profile): Save and restore Intel MPX return bound
2338         registers when calling _dl_call_pltexit.  Add
2339         PRESERVE_BND_REGS_PREFIX before return.
2340         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2341         (LRV_BND1_OFFSET): Likewise.
2342         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2343         lrv_bnd1.
2344         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2345         typo in bndmov encoding.
2346         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2347         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2348         branch instructions to preserve bounds.
2350 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2353         [GLIBC_2.22]: Add fmemopen.
2355 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2357         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2358         returns an error, also try to use host port from __mach_host_self for
2359         the __vm_wire call.
2360         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2362 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2364         [BZ #18400]
2365         [BZ #18648]
2366         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2367         Fix pr_uid and pr_gid members.
2368         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2369         definition to elf_greg_t.
2371 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2373         [BZ #18383]
2374         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2375         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2376         * sysdeps/arm/configure: Regenerated.
2377         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2378         (test-xfail-tst-tlsalign-static): Variable removed.
2380         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2381         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2382         rather than explicit 'ln -s'.
2384         * resolv/rpc/netdb.h: New file.
2385         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2387 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2389         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2390         length buffers.
2391         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2392         test-skeleton.c.
2394         [BZ #6544]
2395         [BZ #11216]
2396         [BZ #12836]
2397         [BZ #13151]
2398         [BZ #13152]
2399         [BZ #14292]
2400         * include/stdio.h (fmemopen): Remove hidden prototype.
2401         (__fmemopen): Add new hidden prototype.
2402         * libio/Makefile: Add oldfmemopen object.
2403         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2404         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2405         compliance.
2406         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2407         symbol compatibility.
2408         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2409         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2410         fmemopen.
2411         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2412         on append and read mode.
2413         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2414         fmemopen.
2415         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2416         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2417         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2418         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2419         Likewise.
2420         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2421         [GLIBC_2.22]: Likewise.
2422         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2423         Likewise.
2424         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2425         Likewise.
2426         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2427         [GLIBC_2.22]: Likewise.
2428         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2429         [GLIBC_2.22]: Likewise.
2430         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2431         [GLIBC_2.22]: Likewise.
2432         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2433         [GLIBC_2.22]: Likewise.
2434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2435         [GLIBC_2.22]: Likewise.
2436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2437         [GLIBC_2.22]: Likewise.
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2439         [GLIBC_2.22]: Likewise.
2440         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2441         Likewise.
2442         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2443         Likewise.
2444         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2445         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2446         [GLIBC_2.22]: Likewise.
2447         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2448         [GLIBC_2.22]: Likewise.
2449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2450         [GLIBC_2.22]: Likewise.
2451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2452         [GLIBC_2.22]: Likewise.
2453         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2454         Likewise.
2455         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2456         Likewise.
2457         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2458         Likewise.
2459         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2460         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2462 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2464         [BZ #18643]
2465         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2466         IPV6_PATHMTU, and IPV6_DONTFRAG.
2468 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2470         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2471         and _IO_UNBUFFERED.
2472         * libio/oldfileops.c: Likewise.
2473         * libio/wfileops.c: Likewise.
2475 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2477         * nscd/selinux.c: Delete selinux/flask.h include.
2479 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2481         [BZ #18641]
2482         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2483         (putpwent): Likewise.
2484         (getpwnam): Likewise.
2485         (getpwent_r): Likewise.
2486         (getpwuid_r): Likewise.
2487         (getpwnam_r): Likewise.
2488         (fgetpwent_r): Likewise.
2490 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2492         [BZ #18557]
2493         * inet/rcmd.c (__validuser2_sa): Check user first to
2494         short-circuit host check.
2496 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2497             Mikhail Ilin  <m.ilin@samsung.com>
2499         [BZ #17833]
2500         * elf/Makefile (tests): Add tst-nodelete.
2501         (modules-names): Add tst-nodelete-uniquemod.
2502         (tst-nodelete-uniquemod.so-no-z-defs): New.
2503         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2504         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2505         ($(objpfx)tst-nodelete): Likewise.
2506         ($(objpfx)tst-nodelete.out): Likewise.
2507         (LDFLAGS-tst-nodelete): Likewise.
2508         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2509         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2510         implement forced object deletion.
2511         (_dl_close): Pass false to _dl_close_worker.
2512         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2513         * elf/tst-nodelete.cc: New file.
2514         * elf/tst-nodeletelib.cc: Likewise.
2515         * elf/tst-znodeletelib.cc: Likewise.
2516         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2518 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2520         [BZ #18508]
2521         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2522         Depend on $(libdl).
2523         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2524         is not called infinitely times.
2525         (backtrace_helper): New function.
2526         (trace_arg): New struct.
2527         (st1): Enlarge stack size.
2528         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2529         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2530         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2531         Likewise.
2533 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2535         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2537 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2539         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2540         Include sys/types.h instead of bits/types.h.
2541         Remove inclusion of bits/wordsize.h.
2543 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2545         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2546         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2547         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2548         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2549         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2550         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2552 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2554         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2555         link-defines.sym.
2556         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2557         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2558         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2559         and LR_SIZE.
2560         * sysdeps/i386/link-defines.sym: New file.
2562 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2564         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2565         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2566         ($(objpfx)tst-audit3): New rule.
2567         ($(objpfx)tst-audit3.out): Likewise.
2568         * sysdeps/i386/tst-audit3.c: New file.
2569         * sysdeps/i386/tst-audit3.h: Likewise.
2570         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2571         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2573 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2575         [BZ #18633]
2576         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2577         pointer in C code.
2578         (__strcat_c): Likewise.
2579         (__strcat_g): Likewise.
2581 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2583         [BZ #18592]
2584         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2586 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2588         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2589         New function.  (__ieee754_sqrtf): New function.
2590         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2591         New function.
2592         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2593         New function.
2595 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2597         * sysdeps/ieee754/support.c: Remove unused file.
2599 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2601         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2602         registers instead of d ones so the layout is kernel abi compatible.
2603         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2604         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2605         Likewise.
2607 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2609         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2611 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2613         [BZ #18619]
2614         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2615         and return argument in case of subnormal argument.
2617 2015-07-01  Martin Sebor  <msebor@redhat.com>
2619         [BZ #18435]
2620         * nptl/Makefile: Add tst-once5.cc.
2621         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2622         Remove macro redefinitions.
2623         * nptl/tst-once5.cc: New test.
2625 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2627         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2629         * sysdeps/arm/libm-test-ulps: Regenerated.
2631         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2632         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2634 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2636         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2637         lll_lock_wait_private and lll_futex_wake probes.
2639         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2640         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2641         Likewise.
2642         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2643         atomic_spin_nop.
2644         * sysdeps/x86_64/bits/atomic.h: Likewise.
2645         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2646         to atomic_spin_nop and move ...
2647         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2648         ... here and ...
2649         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2650         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2651         atomic_spin_nop instead of BUSY_WAIT_NOP.
2652         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2653         Likewise.
2654         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2655         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2656         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2657         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2658         instead of atomic_delay.
2660 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2662         [BZ #18613]
2663         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2664         X_ADJ not X when adjusting exponent.
2665         (__ieee754_gamma_r): Do intermediate computations in
2666         round-to-nearest then adjust overflowing and underflowing results
2667         as needed.
2668         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2669         of X_ADJ not X when adjusting exponent.
2670         (__ieee754_gammaf_r): Do intermediate computations in
2671         round-to-nearest then adjust overflowing and underflowing results
2672         as needed.
2673         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2674         log of X_ADJ not X when adjusting exponent.
2675         (__ieee754_gammal_r): Do intermediate computations in
2676         round-to-nearest then adjust overflowing and underflowing results
2677         as needed.  Use 1.0L not 1.0f as numerator of division.
2678         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2679         log of X_ADJ not X when adjusting exponent.
2680         (__ieee754_gammal_r): Do intermediate computations in
2681         round-to-nearest then adjust overflowing and underflowing results
2682         as needed.  Use 1.0L not 1.0f as numerator of division.
2683         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2684         of X_ADJ not X when adjusting exponent.
2685         (__ieee754_gammal_r): Do intermediate computations in
2686         round-to-nearest then adjust overflowing and underflowing results
2687         as needed.  Use 1.0L not 1.0f as numerator of division.
2688         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2689         to auto-libm-test-in.
2690         (tgamma_test): Use ALL_RM_TEST.
2691         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2692         tests of tgamma with spurious-overflow.
2693         * math/auto-libm-test-out: Regenerated.
2694         * math/gen-libm-have-vector-test.sh: Do not check for START.
2695         * sysdeps/i386/fpu/libm-test-ulps: Update.
2696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2698         [BZ #18612]
2699         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2700         arguments, just return 0.5 times the argument, with underflow
2701         forced as needed.
2702         * math/auto-libm-test-in: Add more tests of j1.
2703         * math/auto-libm-test-out: Regenerated.
2705         [BZ #16559]
2706         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2707         (__ieee754_j1): Force underflow exception for small results.
2708         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2709         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2710         (__ieee754_j1f): Force underflow exception for small results.
2711         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2712         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2713         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2714         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2715         (__ieee754_j1l): Force underflow exception for small results.
2716         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2717         * math/auto-libm-test-in: Add more tests of j1 and jn.
2718         * math/auto-libm-test-out: Regenerated.
2720         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2721         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2722         (PF_MPLS): Likewise.
2723         (AF_IB): Likewise.
2724         (AF_MPLS): Likewise.
2725         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2726         value and macro.
2727         (MS_RMT_MASK): Include MS_LAZYTIME.
2729 2015-06-26  Mel Gorman  <mgorman@suse.de>
2731         [BZ #18502]
2732         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2733         already minimal.
2735 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2737         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2738         (DT_MIPS_NUM): Update.
2739         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2740         DT_MIPS_RLD_MAP_REL.
2742 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2744         [BZ #16559]
2745         [BZ #18602]
2746         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2747         round-to-nearest internally then recompute results that
2748         underflowed to zero in the original rounding mode.
2749         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2750         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2752         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2753         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2754         * sysdeps/i386/fpu/libm-test-ulps: Update.
2755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2757 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2759         * NEWS: Fixed description of link with vector math library.
2761 2015-06-25  Andreas Schwab  <schwab@suse.de>
2763         [BZ #18549]
2764         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2765         * libio/test-fmemopen.c (do_test): Add test for it.
2767 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2769         [BZ #17841]
2770         * Makeconfig (no-pie-ldflag): New.
2771         (+link): Set to $(+link-pie) if default to PIE.
2772         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2773         * config.make.in (build-pie-default): New.
2774         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2775         is default.  AC_SUBST.
2776         * configure: Regenerated.
2777         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2779 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2781         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2782         to 'unsigned int'.
2784         * resolv/gai_misc.h (struct waitlist): Change type of field
2785         counterp to 'volatile unsigned int *'.
2786         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2787         FUTEXADDR and OLDVAL.
2788         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2789         Give local variable TOTAL type 'volatile unsigned int'.
2790         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2791         * resolv/gai_suspend.c (gai_suspend):
2792         Give local variable CNTR type 'unsigned int'.
2794         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2795         counterp to 'volatile unsigned int *'.
2796         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2797         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2798         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2799         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2800         Give local variable TOTAL type 'volatile unsigned int'.
2801         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2803 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2805         [BZ #18383]
2806         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2807         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2808         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2809         comment for i386/x86-64.
2810         (test-xfail-tst-tlsalign-extern-static): Removed.
2812 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2814         * math/test-double.h: New file.
2815         * math/test-float.h: Likewise.
2816         * math/test-ldouble.h: Likewise.
2817         * math/test-math-inline.h: Likewise.
2818         * math/test-math-no-inline.h: Likewise.
2819         * math/test-math-scalar.h: Likewise.
2820         * math/test-math-vector.h: Likewise.
2821         * math/test-vec-loop.h: Remove file.  Contents moved into
2822         test-math-vector.h.
2823         * math/libm-test.inc (MATHCONST): Do not document macro.
2824         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2825         and test-math-scalar.h.
2826         (FUNC): Remove macro.
2827         (FUNC_TEST): Likewise.
2828         (FLOAT): Likewise.
2829         (MATHCONST): Likewise.
2830         (PRINTF_EXPR): Likewise.
2831         (PRINTF_XEXPR): Likewise.
2832         (PRINTF_NEXPR): Likewise.
2833         (TEST_DOUBLE): Likewise.
2834         (TEST_MATHVEC): Likewise.
2835         (__NO_MATH_INLINES): Likewise.
2836         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2837         and test-math-scalar.h.
2838         (FUNC): Remove macro.
2839         (FUNC_TEST): Likewise.
2840         (FLOAT): Likewise.
2841         (MATHCONST): Likewise.
2842         (PRINTF_EXPR): Likewise.
2843         (PRINTF_XEXPR): Likewise.
2844         (PRINTF_NEXPR): Likewise.
2845         (TEST_FLOAT): Likewise.
2846         (TEST_MATHVEC): Likewise.
2847         (__NO_MATH_INLINES): Likewise.
2848         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2849         and test-math-scalar.h.
2850         (FUNC): Remove macro.
2851         (FUNC_TEST): Likewise.
2852         (FLOAT): Likewise.
2853         (MATHCONST): Likewise.
2854         (PRINTF_EXPR): Likewise.
2855         (PRINTF_XEXPR): Likewise.
2856         (PRINTF_NEXPR): Likewise.
2857         (TEST_DOUBLE): Likewise.
2858         (TEST_MATHVEC): Likewise.
2859         (TEST_INLINE): Likewise.
2860         (__NO_MATH_INLINES): Likewise.
2861         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2862         test-math-scalar.h.
2863         (FUNC): Remove macro.
2864         (FUNC_TEST): Likewise.
2865         (FLOAT): Likewise.
2866         (MATHCONST): Likewise.
2867         (PRINTF_EXPR): Likewise.
2868         (PRINTF_XEXPR): Likewise.
2869         (PRINTF_NEXPR): Likewise.
2870         (TEST_FLOAT): Likewise.
2871         (TEST_MATHVEC): Likewise.
2872         (TEST_INLINE): Likewise.
2873         (__NO_MATH_INLINES): Likewise.
2874         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2875         and test-math-scalar.h.
2876         (FUNC): Remove macro.
2877         (FUNC_TEST): Likewise.
2878         (FLOAT): Likewise.
2879         (MATHCONST): Likewise.
2880         (PRINTF_EXPR): Likewise.
2881         (PRINTF_XEXPR): Likewise.
2882         (PRINTF_NEXPR): Likewise.
2883         (TEST_LDOUBLE): Likewise.
2884         (TEST_MATHVEC): Likewise.
2885         (TEST_INLINE): Likewise.
2886         (__NO_MATH_INLINES): Likewise.
2887         * math/test-ldouble.c: Include test-ldouble.h,
2888         test-math-no-inline.h and test-math-scalar.h.
2889         (FUNC): Remove macro.
2890         (FUNC_TEST): Likewise.
2891         (FLOAT): Likewise.
2892         (MATHCONST): Likewise.
2893         (PRINTF_EXPR): Likewise.
2894         (PRINTF_XEXPR): Likewise.
2895         (PRINTF_NEXPR): Likewise.
2896         (TEST_LDOUBLE): Likewise.
2897         (TEST_MATHVEC): Likewise.
2898         (__NO_MATH_INLINES): Likewise.
2899         * math/test-double-vlen2.h: Include test-double.h,
2900         test-math-no-inline.h and test-math-vector.h.
2901         (FLOAT): Remove macro.
2902         (FUNC): Likewise.
2903         (MATHCONST): Likewise.
2904         (PRINTF_EXPR): Likewise.
2905         (PRINTF_XEXPR): Likewise.
2906         (PRINTF_NEXPR): Likewise.
2907         (TEST_DOUBLE): Likewise.
2908         (TEST_MATHVEC): Likewise.
2909         (__NO_MATH_INLINES): Likewise.
2910         (CNCT): Likewise.
2911         (CONCAT): Likewise.
2912         (WRAPPER_NAME): Likewise.
2913         (WRAPPER_DECL): Likewise.
2914         (WRAPPER_DECL_ff): Likewise.
2915         (WRAPPER_DECL_fFF): Likewise.
2916         (VECTOR_WRAPPER): Likewise.
2917         (VECTOR_WRAPPER_ff): Likewise.
2918         (VECTOR_WRAPPER_fFF): Likewise.
2919         (VEC_LEN): New macro.
2920         * math/test-double-vlen4.h: Include test-double.h,
2921         test-math-no-inline.h and test-math-vector.h.
2922         (FLOAT): Remove macro.
2923         (FUNC): Likewise.
2924         (MATHCONST): Likewise.
2925         (PRINTF_EXPR): Likewise.
2926         (PRINTF_XEXPR): Likewise.
2927         (PRINTF_NEXPR): Likewise.
2928         (TEST_DOUBLE): Likewise.
2929         (TEST_MATHVEC): Likewise.
2930         (__NO_MATH_INLINES): Likewise.
2931         (CNCT): Likewise.
2932         (CONCAT): Likewise.
2933         (WRAPPER_NAME): Likewise.
2934         (WRAPPER_DECL): Likewise.
2935         (WRAPPER_DECL_ff): Likewise.
2936         (WRAPPER_DECL_fFF): Likewise.
2937         (VECTOR_WRAPPER): Likewise.
2938         (VECTOR_WRAPPER_ff): Likewise.
2939         (VECTOR_WRAPPER_fFF): Likewise.
2940         (VEC_LEN): New macro.
2941         * math/test-double-vlen8.h: Include test-double.h,
2942         test-math-no-inline.h and test-math-vector.h.
2943         (FLOAT): Remove macro.
2944         (FUNC): Likewise.
2945         (MATHCONST): Likewise.
2946         (PRINTF_EXPR): Likewise.
2947         (PRINTF_XEXPR): Likewise.
2948         (PRINTF_NEXPR): Likewise.
2949         (TEST_DOUBLE): Likewise.
2950         (TEST_MATHVEC): Likewise.
2951         (__NO_MATH_INLINES): Likewise.
2952         (CNCT): Likewise.
2953         (CONCAT): Likewise.
2954         (WRAPPER_NAME): Likewise.
2955         (WRAPPER_DECL): Likewise.
2956         (WRAPPER_DECL_ff): Likewise.
2957         (WRAPPER_DECL_fFF): Likewise.
2958         (VECTOR_WRAPPER): Likewise.
2959         (VECTOR_WRAPPER_ff): Likewise.
2960         (VECTOR_WRAPPER_fFF): Likewise.
2961         (VEC_LEN): New macro.
2962         * math/test-float-vlen4.h: Include test-float.h,
2963         test-math-no-inline.h and test-math-vector.h.
2964         (FLOAT): Remove macro.
2965         (FUNC): Likewise.
2966         (MATHCONST): Likewise.
2967         (PRINTF_EXPR): Likewise.
2968         (PRINTF_XEXPR): Likewise.
2969         (PRINTF_NEXPR): Likewise.
2970         (TEST_FLOAT): Likewise.
2971         (TEST_MATHVEC): Likewise.
2972         (__NO_MATH_INLINES): Likewise.
2973         (CNCT): Likewise.
2974         (CONCAT): Likewise.
2975         (WRAPPER_NAME): Likewise.
2976         (WRAPPER_DECL): Likewise.
2977         (WRAPPER_DECL_ff): Likewise.
2978         (WRAPPER_DECL_fFF): Likewise.
2979         (VECTOR_WRAPPER): Likewise.
2980         (VECTOR_WRAPPER_ff): Likewise.
2981         (VECTOR_WRAPPER_fFF): Likewise.
2982         (VEC_LEN): New macro.
2983         * math/test-float-vlen8.h: Include test-float.h,
2984         test-math-no-inline.h and test-math-vector.h.
2985         (FLOAT): Remove macro.
2986         (FUNC): Likewise.
2987         (MATHCONST): Likewise.
2988         (PRINTF_EXPR): Likewise.
2989         (PRINTF_XEXPR): Likewise.
2990         (PRINTF_NEXPR): Likewise.
2991         (TEST_FLOAT): Likewise.
2992         (TEST_MATHVEC): Likewise.
2993         (__NO_MATH_INLINES): Likewise.
2994         (CNCT): Likewise.
2995         (CONCAT): Likewise.
2996         (WRAPPER_NAME): Likewise.
2997         (WRAPPER_DECL): Likewise.
2998         (WRAPPER_DECL_ff): Likewise.
2999         (WRAPPER_DECL_fFF): Likewise.
3000         (VECTOR_WRAPPER): Likewise.
3001         (VECTOR_WRAPPER_ff): Likewise.
3002         (VECTOR_WRAPPER_fFF): Likewise.
3003         (VEC_LEN): New macro.
3004         * math/test-float-vlen16.h: Include test-float.h,
3005         test-math-no-inline.h and test-math-vector.h.
3006         (FLOAT): Remove macro.
3007         (FUNC): Likewise.
3008         (MATHCONST): Likewise.
3009         (PRINTF_EXPR): Likewise.
3010         (PRINTF_XEXPR): Likewise.
3011         (PRINTF_NEXPR): Likewise.
3012         (TEST_FLOAT): Likewise.
3013         (TEST_MATHVEC): Likewise.
3014         (__NO_MATH_INLINES): Likewise.
3015         (CNCT): Likewise.
3016         (CONCAT): Likewise.
3017         (WRAPPER_NAME): Likewise.
3018         (WRAPPER_DECL): Likewise.
3019         (WRAPPER_DECL_ff): Likewise.
3020         (WRAPPER_DECL_fFF): Likewise.
3021         (VECTOR_WRAPPER): Likewise.
3022         (VECTOR_WRAPPER_ff): Likewise.
3023         (VECTOR_WRAPPER_fFF): Likewise.
3024         (VEC_LEN): New macro.
3025         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3026         test-vec-loop.h.
3027         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3028         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3029         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3030         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3031         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3032         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3033         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3035 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3037         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3038         (__getlogin_r): ... this.
3040 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3042         [BZ #18594]
3043         * math/s_ccosh.c (__ccosh): Compare with least normal value
3044         instead of comparing class with FP_SUBNORMAL.
3045         * math/s_ccoshf.c (__ccoshf): Likewise.
3046         * math/s_ccoshl.c (__ccoshl): Likewise.
3047         * math/s_cexp.c (__cexp): Likewise.
3048         * math/s_cexpf.c (__cexpf): Likewise.
3049         * math/s_cexpl.c (__cexpl): Likewise.
3050         * math/s_csin.c (__csin): Likewise.
3051         * math/s_csinf.c (__csinf): Likewise.
3052         * math/s_csinh.c (__csinh): Likewise.
3053         * math/s_csinhf.c (__csinhf): Likewise.
3054         * math/s_csinhl.c (__csinhl): Likewise.
3055         * math/s_csinl.c (__csinl): Likewise.
3056         * math/s_ctan.c (__ctan): Likewise.
3057         * math/s_ctanf.c (__ctanf): Likewise.
3058         * math/s_ctanh.c (__ctanh): Likewise.
3059         * math/s_ctanhf.c (__ctanhf): Likewise.
3060         * math/s_ctanhl.c (__ctanhl): Likewise.
3061         * math/s_ctanl.c (__ctanl): Likewise.
3062         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3063         csin, csinh, ctan and ctanh.
3064         * math/auto-libm-test-out: Regenerated.
3065         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3066         * sysdeps/i386/fpu/libm-test-ulps: Update.
3067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3069 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3071         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3072         return value is wrong, print the expected value too.
3074 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3076         [BZ #18585]
3077         * elf/readlib.c (is_gdb_python_file): New.
3078         (process_file): Don't issue errors on filenames with -gdb.py
3079         suffix.
3081 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3083         * math/auto-libm-test-in: Add more tests of csin and csinh.
3084         * math/auto-libm-test-out: Regenerated.
3085         * math/libm-test.inc (csin_test_data): Remove tests moved to
3086         auto-libm-test-in.
3087         (csinh_test_data): Likewise.
3089         [BZ #18593]
3090         * math/s_csin.c (__csin): Negate before rather than after possibly
3091         overflowing multiplication.
3092         * math/s_csinf.c (__csinf): Likewise.
3093         * math/s_csinh.c (__csinh): Likewise.
3094         * math/s_csinhf.c (__csinhf): Likewise.
3095         * math/s_csinhl.c (__csinhl): Likewise.
3096         * math/s_csinl.c (__csinl): Likewise.
3097         * math/auto-libm-test-in: Add some tests of csin and csinh.
3098         * math/auto-libm-test-out: Regenerated.
3099         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3100         (csinh_test_data): Likewise.
3101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3103         [BZ #18586]
3104         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3105         underflow exception for small results.
3107 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3109         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3110         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3111         variable and included header.
3112         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3113         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3114         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3115         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3117         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3118         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3119         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3120         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3121         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3122         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3123         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3124         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3125         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3126         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3127         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3129 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3131         [BZ #16526]
3132         [BZ #16538]
3133         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3134         (__sin): Force underflow exception for arguments with small
3135         absolute value.
3136         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3137         (__kernel_sinf): Force underflow exception for arguments with
3138         small absolute value.
3139         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3140         (__kernel_sincosl): Force underflow exception for arguments with
3141         small absolute value.
3142         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3143         (__kernel_sinl): Force underflow exception for arguments with
3144         small absolute value.
3145         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3146         (__kernel_sincosl): Force underflow exception for arguments with
3147         small absolute value.
3148         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3149         (__kernel_sinl): Force underflow exception for arguments with
3150         small absolute value.
3151         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3152         (__kernel_sinl): Force underflow exception for arguments with
3153         small absolute value.
3154         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3155         (__kernel_sinf): Force underflow exception for arguments with
3156         small absolute value.
3157         * math/auto-libm-test-in: Add more tests of sin and sincos.
3158         * math/auto-libm-test-out: Regenerated.
3160         [BZ #18245]
3161         [BZ #18583]
3162         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3163         (__kernel_standard_l): Use feholdexcept and fesetenv around
3164         conversion to double instead of special-casing overflow and
3165         underflow.
3166         * math/libm-test.inc (fmod_test_data): Add more tests.
3167         (remainder_test_data): Likewise.
3168         (sqrt_test_data): Likewise.
3170 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3172         [BZ #17403]
3173         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3174         atomic_read_barrier, atomic_write_barrier): Define.
3175         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3176         atomic_read_barrier, atomic_write_barrier): Define.
3178 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3180         * math/Makefile [$(PERL) != no]
3181         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3182         dependency on libm-test.stmp below the inclusion of Rules.
3184 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3186         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3187         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3188         and included header.
3189         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3190         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3191         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3192         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3193         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3194         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3195         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3196         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3197         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3198         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3199         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3200         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3201         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3202         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3203         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3204         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3205         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3206         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3207         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3209 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3211         [BZ #18371]
3212         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3213         intermediate but not final result might underflow.
3214         * math/s_csqrtf.c (__csqrtf): Likewise.
3215         * math/s_csqrtl.c (__csqrtl): Likewise.
3216         * math/auto-libm-test-in: Add more tests of csqrt.
3217         * math/auto-libm-test-out: Regenerated.
3218         * sysdeps/i386/fpu/libm-test-ulps: Update.
3220         [BZ #18219]
3221         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3222         threshold on absolute value of exponent for which scaling is used.
3223         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3224         * math/auto-libm-test-in: Add more tests of exp2.
3225         * math/auto-libm-test-out: Regenerated.
3227 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3229         [BZ #17977]
3230         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3231         when initializing interface list, based on the bug analysis
3232         and the patch proposed by Eric Newton.
3233         * resolv/tst-res_hconf_reorder.c: New test.
3234         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3235         tst-res_hconf_reorder.
3236         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3237         and $(shared-thread-library).
3238         (tst-res_hconf_reorder-ENV): New variable.
3240         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3241         in comment.
3243 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3245         [BZ #16353]
3246         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3247         (__expm1): Force underflow exception for arguments with small
3248         absolute value.
3249         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3250         (__expm1f): Force underflow exception for arguments with small
3251         absolute value.
3252         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3253         (__expm1): Force underflow exception for arguments with small
3254         absolute value.
3255         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3256         (__expm1f): Force underflow exception for arguments with small
3257         absolute value.
3258         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3259         Check for small arguments before calling __expm1.
3260         * math/auto-libm-test-in: Do not mark underflow exceptions as
3261         possibly missing for bug 16353.
3262         * math/auto-libm-test-out: Regenerated.
3264 2015-06-22  Andreas Schwab  <schwab@suse.de>
3266         [BZ #18513]
3267         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3268         PTR queries.
3270 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3272         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3274         * string/strcoll_l.c: Remove unused struct element idxnow.
3276 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3278         [BZ #18569]
3279         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3280         underflow and return argument in case of subnormal argument.
3281         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3282         Likewise.
3283         * math/auto-libm-test-in: Add more tests of expm1.
3284         * math/auto-libm-test-out: Regenerated.
3286         [BZ #16361]
3287         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3288         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3289         tiny results.
3290         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3291         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3292         tiny results.
3293         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3294         mark underflow exceptions as possibly missing for bug 16361.
3295         * math/auto-libm-test-out: Regenerated.
3297 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3299         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3300         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3301         Remove variable.
3302         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3303         (test-xfail-XOPEN2K8/utmpx.h/conform).
3305         * conform/conformtest.pl ($xerrors): New variable.
3306         (note_error): New function.
3307         (compiletest): New argument $xfail.  Use not_error.
3308         (runtest): Likewise.
3309         (top level): Handle xfail- lines.  Update calls to compiletest and
3310         runtest.  Handle xfail- and optional- in headers listed with
3311         allow-header.
3312         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3313         (O_EXEC): Likewise.
3314         (O_SEARCH): Likewise.
3315         * conform/data/stropts.h-data (ioctl): Likewise.
3316         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3317         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3318         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3319         (msghdr.msg_controllen): Likewise.
3320         (cmsghdr.cmsg_len): Likewise.
3321         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3322         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3323         variable.
3324         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3325         (test-xfail-XPG4/stropts.h/conform): Likewise.
3326         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3327         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3328         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3329         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3330         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3331         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3332         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3333         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3334         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3335         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3336         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3337         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3338         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3339         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3340         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3341         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3342         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3343         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3344         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3346 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3348         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3349         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3350         definitions for proper unfolding of __MATHDECL_VEC.
3352 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3354         * benchtests/bench-strcoll.c:
3355         Include string.h.
3356         (main): Remove unused variable res.
3358 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3360         * timezone/Makefile (%/UTC %/Universal):
3361         Generate test-result files for UTC and Universal.
3363 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3365         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3367 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3369         [BZ #16350]
3370         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3371         for arguments with small absolute value.
3372         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3373         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3374         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3375         (__asinh): Force underflow exception for arguments with small
3376         absolute value.
3377         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3378         (__asinhf): Force underflow exception for arguments with small
3379         absolute value.
3380         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3381         (__asinhl): Force underflow exception for arguments with small
3382         absolute value.
3383         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3384         (__asinhl): Force underflow exception for arguments with small
3385         absolute value.
3386         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3387         (__asinhl): Force underflow exception for arguments with small
3388         absolute value.
3389         * math/auto-libm-test-in: Do not mark underflow exceptions as
3390         possibly missing for bug 16350.
3391         * math/auto-libm-test-out: Regenerated.
3393         * include/bits/ipc.h: Remove file.
3394         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3395         variable.
3396         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3397         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3398         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3399         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3400         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3401         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3402         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3403         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3404         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3406         * math/auto-libm-test-in: Remove spurious underflow allowance for
3407         tests of cexp.
3408         * math/auto-libm-test-out: Regenerated.
3410         [BZ #18558]
3411         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3412         unconditional definition.
3413         (MCAST_BLOCK_SOURCE): Likewise.
3414         (MCAST_UNBLOCK_SOURCE): Likewise.
3415         (MCAST_LEAVE_GROUP): Likewise.
3416         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3417         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3418         (MCAST_MSFILTER): Likewise.
3419         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3420         Remove variable.
3421         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3422         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3423         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3424         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3425         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3427 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3429         * NEWS: Mention addition of x86_64 vector sincosf.
3430         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3431         * math/test-float-vlen4.h: Likewise.
3432         * math/test-float-vlen8.h: Likewise.
3433         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3434         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3435         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3436         * sysdeps/x86_64/fpu/Versions: New versions added.
3437         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3438         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3439         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3440         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3441         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3443         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3444         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3445         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3446         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3447         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3448         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3449         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3450         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3451         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3452         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3453         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3454         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3455         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3456         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3457         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3458         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3459         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3460         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3462         * NEWS: Mention addition of x86_64 vector sincos.
3463         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3464         * math/math.h (__MATHDECL_VEC): New macro.
3465         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3466         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3467         declaration under condition.
3468         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3469         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3470         TEST_VEC_LOOP change.
3471         * math/test-double-vlen4.h: Likewise.
3472         * math/test-double-vlen8.h: Likewise.
3473         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3474         * math/test-float-vlen4.h: Likewise.
3475         * math/test-float-vlen8.h: Likewise.
3476         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3477         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3478         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3479         * sysdeps/x86_64/fpu/Versions: New versions added.
3480         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3481         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3482         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3483         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3484         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3485         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3486         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3487         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3488         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3489         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3490         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3491         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3492         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3493         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3494         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3495         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3496         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3497         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3498         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3499         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3500         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3501         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3502         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3503         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3505         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3506         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3507         redirections for powf.
3508         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3509         * sysdeps/x86_64/fpu/Versions: New versions added.
3510         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3511         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3512         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3513         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3514         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3515         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3516         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3517         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3518         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3519         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3520         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3521         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3522         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3523         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3524         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3525         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3526         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3527         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3528         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3529         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3530         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3531         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3532         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3533         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3534         * math/test-float-vlen16.h: Fixed 2 argument macro.
3535         * math/test-float-vlen4.h: Likewise.
3536         * math/test-float-vlen8.h: Likewise.
3537         * NEWS: Mention addition of x86_64 vector powf.
3539 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3541         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3542         and redefine.
3543         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3544         and redefine.
3545         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3546         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3547         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3549         [BZ #18553]
3550         * resource/getpriority.c (getpriority): Rename to __getpriority
3551         and define as weak alias of __getpriority.
3552         * resource/setpriority.c (setpriority): Rename to __setpriority
3553         and define as weak alias of __setpriority.
3554         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3555         __getpriority and define as weak alias of __getpriority.
3556         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3557         __setpriority and define as weak alias of __setpriority.
3558         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3559         strong name.
3560         (setpriority): Use __setpriority as strong name.
3561         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3562         __getpriority and define as weak alias of __getpriority.
3563         * include/sys/resource.h (__getpriority): Declare.  Use
3564         libc_hidden_proto.
3565         (__setpriority): Likewise.
3566         (getpriority): Don't use libc_hidden_proto.
3567         (setpriority): Likewise.
3568         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3569         getpriority.  Call __setpriority instead of setpriority.
3570         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3571         Remove variable.
3573         [BZ #18547]
3574         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3575         as weak alias of __getttynam.  Use prototype function definition.
3576         Call __setttyent, __getttyent and __endttyent instead of
3577         setttyent, getttyent and endttyent.
3578         (getttyent): Rename to __getttyent and define as weak alias of
3579         __getttyent.  Call __setttyent instead of setttyent.  Call
3580         __fgets_unlocked instead of fgets_unlocked.
3581         (setttyent): Rename to __setttyent and define as weak alias of
3582         __setttyent.
3583         (endttyent): Rename to __endttyent and define as weak alias of
3584         __endttyent.
3585         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3586         (__setttyent): Likewise.
3587         (__endttyent): Likewise.
3588         (getttyent): Don't use libc_hidden_proto.
3589         (setttyent): Likewise.
3590         (endttyent): Likewise.
3591         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3592         __endttyent instead of setttyent, getttyent and endttyent.
3593         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3594         Remove variable.
3596         [BZ #18546]
3597         * socket/recv.c (__recv): Use libc_hidden_def.
3598         * socket/socket.c (__socket): Likewise.
3599         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3600         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3601         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3602         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3603         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3604         libc_hidden_def.
3605         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3606         libc_hidden_weak.
3607         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3608         Use libc_hidden_proto.
3609         (__recv): Likewise.
3610         * socket/Versions (libc): Export __recv and __socket at version
3611         GLIBC_PRIVATE.
3612         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3613         instead of recv.
3614         (init_mq_netlink): Call __socket instead of socket.
3615         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3616         Remove variable.
3618         [BZ #18545]
3619         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3620         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3621         hidden_weak.
3622         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3623         define as alias of __mq_timedsend.  Use hidden_weak.
3624         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3625         __mq_timedsend as strong name.
3626         (mq_timedreceive): Use __mq_timedreceive as strong name.
3627         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3628         (__mq_timedreceive): Likewise.
3629         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3630         __mq_timedreceive instead of mq_timedreceive.
3631         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3632         instead of mq_timedsend.
3633         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3634         Remove variable.
3636         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3637         hidden_def and hidden_weak instead of libc_hidden_def and
3638         libc_hidden_weak.
3639         (top level): Refer to hidden_def in comment.
3640         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3641         macro.  Use it instead of libc_hidden_def.
3642         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3643         specify __GI_* name explicitly.
3644         (mq_timedreceive): Likewise.
3645         (mq_setattr): Likewise.
3647         [BZ #18544]
3648         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3649         __pthread_barrier_init and define as weak alias of
3650         __pthread_barrier_init.
3651         * sysdeps/sparc/nptl/pthread_barrier_init.c
3652         (pthread_barrier_init): Likewise.
3653         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3654         __pthread_barrier_wait and define as weak alias of
3655         __pthread_barrier_wait.
3656         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3657         (pthread_barrier_wait): Likewise.
3658         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3659         (pthread_barrier_wait): Likewise.
3660         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3661         (pthread_barrier_wait): Likewise.
3662         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3663         (pthread_barrier_wait): Likewise.
3664         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3665         __pthread_barrier_wait at version GLIBC_PRIVATE.
3666         * include/pthread.h (__pthread_barrier_init): Declare.
3667         (__pthread_barrier_wait): Likewise.
3668         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3669         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3670         (helper_thread): Likewise.
3671         (init_mq_netlink): Call __pthread_barrier_init instead of
3672         pthread_barrier_init.
3674         [BZ #18542]
3675         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3676         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3677         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3678         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3679         vswscanf.
3680         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3681         Remove variable.
3683         [BZ #18540]
3684         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3685         strong alias of _IO_fflush.  Use libc_hidden_def.
3686         * libio/iofflush_u.c (fflush_unlocked): Rename to
3687         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3688         Use libc_hidden_weak.
3689         * include/stdio.h (__fflush_unlocked): Declare.  Use
3690         libc_hidden_proto.
3691         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3692         fflush_unlocked.
3693         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3694         Remove variable.
3696         [BZ #18539]
3697         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3698         define as weak alias of __addseverity.
3699         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3700         Remove variable.
3701         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3702         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3703         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3705         [BZ #18536]
3706         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3707         (__tfind): Likewise.
3708         (__tdelete): Likewise.
3709         (__twalk): Likewise.
3710         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3711         __twalk to GLIBC_PRIVATE.
3712         * include/search.h (__tsearch): Use libc_hidden_proto.
3713         (__tfind): Likewise.
3714         (__tdelete): Likewise.
3715         (__twalk): Likewise.
3716         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3717         Call __tdelete instead of tdelete.
3718         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3719         tfind.  Call __tsearch instead of tsearch.
3720         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3721         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3722         Remove variable.
3723         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3725         [BZ #18534]
3726         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3727         (dprintf): Define as a weak alias of __dprintf, not a strong
3728         alias.
3729         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3730         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3731         dprintf.
3732         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3733         Remove variable.
3734         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3735         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3737         [BZ #18533]
3738         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3739         not a strong alias.
3740         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3741         Remove variable.
3743         [BZ #18532]
3744         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3745         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3746         (in6addr_loopback): Rename to __in6addr_loopback and define as
3747         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3748         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3749         libc_hidden_proto.
3750         (__in6addr_any): Likewise.
3751         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3752         in6addr_any.
3753         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3754         variable.
3755         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3757 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3759         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3760         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3761         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3762         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3763         redirections for pow.
3764         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3765         * sysdeps/x86_64/fpu/Versions: New versions added.
3766         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3767         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3768         build of SSE, AVX2 and AVX512 IFUNC versions.
3769         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3770         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3771         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3772         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3773         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3774         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3775         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3776         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3777         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3778         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3779         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3780         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3781         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3782         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3783         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3784         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3785         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3786         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3787         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3788         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3789         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3790         * NEWS: Mention addition of x86_64 vector pow.
3792         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3793         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3794         redirections for expf.
3795         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3796         * sysdeps/x86_64/fpu/Versions: New versions added.
3797         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3798         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3799         build of SSE, AVX2 and AVX512 IFUNC versions.
3800         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3801         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3802         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3803         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3804         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3805         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3806         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3807         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3808         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3809         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3810         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3811         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3812         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3813         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3814         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3815         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3816         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3817         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3818         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3819         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3820         * NEWS: Mention addition of x86_64 vector expf.
3822         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3823         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3824         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3825         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3826         redirections for exp.
3827         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3828         * sysdeps/x86_64/fpu/Versions: New versions added.
3829         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3830         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3831         build of SSE, AVX2 and AVX512 IFUNC versions.
3832         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3833         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3834         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3835         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3836         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3837         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3838         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3839         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3840         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3841         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3842         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3843         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3844         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3845         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3846         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3847         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3848         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3849         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3850         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3851         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3852         * NEWS: Mention addition of x86_64 vector exp.
3854         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3855         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3856         redirections for logf.
3857         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3858         * sysdeps/x86_64/fpu/Versions: New versions added.
3859         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3860         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3861         build of SSE, AVX2 and AVX512 IFUNC versions.
3862         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3863         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3864         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3865         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3866         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3867         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3868         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3869         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3870         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3871         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3872         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3873         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3874         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3875         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3876         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3877         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3878         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3879         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3880         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3881         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3882         * NEWS: Mention addition of x86_64 vector logf.
3884         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3885         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3886         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3887         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3888         redirections for log.
3889         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3890         * sysdeps/x86_64/fpu/Versions: New versions added.
3891         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3892         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3893         build of SSE, AVX2 and AVX512 IFUNC versions.
3894         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3895         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3896         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3897         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3898         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3899         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3900         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3901         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3902         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3903         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3904         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3905         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3906         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3907         test.
3908         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3909         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3910         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3911         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3912         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3913         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3914         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3915         * NEWS: Mention addition of x86_64 vector log.
3917 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3919         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3920         cfi_adjust_cfa_offset argument.
3921         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3922         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3924         [BZ #18034]
3925         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3926         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3927         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3928         ordering using ldar.
3929         (_dl_tlsdesc_dynamic): Likewise.
3930         (_dl_tlsdesc_return_lazy): Likewise.
3931         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3932         relaxed atomics instead of volatile and synchronize with release store.
3933         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3934         volatile.
3935         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3937 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3939         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3940         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3941         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3942         * sysdeps/x86_64/fpu/Versions: New versions added.
3943         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3944         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3945         build of SSE, AVX2 and AVX512 IFUNC versions.
3946         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3947         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3948         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3949         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3950         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3951         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3952         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3953         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3954         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3955         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3956         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3957         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3958         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3959         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3960         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3961         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3962         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3964         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3965         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3966         * NEWS: Mention addition of x86_64 vector sinf.
3968 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3970         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3971         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3972         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3973         Remove variable.
3974         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3975         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3977 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3979         [BZ #18530]
3980         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3981         strong alias of _IO_fputs.  Use libc_hidden_def.
3982         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3983         and define as weak alias of __fputs_unlocked.  Use
3984         libc_hidden_weak.
3985         * include/stdio.h (__fputs_unlocked): Declare.  Use
3986         libc_hidden_proto.
3987         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3988         fputs_unlocked.
3990         [BZ #18529]
3991         * resolv/netdb.h [__USE_POSIX]: Change condition to
3992         [__USE_XOPEN2K].
3993         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3994         not expect.
3995         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3996         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3997         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3998         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3999         [XPG4 || UNIX98] (AI_ALL): Likewise.
4000         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4001         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4002         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4003         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4004         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4005         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4006         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4007         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4008         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4009         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4010         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4011         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4012         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4013         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4014         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4015         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4016         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4017         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4018         [XPG4 || UNIX98] (gai_strerror): Likewise.
4019         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4020         [XPG4 || UNIX98] (getnameinfo): Likewise.
4022         [BZ #18528]
4023         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4024         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4025         __USE_XOPEN2K8].
4026         (getgrent): Likewise.
4027         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4028         expect.
4029         [XPG3 || POSIX2008] (endgrent): Likewise.
4030         [XPG3] (setgrent): Likewise.
4031         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4032         variable.
4033         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4035         [BZ #18527]
4036         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4037         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4038         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4039         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4040         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4041         * include/unistd.h (__getlogin_r): Declare.  Use
4042         libc_hidden_proto.
4043         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4044         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4045         variable.
4046         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4047         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4048         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4050 2015-06-12  Martin Sebor  <msebor@redhat.com>
4052         [BZ #18512]
4053         * Makerules (check-install-supported): New target.
4054         (install): Add check-install-supported as a dependency.
4055         * manual/install.texi (Installing the C Library): Document
4056         that overriding prefix and exec_prefix is not supported.
4057         Mention DESTDIR.
4058         * INSTALL: Regenerate from the above.
4060 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4062         [BZ #18519]
4063         * posix/Versions (libc): Export __libc_pread at version
4064         GLIBC_PRIVATE.
4065         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4066         instead of pread.
4067         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4068         variable.
4070         [BZ #18522]
4071         * misc/efgcvt_r.c
4072         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4073         (cvt_symbol): Use weak_alias instead of strong_alias.
4074         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4075         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4076         Remove variable.
4077         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4078         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4080         [BZ #18520]
4081         * inet/herrno.c (h_errno): Rename to __h_errno.
4082         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4083         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4084         to __h_errno instead of h_errno.
4085         * nptl/herrno.c (h_errno): Rename to __h_errno.
4086         (__h_errno_location): Refer to __h_errno not h_errno.
4087         * resolv/Versions (h_errno): Rename to __h_errno.
4088         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4089         Remove variable.
4090         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4092 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4094         * configure.ac: More strict check for AVX512 assembler support.
4095         * configure: Regenerated.
4097         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4098         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4099         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4100         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4101         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4102         * sysdeps/x86_64/fpu/Versions: New versions added.
4103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4104         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4105         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4106         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4107         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4108         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4109         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4110         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4111         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4112         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4113         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4114         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4115         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4116         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4117         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4118         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4119         test.
4120         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4121         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4122         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4123         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4124         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4125         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4126         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4127         * NEWS: Mention addition of x86_64 vector sin.
4129 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4131         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4132         comment.
4134 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4136         [BZ #18479]
4137         * nptl/pt-interp.c: New file.
4138         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4139         Add pt-interp.
4140         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4141         $(common-objpfx)runtime-linker.h.
4143 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4145         * Makeconfig (+interp): Remove unused variable.
4146         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4147         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4148         $(elf-objpfx)runtime-linker.h.
4149         ($(elf-objpfx)runtime-linker.h): Rename to
4150         $(common-objpfx)runtime-linker.h and move ...
4151         * Makerules [$(build-shared) = yes]: ... here.
4152         * elf/interp.c: Include <runtime-linker.h> instead of
4153         <elf/runtime-linker.h>.
4155 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4157         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4158         (__gettimeofday_syscall): Remove vsyscall fallback.
4159         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4160         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4161         Add syscall fallback function.
4162         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4163         if vDSO is not present.
4164         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4165         fallback function.
4166         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4167         present.
4168         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4169         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4171 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4173         [BZ #18497]
4174         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4175         of wcscmp.
4176         (wcscmp): Define as weak alias of WCSCMP.
4177         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4178         wcscoll.
4179         (USE_HIDDEN_DEF): Define.
4180         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4181         __wcscoll.  Don't use libc_hidden_weak.
4182         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4183         wcscmp.
4184         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4185         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4186         __GI_wcscmp.
4187         (weak_alias): Undefine and redefine.
4188         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4189         __wcscmp and define as weak alias of __wcscmp.
4190         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4191         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4192         (__wcscoll): Likewise.
4193         (wcscmp): Don't use libc_hidden_proto.
4194         (wcscoll): Likewise.
4195         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4196         wcscoll.
4197         * posix/regexec.c (check_node_accept_bytes): Likewise.
4198         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4199         variable.
4200         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4201         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4203         [BZ #18507]
4204         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4205         __fstatvfs and define as weak alias of __fstatvfs.  Use
4206         libc_hidden_weak.
4207         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4208         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4209         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4210         Define as alias of __fstatvfs, not fstatvfs.
4211         (fstatvfs64): Likewise.
4212         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4213         Define as alias of __statvfs, not statvfs.
4214         (statvfs64): Likewise.
4215         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4216         Remove variable.
4218 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4221         (HAVE_GETCPU_VSYSCALL): Define.
4222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4223         (HAVE_GETCPU_VSYSCALL): Likewise.
4224         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4225         * sysdeps/unix/sysv/linux/sched_getcpu.c
4226         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4227         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4228         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4229         prototype.
4230         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4231         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4232         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4234         Define.
4235         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4236         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4237         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4238         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4240 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4242         * sysdeps/x86_64/fpu/Makefile: New file.
4243         * sysdeps/x86_64/fpu/Versions: New file.
4244         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4245         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4246         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4247         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4248         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4249         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4250         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4251         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4252         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4253         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4254         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4255         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4256         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4257         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4258         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4259         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4260         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4261         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4262         * sysdeps/x86_64/configure: Regenerated.
4263         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4264         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4265         * manual/install.texi (Configuring and compiling): Document
4266         --disable-mathvec.
4267         * INSTALL: Regenerated.
4268         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4270         * math/Makefile: Added rules for vector tests.
4271         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4272         declaration under condition.
4273         * math/test-double-vlen2.h: New file.
4274         * math/test-double-vlen4.h: New file.
4275         * math/test-double-vlen8.h: New file.
4276         * math/test-vec-loop.h: Added initialization macro.
4277         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4278         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4279         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4280         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4281         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4282         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4283         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4284         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4285         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4286         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4287         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4289         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4290         * sysdeps/x86_64/fpu/Versions: New versions added.
4291         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4292         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4293         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4294         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4295         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4296         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4297         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4298         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4299         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4300         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4301         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4302         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4303         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4304         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4305         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4306         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4307         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4308         * NEWS: Mention addition of x86_64 vector cosf.
4310         * math/Makefile: Added CFLAGS for new tests.
4311         * math/test-float-vlen16.h: New file.
4312         * math/test-float-vlen4.h: New file.
4313         * math/test-float-vlen8.h: New file.
4314         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4315         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4316         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4317         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4318         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4319         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4320         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4321         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4322         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4323         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4324         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4326 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4328         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4329         * locale/programs/ld-ctype.c: Likewise.
4331 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4333         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4334         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4335         bit_ZMM16_31_state): New macro.
4336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4337         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4339 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4341         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4343 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4345         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4347 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4349         [BZ #18498]
4350         * libio/memstream.c (open_memstream): Rename to __open_memstream
4351         and define as weak alias of __open_memstream.
4352         * include/stdio.h (__open_memstream): Declare.  Use
4353         libc_hidden_proto.
4354         (open_memstream): Don't use libc_hidden_proto.
4355         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4356         open_memstream.
4357         * posix/getopt.c (_getopt_internal_r): Likewise.
4358         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4359         variable.
4360         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4361         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4362         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4364         [BZ #18496]
4365         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4366         instead of wcrtomb.
4368         [BZ #18483]
4369         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4370         [__USE_XOPEN2K8].  Remove redundant #endif.
4371         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4372         Remove redundant #if.
4373         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4374         Remove variable.
4375         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4376         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4378         [BZ #18495]
4379         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4380         (__iswlower): Likewise.
4381         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4382         (__iswlower): Likewise.
4383         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4384         instead of towlower.
4385         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4386         instead of iswlower.  Call __towupper instead of towupper.
4387         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4388         instead of iswalnum.
4390 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4392         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4393         errors to stderr.
4395 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4397         [BZ #15661]
4398         [BZ #17322]
4399         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4400         Check for overflow properly.  Check for O_APPEND.  Ignore large
4401         file system block sizes.  Add comments about problems.
4402         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4403         * manual/filesys.texi (Storage Allocation): New node.
4405 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4407         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4408         cancellable syscalls.
4409         (SYS_ify): Add guard to no redefine it.
4410         (INLINE_SYSCALL): Likewise.
4411         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4412         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4413         SYSCALL_CANCEL instead.
4414         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4415         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4416         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4417         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4418         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4419         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4420         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4421         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4422         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4423         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4424         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4425         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4426         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4427         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4428         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4429         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4430         Likewise.
4431         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4432         (__libc_pread64): Likewise.
4433         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4434         (__libc_preadv): Likewise.
4435         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4436         (__libc_readv64): Likewise.
4437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4438         (__libc_pwrite): Likewise.
4439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4440         (__libc_pwrite64): Likewise.
4441         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4442         (__libc_pwritev): Likewise.
4443         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4444         (__libc_pwritev64): Likewise.
4445         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4446         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4447         (sync_file_range): Likewise.
4448         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4449         Likewise.
4450         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4451         Likewise.
4452         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4453         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4454         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4455         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4456         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4457         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4458         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4459         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4461         Likewise.
4462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4463         (__libc_read64): Likewise.
4464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4465         Likewise.
4466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4467         Likewise.
4468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4469         Likewise.
4470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4471         Likewise.
4472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4473         (__libc_pread64): Likewise.
4474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4475         Likewise.
4476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4477         (__libc_pwrite64): Likewise.
4478         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4479         (sync_file_range): Likewise.
4480         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4481         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4482         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4483         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4484         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4485         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4486         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4487         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4488         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4489         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4490         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4491         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4492         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4493         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4494         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4495         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4496         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4497         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4498         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4499         Likewise.
4500         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4501         Likewise.
4502         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4503         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4504         Likewise.
4505         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4506         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4507         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4508         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4509         Likewise.
4510         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4511         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4512         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4513         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4514         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4516 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4518         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4519         Include dl-vdso.
4520         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4521         Use VDSO routines for gettimeofday, clock_gettime if
4522         available.
4523         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4524         Declare VDSO symbols.
4525         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4526         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4527         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4528         * sysdeps/unix/sysv/linux/arm/Versions: Add
4529         __vdso_clock_gettime.
4531 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4533         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4534         be an inline implementation regardless of library is built within.
4535         (open_not_cancel_2): Likewise.
4536         (__read_nocancel): Likewise.
4537         (__write_nocancel): Likewise.
4538         (openat_not_cancel): Likewise.
4539         (openat_not_cancel_3): Likewise.
4540         (openat64_not_cancel): Likewise.
4541         (openat64_not_cancel_3): Likewise.
4542         (__close_nocancel): Likewise.
4543         (pause_not_cancel): Likewise.
4544         (nanosleep_not_cancel): Likewise.
4545         (sigsuspend_not_cancel): Likewise.
4547 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4549         [BZ #14958]
4550         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4551         wake-up.
4552         (__pthread_rwlock_rdlock_slow): Likewise.
4553         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4554         Likewise.
4555         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4556         Likewise.
4557         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4558         * nptl/tst-rwlock16.c: New file.
4559         * nptl/Makefile (tests): Add new test.
4561 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4563         [BZ #18324]
4564         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4565         missing wake-up of readers.
4566         * nptl/tst-rwlock15.c: New file.
4567         * nptl/Makefile (tests): Add new test.
4569 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4571         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4572         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4573         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4574         and __nacl_supply_interface_rtld.
4575         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4576         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4577         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4578         Add __nacl_supply_interface_rtld.
4579         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4581 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4583         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4584         isfinite.
4585         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4586         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4588 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4590         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4591         __signbit* with standard C99 macros.
4592         * math/e_exp10l.c: Likewise.
4593         * math/e_exp2l.c: Likewise.
4594         * math/e_scalb.c: Likewise.
4595         * math/e_scalbf.c: Likewise.
4596         * math/e_scalbl.c: Likewise.
4597         * math/s_ldexp.c: Likewise.
4598         * math/s_ldexpf.c: Likewise.
4599         * math/s_ldexpl.c: Likewise.
4600         * math/w_atan2.c: Likewise.
4601         * math/w_atan2f.c: Likewise.
4602         * math/w_atan2l.c: Likewise.
4603         * math/w_cosh.c: Likewise.
4604         * math/w_coshf.c: Likewise.
4605         * math/w_coshl.c: Likewise.
4606         * math/w_exp10.c: Likewise.
4607         * math/w_exp10f.c: Likewise.
4608         * math/w_exp10l.c: Likewise.
4609         * math/w_exp2.c: Likewise.
4610         * math/w_exp2f.c: Likewise.
4611         * math/w_exp2l.c: Likewise.
4612         * math/w_fmod.c: Likewise.
4613         * math/w_fmodf.c: Likewise.
4614         * math/w_fmodl.c: Likewise.
4615         * math/w_hypot.c: Likewise.
4616         * math/w_hypotf.c: Likewise.
4617         * math/w_hypotl.c: Likewise.
4618         * math/w_jnl.c: Likewise.
4619         * math/w_lgamma.c: Likewise.
4620         * math/w_lgamma_r.c: Likewise.
4621         * math/w_lgammaf.c: Likewise.
4622         * math/w_lgammaf_r.c: Likewise.
4623         * math/w_lgammal.c: Likewise.
4624         * math/w_lgammal_r.c: Likewise.
4625         * math/w_pow.c: Likewise.
4626         * math/w_powf.c: Likewise.
4627         * math/w_powl.c: Likewise.
4628         * math/w_remainder.c: Likewise.
4629         * math/w_remainderf.c: Likewise.
4630         * math/w_remainderl.c: Likewise.
4631         * math/w_scalb.c: Likewise.
4632         * math/w_scalbf.c: Likewise.
4633         * math/w_scalbl.c: Likewise.
4634         * math/w_scalbln.c: Likewise.
4635         * math/w_scalblnf.c: Likewise.
4636         * math/w_scalblnl.c: Likewise.
4637         * math/w_sinh.c: Likewise.
4638         * math/w_sinhf.c: Likewise.
4639         * math/w_sinhl.c: Likewise.
4640         * math/w_tgamma.c: Likewise.
4641         * math/w_tgammaf.c: Likewise.
4642         * math/w_tgammal.c: Likewise.
4643         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4644         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4645         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4646         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4647         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4648         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4649         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4650         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4651         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4652         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4653         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4654         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4655         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4656         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4657         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4658         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4659         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4660         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4661         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4662         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4663         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4664         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4665         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4666         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4667         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4668         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4669         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4670         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4671         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4672         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4673         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4674         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4675         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4676         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4677         * stdio-common/printf_fp.c: Likewise.
4678         * stdio-common/printf_fphex.c: Likewise.
4679         * stdio-common/printf_size.c: Likewise.
4681 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4683         [BZ #18470]
4684         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4685         strnlen.
4686         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4687         Remove variable.
4688         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4689         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4690         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4691         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4692         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4693         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4694         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4695         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4696         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4697         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4699         [BZ #18468]
4700         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4701         weak alias of __wmemchr.  Use libc_hidden_weak.
4702         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4703         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4704         instead of wmemchr.
4706 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4708         [BZ #18383]
4709         * elf/tst-tlsalign-extern.c: New file.
4710         * elf/tst-tlsalign-extern-static.c: New file.
4711         * elf/tst-tlsalign-vars.c: New file.
4712         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4713         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4714         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4715         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4716         (test-xfail-tst-tlsalign-extern-static): New variable.
4718 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4720         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4721         Use variable name _sc_err instead of err.
4722         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4723         instead of ret.
4724         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4725         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4726         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4727         (INLINE_SYSCALL): Likewise.
4729         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4730         * include/string.h (__strnlen): Use libc_hidden_proto.
4731         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4732         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4733         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4734         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4735         (libc_hidden_def): Undefine and redefine.
4736         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4737         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4738         __GI_strnlen.
4739         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4740         libc_hidden_def.
4741         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4743         [BZ #18469]
4744         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4745         weak alias of __towlower.  Use libc_hidden_weak.
4746         (towupper): Rename to __towupper and define as weak alias of
4747         __towupper.  Use libc_hidden_weak.
4748         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4749         (__towupper): Likewise.
4750         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4751         __towlower instead of towlower.
4753 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4755         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4756         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4758 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4760         * sysdeps/aarch64/libm-test-ulps: Update.
4762 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4764         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4765         Define.
4766         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4767         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4768         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4769         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4770         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4771         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4772         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4774 2015-06-01  Martin Sebor  <msebor@redhat.com>
4776         [BZ #18116]
4777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4778         (__setcontext): Use extended four-operand version of mtsf whenever
4779         possible.
4780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4781         (__novec_swapcontext): Likewise.
4783 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4785         * benchtests/scripts/compare_bench.py: New file.
4786         * benchtests/scripts/import_bench.py (mean): New function.
4787         (split_list): Likewise.
4788         (do_for_all_timings): Likewise.
4789         (compress_timings): Likewise.
4791         * benchtests/scripts/import_bench.py: New file.
4792         * benchtests/scripts/validate_benchout.py: Import import_bench
4793         instead of jsonschema.
4794         (validate_bench): Remove function.
4795         (main): Use import_bench.
4797 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4799         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4800         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4802 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4806 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4808         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4809         set THREAD_SELF->tid to a magic value and futex-wake it.
4810         Pass its address to the thread_exit system call.
4811         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4812         bit is clear.
4813         * sysdeps/nacl/lowlevellock.h: New file.
4814         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4816         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4817         Add TIMEOUT to current time, don't subtract it.
4819 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4821         [BZ #2981]
4822         [BZ #18422]
4823         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4824         ($(objpfx)tst-audit2.out): Also depend on
4825         $(objpfx)tst-auditmod9b.so.
4826         * elf/tst-audit2.c: Include <dlfcn.h>.
4827         (calloc_called): New.
4828         (calloc): Allow to be called more than once.
4829         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4831 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4833         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4834         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4836 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4838         * stdlib/monetary.h: Fix comment.
4840 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4842         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4843         Avoid using variables in #defines that might cause shadowing.
4844         (INTERNAL_VSYSCALL_CALL): Likewise.
4846 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4848         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4850         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4851         * nptl/lll_timedlock_wait.c: ... to this new file.
4852         * nptl/Makefile (libpthread-routines): Add it.
4853         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4854         * nptl/lll_timedwait_tid.c: ... to this new file.
4855         * nptl/Makefile (libpthread-routines): Add it.
4856         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4857         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4858         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4859         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4860         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4861         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4862         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4863         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4864         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4865         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4867 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4869         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4870         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4871         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4872         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4873         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4874         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4875         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4876         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4877         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4878         * sysdeps/unix/sysv/linux/tile/sysdep.h
4879         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4880         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4881         using vDSO syscall macro.
4883 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4885         [BZ #17293]
4886         * uk_UA: Fix sorting order for Ukrainian locale
4888 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4890         * stdlib/monetary.h: Fix comment.
4892 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4894         [BZ #18234]
4895         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4896         st_mtim and st_ctim members.
4897         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4898         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4899         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4900         (struct stat64): Likewise.
4901         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4902         (struct stat64): Likewise.
4903         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4904         (struct stat64): Likewise.
4906 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4908         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4909         Define and include sysdep-vdso.h.
4910         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4911         Likewise.
4912         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4913         Likewise.
4914         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4915         Define with VDSO_SYMBOL and use PTR_MANGLE.
4916         (__vdso_clock_gettime): Likewise.
4917         (__vdso_clock_getres): Likewise.
4918         (_libc_vdso_platform_setup): Likewise.
4919         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4920         Likewise.
4921         (_libc_vdso_platform_setup): Likewise.
4922         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4923         Likewise.
4924         (__vdso_clock_gettime): Likewise.
4925         (__vdso_clock_getres): Likewise.
4926         (__vdso_get_tbfreq): Likewise.
4927         (__vdso_getcpu): Likewise.
4928         (__vdso_time): Likewise.
4929         (__vdso_sigtramp_rt64): Likewise.
4930         (__vdso_signtramp32): Likewise.
4931         (__vdso_sigtramp_rt32): Likewise.
4932         (_libc_vdso_platform_setup): Likewise.
4933         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4934         Likewise.
4935         (__vdso_clock_gettime): Likewise.
4936         (__vdso_clock_getres): Likewise.
4937         (_libc_vdso_platform_setup): Likewise.
4938         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4939         Likewise.
4940         (__vdso_clock_gettime): Likewise.
4941         (_libc_vdso_platform_setup): Likewise.
4942         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4943         Likewise.
4944         (__vdso_getcpu): Likewise.
4945         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4946         Use VDSO_SYMBOL macro to define.
4947         (__vdso_clock_gettime): Likewise.
4948         (__vdso_clock_getres): Likewise.
4949         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4950         Likewise.
4951         (__vdso_clock_gettime): Likewise.
4952         (__vdso_clock_getres): Likewise.
4953         (__vdso_get_tbfreq): Likewise.
4954         (__vdso_getcpu): Likewise.
4955         (__vdso_time): Likewise.
4956         (__vdso_sigtramp_rt64): Likewise.
4957         (__vdso_signtramp32): Likewise.
4958         (__vdso_sigtramp_rt32): Likewise.
4959         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4960         Likewise.
4961         (__vdso_clock_gettime): Likewise.
4962         (__vdso_clock_getres): Likewise.
4963         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4964         Likewise.
4965         (__vdso_clock_gettime): Likewise.
4966         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4967         Likewise.
4968         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4969         macro.
4970         (INTERNAL_VSYSCALL): Likewise.
4971         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4972         Remove macro.
4973         (INTERNAL_VSYSCALL): Likewise.
4974         (INTERNAL_VSYSCALL_NCS): Likewise.
4975         (INTERNAL_VSYSCALL_CALL): New macro.
4976         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4977         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4978         Likewise.
4979         (INTERNAL_VSYSCALL): Likewise.
4980         (INTERNAL_VSYSCALL_NCS): Likewise.
4981         (INTERNAL_VSYSCALL_CALL): New macro.
4982         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4984         (INLINE_VSYSCALL): Remove macro.
4985         (INTERNAL_VSYSCALL): Remove macro.
4986         (INTERNAL_VSYSCALL_NCS): Remove macro.
4987         (INTERNAL_VSYSCALL_CALL): New macro.
4988         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4989         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4990         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4991         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4992         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4994         (INLINE_VSYSCALL): Remove macro.
4995         (INTERNAL_VSYSCALL): Likewise.
4996         (INTERNAL_VSYSCALL_NCS): Likewise.
4997         (INTERNAL_VSYSCALL_CALL): New macro.
4998         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4999         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5000         PTR_DEMANGLE on vDSO pointer.
5001         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5002         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5003         macro.
5004         (INTERNAL_SYSCALL): Likewise.
5005         (INTERNAL_VSYSCALL_NCS): Remove macro.
5006         (INTERNAL_VSYSCALL_CALL): New macro.
5007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5008         Remove macro.
5009         (INTERNAL_VSYSCALL): Likewise.
5010         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5011         sysdep-vdso.h instead of libc-vdso.h.
5012         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5013         definition.
5014         (INLINE_VSYSCALL): Likewise.
5015         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5016         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5017         definition.
5018         (INLINE_VSYSCALL): Likewise.
5019         (INTERNAL_VSYSCALL): Likewise.
5020         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5021         * sysdeps/unix/sysv/linux/timespec_get.c
5022         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5023         (timespec_get): Use ANSI prototype.
5024         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5025         and definition for Linux.
5027 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5029         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5030         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5032 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5034         [BZ #2981]
5035         [BZ #18410]
5036         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5037         for missing DT_PLTRELSZ.
5039 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5041         Remove obsolete aliases that broke 'locale -a'
5042         [BZ #18412]
5043         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5044         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5045         breaking some applications that use 'locale -a' output.
5046         Change the encoding of this file from Latin-1 to ASCII to avoid
5047         other potential problems with people grepping this file.
5049 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5051         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5052         -fasynchronous-unwind-tables.
5053         (CFLAGS-sendto.c): Likewise.
5054         (CFLAGS-sendmsg.c): Likewise.
5055         (CFLAGS-connect.c): Likewise.
5056         (CFLAGS-recvmsg.c): Likewise.
5057         (CFLAGS-recvfrom.c): Likewise.
5058         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5059         (SOCKETCALL): New macro: non-cancellable socketcall.
5060         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5061         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5062         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5063         * sysdeps/unix/sysv/linux/accept.c: New file.
5064         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5065         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5066         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5067         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5068         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5069         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5070         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5071         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5072         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5073         * sysdeps/unix/sysv/linux/send.c: Likewise.
5074         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5075         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5076         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5077         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5078         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5079         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5080         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5081         prototype.
5082         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5083         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5084         instead of __internal_xxx function.
5085         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5086         prototype.
5087         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5088         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5089         instead of __internal_xxx function.
5090         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5091         prototype.
5092         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5093         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5094         instead of __internal_xxx function.
5095         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5096         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5097         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5098         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5099         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5100         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5101         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5102         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5103         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5104         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5105         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5106         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5107         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5108         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5109         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5110         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5111         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5112         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5113         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5114         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5117         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5118         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5119         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5120         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5121         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5122         * sysdeps/unix/sysv/linux/send.S: Likewise.
5123         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5124         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5125         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5126         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5127         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5128         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5129         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5130         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5131         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5132         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5133         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5134         socketcall is implemented in GLIBC.
5136 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5138         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5139         (__fma): Ignore uninitialized warnings around packing.
5140         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5141         (__fmaf): Ignore uninitialized warnings around packing.
5142         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5143         (__fmal): Ignore uninitialized warnings around packing.
5145         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5146         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5147         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5148         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5150         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5151         switch statement into default case.
5152         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5154         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5155         a conditional in forcing "inexact".
5156         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5157         Likewise.
5159 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5161         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5162         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5163         for each INTERNAL_SYSCALL use.
5165 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5167         [BZ #438]
5168         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5169         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5170         variable.
5172         [BZ #18444]
5173         * string/basename.c (basename): Rename to __basename and define as
5174         weak alias of __basename.  Use libc_hidden_weak.
5175         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5176         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5177         __basename instead of basename.
5178         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5179         Remove variable.
5180         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5182 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5184         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5185         (_IO_JUMPS_FILE_plus): New.
5186         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5187         _IO_CAST_FIELD_ACCESS.
5188         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5189         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5190         * libio/freopen.c (freopen): Likewise.
5191         * libio/freopen64.c (freopen64): Likewise.
5192         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5193         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5194         * libio/iofwide.c (_IO_fwide): Likewise.
5195         * libio/memstream.c (open_memstream): Likewise.
5196         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5197         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5198         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5200 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5202         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5203         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5204         NADJ.
5205         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5206         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5207         NADJ.
5208         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5209         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5210         NADJ.
5212         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5213         (p == 4) case.
5215         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5216         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5217         Remove variable.
5218         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5219         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5220         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5222 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5224         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5225         Adjust jump table label generation macros.
5227 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5229         * stdio-common/vfprintf.c (vfprintf): Move local variables
5230         args_malloced, specs, specs_malloced, and the code after
5231         do_positional to the printf_positional function.
5232         (printf_positional): New function.
5234 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5236         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5237         function.
5238         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5239         STEP4_TABLE, process_arg): Move macro definitions
5240         out of the vfprintf function.  (Cosmetic change only.)
5242 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5244         * benchtests/Makefile (stdio-common-bench): Define.
5245         (benchset): Add stdio-common-bench.
5246         * sprintf-inputs: New file.
5247         * sprintf-source.c: New file.
5249 2015-05-21  Andreas Schwab  <schwab@suse.de>
5251         [BZ #13028]
5252         [BZ #17053]
5253         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5254         of struct __res_state.
5255         * resolv/res_send.c (__libc_res_nsend): Likewise.
5256         (get_nsaddr): New function.
5257         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5258         statp directly.
5260 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5262         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5263         -D_POSIX_C_SOURCE=199506L.
5265         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5267         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5268         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5269         Do not mention otherwise.
5270         [POSIX] (_XOPEN_VERSION): Do not expect.
5271         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5272         [POSIX] (_POSIX2_C_BIND): Likewise.
5273         [POSIX] (_POSIX2_VERSION): Likewise.
5274         [POSIX] (_XOPEN_XPG2): Likewise.
5275         [POSIX] (_XOPEN_XPG3): Likewise.
5276         [POSIX] (_XOPEN_XPG4): Likewise.
5277         [POSIX] (_XOPEN_UNIX): Likewise.
5278         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5279         [POSIX] (_POSIX_BARRIERS): Likewise.
5280         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5281         [POSIX] (_POSIX_CPUTIME): Likewise.
5282         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5283         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5284         [POSIX] (_POSIX_SHELL): Likewise.
5285         [POSIX] (_POSIX_SPAWN): Likewise.
5286         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5287         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5288         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5289         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5290         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5291         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5292         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5293         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5294         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5295         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5296         [POSIX] (_POSIX2_PBS): Likewise.
5297         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5298         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5299         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5300         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5301         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5302         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5303         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5304         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5305         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5306         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5307         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5308         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5309         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5310         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5311         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5312         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5313         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5314         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5315         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5316         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5317         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5318         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5319         [POSIX] (_SC_2_C_BIND): Likewise.
5320         [POSIX] (_SC_2_C_VERSION): Likewise.
5321         [POSIX] (_SC_2_PBS): Likewise.
5322         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5323         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5324         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5325         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5326         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5327         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5328         [POSIX] (_SC_BARRIERS): Likewise.
5329         [POSIX] (_SC_BASE): Likewise.
5330         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5331         [POSIX] (_SC_DEVICE_IO): Likewise.
5332         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5333         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5334         [POSIX] (_SC_FD_MGMT): Likewise.
5335         [POSIX] (_SC_FIFO): Likewise.
5336         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5337         [POSIX] (_SC_FILE_LOCKING): Likewise.
5338         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5339         [POSIX] (_SC_IOV_MAX): Likewise.
5340         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5341         [POSIX] (_SC_NETWORKING): Likewise.
5342         [POSIX] (_SC_PAGE_SIZE): Likewise.
5343         [POSIX] (_SC_PASS_MAX): Likewise.
5344         [POSIX] (_SC_PIPE): Likewise.
5345         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5346         [POSIX] (_SC_REGEXP): Likewise.
5347         [POSIX] (_SC_SHELL): Likewise.
5348         [POSIX] (_SC_SIGNALS): Likewise.
5349         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5350         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5351         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5352         [POSIX] (_SC_USER_GROUPS): Likewise.
5353         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5354         [POSIX] (_SC_STREAMS): Likewise.
5355         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5356         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5357         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5358         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5359         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5360         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5361         [POSIX] (_PC_FILESIZEBITS): Likewise.
5362         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5363         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5364         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5365         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5366         [POSIX] (uid_t): Likewise.
5367         [POSIX] (gid_t): Likewise.
5368         [POSIX] (off_t): Likewise.
5369         [POSIX] (pid_t): Likewise.
5370         [POSIX] (cuserid): Allow.
5371         (_SC_2_CHAR_TERM): Require constant.
5372         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5373         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5374         variable.
5376 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5378         * sysdeps/nacl/pthread-pids.h: New file.
5379         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5380         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5382         * nptl/pthread-pids.h: New file.
5383         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5384         * nptl/nptl-init.c: Include <pthread-pids.h>.
5385         (__pthread_initialize_minimal_internal):
5386         Call __pthread_initialize_pids instead of set_tid_address syscall.
5388         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5389         * sysdeps/posix/usleep.c: ... here.
5391 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5393         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5394         call_pselect6 object.
5395         [$(subdir) = io]: Remove call_sync_file_range object.
5396         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5397         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5398         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5399         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5401 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5403         * math/s_cproj.c: Add include "math_private.h".
5404         * math/s_cprojf.c: Likewise.
5405         * math/s_cprojl.c: Likewise.
5407 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5409         [BZ #18244]
5410         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5411         high mantissa bit when testing whether P is a NaN.
5412         * math/libm-test.inc (remainder_test_data): Add more tests.
5413         (remquo_test_data): Likewise.
5415         [BZ #18049]
5416         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5417         below -32, return the argument, with underflow if subnormal.
5418         * math/auto-libm-test-in: Add more tests of atanh.
5419         * math/auto-libm-test-out: Regenerated.
5421 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5423         [BZ #18434]
5424         * nptl/tst-sem15.c: New file.
5425         * nptl/Makefile (tests): Add it.
5426         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5427         s/<</>>/ to fix typo in EOVERFLOW check.
5428         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5430 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5432         * manual/strings.texi (envz_remove): Fix typo in safety
5433         annotations.
5435 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5436             Steve Ellcey  <sellcey@imgtec.com>
5438         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5439         in order to avoid strict alias warnings.
5440         (iruserok_af): Ditto for ra.
5442 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5444         [BZ #17581]
5445         * malloc/hooks.c
5446         (magicbyte): Convert to a function and avoid returning 0x01.
5447         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5448         (mem2chunk_check): Fix unsigned comparisons to zero.
5449         Hoist defs of sz and magic.
5451 2015-05-19  Richard Henderson  <rth@redhat.com>
5453         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5455         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5457 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5459         [BZ #16159]
5460         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5461         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5462         (reused_arena): Find a non-corrupt arena.
5463         (heap_trim): Pass arena to unlink.
5464         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5465         malloc_printerr.
5466         (top_check): Likewise.
5467         (free_check): Likewise.
5468         (realloc_check): Likewise.
5469         * malloc/malloc.c (malloc_printerr): Add arena argument.
5470         (unlink): Likewise.
5471         (munmap_chunk): Adjust.
5472         (ARENA_CORRUPTION_BIT): New macro.
5473         (arena_is_corrupt): Likewise.
5474         (set_arena_corrupt): Likewise.
5475         (sysmalloc): Use mmap if there are no usable arenas.
5476         (_int_malloc): Likewise.
5477         (__libc_malloc): Don't fail if arena_get returns NULL.
5478         (_mid_memalign): Likewise.
5479         (__libc_calloc): Likewise.
5480         (__libc_realloc): Adjust for additional argument to
5481         malloc_printerr.
5482         (_int_free): Likewise.
5483         (malloc_consolidate): Likewise.
5484         (_int_realloc): Likewise.
5485         (_int_memalign): Don't touch corrupt arenas.
5486         * malloc/tst-malloc-backtrace.c: New test case.
5488         * Makefile (summarize-tests): Fix return value on success.
5490         * manual/string.texi (Envz Functions): Add envz_remove.
5492 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5494         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5495         (invalid_name): New function, broken out of ...
5496         (__opendirat): ... here.  Call it.
5497         (need_isdir_precheck): New function, broken out of ...
5498         (__opendirat): ... here.  Call it.
5499         Use __fxstatat64, not __xstatat64.
5500         (opendir_oflags): New function, broken out of ...
5501         (__opendirat): ... here.  Call it.
5502         (opendir_tail): New function, broken out of ...
5503         (__opendirat): ... here.  Call it.
5504         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5505         opendir_tail, rather than punting to __opendirat.
5506         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5508 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5510         * .gitignore: Ignore generated *.pyc.
5512 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5514         * include/stdio.h: Define __need_wint_t.
5515         * test-skeleton.c: Avoid `for' loop initial declaration.
5516         * nptl/tst-initializers1.c: Use test-skeleton.c.
5518 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5520         [BZ #18418]
5521         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5523 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5525         [BZ #16352]
5526         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5527         (__ieee754_atanh): Force underflow exception for results with
5528         small absolute value.
5529         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5530         (__ieee754_atanhf): Force underflow exception for results with
5531         small absolute value.
5532         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5533         (__ieee754_atanh): Force underflow exception for results with
5534         small absolute value.
5535         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5536         (__ieee754_atanhf): Force underflow exception for results with
5537         small absolute value.
5538         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5539         (__ieee754_atanhl): Force underflow exception for results with
5540         small absolute value.
5541         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5542         (__ieee754_atanhl): Force underflow exception for results with
5543         small absolute value.
5544         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5545         (__ieee754_atanhl): Force underflow exception for results with
5546         small absolute value.
5547         * math/auto-libm-test-in: Do not allow missing underflow
5548         exceptions from atanh.
5549         * math/auto-libm-test-out: Regenerated.
5551         [BZ #18221]
5552         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5553         2**-28 as threshold for returning x or +/- 1/x.
5554         * math/auto-libm-test-in: Add more tests of tan.
5555         * math/auto-libm-test-out: Regenerated.
5557         [BZ #18220]
5558         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5559         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5560         * math/auto-libm-test-in: Add another test of lgamma.
5561         * math/auto-libm-test-out: Regenerated.
5563 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5565         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5566         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5567         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5568         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5569         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5570         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5571         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5572         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5573         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5574         (log1): Use fabs.  (my_log2): Use fabs.
5575         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5576         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5577         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5578         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5579         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5580         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5581         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5582         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5583         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5584         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5585         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5587 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5589         [BZ #18217]
5590         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5591         as threshold for returning 1 - x.
5592         * math/auto-libm-test-in: Add more tests of erfc.
5593         * math/auto-libm-test-out: Regenerated.
5595 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5597         [BZ #18196]
5598         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5599         threshold for large arguments.
5600         * math/auto-libm-test-in: Add another test of atan.
5601         * math/auto-libm-test-out: Regenerated.
5603         [BZ #16339]
5604         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5605         (__log1p): Force underflow exception for results with small
5606         absolute value.
5607         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5608         (__log1pf): Force underflow exception for results with small
5609         absolute value.
5610         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5611         (__log1p): Force underflow exception for results with small
5612         absolute value.
5613         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5614         (__log1pf): Force underflow exception for results with small
5615         absolute value.
5616         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5617         (__log1pl): Force underflow exception for results with small
5618         absolute value.
5619         * math/auto-libm-test-in: Do not allow missing underflow
5620         exceptions from log1p.
5621         * math/auto-libm-test-out: Regenerated.
5623 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5624             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5626         [BZ #16704]
5627         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5629 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5631         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5632         (libmvec): New variable.
5633         * configure.ac: Added option for mathvec build.
5634         * configure: Regenerated.
5635         * mathvec/Depend: New file.
5636         * mathvec/Makefile: New file.
5637         * shlib-versions: Added libmvec.
5638         * math/Makefile: Added rule for libm.so installation.
5640         * bits/math-vector.h: New file.
5641         * bits/libm-simd-decl-stubs.h: New header.
5642         * math/Makefile (headers): Added new header
5643         libm-simd-decl-stubs.h.
5644         * math/math.h (__MATHCALL_VEC): New macro.
5646         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5647         for conditions in testing functions.
5648         * math/Makefile: Added call of libm-have-vector-test.sh.
5649         * math/libm-test.inc (HAVE_VECTOR): New macros.
5651         * math/libm-test.inc: START refactored.
5652         * math/test-double.c (TEST_MATHVEC): Add define.
5653         * math/test-float.c: Likewise.
5654         * math/test-idouble.c: Likewise.
5655         * math/test-ifloat.c: Likewise.
5656         * math/test-ildoubl.c: Likewise.
5657         * math/test-ldouble.c: Likewise.
5658         * sysdeps/generic/math-tests-arch.h
5659         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5660         architecture check.
5662         * math/test-double.c (FUNC_TEST): New macro.
5663         * math/test-float.c: Likewise.
5664         * math/test-idouble.c: Likewise.
5665         * math/test-ifloat.c: Likewise.
5666         * math/test-ildoubl.c: Likewise.
5667         * math/test-ldouble.c: Likewise.
5668         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5670 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5672         * sysdeps/nacl/fdopendir.c: New file.
5674         * dirent/scandir-tail.c: New file.
5675         * dirent/scandir64-tail.c: New file.
5676         * dirent/Makefile (routines): Add them.
5677         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5678         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5679         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5680         [!SCANDIR] (SCANDIR_TAIL): New macro.
5681         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5682         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5683         (SCANDIRAT): Macro removed.
5684         (SCANDIR_TAIL): New macro.
5685         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5686         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5687         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5688         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5689         (READDIR): Macro removed.
5690         (SCANDIR_TAIL): New macro.
5691         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5692         (SCANDIR_TAIL): New macro.
5694         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5695         * dirent/scandir-cancel.c: ... to this new file.
5696         * dirent/Makefile (routines): Add it.
5697         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5698         * sysdeps/unix/sysv/linux/i386/scandir64.c
5699         (SKIP_SCANDIR_CANCEL): Macro removed.
5700         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5702         * dirent/tst-scandir.c: New file.
5703         * dirent/tst-scandir64.c: New file.
5704         * dirent/Makefile (tests): Add them.
5706 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5708         [BZ #18409]
5709         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5711 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5713         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5714         list.
5716 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5718         * benchtests/bench-strcoll.c: New benchmark.
5719         * benchtests/Makefile: Generate locales and run benchmark.
5720         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5721         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5722         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5723         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5724         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5725         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5726         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5727         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5728         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5729         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5730         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5731         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5732         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5733         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5734         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5735         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5736         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5737         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5738         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5739         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5740         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5741         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5742         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5743         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5745 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5747         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5748         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5750 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5752         * posix/uname-values.h: New file.
5753         * posix/uname.c: Include that instead of <config-name.h>.
5754         * sysdeps/nacl/uname-values.h: New file.
5755         * sysdeps/arm/nacl/uname-values.h: New file.
5757 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5759         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5760         splitting into fields.
5762 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5764         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5765         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5766         * locale/localeinfo.h: Add enum collation_encoding_type.
5767         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5768         * programs/ld-collate.c (collate_output): Add encoding type info.
5769         * string/strcoll_l.c (STRDIFF): New function.
5770         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5771         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5773 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5775         [BZ #18397]
5776         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5777         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5778         <fpu_control.h> instead of <math/fpu_control.c>.
5779         * sysdeps/mips/mips32/fpu/Makefile: New file.
5781 2015-05-11  Andreas Schwab  <schwab@suse.de>
5783         [BZ #18007]
5784         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5785         nss_endgrent.
5786         (_nss_compat_endgrent): Call nss_endgrent.
5787         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5788         nss_endpwent.
5789         (_nss_compat_endpwent): Call nss_endpwent.
5790         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5791         needent, call nss_setspent only if non-zero.
5792         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5793         (internal_endspent): Don't call nss_endspent.
5794         (_nss_compat_endspent): Call nss_endspent.
5795         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5796         Remove.  All uses removed.
5797         (internal_setent): Remove parameter stayopen, add parameter
5798         stream.  Use it instead of global variable.
5799         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5800         (internal_endent, internal_getent): Add parameter stream.  Use it
5801         instead of global variable.
5802         (CONCAT(_nss_files_end,ENTNAME))
5803         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5804         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5805         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5806         uses removed.
5807         (internal_setent, internal_endent): Add parameter stream.  Use it
5808         instead of global variable.
5809         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5810         stream.
5811         (get_next_alias): Add parameter stream.
5812         (_nss_files_getaliasent_r): Pass global stream.
5813         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5814         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5815         (_nss_files_gethostbyname4_r): Pass local stream to
5816         internal_setent, internal_getent and internal_endent.  Remove
5817         locking.
5819 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5821         * tst-strfmon1.c (tests): Update expected currency symbol.
5823 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5825         * sysdeps/nacl/gethostname.c: New file.
5827 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5829         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5830         and sinh.
5831         * math/auto-libm-test-out: Regenerated.
5832         * sysdeps/i386/fpu/libm-test-ulps: Update.
5833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5835 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5837         [BZ #18125]
5838         * stdlib/tst-setcontext3.c: New file.
5839         * stdlib/tst-setcontext3.sh: New file.
5840         * stdlib/Makefile (tests): Add tst-setcontext3.
5841         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5842         to verify test program created output file.
5843         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5844         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5845         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5846         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5848 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5850         [BZ #18383]
5851         * elf/tst-tlsalign.c: New file.
5852         * elf/tst-tlsalign-static.c: New file.
5853         * elf/tst-tlsalign-lib.c: New file.
5854         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5855         (tests-static): Add tst-tlsalign-static.
5856         (modules-names): Add tst-tlsalign-lib.
5857         (test-xfail-tst-tlsalign): New variable.
5858         (test-xfail-tst-tlsalign-static): New variable.
5860         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5861         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5863 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5865         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5866         csqrt, erfc, sin and sincos.
5867         * math/auto-libm-test-out: Regenerated.
5868         * sysdeps/i386/fpu/libm-test-ulps: Update.
5869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5871 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5873         * sysdeps/aarch64/libm-test-ulps: Update.
5875 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5877         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5878         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5879         * math/auto-libm-test-out: Regenerated.
5880         * sysdeps/i386/fpu/libm-test-ulps: Update.
5881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5883 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5885         [BZ #18265]
5886         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5887         (wcsncpy): Likewise.
5889 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5891         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5892         Assume __ASSUME_FALLOCATE is always true.
5893         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5894         (__posix_fallocate64_l64): Likweise.
5895         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5896         (posix_fallocate): Likewise.
5897         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5898         (__posix_fallocate64_l64): Likewise.
5899         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5900         [!__ASSUME_FALLOCATE]: Add comment.
5902 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5904         * sysdeps/unix/sysv/linux/i386/Makefile
5905         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5906         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5907         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5908         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5909         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5910         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5911         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5913 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5915         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5916         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5917         tgamma.
5918         * math/auto-libm-test-out: Regenerated.
5919         * sysdeps/i386/fpu/libm-test-ulps: Update.
5920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5922 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5924         * math/auto-libm-test-in: Add more tests of tgamma.
5925         * math/auto-libm-test-out: Regenerated.
5926         * sysdeps/i386/fpu/libm-test-ulps: Update.
5927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5929         * math/auto-libm-test-in: Add more tests of tanh.
5930         * math/auto-libm-test-out: Regenerated.
5931         * sysdeps/i386/fpu/libm-test-ulps: Update.
5932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5934         * math/auto-libm-test-in: Add more tests of tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5940         * math/auto-libm-test-out: Regenerated.
5941         * sysdeps/i386/fpu/libm-test-ulps: Update.
5942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5944         * math/auto-libm-test-in: Add another test of pow.
5945         * math/auto-libm-test-out: Regenerated.
5946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5948         * math/auto-libm-test-in: Add more tests of lgamma.
5949         * math/auto-libm-test-out: Regenerated.
5950         * sysdeps/i386/fpu/libm-test-ulps: Update.
5951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5953         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5954         log1p.
5955         * math/auto-libm-test-out: Regenerated.
5956         * sysdeps/i386/fpu/libm-test-ulps: Update.
5957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5959 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5961         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5962         Elf64_Chdr structs and ELFCOMPRESS constants.
5964 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5966         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5967         expm1.
5968         * math/auto-libm-test-out: Regenerated.
5969         * sysdeps/i386/fpu/libm-test-ulps: Update.
5970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5972         * math/auto-libm-test-in: Add more tests of erf and erfc.
5973         * math/auto-libm-test-out: Regenerated.
5974         * sysdeps/i386/fpu/libm-test-ulps: Update.
5975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5977 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5979         * config.h.in (HAVE_AARCH64_BE): Add.
5981 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5983         * math/auto-libm-test-in: Add more tests of csqrt.
5984         * math/auto-libm-test-out: Regenerated.
5985         * sysdeps/i386/fpu/libm-test-ulps: Update.
5986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5988         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5989         * math/auto-libm-test-out: Regenerated.
5990         * sysdeps/i386/fpu/libm-test-ulps: Update.
5991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5995 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5997         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5998         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6000         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6001         (euidaccess, eaccess): Define as weak aliases.
6003         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6004         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
6005         but __suseconds_t is often 'long int' so some sources assume that
6006         type is being used (e.g. they use %ld to print tv_usec).
6008 2015-04-29  Florian Weimer  <fweimer@redhat.com>
6010         [BZ #18007]
6011         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6012         (CVE-2014-8121)
6013         * nss/tst-nss-getpwent.c: New file.
6014         * nss/Makefile (tests): Add new test.
6016 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
6018         [BZ #18346]
6019         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6020         exponents less than 48 as cases where high part of mantissa needs
6021         examining to determine whether argument is integral.
6022         * math/libm-test.inc (round_test_data): Add more tests.
6024 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6026         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6028 2015-04-27  David S. Miller  <davem@davemloft.net>
6030         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6031         __tls_get_addr.
6032         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6034 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6036         [BZ#18333]
6037         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6039 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6041         [BZ#18333]
6042         * time/tzset.c (parse_tzname): Return error on memory allocation
6043         failure.
6044         * test-skeleton.c (struct temp_name_list): Change type of name
6045         member to non-const.
6046         (add_temp_file): Create a copy of the file name.
6047         (delete_temp_files): Deallocate memory.
6048         (create_temp_file): Add comment.
6050 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6052         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6053         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6055 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6057         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6058         * sysdeps/arm/configure: Regenerated.
6060 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6062         [BZ #17715]
6063         * time/tzfile.c (__tzfile_read): Check for large values of
6064         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6065         * time/tzset.c (__tzstring_len): New function, based on the old
6066         __tzstring function.
6067         (__tzstring): Call __tzstring_len.
6068         (parse_tzname): New helper function extracted from
6069         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6070         the input string.
6071         (parse_offset): New helper function extracted from
6072         __tzset_parse_tz.  Replace switch with fallthrough with
6073         initialization before sscanf.
6074         (parse_rule): Likewise.
6075         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6076         new-style function definition.
6077         * timezone/Makefile (tests): Add tst-tzset.
6078         (tst-tzset.out): Dependencies on time zone files.
6079         (tst-tzset-ENV): Set TZDIR.
6080         (testdata/XT%): Copy crafted time zone files.
6081         * timezone/README: Mention crafted time zone files.
6082         * timezone/testdata/XT1, timezone/testdata/XT2,
6083         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6084         files.
6085         * timezone/tst-tzset.c: New test.
6087 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6089         * Makeconfig (+gccwarn): Remove -Winline.
6091 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6093         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6095 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6097         * NEWS: Mention sysconf() cache information support for s390.
6098         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6100 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6102         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6103         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6104         (__nearbyint): Likewise.
6105         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6106         (copysignl): Likewise.
6108 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6110         [BZ #18287]
6111         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6112         based on padding.  (CVE-2015-1781)
6114 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6116         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6117         libc-vdso.h.
6118         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6119         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6120         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6121         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6122         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6123         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6124         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6125         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6126         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6127         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6128         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6129         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6130         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6131         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6132         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6133         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6134         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6136         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6137         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6138         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6139         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6140         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6142 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6144         * stdlib/setenv.c (__add_to_environ):
6145         Dump core quickly if setenv (..., NULL, ...) is called.
6146         This time, do it the right way, and pacify GCC with a pragma.
6148 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6150         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6151         IMAP->l_prev cannot be null, and #if out the code for the contrary
6152         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6153         believe that NS (&_dl_ns[NSID]) could point outside the array.
6155         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6156         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6157         before using NSID as an index.
6159 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6161         [BZ #17825]
6162         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6163         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6164         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6166 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6168         Add preliminary port to Google Native Client on ARM.
6169         * abi-tags (.*-.*-nacl.*): New entry.
6170         * sysdeps/arm/nacl: New directory.
6171         * sysdeps/nacl: New directory.
6173 2015-04-16  David S. Miller  <davem@davemloft.net>
6175         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6176         lowlevellock-futex.h
6178 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6180         * sysdeps/tile/configure.ac: New file.
6181         * sysdeps/tile/configure: Regenerated.
6183 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6185         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6186         conditionals for weak_alias and libc_hidden_weak.
6187         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6188         libc_hidden_weak and weak_alias.
6189         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6190         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6191         and weak_alias for static one.
6193 2015-04-15  David S. Miller  <davem@davemloft.net>
6195         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6197 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6199         [BZ #18206]
6200         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6201           Use signed comparision instead of substraction to avoid
6202           overflow bug.
6203         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6204           Take the sign of ret.
6205         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6206           Do not expect precise return values. Only the sign matters.
6207         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6208         * wcsmbs/test-wcsncmp.c: New File.
6209         * string/test-strncmp.c: Add wcsncmp support.
6211 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6213         [BZ #6792]
6214         * math/w_log1p.c: New file.
6215         * math/w_log1pf.c: Likewise.
6216         * math/w_log1pl.c: Likewise.
6217         * math/Makefile (libm-calls): Add w_log1p.
6218         * math/s_log1pl.c (log1pl): Remove weak_alias.
6219         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6220         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6221         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6222         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6223         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6224         [NO_LONG_DOUBLE] (log1pl): Likewise.
6225         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6226         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6227         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6228         (log1p): Remove long_double_symbol.
6229         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6230         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6231         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6232         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6233         remove weak_alias for corresponding log1p function.
6234         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6235         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6236         * sysdeps/ia64/fpu/w_log1p.c: New file.
6237         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6238         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6239         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6241 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6243         [BZ #18247]
6244         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6245         decimal exponent by 1.
6246         * stdlib/tst-strtod-round-data: Add more tests.
6247         * stdlib/tst-strtod-round.c (tests): Regenerated.
6249 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6251         * math/auto-libm-test-in: Add more tests of clog and clog10.
6252         * math/auto-libm-test-out: Regenerated.
6253         * sysdeps/i386/fpu/libm-test-ulps: Update.
6254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6256 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6258         * Makeconfig (module-cppflags): Exclude all .v.i files.
6259         (skip-module-cppflags): Variable removed.
6261         * configure.ac (libc_config_ok): Initialize before reading
6262         preconfigure scripts, not after.
6263         * configure: Regenerated.
6265         * test-skeleton.c (TIMEOUT): Move #define to top level.
6266         (main): Grok environment variable TEST_DIRECT.  If set, print
6267         test expectation details into that file and then behave as if
6268         given --direct.
6270 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6272         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6273         warning on 32-bit.
6275 2015-04-08  David S. Miller  <davem@davemloft.net>
6277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6279 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6281         * math/auto-libm-test-in: Add more tests of atanh.
6282         * math/auto-libm-test-out: Regenerated.
6283         * sysdeps/i386/fpu/libm-test-ulps: Update.
6284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6286         * math/auto-libm-test-in: Add more tests of atan.
6287         * math/auto-libm-test-out: Regenerated.
6288         * sysdeps/i386/fpu/libm-test-ulps: Update.
6289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6291 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6293         * elf/pldd.c (main): Rewrite to use struct
6294         scratch_buffer instead of extend_alloca.
6295         * elf/pldd-xx.c (find_maps): Likewise.
6296         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6297         <alloca.h>.
6298         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6299         scratch_buffer instead of extend_alloca.
6300         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6301         grp/compat-initgroups.c.
6302         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6303         Rewrite to use struct scratch_buffer instead of extend_alloca.
6304         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6305         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6307 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6309         * math/auto-libm-test-in: Add more tests of cbrt.
6310         * math/auto-libm-test-out: Regenerated.
6311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6313         * math/auto-libm-test-in: Add more tests of cabs.
6314         * math/auto-libm-test-out: Regenerated.
6315         * sysdeps/i386/fpu/libm-test-ulps: Update.
6316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6318         [BZ #18210]
6319         [BZ #18211]
6320         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6321         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6322         computations.
6323         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6324         clog10.
6325         * math/auto-libm-test-out: Regenerated.
6326         * sysdeps/i386/fpu/libm-test-ulps: Update.
6327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6329         [BZ #18197]
6330         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6331         (atan): Set FE_TONEAREST mode for internal computations.
6332         * math/auto-libm-test-in: Add more tests of atan.
6333         * math/auto-libm-test-out: Regenerated.
6335 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6337         [BZ #17930]
6338         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6340 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6342         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6344 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6346         * include/scratch_buffer.h: New file.
6347         * malloc/scratch_buffer_grow.c: Likewise.
6348         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6349         * malloc/scratch_buffer_set_array_size.c: Likewise.
6350         * malloc/tst-scratch_buffer.c: Likewise.
6351         * malloc/Makefile (routines): Add scratch_buffer_grow.
6352         (tests): Add test case.
6353         * malloc/Versions (GLIBC_PRIVATE): Export
6354         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6355         __libc_scratch_buffer_set_array_size.
6357 2015-04-06  Richard Henderson  <rth@redhat.com>
6359         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6360         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6362         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6363         unsigned int before printing.
6365 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6367         [BZ #17596]
6368         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6369         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6371 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6373         * include/libc-internal.h (libc_max_align_t): Define.
6375 2015-04-02  Andreas Schwab  <schwab@suse.de>
6377         [BZ #16850]
6378         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6380 2015-04-02  Mel Gorman  <mgorman@suse.de>
6382         [BZ #17195]
6383         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6384         as well as the main arena.
6386 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6388         [BZ #18185]
6389         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6390         sharing L2 cache to 2 for Silvermont/Knights Landing.
6392 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6394         [BZ #17711]
6395         * config.make.in (have-protected-data): New.
6396         * configure.ac: Check linker support for protected data symbol.
6397         * configure: Regenerated.
6398         * elf/Makefile (modules-names): Add tst-protected1moda and
6399         tst-protected1modb if $(have-protected-data) is yes.
6400         (tests): Add tst-protected1a and tst-protected1b if
6401         $(have-protected-data) is yes.
6402         ($(objpfx)tst-protected1a): New.
6403         ($(objpfx)tst-protected1b): Likewise.
6404         (tst-protected1modb.so-no-z-defs): Likewise.
6405         * elf/tst-protected1a.c: New file.
6406         * elf/tst-protected1b.c: Likewise.
6407         * elf/tst-protected1mod.h: Likewise.
6408         * elf/tst-protected1moda.c: Likewise.
6409         * elf/tst-protected1modb.c: Likewise.
6411 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6413         [BZ #17711]
6414         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6415         indicates it is called from do_lookup_x on relocation against
6416         protected data, skip the data definion in the executable from
6417         copy reloc.
6418         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6419         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6420         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6421         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6422         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6423         otherwise to 0.
6424         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6425         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6426         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6427         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6428         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6429         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6431 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6433         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6434         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6436 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6438         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6439         THREAD_SETMEM_NC.
6440         * sysdeps/x86_64/nptl/tls.h: Ditto.
6442 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6444         * dlfcn/tststatic.c (main): Converted to ...
6445         (do_test): ... this.
6446         (TEST_FUNCTION): New macro.
6447         Include test-skeleton.c.
6449 2015-03-26  Alan Modra  <amodra@gmail.com>
6451         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6452         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6453         zero for undefined weak.
6454         (elf_machine_plt_conflict): Similarly.
6456 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6458         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6459         atanh.
6460         * math/auto-libm-test-out: Regenerated.
6461         * sysdeps/i386/fpu/libm-test-ulps: Update.
6462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6464         * math/auto-libm-test-in: Add another test of asin.
6465         * math/auto-libm-test-out: Regenerated.
6466         * sysdeps/i386/fpu/libm-test-ulps: Update.
6467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6469         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6470         Remove macro.
6471         (LLL_EBX_REG): Likewise.
6472         (LLL_ENTER_KERNEL): Likewise.
6474         * math/auto-libm-test-in: Add more tests of asin.
6475         * math/auto-libm-test-out: Regenerated.
6476         * sysdeps/i386/fpu/libm-test-ulps: Update.
6477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6479         [BZ #18138]
6480         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6481         libc_do_syscall_args): New structure.
6482         (INTERNAL_SYSCALL_MAIN_0): New macro.
6483         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6484         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6485         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6486         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6487         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6488         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6489         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6490         Replace conditional definitions by conditional definitions of ....
6491         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6492         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6493         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6494         (libpthread-sysdep_routines): Add libc-do-syscall.
6495         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6496         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6497         to __NR_futex not 240.
6499 2015-03-25  Alan Modra  <amodra@gmail.com>
6501         * NEWS: Advertise TLS optimization.
6502         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6503         (DT_PPC_NUM): Increment.
6504         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6505         (CHECK_STATIC_TLS): Use here.
6506         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6507         TLS descriptors.
6508         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6509         * sysdeps/powerpc/dl-tls.c: New file.
6510         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6511         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6512         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6513         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6518 2015-03-25  Alan Modra  <amodra@gmail.com>
6520         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6521         for overlapping .opd entries" to "support...".
6522         * sysdeps/powerpc/powerpc64/configure: Regenerate
6524 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6526         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
6532         * math/auto-libm-test-out: Regenerated.
6533         * sysdeps/i386/fpu/libm-test-ulps: Update.
6534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6536 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6538         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6539         * math/auto-libm-test-out: Regenerated.
6540         * sysdeps/i386/fpu/libm-test-ulps: Update.
6541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6543         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6546         * math/auto-libm-test-in: Add more tests of log2.
6547         * math/auto-libm-test-out: Regenerated.
6548         * sysdeps/i386/fpu/libm-test-ulps: Update.
6549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6551 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6553         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6554         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6555         _IO_IS_APPENDING bit in READ_WRITE instead.
6557 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6559         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6560         (__determine_cpumask_size): Replace extend_alloca with a
6561         variable-length array.  Do not treat res == 0 as an error.
6563 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6565         [BZ #18100]
6566         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6567         and integer overflow.
6568         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6569         (main): Add integer overflow tests.
6570         * manual/pattern.texi (Calling Wordexp): Document additional use
6571         for WRDE_SYNTAX.
6573 2015-03-23  Alan Modra  <amodra@gmail.com>
6575         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6576         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6577         and false branch of conditional.
6578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6579         Likewise.
6581 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6583         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6584         libc-modules.h
6585         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6586         unused declaration of _hurd_intr_rpc_msg_in_trap.
6587         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6588         defined instead of whether it is non-zero.
6589         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6590         input constraint instead of both input and output constraint.  Use ecx
6591         clobber instead of %ecx.
6592         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6593         mutex_unlock): Use a statement expression instead of an expression list.
6594         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6595         type to vm_size_t instead of vm_address_t.
6596         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6597         defined instead of whether it is non-zero.
6598         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6599         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6600         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6601         comparisons with mapaddr.
6602         * nscd/nscd-client.h: Include <time.h>.
6603         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6604         9th parameter to __vm_region instead of int.
6605         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6606         * scripts/check-local-headers.sh (exclude): Add device/,
6607         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6608         cthreads.h.
6610 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6612         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6613         to account for alignment padding.
6614         * sysdeps/arm/memmove.S: Likewise.
6616 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6618         * sysdeps/unix/sysv/linux/generic/README: New file.
6620 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6622         [BZ #18138]
6623         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6624         (futex_abstimed_wait)
6625         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6626         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6627         of lll_futex_timed_wait.
6629 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6631         [BZ #17542]
6632         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6634 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6636         [BZ #17090]
6637         [BZ #17620]
6638         [BZ #17621]
6639         [BZ #17628]
6640         * NEWS: Update.
6641         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6642         entries with Static TLS too.  Skip entries past the end of the
6643         allocated DTV, from Alan Modra.
6644         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6645         Static TLS DTV entry set up from...
6646         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6647         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6648         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6649         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6650         for Static TLS.
6651         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6652         that the slot we find is associated with the given map before
6653         using its generation count.
6654         * nptl_db/db_info.c: Include ldsodefs.h.
6655         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6656         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6657         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6658         (link_map::l_tls_offset): New struct field.
6659         (dtv_t::counter): Likewise.
6660         (rtld_global): New struct.
6661         (_rtld_global): New rtld variable.
6662         (dl_tls_dtv_slotinfo_list): New rtld global field.
6663         (dtv_slotinfo_list): New struct.
6664         (dtv_slotinfo): Likewise.
6665         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6666         (td_lookup): Rename to...
6667         (td_mod_lookup): ... this.  Use new mod parameter instead of
6668         LIBPTHREAD_SO.
6669         * nptl_db/td_thr_tlsbase.c: Include link.h.
6670         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6671         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6672         addresses even if the DTV is out of date or missing them.
6673         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6674         index zero-length arrays.
6675         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6676         (td_lookup): Make it a macro implemented in terms of...
6677         (td_mod_lookup): ... this declaration.
6678         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6679         (DB_MAIN_VARIABLE): Likewise.
6681 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6683         [BZ #18134]
6684         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6686 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6688         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6690 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6692         [BZ #18128]
6693         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6694         (atomic_add, atomic_increment_and_test)
6695         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6697 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6699         * stdlib/setenv.c (__add_to_environ):
6700         Dump core quickly if setenv (..., NULL, ...) is called.
6702 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6704         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6705         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6706         all the necessary asm magic in one place.
6707         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6708         using those.
6710 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6712         [BZ #14906]
6713         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6714         traced file mtime. Use consistent log message.
6715         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6716         (register_traced_file): Call install_watches. Always set mtime.
6717         (invalidate_cache): Iterate over all trace files. Call install_watches.
6718         (inotify_check_files): Don't inline. Handle watching parent
6719         directories and configuration file movement in and out.
6720         (handle_inotify_events): New function.
6721         (main_loop_poll): Call handle_inotify_events.
6722         (main_loop_epoll): Likewise.
6723         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6724         (struct traced_file): Use array of inotify fds. Add parent directory,
6725         and basename.
6726         (struct database_dyn): Remove unused file_mtime.
6727         (init_traced_file): New inline function.
6728         (define_traced_file): New macro.
6729         * nss/nss_db/db-init.c: Use define_traced_file.
6730         (_nss_db_init): Use init_traced_file.
6731         * nss/nss_files/files-init.c: Use define_traced_file.
6732         (_nss_files_init): Use init_traced_file.
6734 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6736         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6737         [_LIBC]: Do not include <stdlib.h>.
6738         [!_LIBC] (abort): Remove declaration.
6739         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6740         _FP_STATIC_ASSERT instead of conditionally calling abort.
6741         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6742         (_FP_EXTEND_CNAN): Likewise.
6743         (FP_TRUNC): Likewise.
6744         (__FP_CLZ): Likewise.
6745         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6747 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6749         * manual/string.texi (XPG basename): Fix prototype.
6751 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6753         [BZ #18080]
6754         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6755         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6756         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6757         (__setcontext): Likewise.
6758         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6759         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6760         Call rt_sigprocmask syscall one time to set new signal mask
6761         and retrieve the current signal mask instead of two calls.
6762         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6763         (__swapcontext): Likewise.
6764         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6765         * stdlib/tst-setcontext2.c: New file.
6767 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6769         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6771 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6773         [BZ #18093]
6774         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6775         the wrong size.
6777 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6779         [BZ #18043]
6780         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6782 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6784         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6785         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6786         Remove define.
6787         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6788         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6789         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6790         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6791         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6792         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6793         define.
6794         * nptl_db/td_symbol_list.c (td_lookup): Remove
6795         HAVE_ASM_GLOBAL_DOT_NAME code.
6796         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6797         HAVE_ASM_GLOBAL_DOT_NAME check.
6798         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6799         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6800         (DOT_LABEL): Remove define.
6801         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6802         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6803         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6804         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6805         (__TLS_GET_ADDR): Likewise.
6806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6807         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6809 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6811         [BZ #18111]
6812         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6813         (_FPU_SETCW): Initialize cw from fpsr before storing.
6814         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6815         (fesetexceptflag): Rewrite using fpu_control.h.
6816         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6818 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6820         [BZ #18110]
6821         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6822         asms.
6823         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6825 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6827         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6828         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6829         abort.
6830         (_FP_FMA): Likewise.
6831         (_FP_DIV): Likewise.
6833 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6835         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6836         with 0 in that case.
6837         * Makefile (summarize-tests): New canned sequence, factored out of
6838         commands for targets tests and xtests.  Display summary lines that
6839         don't start with PASS: or XFAIL: rather than ones that do start with
6840         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6841         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6842         do start with ERROR: or FAIL:.
6843         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6844         (except for [$(build-shared) = yes]).
6845         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6846         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6847         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6848         * nptl/Makefile: Revert 2015-03-04 changes.
6849         [$(CXX) empty] (tests-unsupported): New variable.
6850         * debug/Makefile: Likewise.
6852         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6853         gnulib file.  Replace __attribute with __attribute__ throughout.
6855 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6857         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6859 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6861         [BZ #18104]
6862         * math/auto-libm-test-in: Add another test of pow.
6863         * math/auto-libm-test-out: Regenerated.
6865 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6867         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6868         $(config-cflags-nofma).
6870 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6872         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6873         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6874         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6875         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6876         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6877         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6878         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6879         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6880         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6881         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6882         Add comment on closing #endif.
6884 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6886         * posix/wordexp.c (CHAR_IN_SET): New macro.
6887         (parse_param): Use it.
6889 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6891         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6893 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6895         [BZ #18043]
6896         * posix/wordexp.c (parse_param): Fix buffer overflow.
6897         * posix/wordexp-test.c (test_case): Add test case.
6899 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6901         [BZ #18042]
6902         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6903         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6905 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6907         [BZ #18043]
6908         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6909         (do_bz18043): Delete.
6910         (at_page_end): New.
6911         (testit): Refactor to have words at the edge of unreadable page.
6913 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6915         [BZ #16734]
6916         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6917         Cleanup read-only streams as well.
6918         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6920 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6922         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6923         <bits/libc-lockP.h>
6925 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6927         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6928         on [__KERNEL__].
6929         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6930         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6931         * soft-fp/op-common.h (_FP_DECL): Likewise.
6933 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6935         * elf/ifuncdep2.c (global): Replace
6936         __attribute__((visibility("protected"))) with
6937         asm (".protected global").
6938         * elf/ifuncmod1.c (global): Likewise.
6939         * elf/ifuncmod5.c (global): Likewise.
6941 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6943         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6944         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6946 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6948         * manual/install.texi (Configuring and compiling):
6949         Document test-wrapper-env-only.
6950         * INSTALL: Regenerated.
6952 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6954         [BZ #18043]
6955         * posix/wordexp.c (parse_param): Fix buffer overflow.
6956         * posix/wordexp-test.c (do_bz18043): Add test case.
6958 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6960         * time/tst-strptime2.c (do_test): Ensure failing tests are
6961         reported correctly.
6962         * time/tst-strptime3.c (do_test): Likewise.
6964 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6966         Fix aio_error thread-safety.
6967         * sysdeps/pthread/aio_error.c: New file
6968         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6969         synchronization.
6971 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6973         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6974         (group_number, vfprintf): Use it.
6975         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6976         (JUMP, REF): Use it.
6977         (WORK_BUFFER_SIZE): New enum constant.
6978         (process_arg, vfprintf): Use it.
6980 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6982         * manual/errno.texi (Error Messages): Complete example function
6983         by adding missing #define.
6984         (program_invocation_name): Add statement indicating GNU
6985         extension and reference which header file declares the variable.
6986         (program_invocation_short_name): Likewise.
6988 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6990         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6991         compatibility note.
6993 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6995         * Makeconfig (test-wrapper-env-only): New variable.
6996         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6997         then use that with $(test-wrapper-env-only) rather than using
6998         $(test-wrapper-env) $(run-program-env) $($*-ENV).
7000 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7002         [BZ #18082]
7003         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7004         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7005         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7006         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7007         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7008         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7009         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7010         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7011         Likewise.
7012         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7013         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7014         Likewise.
7015         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7016         Likewise.
7017         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7018         Likewise.
7019         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7020         Likewise.
7021         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7022         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7023         Likewise.
7024         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7025         Likewise.
7026         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7027         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7029 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7031         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7032         (ETH_ALEN): New macro.
7033         (struct ether_addr): Use it for length of ether_addr_octet.
7035         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7036         (setdb): Don't call __nss_configure_lookup for "rpc".
7037         (do_test): Don't call test_rpc.
7038         (output_rpcent, test_rpc): Functions moved ...
7039         * sunrpc/test-rpcent.c: ... to this new file.
7040         * sunrpc/Makefile (tests): Add it.
7042         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7043         __xpg_sigpause.
7044         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7045         * nptl/tst-signal6.c: Likewise.
7046         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7047         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7049         * configure.ac (libc_cv_cxx_link_ok): New check.
7050         Reset CXX to empty if it fails to link.
7051         * configure: Regenerated.
7052         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7053         bug-atexit3-lib only if $(CXX) is nonempty.
7054         * nptl/Makefile (tests): Likewise for tst-cancel24.
7055         (tests, tests-static): Likewise for tst-cancel24-static.
7056         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7057         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7058         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7059         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7061 2015-03-04  Andreas Schwab  <schwab@suse.de>
7063         [BZ #17631]
7064         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7065         for non-GCC compilers.
7066         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7067         Likewise.
7069 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7071         [BZ #17776]
7072         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7073         integer before bitwise and assembly operations.
7074         (feclearexcept): Likewise.
7075         * math/test-fenvinline.c: New file.
7076         * math/Makefile: Add test-fenvinline test.
7078 2015-03-03  Alan Modra  <amodra@gmail.com>
7080         [BZ #16512]
7081         * scripts/localplt.awk: Strip off symbol version.
7082         * NEWS: Mention bug fix.
7084 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7086         * sysdeps/pthread/timer_routines.c
7087         (timer_free_list, thread_free_list, thread_active_list): Make static.
7089 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7091         [BZ #17779]
7092         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7093         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7094         Undefine.
7095         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7096         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7097         Likewise.
7098         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7099         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7100         Likewise.
7102 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7104         [BZ #18036]
7105         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7106         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7108 2015-03-02  Andreas Schwab  <schwab@suse.de>
7110         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7111         variable name.
7113 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7115         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7116         Return error status.
7118 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7120         [BZ #15969]
7121         * locale/findlocale.c (_nl_find_locale): Introduce const
7122         version of loc_name and drop unsafe type casts.
7124 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7126         * dlfcn/tststatic2.c (main): Converted to ...
7127         (do_test): ... this.
7128         (TEST_FUNCTION): New macro.
7129         Include test-skeleton.c.
7131 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7133         [BZ #17711]
7134         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7135         (tests-pie): Add vismain.
7136         (CFLAGS-vismain.c): New.
7137         * elf/vismain.c: Add comments for PIE requirement.
7139 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7141         [BZ #18046]
7142         [BZ #18047]
7143         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7144         0x1p-56L as threshold for just returning the argument.
7145         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7146         0x1p-32L as threshold for just returning the argument.
7147         * math/auto-libm-test-in: Add more tests of atanh.
7148         * math/auto-libm-test-out: Regenerated.
7149         * sysdeps/i386/fpu/libm-test-ulps: Update.
7150         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7152 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7154         * string/bcopy.c (bcopy): Call memmove for performance.
7156 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7158         * string/bzero.c (__bzero): Call memset for performance.
7160 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7162         [BZ #18068]
7163         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7164         to 00100000.
7166 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7168         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7170 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7172         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7173         (__kernel_standard): Use CSTR macro when setting exc.name.
7174         * sysdeps/ieee754/Makefile [$(subdir) = math]
7175         (CFLAGS-k_standard.c): Remove variable.
7177         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7178         setting p and q from "else if" to "else".
7179         (qzero): Likewise.
7180         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7181         (qone): Likewise.
7182         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7183         (qzerof): Likewise.
7184         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7185         (qonef): Likewise.
7186         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7187         (qzero): Likewise.
7188         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7189         (qone): Likewise.
7191         [BZ #18038]
7192         [BZ #18039]
7193         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7194         return pi/2 for arguments below 0x1p-113L.
7195         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7196         return pi/2 for arguments below 0x1p-106L.
7197         * math/auto-libm-test-in: Add more tests of acos.
7198         * math/auto-libm-test-out: Regenerated.
7200         [BZ #16351]
7201         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7202         (MO): New macro.
7203         (__ieee754_asin): Force underflow exception for results with small
7204         absolute value.
7205         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7206         (MO): New macro.
7207         (__ieee754_asinf): Force underflow exception for results with
7208         small absolute value.
7209         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7210         (__ieee754_asin): Force underflow exception for results with small
7211         absolute value.
7212         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7213         (__ieee754_asinf): Force underflow exception for results with
7214         small absolute value.
7215         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7216         (__ieee754_asinl): Force underflow exception for results with
7217         small absolute value.
7218         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7219         (__ieee754_asinl): Force underflow exception for results with
7220         small absolute value.
7221         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7222         (__ieee754_asinl): Force underflow exception for results with
7223         small absolute value.
7224         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7225         Include <math.h>.
7226         * math/auto-libm-test-in: Do not mark underflow exceptions as
7227         possibly missing for bug 16351.
7228         * math/auto-libm-test-out: Regenerated.
7230         [BZ #18030]
7231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7232         of power of 2 down when low part has opposite sign.
7233         * math/libm-test.inc (logb_test_data): Add more tests.
7235 2015-02-26  Andreas Schwab  <schwab@suse.de>
7237         [BZ #18032]
7238         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7239         over collating symbol inside a bracket expression.  Minor cleanup.
7240         * posix/tst-fnmatch3.c (do_test): Add test case.
7242 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7244         [BZ #18029]
7245         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7246         Adjust exponent of power of 2 down when low part has opposite
7247         sign.
7248         * math/libm-test.inc (ilogb_test_data): Add more tests.
7250 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7252         [BZ #15969]
7253         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7254         the previous change.
7256         [BZ #15969]
7257         * locale/findlocale.c (_nl_find_locale): Retry archive search
7258         after alias expansion.
7260 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7262         * iconv/tst-iconv3.c (main): Converted to ...
7263         (do_test): ... this.
7264         (TEST_FUNCTION): New macro.
7265         Include test-skeleton.c.
7267         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7268         (convert): Make function static.
7269         (test_unalign): Likewise.  Add const to argument pointee types.
7270         (main): Replace with static function do_test.
7271         Print "Succeeded." only if RET is zero.
7272         (TEST_FUNCTION): New macro.
7273         Include test-skeleton.c.
7275         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7276         returns a null pointer.
7278 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7280         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7281         to __memcpy_ppc only for static builds.
7283 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7285         [BZ #18020]
7286         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7287         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7288         * math/auto-libm-test-in: Add more tests of asinh.
7289         * math/auto-libm-test-out: Regenerated.
7290         * sysdeps/i386/fpu/libm-test-ulps: Update.
7291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7293 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7295         [BZ #15850]
7296         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7297         and ip6_mtuinfo definitions here.
7298         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7299         in this define too.  Update comment.
7301 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7303         * elf/sprof.c (load_shobj): Tweak error message to match others.
7305 2015-02-24  Kevin Easton  <kevin@guarana.org>
7307         [BZ #16145] (partial fix)
7308         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7309         to reduce lock contention.
7311 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7313         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7314         (struct timex): Update time comment.
7315         (ADJ_SETOFFSET): Define.
7317 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7319         [BZ #18019]
7320         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7321         2**56 not 2**28 as threshold for log (2x) formula.
7322         * math/auto-libm-test-in: Add more tests of acosh.
7323         * math/auto-libm-test-out: Regenerated.
7324         * sysdeps/i386/fpu/libm-test-ulps: Update.
7325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7327 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7329         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7330         parenthesis around the buf assignment.
7331         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7333 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7335         [BZ #16783]
7336         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7337         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7338         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7339         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7340         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7341         * math/libm-test.inc (scalb_test_data): Add more tests.
7343 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7345         [BZ #17916]
7346         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7347         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7349 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7351         [BZ #17523]
7352         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7353         * io/bits/fcntl2.h (open): Use it.
7354         (openat): Likewise.
7355         * io/open.c (__libc_open): Likewise.
7356         * io/open64.c (__libc_open64): Likewise.
7357         * io/open64_2.c (__open64_2): Likewise.
7358         * io/open_2.c (__open_2): Likewise.
7359         * io/openat.c (__openat): Likewise.
7360         * io/openat64.c (__openat64): Likewise.
7361         * io/openat64_2.c (__openat64_2): Likewise.
7362         * io/openat_2.c (__openat_2): Likewise.
7363         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7364         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7365         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7366         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7367         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7368         (__open_nocancel): Likewise.
7369         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7370         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7371         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7373 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7375         [BZ #14841]
7376         * resolv/gethnamaddr.c (getanswer): Skip logging if
7377         RES_USE_DNSSEC is set.
7378         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7380 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7382         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7384 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7386         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7387         201304L, for Unicode 7.
7389 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7391         [BZ #17836]
7392         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7393         shared library.  Add gmon-start.os otherwise.
7394         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7395         $(objpfx)gmon-start.os if builing shared library.
7396         ($(objpfx)g$(static-start-installed-name)): Likewise.
7398 2015-02-23  Andreas Schwab  <schwab@suse.de>
7400         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7402 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7404         [BZ #17269]
7405         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7406         (enlarge_userbuf): Likewise.
7408 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7410         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7411         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7412         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7413         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7415 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7417         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7418         expression inside statement expression.
7420 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7422         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7423         <sysdeps/nptl/lowlevellock.h> and remove macros and
7424         functions that are now defined there.
7425         (SYS_futex): Remove.
7426         (lll_compare_and_swap): Remove.
7427         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7429 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7431         [BZ #17999]
7432         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7433         instead of scandirat.
7434         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7435         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7436         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7437         __scandirat.
7438         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7439         (__scandirat): Declare.  Use libc_hidden_proto.
7440         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7441         Remove variable.
7442         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7444 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7446         [BZ #15319]
7447         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7448         (MO): New macro.
7449         (__ieee754_atan2): For results with small absolute value, force
7450         underflow exception and remove excess range and precision from
7451         return value.
7452         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7453         (MO): New macro.
7454         (__ieee754_atan2f): For results with small absolute value, force
7455         underflow exception and remove excess range and precision from
7456         return value.
7457         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7458         (MO): New macro.
7459         (__atan): For results with small absolute value, force underflow
7460         exception and remove excess range and precision from return value.
7461         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7462         (MO): New macro.
7463         (__atanf): For results with small absolute value, force underflow
7464         exception and remove excess range and precision from return value.
7465         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7466         <math.h>.
7467         (__ieee754_atan2): Force underflow exception for results with
7468         small absolute value.
7469         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7470         <math_private.h>.
7471         (atan): Force underflow exception for results with small absolute
7472         value.
7473         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7474         (__atanf): Force underflow exception for results with small
7475         absolute value.
7476         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7477         <math.h>.
7478         (__atanl): Force underflow exception for results with small
7479         absolute value.
7480         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7481         (__atanl): Force underflow exception for results with small
7482         absolute value.
7483         * sysdeps/x86/fpu/bits/mathinline.h
7484         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7485         (__ieee754_atan2): Only define inline for long double.
7486         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7487         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7488         * math/auto-libm-test-in: Do not mark underflow exceptions as
7489         possibly missing for bug 15319.  Add more tests of atan2.
7490         * math/auto-libm-test-out: Regenerated.
7491         * math/libm-test.inc (casin_test_data): Do not mark underflow
7492         exceptions as possibly missing for bug 15319.
7493         (casinh_test_data): Likewise.
7494         * sysdeps/i386/fpu/libm-test-ulps: Update.
7496 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7498         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7499         * sysdeps/mips/bits/endian.h: Fix comments.
7501 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7503         [BZ #17996]
7504         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7505         (hdestroy_r): Likewise.
7506         (hsearch_r): Likewise.
7507         (__hcreate_r): Declare and use libc_hidden_proto.
7508         (__hdestroy_r): Likewise.
7509         (__hsearch_r): Likewise.
7510         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7511         (hcreate): Call __hcreate_r instead of hcreate_r.
7512         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7513         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7514         as weak alias of __hcreate_r.
7515         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7516         __hdestroy_r.
7517         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7518         __hsearch_r.
7519         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7520         Remove variable.
7521         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7522         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7523         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7524         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7526 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7528         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7529         arena_lock into a single arena_get.
7531 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7533         * dl-reloc.c: Inlucde libc-internal.h.
7534         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7535         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7536         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7537         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7538         (grow_heap): Likewise.
7539         * malloc/malloc.c: Include libc-internal.h.
7540         (do_check_malloc): Call powerof2.
7541         (sysmalloc): Use pagesize. Call ALIGN_UP.
7542         (systrim): Use pagesize.
7543         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7544         (__libc_valloc): Use pagesize.
7545         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7547 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7549         [BZ #17991]
7550         * include/sys/resource.h (__getrlimit64): Declare.  Use
7551         libc_hidden_proto.
7552         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7553         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7554         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7555         getrlimit64.
7556         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7557         __getrlimit64.
7558         [!getrlimit64] (getrlimit64): Define as weak alias of
7559         __getrlimit64.  Use libc_hidden_weak.
7560         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7561         using __getrlimit64 not __new_getrlimit64.
7562         (__GI_getrlimit64): Likewise.
7563         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7564         Likewise.
7565         (__GI_getrlimit64): Likewise.
7566         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7568         (getrlimit): Add __getrlimit64 alias.
7569         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7570         Likewise.
7571         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7572         Remove variable.
7573         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7574         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7576 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7578         * libio/fileops.c: Add missing sys/mman.h
7579         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7581 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7583         * manual/math.texi (Errors in Math Functions): Clarify goals
7584         regarding inexact and underflow exceptions.
7586 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7588         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7589         * sysdeps/mips/memset.S: Ditto.
7591 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7593         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7595 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7597         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7598         (__v1longjmp): Remove versioned symbol.
7599         (__v1siglongjmp): Remove alias and versioned symbol.
7600         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7601         (__v2siglongjmp): Likewise.
7603 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7605         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7607 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7609         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7611 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7613         [BZ #17987]
7614         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7615         zero result does not depend on the sign resulting from
7616         subtraction.
7617         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7618         Likewise.
7619         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7620         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7621         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7622         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7623         * math/libm-test.inc (remquo_test_data): Add more tests.
7625 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7627         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7628         Problem reported by J William Piggott.
7630 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7632         [BZ #17978]
7633         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7634         products 4 * y and 2 * y where those would overflow.
7635         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7636         Likewise.
7637         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7638         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7639         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7640         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7641         * math/libm-test.inc (remquo_test_data): Add more tests.
7643         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7645         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7646         [defined _COMPILING_NEWLIB].
7647         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7648         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7650         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7651         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7653 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7655         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7656         acquired.
7658 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7660         [BZ #17792]
7661         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7662         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7663         HOST_STACK_END_ADDR): Likewise.
7665 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7667         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7668         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7669         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7671 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7673         * sysdeps/generic/c++-types.data: New file.
7674         * sysdeps/generic/ld.abilist: New file.
7675         * sysdeps/generic/libBrokenLocale.abilist: New file.
7676         * sysdeps/generic/libanl.abilist: New file.
7677         * sysdeps/generic/libc.abilist: New file.
7678         * sysdeps/generic/libcrypt.abilist: New file.
7679         * sysdeps/generic/libdl.abilist: New file.
7680         * sysdeps/generic/libm.abilist: New file.
7681         * sysdeps/generic/libpthread.abilist: New file.
7682         * sysdeps/generic/libresolv.abilist: New file.
7683         * sysdeps/generic/librt.abilist: New file.
7685 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7687         [BZ #17569]
7688         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7689         Compute absolute value of x as modified by fmod, not original
7690         value of x.
7691         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7692         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7693         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7694         RUN_TEST_ffI_f1_mod8.
7695         (remquo_test_data): Add more tests.
7697 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7699         * sysdeps/init_array/pt-crti.S: New file.
7701 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7703         [BZ #17967]
7704         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7705         __builtin_fmaf instead of relying on contraction of a * b + c.
7707 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7709         [BZ #17969]
7710         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7711         node.
7713 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7715         [BZ #17964]
7716         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7717         __builtin_fma instead of relying on contraction of a * b + c.
7719 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7721         * Makeconfig (ASFLAGS): Add -Werror=undef.
7722         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7723         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7724         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7726         * Makeconfig (after-link): New variable.
7727         (+link-pie, +link-pie-tests): Use it.
7728         (+link-static, +link-static-tests): Likewise.
7729         (+link, +link-tests): Likewise.
7730         * Makerules (build-module, build-module-asneeded): Likewise.
7731         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7732         Likewise.
7733         * elf/Makefile ($(objpfx)ld.so): Likewise.
7735 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7737         [BZ #17965]
7738         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7739         both struct timeval and struct timespec.
7741 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7743         [BZ #16560]
7744         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7745         and redefine.
7746         (__ieee754_exp2l): Do not multiply small fractional parts by
7747         M_LN2l.
7748         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7749         small argument.
7750         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7751         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7752         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7753         * math/auto-libm-test-in: Add more tests of exp2.
7754         * math/auto-libm-test-out: Regenerated.
7756 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7758         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7759         unaligned path.
7761 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7763         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7764         little endian.
7766 2015-02-12  Andreas Schwab  <schwab@suse.de>
7768         [BZ #15790]
7769         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7770         Filter out elision flags from value returned in kind.
7771         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7772         * nptl/tst-pthread-mutexattr.c: New file.
7774 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7776         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7777         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7778         into gnu-gnu, and update comment to refer to abi-tags.
7780 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7782         [BZ #15467]
7783         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7784         (__sincos): Set errno to EDOM for infinite argument.
7785         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7786         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7787         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7788         (__sincosl): Set errno to EDOM for infinite argument.
7789         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7790         (__sincosl): Set errno to EDOM for infinite argument.
7791         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7792         (__sincosl): Set errno to EDOM for infinite argument.
7793         * math/libm-test.inc (sincos_test_data): Test errno setting.
7795 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7797         * string/strxfrm_l.c: Remove #define STRCMP.
7798         * string/strcoll_l.c: Remove #define STRLEN.
7799         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7800         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7802 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7804         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7805         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7806         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7807         * sysdeps/mips/mips64/Makefile: ... here.
7808         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7809         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7810         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7811         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7812         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7813         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7814         * sysdeps/mips/mips64/n64/Implies: Likewise.
7816 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7818         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7819         <sys/time.h>, <string.h>, and <errno.h>.
7820         (dest_offset, dest_address, value, zero): Remove unused variables.
7821         (ldouble): Remove typedef.
7822         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7823         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7824         1).  Fix code style.
7825         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7826         (check): Function removed.
7827         (CHECK): New macro.
7828         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7829         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7830         Don't call set_sigaction_FP and remove_sigaction_FP here.
7831         (ldouble_test): Just use 'long double' as macro argument, no need for
7832         the 'ldouble' typedef.
7833         (do_test): Set up SIGFPE handler at start, using plain signal rather
7834         than sigaction.  Fix code style.
7836 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7838         [BZ #17949]
7839         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7840         jump label.
7842 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7844         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7845         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7847         * sysdeps/powerpc/configure.ac: Remove file.
7848         * sysdeps/powerpc/configure: Likewise.
7850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7851         [sysdep_routines]: Remove wordcopy-power6 object.
7852         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7853         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7854         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7855         (__memmove_ppc32): Likewise.
7856         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7857         file.
7858         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7859         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7860         Remove preprocessor.
7862         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7863         [sysdep_routines]: Remove wide chars objects.
7864         [wcsmbs]: New rule for wide char objects.
7866         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7867         Remove wordcopy-power6 obejct.
7868         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7869         Use local call for wordcopy and memcpy symbols.
7870         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7871         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7872         implementation for loader.
7873         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7875         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7876         Remove wordcopy-power7 object.
7877         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7878         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7879         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7880         (_wordcopy_fwd_dest_aligned): Likewise.
7881         (_wordcopy_bwd_aligned): Likewise.
7882         (_wordcopy_bwd_dest_aligned): Likewise.
7884         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7885         Rewrite to call __memmove_ppc instead of include default
7886         implementation.
7888         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7889         Remove wide chars objects.
7890         [wcsmbs]: New rule for wide char objects.
7892 2015-02-09  Andreas Schwab  <schwab@suse.de>
7894         [BZ #17912]
7895         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7896         in terms of __O_DIRECTORY.
7898 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7900         * time/getdate.c: Include <stdbool.h>.
7901         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7902         call PTR_MANGLE.
7903         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7904         PTR_DEMANGLE.
7906 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7908         Add ersatz _Static_assert on older C hosts
7909         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7910         pre-C11 C platform that is not known to support _Static_assert.
7912 2015-02-07  Richard Braun  <rbraun@sceen.net>
7914         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7915         sigstate.
7916         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7918 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7920         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7921         priority against unexistent AIO_PRIO_DELTA_MAX.
7922         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7923         instead of int.
7924         * misc/fchflags.c (fchflags): Likewise.
7925         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7926         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7927         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7928         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7929         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7930         Declare macros.
7931         [__USE_MISC] (chflags, fchflags): Declare functions.
7932         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7933         EINVAL when nfds is greater than FD_SETSIZE.
7934         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7935         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7936         45.
7937         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7938         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7939         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7940         MACH_RCV_TIMED_OUT.
7941         * hurd/hurd/signal.h (_hurd_self_sigstate,
7942         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7943         Explicit casts from void *.
7944         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7945         * abi-tags: Rename gnu-gnu os into gnu.
7947         [BZ #4719]
7948         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7949         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7950         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7951         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7952         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7953         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7955         [BZ #17944]
7956         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7957         duplicates ADDR->sun_path with sockaddr LEN limitation.
7958         * sysdeps/mach/hurd/connect.c: Include <string.h>
7959         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7960         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7961         * sysdeps/mach/hurd/sendto.c: Likewise.
7962         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7963         implementing it by hand.
7965 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7967         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7968         Use sfi_breg on ldr.
7969         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7970         Likewise.
7972         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7973         it's defined.
7974         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7975         Test SIGSETXID only if it's defined.
7977         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7979         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7980         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7982         * nptl/tst-align2.c: Moved ...
7983         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7984         * nptl/Makefile (tests): Remove tst-align2.
7985         * sysdeps/unix/sysv/linux/Makefile
7986         [$(subdir) = nptl] (tests): Add tst-align-clone.
7987         * nptl/tst-getpid1.c: Moved ...
7988         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7989         * nptl/tst-getpid2.c: Moved ...
7990         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7991         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7992         * sysdeps/unix/sysv/linux/Makefile
7993         [$(subdir) = nptl] (tests): ... here.
7994         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7995         * sysdeps/unix/sysv/linux/Makefile
7996         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7998         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7999         Drop trailing \n from perror argument.  Use return rather than exit.
8001         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8002         on [SA_SIGINFO].
8003         * nptl/tst-cancel21.c (do_test): Likewise.
8004         * debug/tst-backtrace6.c: Include <signal.h> first thing.
8005         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8006         [!SA_SIGINFO]: Make it a stub test.
8008         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8009         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8011         * posix/tst-getlogin.c: Move to ...
8012         * login/tst-getlogin.c: ... here.
8013         * posix/Makefile (tests): Move tst-getlogin to ...
8014         * login/Makefile (tests): ... here.
8016         * libio/tst-atime.c (do_test): Move local variables SV and E
8017         inside [ST_NOATIME] conditional.
8019         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8021         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8023         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8024         (wait_code): New function replaces macro.
8025         Call nanosleep rather than syscall.
8027         * nptl/pt-system.c: Rewritten.  Put everything under
8028         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8029         Use IFUNC to redirect when possible.
8031         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8032         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8033         Use IFUNC to redirect when possible.
8035         * nptl/pt-fork.c: Rewritten.  Put everything under
8036         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8037         Use IFUNC to redirect when possible.
8038         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8040         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8041         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8042         unconditionally nowadays.  This included the only reference to
8043         __vdso_clock_gettime that appears outside libc proper.
8044         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8045         Remove version set (containing only __vdso_clock_gettime).
8046         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8047         Add attribute_hidden.
8048         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8049         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8050         libc_hidden_data_def.
8051         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8052         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8054         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8055         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8056         setrpcent, and getrpcport to ...
8057         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8058         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8059         getrpcbynumber_r, and getrpcent_r to ...
8060         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8061         * inet/getrpcbyname.c: Moved ...
8062         * sunrpc/getrpcbyname.c: ... here.
8063         * inet/getrpcbyname_r.c: Moved ...
8064         * sunrpc/getrpcbyname_r.c: ... here.
8065         * inet/getrpcbynumber.c: Moved ...
8066         * sunrpc/getrpcbynumber.c: ... here.
8067         * inet/getrpcbynumber_r.c: Moved ...
8068         * sunrpc/getrpcbynumber_r.c: ... here.
8069         * inet/getrpcent.c: Moved ...
8070         * sunrpc/getrpcent.c: ... here.
8071         * inet/getrpcent_r.c: Moved ...
8072         * sunrpc/getrpcent_r.c: ... here.
8073         * inet/Makefile (routines): Move those to ...
8074         * sunrpc/Makefile (routines): ... here.
8075         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8076         the $(subdirs) list.
8077         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8078         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8079         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8080         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8082         * elf/Makefile (routines): Include $(all-dl-routines), not just
8083         $(dl-routines).
8084         (rtld-routines): Likewise.  Use = rather than :=.
8085         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8086         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8087         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8088         * sysdeps/arm/Makefile: Likewise.
8089         * sysdeps/i386/Makefile: Likewise.
8090         * sysdeps/x86_64/Makefile: Likewise.
8091         * sysdeps/hppa/Makefile [$(subdir) = elf]
8092         (sysdep_routines, sysdep-rtld-routines): Don't add
8093         $(sysdep-dl-routines) to these.
8094         * sysdeps/ia64/Makefile: Likewise.
8095         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8096         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8097         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8098         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8099         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8100         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8101         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8102         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8103         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8104         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8105         these; sysdep-dl-routines alone is enough.
8107 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8109         [BZ #17932]
8110         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8111         where multiplication results in zero and third argument is finite
8112         and nonzero.
8113         * math/auto-libm-test-in: Add more tests of fma.
8114         * math/auto-libm-test-out: Regenerated.
8116         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8117         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8118         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8119         (_FP_CMP_EQ): Likewise.
8120         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8122         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8123         extra argument CHECK_NAN.  Redefine as wrapper around
8124         _FP_EXTEND_CNAN.
8126 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8128         * version.h (RELEASE): Set to "stable".
8129         (VERSION): Set to "2.21"
8130         * include/features.h (__GLIBC_MINOR__): Set to 21.
8132         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8134 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8135             Paul Eggert  <eggert@cs.ucla.edu>
8137         [BZ #16618]
8138         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8139         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8140         size in bytes. Store needed elements in wpmax. Use needed size
8141         in bytes for extend_alloca.
8143 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8145         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8146         binutls 2.25, and texinfo 5.2.
8147         * INSTALL: Regenerate.
8148         * sysdeps/nios2/configure: Regenerate.
8149         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8150         * manual/contrib.texi: Update.
8151         * po/be.po: Update.
8152         * po/bg.po: Update.
8153         * po/ca.po: Update.
8154         * po/cs.po: Update.
8155         * po/da.po: Update.
8156         * po/de.po: Update.
8157         * po/el.po: Update.
8158         * po/eo.po: Update.
8159         * po/es.po: Update.
8160         * po/fi.po: Update.
8161         * po/fr.po: Update.
8162         * po/gl.po: Update.
8163         * po/hr.po: Update.
8164         * po/hu.po: Update.
8165         * po/ia.po: Update.
8166         * po/id.po: Update.
8167         * po/it.po: Update.
8168         * po/ja.po: Update.
8169         * po/ko.po: Update.
8170         * po/lt.po: Update.
8171         * po/nb.po: Update.
8172         * po/nl.po: Update.
8173         * po/pl.po: Update.
8174         * po/pt_BR.po: Update.
8175         * po/ru.po: Update.
8176         * po/rw.po: Update.
8177         * po/sk.po: Update.
8178         * po/sl.po: Update.
8179         * po/sv.po: Update.
8180         * po/tr.po: Update.
8181         * po/uk.po: Update.
8182         * po/vi.po: Update.
8183         * po/zh_CN.po: Update.
8184         * po/zh_TW.po: Update.
8186         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8187         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8188         * sysdeps/hppa/dl-irel.h: Remove #warning.
8189         * sysdeps/hppa/entry.h: Provide prototype for
8190         __canonicalize_funcptr_for_compare and cast argument.
8191         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8192         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8193         * sysdeps/hppa/sotruss-lib.c: New file.
8194         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8195         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8196         (atomic_compare_and_exchange_bool_acq): Likewise.
8197         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8198         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8200         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8201         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8202         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8204 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8206         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8207         called function in non-PIC case.
8209 2015-01-31  David S. Miller  <davem@davemloft.net>
8211         * sysdeps/sparc/sparc32/bits/atomic.h
8212         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8213         unlock not after it.
8214         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8215         volatile register usage warnings from the compiler.
8217         * sysdeps/sparc/nptl/sem_init.c: Delete.
8218         * sysdeps/sparc/nptl/sem_post.c: Delete.
8219         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8220         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8221         * sysdeps/sparc/sparc32/sem_init.c: New file.
8222         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8223         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8224         padding explicitly initialized.
8225         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8226         padding for in-semaphore spinlock.
8227         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8228         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8229         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8230         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8231         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8232         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8233         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8234         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8235         version.
8236         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8237         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8239 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8241         [BZ #17801]
8242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8243         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8244         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8245         New.
8246         (index_AVX_Fast_Unaligned_Load): Likewise.
8247         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8248         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8249         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8250         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8251         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8252         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8253         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8254         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8255         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8257 2015-01-29  Andreas Schwab  <schwab@suse.de>
8259         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8261 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8263         [BZ #17892]
8264         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8266 2015-01-28  Martin Sebor  <msebor@redhat.com>
8268         * math/README.libm-test: Clarify. Add "How to read the test output."
8270 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8272         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8273         Define to 0.
8275 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8277         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8278         (__HAVE_64B_ATOMICS): Define to 0.
8280 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8282         [BZ #17885]
8283         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8284         value to set as new flag.
8286         [BZ #16576]
8287         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8288         and use _ARCH_PPCSQ instead.
8289         (__ieee754_sqrt): Likewise.
8290         (__ieee754_sqrtf): Likewise.
8291         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8292         _ARCH_PPCSQ is defined.
8293         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8294         fsqrt instruction.
8295         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8296         _ARCH_PPCSQ is defined.
8297         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8298         fsqrts instruction.
8299         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8301 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8303         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8304         bug (GCC BZ #64739).
8306 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8308         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8309         Mark _retval as used.
8310         (lll_futex_wake_unlock): Likewise.
8311         (lll_futex_timed_wait_requeue_pi): Likewise.
8313         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8314         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8315         register variables.
8317         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8318         libm_hidden_def.
8320         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8321         (__bswap_64): Mark as __always_inline.
8323 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8325         [BZ #15378]
8326         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8327         when none of the search directories exist.
8329 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8331         [BZ #17869]
8332         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8333         power8 in .machine directive.
8335         [BZ #17868]
8336         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8337         set dependency from opd value.
8339 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8342         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8343         architecture.
8345 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8347         [BZ #17870]
8348         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8349         with uint64_t.
8350         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8351         (uint64_t) 1.
8352         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8353         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8354         Replace 1UL with (uint64_t) 1.
8355         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8356         int with uint64_t.
8358 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8360         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8361         (if_freenameindex): Likewise.
8363         * resource/getrlimit64.c: Add missing libc_hidden_def.
8365 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8367         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8368         __label__.
8369         (_FP_FMA): Likewise.
8370         (_FP_TO_INT_ROUND): Likewise.
8371         (_FP_FROM_INT): Likewise.
8373 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8375         [BZ #16418]
8376         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8377         Make code racy and cancel safe.
8379 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8381         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8382         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8383         attribution.
8385         * pwd/tst-getpw.c: Rewrite.
8387         [BZ #17702]
8388         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8389         (modules-names): Add moddummy1 and moddummy2.
8390         ($(objpfx)tst-rec-dlopen): Define.
8391         * dlfcn/moddummy1.c: New file.
8392         * dlfcn/moddummy2.c: New file.
8393         * dlfcn/tst-rec-dlopen.c: New file.
8394         * elf/dl-cache.c (_dl_load_cache_lookup):
8395         Return char*. Copy result with alloca/strcpy/strdup.
8396         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8397         returns char*. Free cached. If not saving realname
8398         free cached.
8399         * elf/dl-open.c (dl_open_worker): Do not assert that
8400         _r_debug->r_state is RT_CONSISTENT.
8401         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8402         returns char*.
8404 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8405             Carlos O'Donell  <carlos@redhat.com>
8407         [BZ #12674]
8408         * nptl/sem_waitcommon.c: New file.
8409         * nptl/sem_wait.c: Include sem_waitcommon.c.
8410         (__sem_wait_cleanup, do_futex_wait): Remove.
8411         (__new_sem_wait): Adapt.
8412         (__new_sem_trywait): New function.
8413         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8414         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8415         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8416         (sem_timedwait): Adapt.
8417         * nptl/sem_post.c (__new_sem_post): Adapt.
8418         (futex_wake): New function.
8419         (__old_sem_post): Add release MO fence.
8420         * nptl/sem_open.c (sem_open): Adapt.
8421         * nptl/sem_init.c (__new_sem_init): Adapt.
8422         (futex_private_if_supported): New function.
8423         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8424         (__old_sem_getvalue): Add using previous code.
8425         * sysdeps/nptl/internaltypes.h: Adapt.
8426         * nptl/tst-sem13.c (do_test): Adapt.
8427         * nptl/tst-sem11.c (main): Adapt.
8428         * nptl/sem_trywait.c: Remove.
8429         * nptl/DESIGN-sem.txt: Remove.
8430         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8431         (gen-as-const-headers): Remove structsem.sym.
8432         * nptl/structsem.sym: Remove.
8433         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8434         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8435         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8436         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8437         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8438         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8439         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8440         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8441         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8442         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8443         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8444         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8445         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8446         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8447         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8448         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8449         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8450         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8451         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8452         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8453         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8454         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8456 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8458         * INSTALL: Regenerated.
8460         * po/libc.pot: Regenerated.
8462 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8463             Sandra Loosemore  <sandra@codesourcery.com>
8464             Andrew Jenner  <andrew@codesourcery.com>
8465             Joseph Myers  <joseph@codesourcery.com>
8466             Nathan Sidwell  <nathan@codesourcery.com>
8468         * NEWS: Mention new Nios II port.
8469         * sysdeps/nios2/Implies: New file.
8470         * sysdeps/nios2/Makefile: New file.
8471         * sysdeps/nios2/Subdirs: New file.
8472         * sysdeps/nios2/Versions: New file.
8473         * sysdeps/nios2/__longjmp.S: New file.
8474         * sysdeps/nios2/abort-instr.h: New file.
8475         * sysdeps/nios2/backtrace.c: New file.
8476         * sysdeps/nios2/bits/endian.h: New file.
8477         * sysdeps/nios2/bits/fenv.h: New file.
8478         * sysdeps/nios2/bits/link.h: New file.
8479         * sysdeps/nios2/bits/setjmp.h: New file.
8480         * sysdeps/nios2/bsd-_setjmp.S: New file.
8481         * sysdeps/nios2/bsd-setjmp.S: New file.
8482         * sysdeps/nios2/configure: New generated file.
8483         * sysdeps/nios2/configure.ac: New file.
8484         * sysdeps/nios2/crti.S: New file.
8485         * sysdeps/nios2/crtn.S: New file.
8486         * sysdeps/nios2/dl-init.c: New file.
8487         * sysdeps/nios2/dl-machine.h: New file.
8488         * sysdeps/nios2/dl-sysdep.h: New file.
8489         * sysdeps/nios2/dl-tls.h: New file.
8490         * sysdeps/nios2/dl-trampoline.S: New file.
8491         * sysdeps/nios2/gccframe.h: New file.
8492         * sysdeps/nios2/gmp-mparam.h: New file.
8493         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8494         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8495         * sysdeps/nios2/ldsodefs.h: New file.
8496         * sysdeps/nios2/libc-tls.c: New file.
8497         * sysdeps/nios2/libm-test-ulps: New file.
8498         * sysdeps/nios2/machine-gmon.h: New file.
8499         * sysdeps/nios2/math-tests.h: New file.
8500         * sysdeps/nios2/math_private.h: New file.
8501         * sysdeps/nios2/memusage.h: New file.
8502         * sysdeps/nios2/nptl/Makefile: New file.
8503         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8504         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8505         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8506         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8507         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8508         * sysdeps/nios2/nptl/tls.h: New file.
8509         * sysdeps/nios2/preconfigure: New file.
8510         * sysdeps/nios2/s_fma.c: New file.
8511         * sysdeps/nios2/s_fmaf.c: New file.
8512         * sysdeps/nios2/setjmp.S: New file.
8513         * sysdeps/nios2/sfp-machine.h: New file.
8514         * sysdeps/nios2/sotruss-lib.c: New file.
8515         * sysdeps/nios2/stackguard-macros.h: New file.
8516         * sysdeps/nios2/stackinfo.h: New file.
8517         * sysdeps/nios2/start.S: New file.
8518         * sysdeps/nios2/sysdep.h: New file.
8519         * sysdeps/nios2/tls-macros.h: New file.
8520         * sysdeps/nios2/tst-audit.h: New file.
8521         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8522         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8523         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8524         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8525         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8526         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8527         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8528         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8529         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8530         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8531         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8532         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8533         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8534         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8535         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8536         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8537         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8538         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8539         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8540         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8541         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8542         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8543         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8544         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8545         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8546         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8547         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8548         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8549         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8550         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8551         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8552         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8553         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8554         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8555         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8556         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8557         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8558         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8559         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8560         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8561         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8562         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8563         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8564         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8566 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8568         [BZ #17844]
8569         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8570         (getutent): Use weak_alias in non SHARED case
8571         and default_symbol_version in SHARED case.
8572         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8573         (getutent_r, pututline): Likewise.
8574         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8575         (getutid): Likewise.
8576         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8577         (getutid_r): Likewise.
8578         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8579         (getutline): Likewise.
8580         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8581         (getutline_r): Likewise.
8582         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8583         (updwtmp): Likewise.
8585 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8587         [BZ #17848]
8588         * sysdeps/s390/s390-32/memcmp.S
8589         (memcmp_g5): Rename to __memcmp_g5.
8590         * sysdeps/s390/s390-32/memcpy.S
8591         (memcpy_g5): Rename to __memcpy_g5.
8592         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8593         (memcpy_mvcle) Rename to __memcpy_mvcle.
8594         * sysdeps/s390/s390-32/memset.S
8595         (memset_g5): Rename to __memset_g5.
8596         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8597         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8598         and use prefixed functions.
8599         * sysdeps/s390/s390-32/multiarch/memcmp.S
8600         (memcmp_z196): Rename to __memcmp_z196.
8601         (memcmp_z10): Rename to __memcmp_z10.
8602         (memcmp): Set alias to __memcmp_g5.
8603         (bcmp): Set alias to __memcmp_g5.
8604         * sysdeps/s390/s390-32/multiarch/memcpy.S
8605         (memcpy_z196): Rename to __memcpy_z196.
8606         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8607         (memcpy_z10): Rename to __memcpy_z10.
8608         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8609         (memcpy): Set alias to __memcpy_g5.
8610         * sysdeps/s390/s390-32/multiarch/memset.S
8611         (memset_z196): Rename to __memset_z196.
8612         Jump to __memset_mvcle instead of memset_mvcle.
8613         (memset_z10): Rename to __memset_z10.
8614         Jump to __memset_mvcle instead of memset_mvcle.
8615         (memset_mvcle) Rename to __memset_mvcle.
8616         (memset): Set alias to __memset_g5.
8617         * sysdeps/s390/s390-64/memcmp.S
8618         (memcmp_z900): Rename to __memcmp_z900.
8619         * sysdeps/s390/s390-64/memcpy.S
8620         (memcpy_z900): Rename to __memcpy_z900.
8621         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8622         (memcpy_mvcle) Rename to __memcpy_mvcle.
8623         * sysdeps/s390/s390-64/memset.S
8624         (memset_z900): Rename to __memset_z900.
8625         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8626         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8627         and use prefixed functions.
8628         * sysdeps/s390/s390-64/multiarch/memcmp.S
8629         (memcmp_z196): Rename to __memcmp_z196.
8630         (memcmp_z10): Rename to __memcmp_z10.
8631         (memcmp): Set alias to __memcmp_z900.
8632         (bcmp): Set alias to __memcmp_z900.
8633         * sysdeps/s390/s390-64/multiarch/memcpy.S
8634         (memcpy_z196): Rename to __memcpy_z196.
8635         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8636         (memcpy_z10): Rename to __memcpy_z10.
8637         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8638         (memcpy): Set alias to __memcpy_z900.
8639         * sysdeps/s390/s390-64/multiarch/memset.S
8640         (memset_z196): Rename to __memset_z196.
8641         Jump to __memset_mvcle instead of memset_mvcle.
8642         (memset_z10): Rename to __memset_z10.
8643         Jump to __memset_mvcle instead of memset_mvcle.
8644         (memset_mvcle) Rename to __memset_mvcle.
8645         (memset): Set alias to __memset_z900.
8647 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8649         [BZ #17748]
8650         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8651         __fesetenv instead of fesetenv.
8653 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8655         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8656         macro.
8658 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8660         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8661         regression on LE.
8663         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8664         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8665         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8666         strncmp-power8 object.
8667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8668         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8669         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8670         * NEWS: Update.
8672 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8673             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8675         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8676         trailing byte check.
8678 2015-01-13  David S. Miller  <davem@davemloft.net>
8680         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8682 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8684         * login/logout.c (logout): Use memset rather than bzero.
8685         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8686         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8687         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8688         (_gethtbyaddr): Likewise.
8689         * locale/programs/simple-hash.c (bcopy): Macro removed.
8691 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8693         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8694         Add strcmp-power8 object.
8695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8696         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8697         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8698         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8699         __strcmp_power8 implementation.
8700         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8701         * NEWS: Update.
8703         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8704         Add strncpy-power8 and stpncpy-power8 objects.
8705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8706         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8707         implementations.
8708         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8709         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8710         __stpncpy_power8 implementation.
8711         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8712         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8713         __strncpy_power8 implementation.
8714         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8715         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8716         * NEWS: Update.
8718         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8719         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8720         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8722         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8723         strncat-power8 object.
8724         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8725         __strcat_power8 implementation.
8726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8727         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8728         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8729         optimized strcat for power8.
8731         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8732         strcpy-power8 and stpcpy-power8 objects.
8733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8734         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8735         implementations.
8736         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8737         multiarch stpcpy implementation for POWER8.
8738         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8739         multiarch strcpy implementation for POWER8.
8740         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8741         __strcpy_power8 function.
8742         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8743         stpcpy for POWER8.
8744         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8745         strcpy for POWER8.
8746         * NEWS: Update.
8748 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8750         [BZ #16009]
8751         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8752         weights and rules. Use do_xfrm_cached if data fits in cache,
8753         do_xfrm otherwise.  Moved former main loop to...
8754         * (do_xfrm_cached): New function.
8755         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8756         find_idx, find_position and stack_push.
8757         * (find_idx): New function.
8758         * (find_position): Likewise.
8759         * localedata/sort-test.sh: Added test run for do_xfrm.
8760         * localedata/xfrm-test.c (main): Added command line option
8761         -nocache to run the test with strings that are too large for
8762         the STRXFRM cache.
8764 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8766         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8767         variable to lll_futex_wake call, not the value itself.
8769 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8771         [BZ #17803]
8772         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8773         twom64.  Adjust value to 0x1p-64L.
8774         (__scalblnl): Only return standard underflowing result for K <=
8775         -64 not K <= -63; adjust exponent for underflowing result by 64
8776         not 63.
8777         * math/libm-test.inc (scalbn_test_data): Add more tests.
8778         (scalbln_test_data): Likewise.
8780         [BZ #17834]
8781         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8782         0x1p63L.
8783         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8784         not HX.
8785         * math/libm-test.inc (scalbn_test_data): Add more tests.
8786         (scalbln_test_data): Likewise.
8788 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8789             Stefani Seibold  <stefani@seibold.net>
8791         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8792         (sysdep_routines): Add dl-vdso here, ...
8793         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8794         (sysdep_routines): ... not here.
8795         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8796         fallback when vDSO is not presented.
8797         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8798         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8799         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8800         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8801         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8802         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8803         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8804         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8805         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8806         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8807         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8808         fallback configurable symbol when vDSO is not available.
8809         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8810         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8811         be able to redefine fallback symbol when vDSO is not available.
8812         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8813         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8815 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8817         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8818         (TLS_INIT_TP): Add tm_capable initialization.
8819         (TLS_DEFINE_INIT_TP): Likewise.
8820         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8821         TCB.
8822         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8823         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8824         calculation.
8825         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8826         transactoion is lock elision is built and TCB tm_capable is set.
8827         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8829         (INTERNAL_SYSCALL_NCS): Likewise.
8830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8831         (INTERNAL_SYSCALL_NCS): Likewise.
8832         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8834         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8835         for powerpc.
8836         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8837         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8838         and remove it for 32 bits case.
8839         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8841         initialization.
8842         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8843         Disable lock elision with rdlocks if elision is not available.
8845         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8846         (sysdep_routines): Add lock elision objects.
8847         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8848         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8849         [pthread_mutex_t] (__elision): Add field.
8850         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8851         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8852         elision definitions for powerpc.
8853         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8854         implementation of lock elision for powerpc.
8855         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8856         implementation of timed lock elision for powerpc.
8857         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8858         implementation of trylock with lock elision for powerpc.
8859         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8860         implementaion of unlock for lock elision for powerpc.
8861         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8862         automatic enable lock elision for mutexes.
8863         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8864         transaction execution definitions for powerpc.
8865         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8866         definitions.
8867         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8868         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8869         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8870         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8871         * NEWS: Update.
8873 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8875         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8876         for #include of <shm-directory.h>.
8878 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8880         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8881         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8883 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8885         [BZ #17791]
8886         * NEWS: Mention bug fix.
8887         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8888         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8889         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8891 2015-01-09  Torvald Riegel <triegel@redhat.com>
8893         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8895 2015-01-09  Torvald Riegel <triegel@redhat.com>
8897         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8899 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8901         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8902         pointer and cast to uintptr_t.
8904 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8906         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8907         removed.
8908         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8910 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8912         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8913         of 0.
8915 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8917         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8918         <nptl/pthreadP.h> instead.
8919         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8921         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8922         already defined.
8923         [__SIGRTMIN] (init): Function removed.
8924         [__SIGRTMIN] (initialized): Variable removed.
8925         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8926         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8927         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8928         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8929         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8930         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8931         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8932         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8933         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8934         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8935         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8936         * sysdeps/nptl/allocrtsig.c: New file.
8937         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8938         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8939         * sysdeps/generic/testrtsig.h: File removed.
8941         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8942         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8944         * nptl/nptl-init.c (pthread_functions): Conditionalize
8945         .ptr__nptl_setxid initialization on [SIGSETXID].
8947         * sysdeps/nptl/sys/procfs.h: New file.
8948         * nptl_db/Makefile (headers): Add it.
8949         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8951         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8952         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8953         * nptl/pthread_attr_setaffinity.c: Include it.
8954         * nptl/pthread_setattr_default_np.c: Likewise.
8955         * nptl/check-cpuset.h: New file.
8957 2015-01-08  Richard Henderson  <rth@redhat.com>
8959         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8960         (CFLAGS-tst-execstack-prog.c): Likewise.
8961         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8963 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8964             Sandra Loosemore  <sandra@codesourcery.com>
8965             Andrew Jenner  <andrew@codesourcery.com>
8966             Joseph Myers  <joseph@codesourcery.com>
8967             Nathan Sidwell  <nathan@codesourcery.com>
8969         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8970         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8971         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8972         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8973         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8974         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8975         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8976         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8977         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8978         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8979         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8980         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8981         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8982         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8983         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8984         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8985         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8987 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8989         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8990         timespec struct member in syscall macro.
8991         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8992         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8993         first timeval struct member in syscall macro.
8994         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8996 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8998         [BZ #17748]
8999         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9000         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9001         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9002         __feupdateenv and define as weak alias of __feupdateenv.  Use
9003         libm_hidden_weak.
9004         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9005         libm_hidden_def.
9006         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9007         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
9008         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9009         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9010         libm_hidden_def.
9011         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9012         __feupdateenv and define as weak alias of __feupdateenv.  Use
9013         libm_hidden_weak.
9014         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9015         libm_hidden_def.
9016         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9017         __feupdateenv and define as weak alias of __feupdateenv.  Use
9018         libm_hidden_weak.
9019         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9020         libm_hidden_def.
9021         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9022         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9023         (__feupdateenv): Likewise.
9024         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9025         __feupdateenv and define as weak alias of __feupdateenv.  Use
9026         libm_hidden_weak.
9027         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9028         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9029         libm_hidden_def.
9030         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9031         function.
9032         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9033         libm_hidden_def.
9034         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9035         __feupdateenv instead of feupdateenv.
9036         (default_libc_feupdateenv_test): Likewise.
9037         (libc_feresetround_ctx): Likewise.
9039 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9041         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9042         prototype.
9044 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9046         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9047         COLL_SYM in a couple of places to avoid uninitialized variable
9048         wanings on tilegx gcc 4.8.2.
9050 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9052         * sysdeps/aarch64/strcpy.S: New file.
9053         * sysdeps/aarch64/stpcpy.S: New file.
9054         * NEWS: Updated.
9056 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9058         * sysdeps/aarch64/strrchr.S: New file.
9059         * NEWS: Updated.
9061 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9063         [BZ #17658]
9064         * stdlib/setenv.c: Fix memory leak when setting large,
9065         duplicate string.
9067 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9069         [BZ #17273]
9070         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9071         and tabs from buffer before parsing fstab entry.
9072         * misc/tst-mntent.c (main): Add test for mount entry with
9073         trailing spaces and tabs.
9075 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9077         [BZ #17748]
9078         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9079         * math/fesetround.c (fesetround): Rename to __fesetround and
9080         define as weak alias of __fesetround.  Use libm_hidden_weak.
9081         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9082         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9083         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9084         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9085         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9086         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9087         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9088         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9089         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9090         __fesetround_inline.
9091         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9092         __fesetround_inline instead of __fesetround.
9093         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9094         __fesetround and define as weak alias of __fesetround.  Use
9095         libm_hidden_weak.  Call __fesetround_inline instead of
9096         __fesetround.
9097         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9098         __fesetround and define as weak alias of __fesetround.  Use
9099         libm_hidden_weak.
9100         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9101         Likewise.
9102         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9103         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9104         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9105         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9106         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9107         __fesetround and define as weak alias of __fesetround.  Use
9108         libm_hidden_weak.
9109         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9110         __fesetround instead of fesetround.
9111         (default_libc_feholdexcept_setround): Likewise.
9112         (libc_feholdsetround_ctx): Likewise.
9113         (libc_feholdsetround_noex_ctx): Likewise.
9115         [BZ #17748]
9116         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9117         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9118         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9119         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9120         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9121         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9122         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9123         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9124         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9125         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9126         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9127         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9128         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9129         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9130         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9131         libm_hidden_def.
9132         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9133         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9134         Likewise.
9135         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9136         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9137         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9138         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9139         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9140         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9141         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9142         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9143         __fesetenv instead of fesetenv.
9144         (libc_feresetround_noex_ctx): Likewise.
9145         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9146         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9147         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9148         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9149         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9150         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9151         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9152         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9153         (__feupdateenv): Likewise.
9154         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9155         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9156         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9157         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9159 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9161         [BZ #17806]
9162         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9163         addresses have been freed.
9165 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9167         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9168         and nservall.
9170 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9172         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9173         Clean up check_pf allocation pattern. addresses
9175 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9177         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9178         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9179         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9180         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9181         * nptl/pthread_join.c (pthread_join): Likewise.
9182         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9183         * sysdeps/posix/waitid.c (__waitid): Likewise.
9184         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9185         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9186         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9187         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9188         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9189         Likewise.
9190         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9191         (__libc_pread64): Likewise.
9192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9193         (__libc_pwrite): Likewise.
9194         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9195         (__libc_pwrite64): Likewsie.
9196         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9197         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9198         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9199         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9200         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9201         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9202         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9204         Likewise.
9205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9206         (__libc_pread64): Likewise.
9207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9208         Likewise.
9209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9210         (__libc_pwrite64): Likewise.
9211         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9212         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9213         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9214         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9215         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9216         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9217         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9218         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9219         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9220         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9221         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9222         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9223         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9224         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9225         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9226         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9227         Likewise.
9229 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9231         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9232         (CFLAGS-test-double.c): Likewise.
9233         (CFLAGS-test-ldouble.c): Likewise.
9234         (CPPFLAGS-test-ifloat.c): Likewise.
9235         (CPPFLAGS-test-idouble.c): Likewise.
9236         (CPPFLAGS-test-ildoubl.c): Likewise.
9237         (CFLAGS-test-test-fenv.c): Remove variable.
9238         (CFLAGS-test-misc.c): Likewise.
9240 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9242         [BZ #17797]
9243         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9244         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9245         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9246         CLOCKS_PER_SEC == 1000000.
9247         * time/clocktest.c (main): Replace %ld with %jd and cast to
9248         intmax_t.
9250 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9252         * sysdeps/generic/unwind-resume.h: New file.
9253         * sysdeps/gnu/unwind-resume.c: Include it.
9254         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9255         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9256         argument list.
9257         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9258         global rather than static.
9259         (_Unwind_Resume): Update user.
9260         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9261         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9262         rather than static.  Add __attribute__ ((cold)).
9263         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9264         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9265         * sysdeps/arm/arm-unwind-resume.S: New file.
9266         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9267         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9268         * sysdeps/arm/Makefile [$(subdir) = csu]
9269         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9270         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9271         Add rt-arm-unwind-resume.
9272         [$(subdir) = nptl]
9273         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9274         Add pt-arm-unwind-resume.
9275         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9276         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9278 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9280         [BZ #17748]
9281         * include/fenv.h (__feholdexcept): Declare.  Use
9282         libm_hidden_proto.
9283         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9284         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9285         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9286         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9287         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9288         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9289         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9290         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9291         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9292         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9293         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9294         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9295         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9296         (feholdexcept): Likewise.
9297         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9298         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9299         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9300         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9301         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9302         __feholdexcept instead of feholdexcept.
9303         (default_libc_feholdexcept_setround): Likewise.
9305 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9307         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9308         to avoid using stl/str to align destination.
9310 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9312         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9314 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9316         [BZ #17796]
9317         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9318         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9319         Define as weak alias not strong alias.
9321 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9323         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9324         bltzal with addiupc.
9325         (RTLD_START): Ditto.
9327 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9329         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9330         for __vdso_* functions in declarations.
9331         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9332         definitions.
9333         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9334         INTERNAL_VSYSCALL): Use struct return types to check for error.
9336         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9337         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9338         function with cast from llround().
9339         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9340         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9341         Define.
9343 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9345         [BZ #17793]
9346         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9347         Define as weak alias not strong alias.
9349         [BZ #17635]
9350         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9351         ...
9352         * ctype/ctype-extn.c: ... here.
9353         (__isblank_l): Move to ...
9354         * ctype/ctype-c99_l.c: ... here.  New file.
9355         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9356         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9357         Remove variable.
9358         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9359         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9360         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9361         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9362         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9364         [BZ #17777]
9365         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9366         (posix_fadvise64): Define as weak alias not strong alias.
9367         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9368         (posix_fallocate64): Likewise.
9369         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9370         Remove variable.
9371         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9372         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9373         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9374         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9375         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9377 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9379         [BZ #16191]
9380         * NEWS: Mention bug fix.
9381         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9382         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9383         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9384         (HOST_STACK_END_ADDR): Likewise.
9386 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9388         [BZ #17748]
9389         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9390         * math/fegetround.c (fegetround): Rename to __fegetround and
9391         define as weak alias of __fegetround.  Use libm_hidden_weak.
9392         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9393         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9394         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9395         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9396         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9397         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9398         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9399         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9400         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9401         Undefine after rather than before function definition; use
9402         parentheses around function name in definition.
9403         (__fegetround): Also undefine macro after function definition.
9404         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9405         __fegetround and define as weak alias of __fegetround.  Use
9406         libm_hidden_weak.  Do not undefine as macro.
9407         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9408         Likewise.
9409         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9410         __fegetround and define as weak alias of __fegetround.  Use
9411         libm_hidden_weak.
9412         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9413         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9414         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9415         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9416         __fegetround and define as weak alias of __fegetround.  Use
9417         libm_hidden_weak.
9418         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9419         __fegetround instead of fegetround.
9421         [BZ #17782]
9422         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9423         Condition macro definition on [__USE_MISC].
9425         [BZ #17781]
9426         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9427         (struct sigaction): Change type of sa_flags field to int.
9429         [BZ #17780]
9430         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9431         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9432         __glibc_reserved0.
9434         * nptl/version.c (banner): Use single year in copyright notice.
9436         * NEWS: Update copyright dates.
9437         * catgets/gencat.c (print_version): Likewise.
9438         * csu/version.c (banner): Likewise.
9439         * debug/catchsegv.sh: Likewise.
9440         * debug/pcprofiledump.c (print_version): Likewise.
9441         * debug/xtrace.sh (do_version): Likewise.
9442         * elf/ldconfig.c (print_version): Likewise.
9443         * elf/ldd.bash.in: Likewise.
9444         * elf/pldd.c (print_version): Likewise.
9445         * elf/sotruss.sh: Likewise.
9446         * elf/sprof.c (print_version): Likewise.
9447         * iconv/iconv_prog.c (print_version): Likewise.
9448         * iconv/iconvconfig.c (print_version): Likewise.
9449         * locale/programs/locale.c (print_version): Likewise.
9450         * locale/programs/localedef.c (print_version): Likewise.
9451         * login/programs/pt_chown.c (print_version): Likewise.
9452         * malloc/memusage.sh (do_version): Likewise.
9453         * malloc/memusagestat.c (print_version): Likewise.
9454         * malloc/mtrace.pl: Likewise.
9455         * manual/libc.texinfo: Likewise.
9456         * nptl/version.c (banner): Likewise.
9457         * nscd/nscd.c (print_version): Likewise.
9458         * nss/getent.c (print_version): Likewise.
9459         * nss/makedb.c (print_version): Likewise.
9460         * posix/getconf.c (main): Likewise.
9461         * scripts/test-installation.pl: Likewise.
9462         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9464 2015-01-02  Will Newton  <will.newton@linaro.org>
9466         * sysdeps/arm/armv7/configure: Removed.
9467         * sysdeps/arm/armv7/configure.ac: Likewise.
9469 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9471         * All files with FSF copyright notices: Update copyright dates
9472         using scripts/update-copyrights.
9473         * intl/plural.c: Regenerated.
9474         * locale/programs/charmap-kw.h: Likewise.
9475         * locale/programs/locfile-kw.h: Likewise.
9477 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9479         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9481 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9483         [BZ #17748]
9484         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9485         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9486         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9487         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9488         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9489         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9490         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9491         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9492         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9493         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9494         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9495         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9496         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9497         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9498         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9499         libm_hidden_def.
9500         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9501         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9502         Likewise.
9503         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9504         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9505         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9506         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9507         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9508         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9509         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9510         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9511         __fegetenv instead of fegetenv.
9512         (libc_feholdsetround_noex_ctx): Likewise.
9514 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9516         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9517         (Elf_MIPS_ABIFlags_v0): New structure.
9518         (EF_MIPS_FP64): Define.
9519         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9520         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9521         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9522         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9523         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9524         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9525         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9526         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9527         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9528         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9529         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9530         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9531         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9532         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9533         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9534         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9535         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9536         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9537         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9538         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9539         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9540         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9541         field.
9542         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9543         EF_MIPS_FP64.
9544         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9545         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9546         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9547         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9548         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9549         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9550         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9551         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9552         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9553         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9554         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9555         record the current FP ABI extension.
9556         (mips-mode-switch): Define to show if kernel headers support mode
9557         switching.
9558         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9559         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9560         supported SYSV ABI version to 3.
9561         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9562         feature.
9564 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9565             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9567         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9568         path.
9569         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9571 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9573         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9574         __fegetround and redefine to call __fegetround.  Remove condition
9575         on [!__NO_MATH_INLINES].
9576         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9577         function.
9578         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9579         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9580         Remove macro.
9581         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9582         instead of <fenv_libc.h>.
9583         (__llrintl): Call fegetround instead of __fegetround.
9584         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9585         instead of <fenv_libc.h>.
9586         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9587         (__lrintl): Call fegetround instead of __fegetround.
9588         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9589         instead of <fenv_libc.h>.
9590         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9591         (__rintl): Call fegetround instead of __fegetround.
9593 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9595         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9596         arrays.
9598 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9600         [BZ #17775]
9601         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9602         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9603         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9605 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9607         * sysdeps/i386/tls-macros.h: Include <features.h>.
9608         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9609         (TLS_IE): Likewise.
9610         (TLS_LD): Likewise.
9611         (TLS_GD): Likewise.
9612         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9613         define for GCC >= 5.0.
9615 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9617         * math/test-fenv.c (test_single_exception, set_single_exc,
9618         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9619         feexcp_mask_test, feenable_test, fe_single_test): Add
9620         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9621         case where they are not used.
9622         * math/libm-test.inc: Likewise.
9623         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9624         unused in the absence of FP rounding/exception support.
9625         * stdio-common/tst-printf-round.c: Likewise.
9626         * stdlib/tst-strtod-round.c: Likewise.
9627         * stdlib/tst-strtod-underflow.c: Likewise.
9629 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9631         [BZ #17723]
9632         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9633         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9634         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9635         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9636         libm_hidden_weak.
9637         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9638         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9639         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9640         libm_hidden_def.
9641         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9642         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9643         libm_hidden_weak.
9644         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9645         Likewise.
9646         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9647         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9648         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9649         libm_hidden_weak.
9650         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9651         libm_hidden_def.
9652         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9653         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9654         (__feraiseexcept): Likewise.
9655         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9656         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9657         libm_hidden_weak.
9658         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9659         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9660         libm_hidden_def.
9661         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9662         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9663         Use libm_hidden_def.
9664         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9665         libm_hidden_def.
9666         (feraiseexcept): Define as weak not strong alias.  Use
9667         libm_hidden_weak.
9668         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9669         New inline function.  Factored out of ...
9670         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9671         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9672         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9673         feraiseexcept.
9674         * math/w_acos.c (__acos): Likewise.
9675         * math/w_asin.c (__asin): Likewise.
9676         * math/w_ilogb.c (__ilogb): Likewise.
9677         * math/w_j0.c (y0): Likewise.
9678         * math/w_j1.c (y1): Likewise.
9679         * math/w_jn.c (yn): Likewise.
9680         * math/w_log.c (__log): Likewise.
9681         * math/w_log10.c (__log10): Likewise.
9682         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9683         * sysdeps/aarch64/fpu/math_private.h
9684         (libc_feupdateenv_test_aarch64): Likewise.
9685         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9686         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9687         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9688         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9689         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9690         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9691         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9692         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9693         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9694         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9696 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9698         [BZ #17732]
9699         * io/test-utime.c (main): Replace %ld with %jd and cast to
9700         intmax_t.
9701         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9702         * nptl/tst-mutex5.c: Include <stdint.h>.
9703         (do_test): Replace %ld with %jd and cast to intmax_t.
9704         * posix/tst-regex.c (run_test): Likewise.
9705         (run_test_backwards): Likewise.
9706         * rt/tst-clock.c: Include <stdint.h>.
9707         (clock_test): Replace %ld with %jd and cast to intmax_t.
9708         * rt/tst-cpuclock1.c: Include <stdint.h>.
9709         (do_test): Replace %lu with %ju and cast to uintmax_t.
9710         * rt/tst-cpuclock2.c: Include <stdint.h>.
9711         (do_test): Replace %lu with %ju and cast to uintmax_t.
9712         * rt/tst-mqueue1.c: Include <stdint.h>.
9713         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9714         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9715         intmax_t.
9716         * rt/tst-mqueue4.c (do_test): Likewise.
9717         * rt/tst-timer4.c: Include <stdint.h>.
9718         (check_ts): Replace %ld with %jd and cast to intmax_t.
9719         (do_test): Likewise.
9720         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9721         and cast to intmax_t.
9722         * sysdeps/pthread/tst-timer.c (main): Likewise.
9723         * time/clocktest.c (main): Likewise.
9724         * time/tst-posixtz.c (do_test): Likewise.
9725         * timezone/tst-timezone.c (main): Likewise.
9727 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9728             H.J. Lu  <hongjiu.lu@intel.com>
9730         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9731         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9732         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9733         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9734         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9735         version if bit_Fast_Unaligned_Load is set.
9736         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9737         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9738         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9739         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9740         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9741         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9742         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9743         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9744         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9745         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9746         to 4.
9747         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9748         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9749         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9750         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9752 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9754         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9755         instead of #if to avoid a Wundef warning.
9756         * stdlib/tst-limits.c (do_test): Likewise.
9758         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9759         parallel other exception macros.
9760         (fegetenv): Convert from macro to extern inline so that it applies
9761         retroactively to inline functions already seen by the compiler.
9762         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9764         * posix/Makefile (before-compile): Use $(objpfx) for
9765         posix-conf-vars-def.h.
9767 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9769         * posix/getconf.c (main): Use size_t for type of I.
9770         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9771         NSPEC.
9773         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9774         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9775         * posix/posix-envs.def: Likewise.
9776         * sysdeps/posix/sysconf.c: Likewise.
9777         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9778         (specs): Remove array.
9779         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9780         array.
9782         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9783         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9784         (__sysconf): Use CONF_IS_* macros.
9786         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9787         ($(objpfx)posix-conf-vars-def.h): New target.
9788         * posix/posix-conf-vars.list: New file.
9789         * posix/posix-conf-vars.h: New file.
9790         * posix/confstr.c: Include posix-conf-vars.h.
9791         (confstr): Use CONF_IS_* macros.
9792         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9793         CONF_IS_* macros.
9794         * scripts/gen-posix-conf-vars.awk: New file.
9796 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9798         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9799         fegetround): Add no-op macros to avoid linknamespace issues.
9801         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9802         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9804         * sysdeps/unix/sysv/linux/tile/sysdep.h
9805         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9806         assembly-specific section to avoid a redefinition warning.
9808         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9809         long before casting to pointer to avoid a cast warning.
9811 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9813         * sysdeps/tile/tilegx/Implies: New file.
9815 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9817         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9819 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9821         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9823 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9825         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9826         not define.
9827         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9828         <kernel-features.h>.
9829         (__utimes) [__NR_utimes]: Make code unconditional.
9830         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9831         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9832         (__ASSUME_UTIMES): Do not undefine.
9833         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9834         (__ASSUME_UTIMES): Likewise.
9835         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9836         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9837         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9838         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9840 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9842         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9844 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9846         [BZ #17747]
9847         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9848         alias to weak alias for j0l, y0l.
9849         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9850         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9852         [BZ #17746]
9853         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9854         conversion.
9856 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9858         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9859         to zero if not already defined.
9861 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9863         [BZ #17724]
9864         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9865         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9866         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9867         (char *) casts added.
9868         * sysdeps/ieee754/k_standardf.c: New file.
9869         * sysdeps/ieee754/k_standardl.c: Likewise.
9870         * math/Makefile (libm-support): Remove k_standard.
9871         (libm-calls): Add k_standard.
9873 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9875         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9876         Optimize to avoid an unnecessary FPCR read.
9878 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9880         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9881         Optimize to reduce FPCR/FPSR accesses.
9883 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9885         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9886         Call libc_fetestexcept_aarch64.
9888 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9890         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9891         Call libc_fesetround_aarch64.
9893 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9895         [BZ #17733]
9896         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9897         (__bind): Do not define as weak alias.
9898         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9899         define.
9900         (__getsockname): Do not define as weak alias.
9902 2014-12-22  Will Newton  <will.newton@linaro.org>
9904         * manual/install.texi: Document that we require bison 2.7
9905         or above.
9906         * INSTALL: Regenerate.
9907         * configure.ac: Use AC_CHECK_PROG_VER instead of
9908         AC_PATH_PROG when checking for bison and check for
9909         version 2.7 or above.
9910         * configure: Regenerate.
9912 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9914         [BZ #17745]
9915         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9916         * sysdeps/tile/ffsll.c (ffsll): To here.
9918         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9920 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9922         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9923         if not defined.
9924         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9925         definition.
9926         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9927         hidden ___tls_get_addr.
9928         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9929         hidden __tls_get_addr.
9930         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9931         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9932         Likewise.
9934 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9936         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9937         _dl_init call.
9939 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9941         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9942         from "call _dl_init@PLT".
9943         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9945 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9947         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9948         guarantees.
9950 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9952         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9954 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9956         [BZ #17744]
9957         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9958         strnlen.
9960 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9962         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9963         of multu on MIPSr6.
9964         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9965         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9966         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9967         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9968         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9970 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9972         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9973         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9974         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9975         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9976         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9977         mips32r6/mips64r6.
9978         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9980 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9982         * string/strncat.c (STRNCAT): Simplify implementation.
9984 2014-12-19  David S. Miller  <davem@davemloft.net>
9986         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9987         access the quad as both a long double and as a series of 4 words.
9989         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9990         link_map->l_info array access.
9992 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9994         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9996         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9997         * math/atest-exp2.c (TIMEOUT): Likewise.
9998         * math/atest-sincos.c (TIMEOUT): Likewise.
10000 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10002         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10003         -Wno-error with -fno-builtin-lround.
10005 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10007         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10008         Contains futex constants and functions moved over from ...
10009         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
10010         <lowlevellock-futex.h>.
10011         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10012         (lll_timedwait_tid): Add comments and parentheses around macro
10013         arguments.
10015 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10017         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10018         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
10019         (__lll_private_flag): Remove.
10020         (lll_futex_wait): Likewise.
10021         (lll_futex_timed_wait): Likewise.
10022         (lll_futex_wake): Likewise.
10023         (lll_futex_requeue): Likewise.
10024         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10025         (__lll_timedwait_tid): Spell out argument names.
10026         (lll_timedwait_tid): Add comments and parentheses around macro
10027         arguments.
10028         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10029         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10031 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10033         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10034         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10035         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10036         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10037         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10038         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10039         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10040         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10041         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10042         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10043         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10044         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10045         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10046         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10047         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10048         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10049         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10050         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10051         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10053 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10055         * sysdeps/x86_64/x32/Makefile: New file.
10057 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10059         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10060         1L with (mp_limb_t) 1.
10062 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10064         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10065         * nptl/libc_pthread_init.c: ... here.
10066         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10067         * nptl/register-atfork.c: ... here.
10069         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10070         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10071         Use assert_perror to check its return value.
10072         (__gai_create_helper_thread): Likewise.
10074         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10076         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10078 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10080         [BZ #17725]
10081         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10082         __profil_counter.
10083         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10084         Likewise.
10085         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10086         Likewise.
10087         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10088         Likewise.
10089         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10090         (profil_counter): Likewise.
10091         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10092         (profil_counter): Likewise.
10093         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10094         Likewise.
10095         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10096         Likewise.
10097         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10098         (profil_counter): Likewise.
10099         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10100         Likewise.
10101         [!__profil_counter] (profil_counter): Define as weak alias of
10102         __profil_counter.
10103         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10104         (profil_counter): Rename to __profil_counter.
10105         [!__profil_counter] (profil_counter): Define as weak alias of
10106         __profil_counter.
10107         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10108         (profil_counter): Rename to __profil_counter.
10109         [!__profil_counter] (profil_counter): Define as weak alias of
10110         __profil_counter.
10111         * sysdeps/posix/profil.c: Update comment referring to
10112         profil_counter.
10113         (__profil): Use __profil_counter instead of profil_counter.
10114         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10115         __profil_counter.  Use __profil_counter_ushort and
10116         __profil_counter_uint in definitions.
10117         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10118         instead of profil_counter_uint and profil_counter_ushort.
10120         [BZ #17722]
10121         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10122         define as weak alias of __inet_makeaddr.
10123         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10124         as weak alias of __inet_addr.
10125         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10126         as weak alias of __inet_pton.  Use libc_hidden_weak.
10127         * include/arpa/inet.h (__inet_pton): Declare.  Use
10128         libc_hidden_proto.
10129         (inet_makeaddr): Don't use libc_hidden_proto.
10130         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10131         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10132         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10133         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10134         Remove variable.
10135         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10136         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10138 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10140         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10142 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10144         * stdio-common/bug-vfprintf-nargs.c (do_test):
10145         Cast value to intptr_t to avoid format warning
10146         for usage with PRIdPTR printing macro.
10148 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10150         * libio/tst-widetext.c (do_test):
10151         Use format type %td instead of %Zd for ptrdiff_t
10152         in order to avoid format warning.
10154 2014-12-17  Andreas Schwab  <schwab@suse.de>
10156         * nscd/mem.c (gc): Add size_t cast to match printf format.
10158 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10160         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10161         (init): Apply PTR_MANGLE to pointers before storing them.
10162         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10163         before using them.
10165 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10167         [BZ #17719]
10168         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10169         define as weak alias of __memrchr.
10170         (__memrchr): Do not define as strong alias of memrchr.
10171         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10172         Remove variable.
10173         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10174         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10175         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10177         [BZ #17717]
10178         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10179         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10180         (if_indextoname): Rename to __if_indextoname and define as weak
10181         alias of __if_indextoname.  Use libc_hidden_weak.
10182         (if_freenameindex): Rename to __if_freenameindex and define as
10183         weak alias of __if_freenameindex.
10184         (if_nameindex): Rename to __if_nameindex and define as weak alias
10185         of __if_nameindex.
10186         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10187         __if_nametoindex and define as weak alias of __if_nametoindex.
10188         Use libc_hidden_weak.
10189         (if_freenameindex): Rename to __if_freenameindex and define as
10190         weak alias of __if_freenameindex.
10191         (if_nameindex): Rename to __if_nameindex and define as weak alias
10192         of __if_nameindex.
10193         (if_indextoname): Rename to __if_indextoname and define as weak
10194         alias of __if_indextoname.  Use libc_hidden_weak.
10195         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10196         __if_nametoindex and define as weak alias of __if_nametoindex.
10197         Use libc_hidden_weak.
10198         (if_freenameindex): Rename to __if_freenameindex and define as
10199         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10200         (if_nameindex_netlink): Use __if_freenameindex instead of
10201         if_freenameindex.
10202         (if_nameindex): Rename to __if_nameindex and define as weak alias
10203         of __if_nameindex.  Use libc_hidden_weak.
10204         (if_indextoname): Rename to __if_indextoname and define as weak
10205         alias of __if_indextoname.  Use libc_hidden_weak.
10206         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10207         libc_hidden_proto.
10208         [!_ISOMAC] (__if_freenameindex): Likewise.
10209         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10210         if_nametoindex.
10211         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10212         variable.
10213         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10214         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10215         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10216         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10217         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10218         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10219         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10221         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10222         Remove variable.
10223         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10224         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10226 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10228         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10229         subscript above bounds'
10231         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10232         bounds.
10234 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10236         * libio/tst-fopenloc.c: Use test-skeleton.c.
10238         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10239         (entry): Rename to ITEM.
10240         (do_test, comp): Adjust.
10242         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10244 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10246         * string/tester.c: Include <libc-internal.h>.
10247         (test_memset): Ignore -Wmemset-transposed-args.
10249 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10251         * misc/tst-mntent2.c (do_test): Fix warning.
10253 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10255         * elf/tst-unique4lib.cc(a): Mark as used.
10257 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10259         [BZ #17630]
10260         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10261         names.
10263 2014-12-16  Allan McRae  <allan@archlinux.org>
10265         * stdio-common/Makefile (tests): Re-add bug26.
10267 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10269         [BZ #17657]
10270         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10271         static array.
10273 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10275         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10276         (__lll_lock_wait): Likewise.
10277         (__lll_timedlock_wait): Likewise.
10278         (__lll_timedwait_tid): Likewise.
10279         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10280         (__lll_robust_timedlock_wait): Likewise.
10281         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10282         (lll_cond_trylock): Likewise.
10283         (__lll_lock): Likewise.
10284         (__lll_robust_lock): Likewise.
10285         (__lll_cond_lock): Likewise.
10286         (lll_robust_cond_lock): Likewise.
10287         (__lll_timedlock): Likewise.
10288         (__lll_robust_timedlock): Likewise.
10289         (__lll_unlock): Likewise.
10290         (__lll_robust_unlock): Likewise.
10291         (lll_wait_tid): Likewise.
10292         (lll_timedwait_tid): Likewise.
10294 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10296         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10298 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10300         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10302 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10304         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10305         * stdio-common/tst-sprintf.c: Likewise.
10307 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10309         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10311 2014-12-15  Jeff Law  <law@redhat.com>
10313         [BZ #16617]
10314         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10315         on the heap.  (CVE-2012-3406)
10316         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10317         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10318         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10320 2014-12-15  Will Newton  <will.newton@linaro.org>
10322         * manual/install.texi: Bump required version of texinfo
10323         to 4.7 from 4.5.
10324         * INSTALL: Regenerated.
10325         * configure.ac: Check for makeinfo version 4.7 and above.
10326         * configure: Regenerated.
10328 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10330         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10331         PREFIX, string constant to insert between directory and name.
10332         * sysdeps/posix/shm_open.c: Update caller.
10333         * sysdeps/posix/shm_unlink.c: Likewise.
10334         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10335         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10336         (SEM_SHM_PREFIX): New macro.
10337         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10338         [$(have-thread-library) = no].
10339         * nptl/Makefile (libpthread-routines): Add shm-directory.
10340         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10341         * sysdeps/nptl/shm-directory.h: New file.
10342         * sysdeps/posix/shm-directory.c
10343         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10344         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10345         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10346         INTERNAL_SYSCALL.
10347         (__where_is_shmfs): Function removed.
10348         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10349         Variables removed.
10350         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10351         Use SHM_GET_NAME.
10352         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10354         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10355         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10356         unconditional for use inside libpthread.
10357         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10359 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10361         * nptl/pthread_getaffinity.c: New file.
10362         * nptl/pthread_setaffinity.c: New file.
10363         * nptl/pthread_getname.c: New file.
10364         * nptl/pthread_setname.c: New file.
10366         * nptl/pthread_create.c (START_THREAD_DEFN)
10367         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10369 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10370             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10372         * resolv/res_send.c (send_vc): Disable warning resplen may
10373         be used uninitialized.
10375 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10377         * nptl/tst-mutex6.c
10378         (ATTR_NULL): New define checks ATTR against NULL.
10379         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10380         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10382 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10384         [BZ #17581]
10385         * malloc/hooks.c
10386         (mem2mem_check): Revert my previous change.
10387         (malloc_check_get_size): Revert my previous change.
10388         (mem2chunk_check): Revert my previous change.
10390 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10392         * sysdeps/posix/shm-directory.c: New file.
10393         * sysdeps/posix/shm-directory.h: New file.
10394         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10395         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10396         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10397         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10398         Transmute EPERM to EACCES.
10399         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10400         from ...
10401         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10402         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10404 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10406         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10407         pointer and cast to uintptr_t.
10408         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10409         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10410         Add cast to avoid warning.
10411         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10413 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10415         * nptl/semaphore.h: Move to ...
10416         * sysdeps/pthread/semaphore.h: ... here.
10417         * Makefile (installed-headers): Change nptl/semaphore.h to
10418         sysdeps/pthread/semaphore.h.
10420 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10422         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10423         generated error format strings.
10425         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10426         -Wformat-extra-args warnings for scanf formats.
10427         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10428         test of zero-length format (duh).
10429         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10430         corner-case scanf format test.
10431         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10432         generated fprintf format string.
10433         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10434         corner-case sprintf format tests.
10435         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10436         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10437         -Wformat-extra-args warnings throughout.
10438         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10439         (CFLAGS-scanf4.c): Likewise.
10440         (CFLAGS-scanf7.c): Likewise.
10441         (CFLAGS-tst-sprintf.c): Likewise.
10442         (CFLAGS-tst-printf.c): Likewise.
10443         (CFLAGS-tst-printfsz.c): Likewise.
10445 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10447         * include/cpio.h: New file.
10448         * include/fmtmsg.h: Likewise.
10450         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10451         corresponding format argument to size_t.
10452         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10453         arguments.
10454         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10455         corresponding format argument to size_t.
10456         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10457         arguments.
10458         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10459         corresponding format argument to size_t.
10460         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10461         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10462         (CFLAGS-tst-mbswcs2.c): Likewise.
10463         (CFLAGS-tst-mbswcs3.c): Likewise.
10464         (CFLAGS-tst-mbswcs4.c): Likewise.
10465         (CFLAGS-tst-mbswcs5.c): Likewise.
10466         (CFLAGS-tst-trans.c): Likewise
10468 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10470         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10471         rather than assuming they won't contain any '%'s.
10473 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10475         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10476         inhibit_loop_to_libcall to avoid recursive calls.
10477         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10478         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10480 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10482         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10483         prototype.
10485 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10487         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10488         integer value instead of boolean.
10490 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10492         * malloc/malloc.c: Fix powerof2 check.
10494 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10496         * locale/programs/locfile.h (maybe_swap_uint32):
10497         Remove inline and add unused attribute.
10499 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10501         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10502         Truncating assembler expression to a .long expression.
10504 2014-12-11  Andreas Schwab  <schwab@suse.de>
10506         * elf/rtld.c (struct map_args): Constify str member.
10507         (do_preload): Constify fname argument.
10509 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10511         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10512         constants definition.
10514 2014-12-11  Andreas Schwab  <schwab@suse.de>
10516         [BZ #16657]
10517         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10518         FORCE_ELISION instead of DO_ELISION.
10519         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10520         Remove.
10521         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10522         Likewise.
10524         * iconvdata/gconv-modules: Remove duplicate entry.
10526 2014-12-11  Will Newton  <will.newton@linaro.org>
10528         Merge gettext 0.19.3 into intl/.
10530         This involves a number of cosmetic changes to comments
10531         and ANSI function definitions and prototypes throughout
10532         all the files. The gettext copyright header is used but
10533         with the date ranges taken from the glibc copy.
10535         * NEWS: Add gettext merge to 2.21.
10536         * intl/bindtextdom.c: Switch to gettext copyright.
10537         Use ANSI definitions and prototypes.
10538         Use gl_* locking primitives rather than __libc_* ones.
10539         Use __builtin_expect rather than __glibc_likely/unlikely.
10540         * intl/dcgettext.c: Switch to gettext copyright.
10541         Use ANSI definitions and prototypes.
10542         * intl/dcigettext.c: Switch to gettext copyright.
10543         Use ANSI definitions and prototypes.
10544         (INTDIV0_RAISES_SIGFPE): New define.
10545         Use gl_* locking primitives rather than __libc_* ones.
10546         Include eval-plural.h instead of plural-eval.c.
10547         Use __builtin_expect rather than __glibc_likely/unlikely.
10548         * intl/dcngettext.c: Switch to gettext copyright.
10549         Use ANSI definitions and prototypes.
10550         * intl/dgettext.c: Likewise.
10551         * intl/dngettext.c: Likewise.
10552         * intl/plural-eval.c: Renamed to...
10553         * intl/eval-plural.h: ...this.
10554         * intl/explodename.c: Switch to gettext copyright.
10555         Use ANSI definitions and prototypes.
10556         (_nl_explode_name): Use strchr instead of __rawmemchr.
10557         * intl/finddomain.c: Switch to gettext copyright.
10558         Use ANSI definitions and prototypes.
10559         Use gl_* locking primitives rather than __libc_* ones.
10560         (_nl_find_domain): Use malloc rather than alloca for
10561         allocation of temporary locale name.
10562         * intl/gettext.c: Switch to gettext copyright.
10563         Use ANSI definitions and prototypes.
10564         * intl/gettextP.h: Switch to gettext copyright.
10565         Use ANSI definitions and prototypes.
10566         Use gl_* locking primitives rather than __libc_* ones.
10567         * intl/gmo.h: Switch to gettext copyright.
10568         (struct sysdep_string): Move struct segment_pair outside of
10569         struct definition.
10570         * intl/hash-string.c: Use ANSI definitions and prototypes.
10571         * intl/hash-string.h: Switch to gettext copyright.
10572         Use ANSI definitions and prototypes.
10573         * intl/l10nflist.c: Switch to gettext copyright.
10574         Use ANSI definitions and prototypes.
10575         (_nl_normalize_codeset): Avoid integer overflow.
10576         * intl/loadinfo.h: Switch to gettext copyright.
10577         Use ANSI definitions and prototypes.
10578         (LIBINTL_DLL_EXPORTED): New define.
10579         (PATH_SEPARATOR): New define.
10580         * intl/loadmsgcat.c: Switch to gettext copyright.
10581         * intl/localealias.c: Switch to gettext copyright.
10582         Use ANSI definitions and prototypes.
10583         (_nl_expand_alias): Use PATH_SEPARATOR.
10584         * intl/ngettext.c: Switch to gettext copyright.
10585         Use ANSI definitions and prototypes.
10586         * intl/plural-exp.c: Likewise.
10587         * intl/plural-exp.h: Switch to gettext copyright.
10588         Use ANSI definitions and prototypes.
10589         (struct expression): Move definition of enum operator outside
10590         of struct definition.
10591         * intl/plural.c: Regenerate.
10592         * intl/plural.y: Switch to gettext copyright.
10593         Use ANSI definitions and prototypes.
10594         Port to bison 3.0.
10595         * intl/textdomain.c: Switch to gettext copyright.
10596         Use ANSI definitions and prototypes.
10597         Use gl_* locking primitives rather than __libc_* ones.
10599 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10601         * debug/warning-nop.c: Add used atrribute.
10603 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10605         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10607         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10608         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10609         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10611 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10612             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10614         [BZ #17634]
10615         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10616         Undefine after defining function.  Define as weak alias of
10617         __wcschr.  Use libc_hidden_weak.
10618         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10619         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10620         (libc_hidden_def): Also define __GI___wcschr alias.
10621         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10622         __wcschr and define as weak alias of __wcschr.
10623         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10624         __wcschr.
10625         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10626         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10627         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10628         libc_hidden_weak.  Do not use libc_hidden_def.
10629         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10630         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10631         __GI___wcschr alias.
10632         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10633         [IS_IN (libc)] (wcschr): Define as macro expanding to
10634         __redirect_wcschr.
10635         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10636         [IS_IN (libc)] (__wcschr_power6): Likewise.
10637         [IS_IN (libc)] (__wcschr_power7): Likewise.
10638         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10639         instead of wcschr.
10640         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10641         __libc_wcschr.
10642         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10643         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10644         __wcschr and define as weak alias of __wcschr.  Use
10645         libc_hidden_builtin_def.
10646         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10647         as weak alias of __wcschr.  Use libc_hidden_weak.
10648         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10649         wcschr.
10650         * time/era.c (_nl_init_era_entries): Likewise.
10651         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10652         variable.
10653         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10654         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10656 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10658         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10659         format for long int variable.
10661 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10663         [BZ #10672]
10664         * manual/search.texi: (Array Sort Function): Remove claim how to make
10665         qsort stable.
10667 2014-12-10  Andreas Schwab  <schwab@suse.de>
10669         [BZ #12847]
10670         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10671         user-controlled locks.
10673 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10675         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10676         register.
10678 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10680         * configure.ac (--disable-werror): New configure option.
10681         (enable_werror): New AC_SUBST.
10682         * configure: Regenerated.
10683         * config.make.in (enable-werror): New variable.
10684         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10685         -Wno-error=undef.
10686         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10687         * manual/install.texi (Configuring and compiling): Document
10688         --disable-werror.
10689         * INSTALL: Regenerated.
10690         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10691         (CFLAGS-tst-chk2.c): Likewise.
10692         (CFLAGS-tst-chk3.c): Likewise.
10693         (CFLAGS-tst-chk4.cc): Likewise.
10694         (CFLAGS-tst-chk5.cc): Likewise.
10695         (CFLAGS-tst-chk6.cc): Likewise.
10696         (CFLAGS-tst-lfschk1.c): Likewise.
10697         (CFLAGS-tst-lfschk2.c): Likewise.
10698         (CFLAGS-tst-lfschk3.c): Likewise.
10699         (CFLAGS-tst-lfschk4.cc): Likewise.
10700         (CFLAGS-tst-lfschk5.cc): Likewise.
10701         (CFLAGS-tst-lfschk6.cc): Likewise.
10703         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10704         (main): Disable -Wdeprecated-declarations around calls to
10705         register_printf_function.
10707         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10708         (do_test): Disable -Wdiv-by-zero around some calls to
10709         fwrite_unlocked and fread_unlocked.
10711         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10712         (DIAG_POP_NEEDS_COMMENT): Likewise.
10713         (_DIAG_STR1): Likewise.
10714         (_DIAG_STR): Likewise.
10715         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10716         * stdio-common/bug21.c: Include <libc-internal.h>.
10717         (do_test): Disable -Wformat around call to sscanf.
10718         * stdio-common/scanf14.c: Include <libc-internal.h>.
10719         (main): Disable -Wformat around some calls to scanf functions.
10721 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10723         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10725 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10727         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10728         stack variable alignment.
10730 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10732         [BZ #17682]
10733         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10734         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10735         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10736         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10737         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10738         __getrlimit instead of getrlimit.
10739         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10740         __gettimeofday instead of gettimeofday.
10741         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10742         Likewise.
10743         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10744         Likewise.
10745         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10746         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10747         Remove variable.
10748         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10749         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10751 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10753         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10754         for wide-character tests.
10756 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10758         * io/openat64.c: #include <libc-internal.h>
10759         (__openat64): Prototypify.  Use ignore_value on MODE.
10760         * io/openat.c: Likewise.
10761         * misc/reboot.c: #include <libc-internal.h>
10762         (reboot): Prototypify.  Use ignore_value on HOWTO.
10763         * misc/ptrace.c: #include <libc-internal.h>
10764         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10766 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10768         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10769         XPG4, UNIX98 and XOPEN2K.
10770         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10771         Remove variable.
10772         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10774 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10776         * libio/fileops.c: Use ISO C style for function definitions.
10777         * libio/iofopen.c: Likewise.
10778         * libio/wfileops.c: Likewise.
10780         [BZ #17653]
10781         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10782         offset on EOF.
10783         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10784         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10785         (fgets_func): Function pointer to fgets and fgetws.
10786         (do_ftell_test): Add test to verify ftell value after read
10787         EOF.
10788         (do_test): Set fgets_func.
10790         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10791         O_TRUNC flag for w and w+ modes.
10792         (do_rewind_test): Likewise.
10793         (do_ftell_test): Likewise.
10794         (do_write_test): Likewise.
10796         [BZ #17647]
10797         * libio/fileops.c (do_ftell): Seek only when there are
10798         unflushed writes.
10799         * libio/wfileops.c (do_ftell_wide): Likewise.
10800         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10801         test case.
10802         (do_one_test): Call it.
10804 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10806         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10807         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10808         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10809         Remove variable.
10810         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10811         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10812         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10814 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10816         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10817         Remove variable.
10818         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10820         [BZ #17668]
10821         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10822         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10823         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10824         __freeifaddrs.  Use libc_hidden_weak.
10825         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10826         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10827         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10828         __freeifaddrs.  Use libc_hidden_weak.
10829         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10830         __getifaddrs and define as weak alias of __getifaddrs.  Use
10831         libc_hidden_weak.
10832         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10833         __freeifaddrs.  Use libc_hidden_weak.
10834         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10835         Remove variable.
10836         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10837         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10839 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10841         [BZ #17601]
10842         * sysdeps/mips/start.S (__start): Use indirect jump to call
10843         __libc_start_main.
10845 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10847         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10849         * nptl/tst-mutex1.c: Include <stdbool.h>.
10850         [!ATTR] (ATTR_NULL): New macro.
10851         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10852         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10853         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10855         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10856         to char *.
10858         [BZ #17665]
10859         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10860         Change conditional to [__USE_MISC].
10862         [BZ #17664]
10863         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10864         fgets_unlocked.
10865         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10866         __fgets_unlocked.
10867         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10868         fgets_unlocked.
10869         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10870         Remove variable.
10871         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10872         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10873         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10874         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10875         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10876         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10877         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10878         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10879         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10881         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10883 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10885         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10886         Remove strpbrk objects.
10887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10888         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10889         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10890         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10891         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10892         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10894         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10895         Remove strcspn objects.
10896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10897         (__libc_ifunc_impl_list): Remove strcspn implementation.
10898         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10899         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10900         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10901         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10903         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10904         Remove strspn objetcs.
10905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10906         (__libc_ifunc_impl_list): Remove strspn implementation.
10907         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10908         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10909         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10910         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10912 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10914         [BZ #17581]
10915         * malloc/hooks.c
10916         (mem2mem_check): Add a terminator to the chain of checking blocks.
10917         (malloc_check_get_size): Use it here.
10918         (mem2chunk_check): Ditto.
10920 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10922         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10923         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10925 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10927         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10929         * nptl/nptl-init.c: Include libc-internal.h.
10930         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10932         * elf/ldconfig.c (search_dir): Expand comment.
10934 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10936         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10937         variable.
10938         (linknamespace-symlist-stdlibs-tests): Likewise.
10939         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10940         instead of $(objpfx)symlist-stdlibs.
10941         (linknamespace-libs-isoc): New variable.
10942         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10943         (linknamespace-libs-ISO): New variable.
10944         (linknamespace-libs-ISO99): Likewise.
10945         (linknamespace-libs-ISO11): Likewise.
10946         (linknamespace-libs-XPG3): Likewise.
10947         (linknamespace-libs-XPG4): Likewise.
10948         (linknamespace-libs-POSIX): Likewise.
10949         (linknamespace-libs-UNIX98): Likewise.
10950         (linknamespace-libs-XOPEN2K): Likewise.
10951         (linknamespace-libs-POSIX2008): Likewise.
10952         (linknamespace-libs-XOPEN2K8): Likewise.
10953         ($(objpfx)symlist-stdlibs): Replace by
10954         $(linknamespace-symlist-stdlibs-tests).  Use
10955         $(linknamespace-libs-$*) as set of libraries.
10956         ($(linknamespace-header-tests)): Update dependencies.  Use
10957         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10958         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10959         * conform/linknamespace.pl: Remove comment about considering
10960         definitions of symbols from irrelevant libraries.
10962 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10964         [BZ #13862]
10965         * elf/dl-tls.c: Include <atomic.h>.
10966         (oom): Remove #ifdef SHARED/#endif.
10967         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10968         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10969         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10970         big enough.
10971         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10972         * nptl/Makefile (tests): Add tst-stack4.
10973         (modules-names): Add tst-stack4mod.
10974         ($(objpfx)tst-stack4): New.
10975         (tst-stack4mod.sos): Likewise.
10976         ($(objpfx)tst-stack4.out): Likewise.
10977         ($(tst-stack4mod.sos)): Likewise.
10978         (clean): Likewise.
10979         * nptl/tst-stack4.c: New file.
10980         * nptl/tst-stack4mod.c: Likewise.
10982 2014-11-27  J. Brown  <jb999@gmx.de>
10984         * sysdeps/x86/bits/string.h: Add recent CPUs.
10986 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10988         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10989         sigblock.
10991         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10992         feof.
10994         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10995         variable.
10997 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10999         * nscd/connections.c: Include libc-internal.h because of macro
11000         usage ignore_value.
11002 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11004         * string/bits/string3.h (__warn_memset_zero_len): Don't
11005         declare for gcc newer than 5.0.
11006         (memset): Don't test for zero-length __LEN for gcc newer than
11007         5.0.
11009 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11011         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11012         size_t for %zu format.
11014         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11015         difference, not %ju.
11017 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11019         * include/libc-internal.h (ignore_value): New macro.
11020         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11021         with ignore_value.
11023         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11024         definition.
11026         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11027         pthread_cleanup_push to void *.
11029         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11030         Undefine.
11032         [BZ #16619]
11033         [BZ #16740]
11034         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11035         instead of 1L << 52.
11037         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11038         * libio/bug-rewind2.c (do_test): Likewise.
11040         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11041         * debug/test-strcpy_chk-ifunc.c: Likewise.
11042         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11043         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11044         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11045         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11046         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11047         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11048         * Rules [$(multi-arch) = no] (tests): Do not filter out
11049         $(tests-ifunc).
11050         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11051         * debug/Makefile (tests-ifunc): Remove variable.
11052         (tests): Do not add $(tests-ifunc).
11053         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11054         (tests): Do not add $(tests-ifunc).
11055         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11056         [TEST_IFUNC]: Remove conditionals.
11057         * string/test-string.h (TEST_IFUNC): Remove macro.
11058         [TEST_IFUNC]: Remove conditionals.
11060         * string/test-strchr.c [!WIDE] (L): New macro.
11061         [WIDE] (L): Likewise.
11062         (check1): Use CHAR instead of char.  Use L on string and character
11063         constants.
11065 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11067         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11068         tests.
11069         * sysdeps/powerpc/bits/atomic.h
11070         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11071         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11072         (atomic_exchange_and_add_acq): Likewise.
11073         (atomic_exchange_and_add_rel): Likewise.
11074         * sysdeps/powerpc/powerpc32/bits/atomic.h
11075         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11076         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11077         * sysdeps/powerpc/powerpc64/bits/atomic.h
11078         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11079         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11081 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11083         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11084         Change synchronization of __sched_fifo_min_prio and
11085         __sched_fifo_max_prio.
11086         * nptl/pthread_mutexattr_getprioceiling.c
11087         (pthread_mutexattr_getprioceiling): Likewise.
11088         * nptl/pthread_mutexattr_setprioceiling.c
11089         (pthread_mutexattr_setprioceiling): Likewise.
11090         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11091         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11092         Likewise.
11094 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11096         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11097         void.
11099 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11101         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11102         third argument const.
11104 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11106         fnmatch: work around GCC compiler warning bug with uninit var
11107         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11108         This works around a bug with x86-64 GCC 4.9.2 and earlier
11109         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11110         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11111         used uninitialized in this function [-Wmaybe-uninitialized]".
11113 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11115         * posix/bug-regex31.c (main): Return RES not 0.
11117 2014-11-25  Anton Blanchard <anton@samba.org>
11119         * sysdeps/powerpc/bits/atomic.h
11120         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11122 2014-11-24  Sterling Augustine  <saugustine@google.com>
11124         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11126 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11128         [BZ #17608]
11129         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11131 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11133         [BZ #17633]
11134         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11135         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11136         variable.
11137         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11138         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11140 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11142         * string/strncpy.c (strncpy): Improve performance by using memset.
11144 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11146         * string/strcpy.c (strcpy):
11147         Improve performance by using strlen and memcpy.
11149 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11151         * string/strcoll_l.c (get_next_seq): __always_inline.
11152         * string/strcoll_l.c (do_compare): __always_inline.
11154 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11156         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11157         defined.
11158         * include/mqueue.h: Likewise.
11159         * include/stdlib.h: Likewise.
11161         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11162         (get_null_defines): Adjust.
11163         * sunrpc/Makefile: Adjust comment.
11164         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11165         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11166         (CFLAGS-interp.c): Likewise.
11167         (CFLAGS-ldconfig.c): Likewise.
11168         (CPPFLAGS-.os): Likewise.
11169         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11170         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11171         * extra-modules.mk (extra-modules.mk): Likewise.
11172         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11173         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11174         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11175         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11176         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11177         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11178         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11179         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11180         * iconvdata/Makefile (CPPFLAGS): Likewise.
11181         (cpp-srcs-left): Add libof for all iconvdata routines.
11182         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11183         * include/assert.h: Likewise.
11184         * include/ctype.h: Likewise.
11185         * include/errno.h: Likewise.
11186         * include/libc-symbols.h: Likewise.
11187         * include/math.h: Likewise.
11188         * include/netdb.h: Likewise.
11189         * include/resolv.h: Likewise.
11190         * include/stdio.h: Likewise.
11191         * include/stdlib.h: Likewise.
11192         * include/string.h: Likewise.
11193         * include/sys/stat.h: Likewise.
11194         * include/wctype.h: Likewise.
11195         * intl/l10nflist.c: Likewise.
11196         * libidn/idn-stub.c: Likewise.
11197         * libio/libioP.h: Likewise.
11198         * nptl/libc_multiple_threads.c: Likewise.
11199         * nptl/pthreadP.h: Likewise.
11200         * posix/regex_internal.h: Likewise.
11201         * resolv/res_hconf.c: Likewise.
11202         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11203         * sysdeps/arm/memmove.S: Likewise.
11204         * sysdeps/arm/sysdep.h: Likewise.
11205         * sysdeps/generic/_itoa.h: Likewise.
11206         * sysdeps/generic/symbol-hacks.h: Likewise.
11207         * sysdeps/gnu/errlist.awk: Likewise.
11208         * sysdeps/gnu/errlist.c: Likewise.
11209         * sysdeps/i386/i586/memcpy.S: Likewise.
11210         * sysdeps/i386/i586/memset.S: Likewise.
11211         * sysdeps/i386/i686/memcpy.S: Likewise.
11212         * sysdeps/i386/i686/memmove.S: Likewise.
11213         * sysdeps/i386/i686/mempcpy.S: Likewise.
11214         * sysdeps/i386/i686/memset.S: Likewise.
11215         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11216         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11217         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11218         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11219         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11220         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11221         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11222         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11223         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11224         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11225         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11226         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11227         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11228         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11229         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11230         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11231         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11232         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11233         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11234         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11235         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11236         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11237         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11238         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11239         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11240         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11241         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11242         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11243         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11244         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11245         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11246         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11248         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11249         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11250         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11251         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11252         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11253         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11254         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11255         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11256         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11257         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11258         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11259         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11260         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11261         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11262         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11263         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11264         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11265         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11266         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11267         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11268         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11269         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11270         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11271         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11272         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11273         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11274         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11275         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11276         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11277         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11278         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11279         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11280         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11281         * sysdeps/posix/closedir.c: Likewise.
11282         * sysdeps/posix/opendir.c: Likewise.
11283         * sysdeps/posix/readdir.c: Likewise.
11284         * sysdeps/posix/rewinddir.c: Likewise.
11285         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11286         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11287         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11288         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11289         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11290         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11291         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11292         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11293         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11296         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11297         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11298         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11299         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11300         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11301         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11302         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11303         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11304         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11305         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11306         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11307         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11308         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11309         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11310         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11311         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11313         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11315         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11317         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11319         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11320         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11321         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11322         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11323         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11324         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11325         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11326         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11327         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11328         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11329         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11330         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11331         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11332         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11333         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11334         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11335         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11336         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11337         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11338         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11339         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11340         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11341         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11342         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11343         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11344         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11345         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11346         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11347         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11348         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11349         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11350         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11351         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11352         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11353         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11354         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11355         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11356         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11357         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11358         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11359         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11360         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11361         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11362         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11363         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11364         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11365         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11366         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11367         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11368         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11369         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11370         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11371         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11372         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11373         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11374         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11375         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11376         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11377         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11378         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11379         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11380         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11381         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11382         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11383         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11384         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11385         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11386         * sysdeps/unix/alpha/sysdep.S: Likewise.
11387         * sysdeps/unix/alpha/sysdep.h: Likewise.
11388         * sysdeps/unix/make-syscalls.sh: Likewise.
11389         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11390         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11391         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11392         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11393         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11394         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11395         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11396         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11397         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11398         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11399         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11400         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11401         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11402         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11403         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11404         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11405         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11406         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11407         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11408         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11409         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11410         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11411         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11412         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11413         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11414         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11415         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11418         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11419         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11420         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11421         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11422         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11423         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11424         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11427         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11428         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11429         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11430         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11431         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11432         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11433         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11434         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11435         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11436         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11439         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11440         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11441         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11442         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11443         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11444         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11445         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11446         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11447         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11448         * sysdeps/x86_64/memcpy.S: Likewise.
11449         * sysdeps/x86_64/memmove.c: Likewise.
11450         * sysdeps/x86_64/memset.S: Likewise.
11451         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11452         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11453         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11454         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11455         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11456         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11457         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11458         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11459         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11460         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11461         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11462         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11463         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11464         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11465         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11466         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11467         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11468         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11469         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11470         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11471         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11472         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11473         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11474         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11475         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11476         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11477         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11478         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11479         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11480         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11481         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11482         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11483         * sysdeps/x86_64/strcmp.S: Likewise.
11485         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11487         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11488         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11489         * elf/rtld-Rules: Likewise.
11490         * elf/setup-vdso.h: Likewise.
11491         * include/assert.h: Likewise.
11492         * include/bits/stdlib-float.h: Likewise.
11493         * include/errno.h: Likewise.
11494         * include/sys/stat.h: Likewise.
11495         * include/unistd.h: Likewise.
11496         * sysdeps/aarch64/setjmp.S: Likewise.
11497         * sysdeps/alpha/setjmp.S: Likewise.
11498         * sysdeps/arm/__longjmp.S: Likewise.
11499         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11500         * sysdeps/arm/setjmp.S: Likewise.
11501         * sysdeps/arm/sysdep.h: Likewise.
11502         * sysdeps/generic/_itoa.h: Likewise.
11503         * sysdeps/generic/dl-sysdep.h: Likewise.
11504         * sysdeps/generic/ldsodefs.h: Likewise.
11505         * sysdeps/i386/dl-tls.h: Likewise.
11506         * sysdeps/i386/setjmp.S: Likewise.
11507         * sysdeps/m68k/setjmp.c: Likewise.
11508         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11509         * sysdeps/mach/hurd/opendir.c: Likewise.
11510         * sysdeps/posix/getcwd.c: Likewise.
11511         * sysdeps/posix/opendir.c: Likewise.
11512         * sysdeps/posix/profil.c: Likewise.
11513         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11514         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11515         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11516         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11517         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11518         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11519         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11520         * sysdeps/s390/dl-tls.h: Likewise.
11521         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11522         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11523         * sysdeps/sh/sh3/setjmp.S: Likewise.
11524         * sysdeps/sh/sh4/setjmp.S: Likewise.
11525         * sysdeps/unix/alpha/sysdep.h: Likewise.
11526         * sysdeps/unix/arm/sysdep.S: Likewise.
11527         * sysdeps/unix/i386/sysdep.S: Likewise.
11528         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11529         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11530         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11531         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11532         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11533         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11534         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11535         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11536         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11537         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11538         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11539         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11540         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11543         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11544         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11545         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11546         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11547         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11548         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11549         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11550         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11551         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11552         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11553         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11554         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11555         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11556         * sysdeps/x86_64/setjmp.S: Likewise.
11558         * include/math.h: Use IS_IN instead of IS_IN_libm.
11559         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11560         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11561         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11562         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11563         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11564         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11565         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11566         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11567         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11568         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11569         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11570         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11571         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11572         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11573         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11574         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11575         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11576         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11577         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11578         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11579         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11580         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11581         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11582         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11583         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11584         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11585         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11586         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11587         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11588         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11589         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11590         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11591         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11593         Likewise.
11594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11595         Likewise.
11596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11597         Likewise.
11598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11599         Likewise.
11600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11601         Likewise.
11602         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11603         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11604         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11605         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11606         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11607         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11613         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11614         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11615         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11616         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11617         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11618         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11619         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11620         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11621         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11622         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11623         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11624         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11626         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11628         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11630         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11631         * nptl/pthreadP.h: Likewise.
11632         * nptl_db/structs.def: Likewise.
11633         * sysdeps/arm/sysdep.h: Likewise.
11634         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11635         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11636         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11637         * sysdeps/unix/alpha/sysdep.h: Likewise.
11638         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11639         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11640         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11641         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11642         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11643         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11644         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11645         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11646         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11647         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11648         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11649         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11650         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11651         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11654         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11656         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11658         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11659         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11660         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11661         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11662         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11663         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11665         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11666         * nptl/pthreadP.h: Likewise.
11667         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11668         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11669         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11670         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11671         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11672         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11673         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11674         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11675         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11676         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11677         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11678         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11680         Likewise.
11681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11682         Likewise.
11683         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11684         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11685         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11686         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11687         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11688         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11689         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11690         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11692         * dlfcn/dladdr.c: Use IS_IN.
11693         * dlfcn/dladdr1.c: Likewise.
11694         * dlfcn/dlclose.c: Likewise.
11695         * dlfcn/dlerror.c: Likewise.
11696         * dlfcn/dlinfo.c: Likewise.
11697         * dlfcn/dlmopen.c: Likewise.
11698         * dlfcn/dlopen.c: Likewise.
11699         * dlfcn/dlsym.c: Likewise.
11700         * dlfcn/dlvsym.c: Likewise.
11702         * include/ifaddrs.h: Use IS_IN.
11703         * inet/check_pf.c: Likewise.
11704         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11705         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11707         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11708         IS_IN_ldconfig.
11709         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11710         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11712         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11713         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11714         IS_IN (libc).
11716         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11718         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11719         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11720         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11721         * include/libc-symbols.h (IS_IN_LIB): New macro.
11722         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11723         * include/netdb.h: Likewise.
11724         * include/stap-probe.h: Remove all uses of IN_LIB.
11726         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11727         instead of IN_MODULE.
11728         * include/libc-symbols.h (IN_MODULE): Define using
11729         MODULE_NAME.
11730         (PASTE_NAME, PASTE_NAME1): New macros.
11731         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11732         of IN_LIB.
11733         (STAP_PROBE_ASM): Likewise.
11735 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11737         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11738         __mach_init in dlopened libc.
11740 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11742         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11743         * sysdeps/arm/preconfigure: Regenerate.
11745 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11747         * nptl/pthread_create.c (__pthread_create_2_1): Set
11748         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11749         when copying values from IATTR into PD.
11751 2014-11-21  Will Newton  <will.newton@linaro.org>
11752             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11754         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11755         Refactor inline-asm.  Also add comment.
11757         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11758         ElfW macro instead of hardcoded Elf64 types.
11759         (la_aarch64_gnu_pltenter): Likewise.
11760         * sysdeps/aarch64/dl-machine.h
11761         (elf_machine_runtime_setup): Use ElfW(Addr).
11763         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11764         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11765         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11766         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11767         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11768         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11769         (R_AARCH64_TLS_DTPMOD): This.
11770         (R_AARCH64_TLS_DTPREL64): Rename to ...
11771         (R_AARCH64_TLS_DTPREL): This.
11772         (R_AARCH64_TLS_TPREL64): Rename to ...
11773         (R_AARCH64_TLS_TPREL): This.
11774         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11775         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11776         R_AARCH64_TLS_TPREL64.
11777         (elf_machine_rela): Likewise.
11779 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11781         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11782         by setting it to 0.  64b atomics are not supported currently.
11784 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11786         [BZ #16469]
11787         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11788         search domain names.
11790 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11792         [BZ #16469]
11793         * NEWS: Update.
11794         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11795         trailing dot.
11796         * posix/tst-getaddrinfo5.c: New.
11797         * posix/Makefile (tests): Add it.
11799 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11801         [BZ #14498]
11802         * NEWS: Fixed.
11803         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11804         after parsing line but before break_if_match.
11805         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11806         if there is a protocol mismatch.
11808 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11810         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11811         because the potential race is on the user-supplied stream.
11813 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11815         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11816         string literal if not passed a buffer.
11817         * manual/job.texi (ctermid): Update reasoning, note deviation
11818         from posix, suggest mtasurace when not passed a buffer, for
11819         future non-preliminary safety notes.
11821 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11823         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11824         of not passing it a buffer.
11825         Reported by Peng Haitao.
11827 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11829         * manual/Makefile ($(objpfx)stamp-summary): Require
11830         check-safety.sh to pass.
11831         * manual/check-safety.sh: Wish for verification that every
11832         @deftypefn and @deftypefun is followed by a @safety remark.
11834 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11836         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11838         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11839         PTHREAD_CANCEL_ASYNCHRONOUS.
11840         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11841         send SIGCANCEL.
11843         * nptl/default-sched.h: New file.
11844         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11845         * nptl/pthread_create.c: Include it.
11846         (__pthread_create_2_1): Use collect_default_sched instead of making
11847         Linux syscalls here directly.
11849 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11851         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11852         __pthread_once): Use C11 atomics.
11854 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11856         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11858 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11860         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11861         atomic_thread_fence_acquire, atomic_thread_fence_release,
11862         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11863         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11864         atomic_compare_exchange_weak_relaxed,
11865         atomic_compare_exchange_weak_acquire,
11866         atomic_compare_exchange_weak_release,
11867         atomic_exchange_acquire, atomic_exchange_release,
11868         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11869         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11870         atomic_fetch_and_acquire,
11871         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11873 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11875         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11876         USE_ATOMIC_COMPILER_BUILTINS): Define.
11877         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11878         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11879         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11880         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11881         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11882         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11883         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11884         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11885         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11886         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11887         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11888         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11889         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11890         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11891         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11892         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11893         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11894         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11895         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11896         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11897         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11898         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11899         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11900         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11901         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11902         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11903         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11904         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11905         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11906         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11907         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11908         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11909         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11910         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11911         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11912         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11913         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11914         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11915         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11916         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11918 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11920         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11921         the sched_priority value here.  It was already checked when the user
11922         called pthread_attr_setschedparam.
11924         * nptl/tst-bad-schedattr.c: New file.
11925         * nptl/Makefile (tests): Add it.
11927 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11928             Florian Weimer  <fweimer@redhat.com>
11929             Joseph Myers  <joseph@codesourcery.com>
11930             Adam Conrad  <adconrad@0c3.net>
11931             Andreas Schwab  <schwab@suse.de>
11932             Brooks  <bmoses@google.com>
11934         [BZ #17625]
11935         * wordexp-test.c (__dso_handle): Add prototype.
11936         (__register_atfork): Likewise.
11937         (__app_register_atfork): New function.
11938         (registered_forks): New global.
11939         (register_fork): New function.
11940         (test_case): Add 3 new tests for WRDE_CMDSUB.
11941         (main): Call __app_register_atfork.
11942         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11943         fork count is non-zero fail the test.
11944         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11945         is set.
11946         (parse_dollars): Remove check for WRDE_NOCMD.
11947         (parse_dquote): Likewise.
11949 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11951         * Makeconfig (built-modules): List non-library modules to be
11952         built.
11953         (module-cppflags): Include libc-modules.h for
11954         everything except shlib-versions.v.i.
11955         (CPPFLAGS): Use it.
11956         (before-compile): Add libc-modules.h.
11957         ($(common-objpfx)libc-modules.h,
11958         $(common-objpfx)libc-modules.stmp): New targets.
11959         (common-generated): Add libc-modules.h and libc-modules.stmp.
11960         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11961         * include/libc-symbols.h: Don't include libc-modules.h.
11962         * include/libc-modules.h: Remove file.
11963         * scripts/gen-libc-modules.awk: New script to generate
11964         libc-modules.h.
11965         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11966         Depend on libc-modules.stmp.
11968         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11970         * Makeconfig (in-module): Get value of libof set for the
11971         translation unit.
11972         (CPPFLAGS): Use $(in-module).
11973         * Makerules: Don't suffix routine names for nonlib.
11974         * include/libc-modules.h: New file.
11975         * include/libc-symbols.h: Include libc-modules.h
11976         (IS_IN): New macro to replace IS_IN_* macros.
11977         * elf/Makefile: Set libof-* for each routine.
11978         * elf/rtld-Rules: Likewise.
11979         * extra-modules.mk: Likewise.
11980         * iconv/Makefile: Likewise.
11981         * iconvdata/Makefile: Likewise.
11982         * locale/Makefile: Likewise.
11983         * malloc/Makefile: Likewise.
11984         * nss/Makefile: Likewise.
11985         * sysdeps/gnu/Makefile: Likewise.
11986         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11987         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11988         * sysdeps/s390/s390-64/Makefile: Likewise.
11989         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11990         CPPFLAGS for nscd instead of nonlib.
11992 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11994         * nptl/createthread.c: New file.
11996         * nptl/createthread.c: Moved ...
11997         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11999         * nptl/createthread.c: Add proper top-line comment.
12000         (do_clone): Folded into ...
12001         (create_thread): ... here.  Take new arguments STOPPED_START and
12002         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
12003         increment __nptl_threads, do event-reporting logic, do
12004         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12005         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
12006         resource cleanup if sched_setaffinity or sched_setscheduler fails,
12007         just send SIGCANCEL.
12008         * nptl/pthread_create.c: Forward-declare create_thread before
12009         including createthread.c.
12010         (start_thread): Use new macro START_THREAD_DEFN to replace defining
12011         declaration, and new macro START_THREAD_SELF to replace argument.
12012         Remove return statement.
12013         (report_thread_creation): New function.
12014         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
12015         synchronization logic, and __nptl_nthreads increment here, around
12016         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
12017         PD->parent_cancelhandling here, before create_thread.  When
12018         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12019         __deallocate_stack, and ENOMEM translation here.
12021 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12023         [BZ #17616]
12024         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12025         (mptwo): Rename to __mptwo.
12026         (__inv): Use __mptwo instead of mptwo.
12027         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12028         (mptwo): Rename to __mptwo.
12029         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12030         of mpone and __mptwo instead of mptwo.
12031         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12032         instead of mpone.
12033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12034         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12035         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12036         of mpone and __mptwo instead of mptwo.
12037         (__mpranred): Use __mpone instead of mpone.
12038         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12039         variable.
12040         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12041         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12042         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12043         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12044         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12045         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12046         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12047         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12048         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12049         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12050         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12051         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12052         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12053         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12054         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12055         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12056         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12057         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12058         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12060 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12062         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12063         replace BSD Handler xref with BSD Signal Handling.
12065 2014-11-17  Richard Henderson  <rth@redhat.com>
12067         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12068         (_FP_PACK_RAW_2): Remove.
12069         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12070         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12071         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12072         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12073         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12074         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12075         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12076         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12077         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12078         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12079         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12080         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12081         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12082         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12083         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12084         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12086 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12088         * signal/signal.h [__USE_MISC]
12089         (struct sigvec): Remove type.
12090         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12091         (sigvec): Remove declaration.
12092         * sysdeps/posix/sigvec.c: Moved ...
12093         * signal/sigvec.c: ... here, replacing old file.
12094         (struct sigvec): New type, copied from old signal.h definition.
12095         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12096         (__sigvec): Convert definition to prototype.
12097         (sigvec): Replace weak_alias with compat_symbol.
12098         * signal/Versions (libc: GLIBC_2.21): New version set.
12099         * include/signal.h: Remove __sigvec declaration.
12100         * sysdeps/unix/bsd/sigvec.c: Remove file.
12101         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12102         * manual/signal.texi (BSD Handler): Remove subsection.
12103         Move siginterrupt up to ...
12104         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12105         (Blocking in BSD): Fold subsection into its parent.
12106         * NEWS: Mention sigvec removal.
12108 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12110         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12111         (DLA_FMS): Make definition conditional only on [__FMA4__].
12112         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12113         definition.
12115         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12116         Make definition conditional only on [PROF].
12117         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12118         definition.
12119         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12120         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12122         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12123         !__GNUC__].
12124         * include/signal.h (__sigpause): Move declaration above call to
12125         libc_hidden_proto.
12126         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12127         variable.
12128         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12129         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12131 2014-11-14  David S. Miller  <davem@davemloft.net>
12133         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12134         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12136 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12138         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12139         * configure: Regenerated.
12140         * manual/install.texi (Tools for Compilation): Document a
12141         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12142         compiler verified to work.
12143         * INSTALL: Regenerated.
12145         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12146         redeclare with asm name.
12147         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12148         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12149         including <string.h>.
12150         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12151         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12152         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12153         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12154         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12155         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12156         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12158 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12160         * stdlib/strtol.c (__strtol): Use prototype definition.
12162         [BZ #17594]
12163         * stdlib/strtol.c (SYM__): New macro.
12164         (SYM__1): Likewise.
12165         (__strtol): Likewise.
12166         (strtol): Rename to __strtol and define as weak alias of
12167         __strtol.  Use libc_hidden_weak.
12169 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12171         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12172         Use numbered labels in inline assembly.
12174 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12176         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12177         Add setjmp LIBC_PROBE.
12178         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12179         Likewise.
12180         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12181         Add longjmp, longjmp_target LIBC_PROBE.
12182         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12183         Likewise.
12185 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12187         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12188         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12189         to get rid of unused variable warning.
12191 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12193         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12194         Check for unwind_backtrace ==  NULL only in SHARED case.
12195         (__backchain_backtrace): Compile only in SHARED case.
12196         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12197         Likewise.
12198         (__backchain_backtrace): Declare as static.
12200 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12202         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12203         (__libc_multiple_threads_ptr): Variable moved ...
12204         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12206 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12208         * conform/GlibcConform.pm: New file.
12209         * conform/conformtest.pl: Use GlibcConform module.
12210         * conform/linknamespace.pl: New file.
12211         * conform/list-header-symbols.pl: Likewise.
12212         * conform/Makefile (linknamespace-symlists-base): New variable.
12213         (linknamespace-symlists-tests): Likewise.
12214         (linknamespace-header-base): Likewise.
12215         (linknamespace-header-tests): Likewise.
12216         (tests-special): Add new tests.
12217         ($(linknamespace-symlists-tests)): New rule.
12218         (linknamespace-libs): New variable.
12219         ($(objpfx)symlist-stdlibs): New rule.
12220         ($(linknamespace-header-tests)): Likewise.
12221         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12222         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12223         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12224         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12225         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12226         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12227         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12228         (test-xfail-ISO/math.h/linknamespace): Likewise.
12229         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12230         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12231         (test-xfail-ISO/time.h/linknamespace): Likewise.
12232         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12233         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12234         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12235         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12236         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12237         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12238         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12239         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12240         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12241         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12242         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12243         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12244         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12245         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12246         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12247         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12248         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12249         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12250         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12251         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12252         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12253         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12254         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12255         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12256         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12257         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12258         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12259         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12260         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12261         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12262         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12263         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12264         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12265         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12266         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12267         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12268         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12269         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12270         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12271         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12272         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12273         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12274         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12275         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12276         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12277         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12278         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12279         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12280         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12281         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12282         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12283         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12284         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12285         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12286         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12287         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12288         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12289         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12290         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12291         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12292         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12293         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12294         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12295         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12296         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12297         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12298         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12299         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12300         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12301         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12302         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12303         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12304         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12305         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12306         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12307         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12308         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12309         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12310         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12311         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12312         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12313         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12314         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12315         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12316         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12317         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12318         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12319         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12320         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12321         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12322         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12323         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12324         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12325         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12326         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12327         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12328         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12329         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12330         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12331         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12332         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12333         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12334         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12335         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12336         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12337         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12338         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12339         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12340         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12341         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12342         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12343         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12344         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12345         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12346         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12347         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12348         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12349         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12350         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12351         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12352         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12353         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12354         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12355         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12356         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12357         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12358         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12359         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12360         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12361         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12362         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12363         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12364         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12365         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12366         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12367         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12368         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12369         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12370         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12371         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12372         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12373         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12374         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12375         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12376         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12377         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12378         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12379         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12380         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12381         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12383         [BZ #17589]
12384         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12385         of fgets_unlocked.
12387         [BZ #17585]
12388         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12389         (memmem): Rename to __memmem and define as weak alias of
12390         __memmem.  Use libc_hidden_weak.
12391         (__memmem): Use libc_hidden_def.
12392         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12393         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12394         memmem.
12396         [BZ #17582]
12397         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12398         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12399         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12400         and define as weak alias of __fgets_unlocked.  Use
12401         libc_hidden_weak.
12402         (__fgets_unlocked): Use libc_hidden_def.
12403         * include/stdio.h (__fgets_unlocked): Declare.  Use
12404         libc_hidden_proto.
12405         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12406         __fgets_unlocked instead of fgets_unlocked.
12407         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12408         (GET_NPROCS_CONF_PARSER): Likewise.
12409         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12410         (GET_NPROCS_CONF_PARSER): Likewise.
12412         [BZ #17574]
12413         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12414         weak alias of __wmemset.  Use libc_hidden_weak.
12415         (__wmemset): Use libc_hidden_def.
12416         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12417         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12418         of wmemset.
12420         [BZ #17573]
12421         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12422         with asm name __mempcpy.
12423         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12425         [BZ #17572]
12426         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12427         and define as weak alias of __rawmemchr.
12428         (__rawmemchr): Do not define as strong alias of rawmemchr.
12430         [BZ #17571]
12431         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12432         alias of __qsort_r.
12433         (qsort): Call __qsort_r instead of qsort_r.
12434         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12435         (__qsort_r): Declare.  Call libc_hidden_proto.
12436         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12437         instead of qsort_r.
12438         * nscd/gai.c (__qsort_r): Define to qsort_r.
12439         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12440         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12441         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12443         [BZ #17570]
12444         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12445         define as weak alias of __malloc_info.
12447         [BZ #17584]
12448         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12449         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12450         (__rewinddir): Use libc_hidden_def.
12451         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12452         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12453         (__rewinddir): Use libc_hidden_def.
12454         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12455         weak alias of __rewinddir.  Don't use libc_hidden_def.
12456         (__rewinddir): Use libc_hidden_def.
12457         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12458         (__rewinddir): Use libc_hidden_proto.
12459         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12460         rewinddir.
12461         (__getcwd): Use __rewinddir instead of rewinddir.
12463         [BZ #17583]
12464         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12465         alias of __fileno.  Use libc_hidden_weak.
12466         (__fileno): Use libc_hidden_def.
12467         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12468         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12469         alias of __ftello.
12470         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12471         __ftello.
12472         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12473         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12474         libc_hidden_def.
12475         (fread_unlocked): Don't use libc_hidden_ver.
12476         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12477         and define as weak alias of __fread_unlocked.  Don't use
12478         libc_hidden_def.
12479         (__fread_unlocked): Use libc_hidden_def.
12480         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12481         (ftello): Don't use libc_hidden_proto.
12482         (__ftello): Declare.  Use libc_hidden_proto.
12483         (fread_unlocked): Don't use libc_hidden_proto.
12484         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12485         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12486         and __ftello instead of fileno, fread_unlocked and ftello.
12488 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12490         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12491         GOT12.
12492         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12493         Likewise.
12494         (_dl_start_user): Likewise.
12495         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12497 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12498             Siddhesh Poyarekar  <siddhesh@redhat.com>
12500         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12501         Move argv and envp down instead of moving argc up.
12502         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12504 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12506         [BZ #17506]
12507         * test-skeleton.c (main): Return successful if one of
12508         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12509         * string/tst-strcoll-overflow.c: Define expected status.
12511 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12513         [BZ #17475]
12514         * locale/iso-639.def: Define Bhili and Tulu language codes.
12516 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12518         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12520 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12522         [BZ #17555]
12523         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12525 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12527         * configure.ac: Updated check of minimal required version to
12528         2.22.
12529         * manual/install.texi (Tools for Compilation): Updated version
12530         number.
12531         * configure: Regenerated.
12532         * INSTALL: Likewise.
12534 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12536         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12537         __tls_get_addr.
12539 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12541         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12542         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12543         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12544         libc_hidden_weak.
12545         (waitpid): Define as alias of __waitpid.
12546         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12547         __waitpid.
12548         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12549         libc_hidden_weak.
12550         (waitpid): Define as alias of __waitpid.
12551         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12552         __libc_waitpid alias.
12553         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12554         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12555         Likewise.
12556         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12557         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12558         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12559         alias.
12560         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12561         __waitpid.
12562         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12563         libc_hidden_weak.
12564         (waitpid): Define as alias of __waitpid.
12566 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12568         * manual/llio.texi: Add comment that write safety has been
12569         fixed in Linux.
12571         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12572         (localplt-build-dso): Add elf/ld.so.
12573         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12574         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12575         and free for ld.so.
12576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12577         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12579         Likewise.
12580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12581         Likewise.
12582         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12583         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12584         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12585         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12586         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12587         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12588         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12589         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12590         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12591         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12592         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12594 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12596         [BZ #14132]
12597         * include/libc-symbols.h (INTUSE): Remove macro.
12598         (INTDEF): Likewise.
12599         (INTVARDEF): Likewise.
12600         (_INTVARDEF): Likewise.
12601         (INTDEF2): Likewise.
12602         (INTVARDEF2): Likewise.
12603         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12604         rtld_hidden_def instead of INTVARDEF.
12605         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12606         (_dl_starting_up_internal): Remove declaration.
12607         (_dl_starting_up): Use rtld_hidden_proto.
12608         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12609         declaration.
12610         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12611         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12612         _dl_starting_up.
12613         * elf/dl-writev.h (_dl_writev): Likewise.
12614         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12615         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12616         _dl_starting_up_internal.
12618 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12620         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12621         test-skeleton.c.
12623 2014-11-05  Will Newton  <will.newton@linaro.org>
12625         * benchtests/Makefile: (bench-malloc): Add malloc thread
12626         scalability benchmark.
12627         * benchtests/bench-malloc-threads.c: New file.
12629 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12631         * sysdeps/aarch64/strchrnul.S: New file.
12633 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12635         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12636         definition.
12637         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12638         Likwise.
12639         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12640         Likewise.
12641         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12642         Likewise.
12643         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12644         Likewise.
12645         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12646         Likewise.
12648 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12650         * catgets/test-gencat.c: Use test-skeleton.c.
12651         * catgets/tst-catgets.c: Likewise.
12652         * csu/tst-empty.c: Likewise.
12653         * elf/tst-audit2.c: Likewise.
12654         * elf/tst-global1.c: Likewise.
12655         * elf/tst-pathopt.c: Likewise.
12656         * elf/tst-piemod1.c: Likewise.
12657         * elf/tst-tls10.c: Likewise.
12658         * elf/tst-tls11.c: Likewise.
12659         * elf/tst-tls12.c: Likewise.
12660         * gnulib/tst-gcc.c: Likewise.
12661         * iconvdata/tst-e2big.c: Likewise.
12662         * iconvdata/tst-loading.c: Likewise.
12663         * iconv/tst-iconv1.c: Likewise.
12664         * iconv/tst-iconv2.c: Likewise.
12665         * inet/test-inet6_opt.c: Likewise.
12666         * inet/tst-gethnm.c: Likewise.
12667         * inet/tst-network.c: Likewise.
12668         * inet/tst-ntoa.c: Likewise.
12669         * intl/tst-codeset.c: Likewise.
12670         * intl/tst-gettext2.c: Likewise.
12671         * intl/tst-gettext3.c: Likewise.
12672         * intl/tst-ngettext.c: Likewise.
12673         * intl/tst-translit.c: Likewise.
12674         * io/test-stat.c: Likewise.
12675         * libio/test-fmemopen.c: Likewise.
12676         * libio/tst-freopen.c: Likewise.
12677         * libio/tst-sscanf.c: Likewise.
12678         * libio/tst-ungetwc1.c: Likewise.
12679         * libio/tst-ungetwc2.c: Likewise.
12680         * libio/tst-widetext.c: Likewise.
12681         * localedata/tst-ctype.c: Likewise.
12682         * localedata/tst-digits.c: Likewise.
12683         * localedata/tst-leaks.c: Likewise.
12684         * localedata/tst-mbswcs1.c: Likewise.
12685         * localedata/tst-mbswcs2.c: Likewise.
12686         * localedata/tst-mbswcs3.c: Likewise.
12687         * localedata/tst-mbswcs4.c: Likewise.
12688         * localedata/tst-mbswcs5.c: Likewise.
12689         * localedata/tst-setlocale.c: Likewise.
12690         * localedata/tst-trans.c: Likewise.
12691         * localedata/tst-wctype.c: Likewise.
12692         * localedata/tst-xlocale1.c: Likewise.
12693         * login/tst-grantpt.c: Likewise.
12694         * malloc/tst-calloc.c: Likewise.
12695         * malloc/tst-malloc.c: Likewise.
12696         * malloc/tst-mallocstate.c: Likewise.
12697         * malloc/tst-mcheck.c: Likewise.
12698         * malloc/tst-mtrace.c: Likewise.
12699         * malloc/tst-obstack.c: Likewise.
12700         * math/atest-exp2.c: Likewise.
12701         * math/atest-exp.c: Likewise.
12702         * math/atest-sincos.c: Likewise.
12703         * math/test-matherr.c: Likewise.
12704         * math/test-misc.c: Likewise.
12705         * math/test-powl.c: Likewise.
12706         * math/tst-definitions.c: Likewise.
12707         * misc/tst-dirname.c: Likewise.
12708         * misc/tst-efgcvt.c: Likewise.
12709         * misc/tst-fdset.c: Likewise.
12710         * misc/tst-hsearch.c: Likewise.
12711         * misc/tst-mntent2.c: Likewise.
12712         * nptl/tst-sem7.c: Likewise.
12713         * nptl/tst-sem8.c: Likewise.
12714         * nptl/tst-sem9.c: Likewise.
12715         * nss/test-netdb.c: Likewise.
12716         * posix/tst-fnmatch.c: Likewise.
12717         * posix/tst-getlogin.c: Likewise.
12718         * posix/tst-gnuglob.c: Likewise.
12719         * posix/tst-mmap.c: Likewise.
12720         * pwd/tst-getpw.c: Likewise.
12721         * resolv/tst-inet_ntop.c: Likewise.
12722         * rt/tst-timer.c: Likewise.
12723         * stdio-common/test-fseek.c: Likewise.
12724         * stdio-common/test-popen.c: Likewise.
12725         * stdio-common/test-vfprintf.c: Likewise.
12726         * stdio-common/tst-cookie.c: Likewise.
12727         * stdio-common/tst-fileno.c: Likewise.
12728         * stdio-common/tst-gets.c: Likewise.
12729         * stdio-common/tst-obprintf.c: Likewise.
12730         * stdio-common/tst-perror.c: Likewise.
12731         * stdio-common/tst-sprintf2.c: Likewise.
12732         * stdio-common/tst-sprintf3.c: Likewise.
12733         * stdio-common/tst-sprintf.c: Likewise.
12734         * stdio-common/tst-swprintf.c: Likewise.
12735         * stdio-common/tst-tmpnam.c: Likewise.
12736         * stdio-common/tst-unbputc.c: Likewise.
12737         * stdio-common/tst-wc-printf.c: Likewise.
12738         * stdlib/tst-environ.c: Likewise.
12739         * stdlib/tst-fmtmsg.c: Likewise.
12740         * stdlib/tst-limits.c: Likewise.
12741         * stdlib/tst-rand48-2.c: Likewise.
12742         * stdlib/tst-rand48.c: Likewise.
12743         * stdlib/tst-random2.c: Likewise.
12744         * stdlib/tst-random.c: Likewise.
12745         * stdlib/tst-strtol.c: Likewise.
12746         * stdlib/tst-strtoll.c: Likewise.
12747         * stdlib/tst-tls-atexit.c: Likewise.
12748         * stdlib/tst-xpg-basename.c: Likewise.
12749         * string/test-ffs.c: Likewise.
12750         * string/tst-bswap.c: Likewise.
12751         * string/tst-inlcall.c: Likewise.
12752         * string/tst-strtok.c: Likewise.
12753         * string/tst-strxfrm.c: Likewise.
12754         * sysdeps/x86_64/tst-audit10.c: Likewise.
12755         * sysdeps/x86_64/tst-audit3.c: Likewise.
12756         * sysdeps/x86_64/tst-audit4.c: Likewise.
12757         * sysdeps/x86_64/tst-audit5.c: Likewise.
12758         * time/tst-ftime_l.c: Likewise.
12759         * time/tst-getdate.c: Likewise.
12760         * time/tst-mktime3.c: Likewise.
12761         * time/tst-mktime.c: Likewise.
12762         * time/tst-posixtz.c: Likewise.
12763         * time/tst-strptime2.c: Likewise.
12764         * time/tst-strptime3.c: Likewise.
12765         * wcsmbs/tst-btowc.c: Likewise.
12766         * wcsmbs/tst-mbrtowc.c: Likewise.
12767         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12768         * wcsmbs/tst-wchar-h.c: Likewise.
12769         * wcsmbs/tst-wcpncpy.c: Likewise.
12770         * wcsmbs/tst-wcrtomb.c: Likewise.
12771         * wcsmbs/tst-wcsnlen.c: Likewise.
12772         * wcsmbs/tst-wcstof.c: Likewise.
12774 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12776         [BZ #14132]
12777         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12778         INTDEF.
12779         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12780         declaration.
12781         (_dl_mcount): Use rtld_hidden_proto.
12782         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12783         _dl_mcount.
12784         * elf/rtld.c (_rtld_global_ro): Likewise.
12786         [BZ #14132]
12787         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12788         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12789         of _dl_init_internal.
12790         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12791         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12792         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12793         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12794         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12795         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12796         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12797         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12798         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12799         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12800         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12801         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12802         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12803         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12804         * sysdeps/tile/dl-start.S (_start): Likewise.
12805         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12806         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12808         [BZ #14132]
12809         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12810         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12811         (rtld_progname): Make macro definition unconditional.
12812         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12813         INTDEF.
12814         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12815         (dl_main): Likewise.
12816         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12817         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12818         instead of _dl_argv_internal.
12819         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12820         __GI__dl_argv instead of INTUSE(_dl_argv).
12821         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12822         __GI__dl_argv instead of _dl_argv_internal.
12824         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12825         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12826         macro.
12827         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12828         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12829         New macro.
12830         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12831         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12832         macro.
12833         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12834         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12836 2014-11-04  Andreas Schwab  <schwab@suse.de>
12838         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12840 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12842         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12843         mtvsrd instruction in binary form.
12845 2014-11-03  Andreas Schwab  <schwab@suse.de>
12847         [BZ #17522]
12848         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12849         for less than MB_LEN_MAX use a local buffer of that size.
12850         * libio/tst-fputws.c: New file.
12851         * libio/Makefile (tests): Add tst-fputws.
12853 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12855         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12856         the size of the fpu_fr.fpu_dregs[] array.
12858 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12860         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12861         (__nanosleep): Do not define as alias.
12862         (nanosleep): Define as alias of __nanosleep.
12863         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12864         __libc_nanosleep name.
12866 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12868         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12869         install.texi in comment.
12871 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12873         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12874         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12875         ... add here and use lwsync or sync ...
12876         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12877         ... and add here using lwsync.
12879 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12881         * elf/dl-machine-reject-phdr.h: New file.
12882         * elf/dl-load.c: #include that.
12883         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12884         if that returned true.
12886 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12888         [BZ #17496]
12889         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12890         gen-as-const-headers chunk.  Add a big scare comment after the last
12891         safe place to touch before-compile.
12893 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12895         * manual/install.texi (Tools for Compilation): Update autoconf
12896         version requirements.
12897         * INSTALL: Regenerated.
12899         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12900         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12901         (__libc_pselect): Likewise.
12903         [BZ #14138]
12904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12909 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12911         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12912         correct barrier instruction.
12913         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12914         Likewise.
12915         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12916         Likewise.
12918 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12920         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12921         after defining inlines.  Instead, just use parens to defeat macro
12922         expansion of __isctype in its declaration.
12924 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12926         * include/sys/uio.h (__libc_readv): Remove declaration.
12927         (__libc_writev): Likewise.
12928         * misc/readv.c (__libc_readv): Rename to __readv.
12929         (__readv): Do not define as alias.
12930         (readv): Define as alias of __readv.
12931         * misc/writev.c (__libc_writev): Rename to __writev.
12932         (__writev): Do not define as alias.
12933         (writev): Define as alias of __writev.
12934         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12935         (__readv): Do not define as alias.
12936         (readv): Define unconditionally as alias of __readv.
12937         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12938         (__writev): Do not define as alias.
12939         (writev): Define unconditionally as alias of __writev.
12940         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12941         name.
12942         (writev): Do not define __libc_writev name.
12944 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12946         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12947         (convert_charseq): New function, broken out of ...
12948         (use_from_charmap): ... here.  Call it.
12949         (use_to_charmap): Use convert_charseq and free instead of duplicating
12950         its code with a variable-length stack struct.
12952 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12954         * include/fcntl.h (__libc_creat): Remove declaration.
12955         * io/creat.c (__libc_creat): Rename to creat.
12956         (creat): Do not define as alias.
12957         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12958         of creat instead of __libc_creat.
12959         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12960         to creat.
12961         (creat): Do not define as alias.
12962         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12963         __libc_creat.
12964         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12965         __libc_creat name.
12966         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12967         Likewise.
12969 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12971         * manual/llio.texi: Add comments discussing why write() may be
12972         considered MT-unsafe on Linux.
12974 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12976         * dl-load.c (local_strdup): Remove.
12977         (expand_dynamic_string_token): Use __strdup.
12978         (decompose_rpath): Likewise.
12979         (_dl_map_object): Likewise.
12981 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12983         [BZ #14132]
12984         * sysdeps/generic/unwind-dw2-fde.c
12985         (__register_frame_info_bases_internal): Do not declare.
12986         (__register_frame_info_table_bases_internal): Likewise.
12987         (__deregister_frame_info_bases_internal): Likewise.
12988         (__register_frame_info_bases): Declare and use hidden_proto before
12989         definition.  Use hidden_def instead of INTDEF.
12990         (__register_frame_info_table_bases): Likewise.
12991         (__deregister_frame_info_bases): Likewise.
12992         (__register_frame_info): Do not use INTUSE.
12993         (__register_frame): Likewise.
12994         (__register_frame_info_table): Likewise.
12995         (__register_frame_table): Likewise.
12996         (__deregister_frame_info): Likewise.
12997         (__deregister_frame): Likewise.
12999 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
13001         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13002         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13003         not undefine.
13004         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13005         Likewise.
13006         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13007         Likewise.
13009 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
13011         [BZ #14138]
13012         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13013         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13014         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13015         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13016         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13017         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13018         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13019         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13020         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13021         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13022         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13023         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13024         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13025         syscall.
13026         (setfsuid): Likewise.
13027         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13028         (setfsuid): Likewise.
13029         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13030         (setfsuid): Likewise.
13031         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13032         Likewise.
13033         (setfsuid): Likewise.
13034         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13035         (setfsuid): Likewise.
13036         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13037         Likewise.
13038         (setfsuid): Likewise.
13040 2014-10-27  Andreas Schwab  <schwab@suse.de>
13042         [BZ #17501]
13043         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13044         check for Slow_SSE4_2 feature bit.
13045         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13046         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13047         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13048         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13050 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13052         * configure.ac: Validate compiler version with a empirical test of
13053         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13054         $CC -v output.
13055         * configure: Regenerated.
13057         * inet/htons.c (htons): Prototypify.
13058         * inet/htonl.c (htonl): Likewise.
13060 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13062         * string/strncat.c (strncat): Improve performance by using strlen.
13064 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13066         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13068 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13070         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13071         Call libc_fetestexcept_aarch64.
13073 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13075         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13076         Call libc_feholdexcept_aarch64.
13078 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13080         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13081         Call get_rounding_mode.
13083 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13085         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13086         Simplify logic.
13088 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13090         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13091         Simplify logic.
13093 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13095         [BZ #14138]
13096         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13097         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13098         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13099         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13100         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13101         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13102         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13103         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13104         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13105         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13106         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13107         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13108         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13109         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13110         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13111         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13112         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13113         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13114         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13115         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13116         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13117         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13118         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13119         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13120         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13121         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13122         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13123         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13124         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13125         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13126         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13127         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13128         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13129         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13130         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13131         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13132         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13133         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13134         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13135         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13136         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13137         syscall.
13138         (geteuid): Likewise.
13139         (getgid): Likewise.
13140         (getuid): Likewise.
13141         (getresgid): Likewise.
13142         (getresuid): Likewise.
13143         (getgroups): Likewise.
13144         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13145         (geteuid): Likewise.
13146         (getgid): Likewise.
13147         (getuid): Likewise.
13148         (getresgid): Likewise.
13149         (getresuid): Likewise.
13150         (getgroups): Likewise.
13151         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13152         (geteuid): Likewise.
13153         (getgid): Likewise.
13154         (getuid): Likewise.
13155         (getresgid): Likewise.
13156         (getresuid): Likewise.
13157         (getgroups): Likewise.
13158         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13159         Likewise.
13160         (geteuid): Likewise.
13161         (getgid): Likewise.
13162         (getuid): Likewise.
13163         (getresgid): Likewise.
13164         (getresuid): Likewise.
13165         (getgroups): Likewise.
13166         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13167         (geteuid): Likewise.
13168         (getgid): Likewise.
13169         (getuid): Likewise.
13170         (getresgid): Likewise.
13171         (getresuid): Likewise.
13172         (getgroups): Likewise.
13173         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13174         Likewise.
13175         (geteuid): Likewise.
13176         (getgid): Likewise.
13177         (getuid): Likewise.
13178         (getgroups): Likewise.
13180         [BZ #14138]
13181         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13182         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13183         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13184         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13185         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13186         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13187         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13188         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13189         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13190         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13191         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13192         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13193         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13194         __chown.
13195         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13196         (lchown): Likewise.
13197         (fchown): Likewise.
13198         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13199         Likewise.
13200         (lchown): Likewise.
13201         (fchown): Likewise.
13202         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13203         (lchown): Likewise.
13204         (fchown): Likewise.
13205         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13206         Likewise.
13207         (lchown): Likewise.
13208         (fchown): Likewise.
13210 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13212         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13213         Simplify logic.
13215 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13217         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13218         Cleanup logic.
13220 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13222         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13223         Remove unused include.
13225 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13227         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13228         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13229         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13230         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13232 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13233             Helge Deller <deller@gmx.de>
13235         [BZ #17508]
13236         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13237         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13238         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13240 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13242         [BZ #14132]
13243         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13244         Remove macro definition.
13245         (__ashrdi3_v_glibc20): Likewise.
13246         (__lshrdi3_v_glibc20): Likewise.
13247         (__cmpdi2_v_glibc20): Likewise.
13248         (__ucmpdi2_v_glibc20): Likewise.
13249         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13250         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13251         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13252         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13253         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13254         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13256 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13258         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13259         old GNU extension [0] syntax.
13260         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13261         alloca rather than an array member with variable length.
13262         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13263         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13264         (parse_opt): ... here.  Likewise use alloca there.
13265         Validate the -i argument before checking for rootness.
13266         (send_shutdown): New function, broken out of ...
13267         (parse_opt): ... here.
13269 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13271         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13272         macro to get at the _rt_local_ro field.
13273         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13274         ([PIC] case) or _dl_hwcap ([!PIC] case).
13275         * sysdeps/arm/setjmp.S: Likewise.
13277         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13278         * sysdeps/arm/configure.ac: New check to define it.
13279         * sysdeps/arm/configure: Regenerated.
13280         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13281         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13282         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13283         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13284         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13285         Use move/movt pair instead of a load.
13286         (LDST_GLOBAL): Macro removed.
13287         (LDR_GLOBAL): New macro replaces it.
13288         (LDR_HIDDEN): New macro.
13289         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13290         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13292         * setjmp/tst-setjmp-static.c: New file.
13293         * setjmp/Makefile (tests): Add it.
13294         (tests-static): New variable.
13296 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13298         [BZ #17485]
13299         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13301 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13303         [BZ #14132]
13304         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13306 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13308         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13310 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13312         * io/fts.c (dirent_not_directory): New function.
13313         (fts_build): Call it.
13315 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13317         * nptl/version.c (__nptl_main): Use normal __write rather than
13318         INTERNAL_SYSCALL.
13319         (banner): Update copyright years.
13321         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13322         gettimeofday.
13323         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13324         * nptl/pthread_cond_timedwait.c: Likewise.
13325         * nptl/pthread_mutex_timedlock.c: Likewise.
13326         * nptl/sem_timedwait.c: Likewise.
13328         * sysdeps/nptl/bits/libc-lock.h
13329         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13330         (__libc_lock_init_recursive): Return void, not 0.
13331         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13332         (__libc_rwlock_init): Likewise.
13333         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13335 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13337         [BZ #15215]
13338         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13339         (__pthread_once_slow): ... here.
13340         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13341         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13343 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13345         [BZ #15215]
13346         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13347         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13348         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13349         * nptl/pthread_once.c (__pthread_once): Likewise.
13350         Update comments.
13352 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13354         [BZ #14138]
13355         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13356         name.
13357         (writev): Use __libc_writev as strong name.
13358         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13359         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13361 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13363         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13365         * sysdeps/i386/nptl/tls.h
13366         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13367         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13368         New macros.
13369         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13370         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13371         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13372         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13373         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13374         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13376         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13377         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13378         on [__NR_futex].
13379         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13380         broken out of ...
13381         (__pthread_mutex_init): ... here.  Call it.
13382         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13383         Conditionalize PI cases on [__NR_futex].
13384         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13385         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13386         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13388         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13389         conditional on [SIGSETXID].
13390         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13391         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13392         is defined.  Likewise for SIGSETXID.
13393         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13394         Conditionalize definitions on [SIGSETXID].
13395         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13396         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13397         unblocking on [SIGCANCEL].
13399         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13400         [__NR_set_robust_list].
13402 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13404         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13405         (do_compare): Likewise.
13407 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13409         [BZ #15884]
13410         * string/strcoll_l.c: Don't include stdio.h.
13411         (coll_seq): Remove members idxarr and rulearr.
13412         (get_next_seq_cached): Remove function.
13413         (get_next_seq): Likewise.
13414         (get_next_seq_nocache): Rename to get_next_seq.
13415         (do_compare): Remove function.
13416         (do_compare_nocache): Rename to do_compare.
13417         (STRCOLL): Remove weight and rules cache.
13419 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13421         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13422         * sysdeps/arm/sfp-machine.h: ... to here.
13423         * sysdeps/arm/Implies: Remove arm/soft-fp.
13425 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13427         * conform/data/sys/utsname.h-data (*_t): Allow.
13428         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13429         [POSIX] (WEXITED): Do not expect constant.
13430         [POSIX] (WSTOPPED): Likewise.
13431         [POSIX] (WNOHANG): Likewise.
13432         [POSIX] (WNOWAIT): Likewise.
13433         [POSIX] (siginfo_t): Do not expect type or elements.
13434         [POSIX] (pid_t): Do not expect type.
13435         [POSIX] (signal.h): Do not allow header.
13436         [POSIX] (sys/resource.h): Likewise.
13437         [POSIX] (si_*): Do not allow pattern.
13438         [POSIX] (W*): Likewise.
13439         [POSIX] (P_*): Likewise.
13440         [POSIX] (BUS_*): Likewise.
13441         [POSIX] (CLD_*): Likewise.
13442         [POSIX] (FPE_*): Likewise.
13443         [POSIX] (ILL_*): Likewise.
13444         [POSIX] (POLL_*): Likewise.
13445         [POSIX] (SEGV_*): Likewise.
13446         [POSIX] (SI_*): Likewise.
13447         [POSIX] (TRAP_*): Likewise.
13448         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13449         variable.
13451 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13453         [BZ #12926]
13454         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13455         infinite loop when __recvmsg returns 0.
13457 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13459         * CANCEL-FCT-WAIVE: Remove file.
13460         * CANCEL-FILE-WAIVE: Likewise.
13462         [BZ #14132]
13463         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13464         instead of INTVARDEF.
13465         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13466         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13467         rtld_hidden_data_def instead of INTVARDEF.
13468         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13469         * elf/dl-deps.c (expand_dst): Likewise.
13470         * elf/dl-load.c (_dl_dst_count): Likewise.
13471         (_dl_dst_substitute): Likewise.
13472         (decompose_rpath): Likewise.
13473         (_dl_init_paths): Likewise.
13474         (open_path): Likewise.
13475         (_dl_map_object): Likewise.
13476         * elf/rtld.c (dl_main): Likewise.
13477         (process_dl_audit): Likewise.
13478         (process_envvars): Likewise.
13479         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13480         Remove declaration.
13481         (__libc_enable_secure): Use rtld_hidden_proto.
13483 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13485         * elf/dl-load.c
13486         (add_path): New function broken out of _dl_rtld_di_serinfo.
13487         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13489 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13491         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13492         parentheses around macro arguments.
13493         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13494         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13495         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13496         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13497         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13498         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13499         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13500         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13501         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13502         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13503         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13504         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13505         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13506         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13507         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13508         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13509         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13510         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13511         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13512         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13513         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13514         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13515         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13518         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13519         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13521         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13522         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13523         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13524         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13525         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13526         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13527         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13528         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13529         Likewise.
13530         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13531         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13532         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13533         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13534         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13535         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13536         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13537         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13538         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13539         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13540         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13541         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13542         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13543         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13544         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13545         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13546         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13547         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13548         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13549         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13550         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13551         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13552         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13553         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13554         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13555         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13556         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13557         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13558         (_FP_FRAC_SRS_1): Likewise.
13559         (_FP_FRAC_CLZ_1): Likewise.
13560         (_FP_MUL_MEAT_1_imm): Likewise.
13561         (_FP_MUL_MEAT_1_wide): Likewise.
13562         (_FP_MUL_MEAT_1_hard): Likewise.
13563         (_FP_SQRT_MEAT_1): Likewise.
13564         (_FP_FRAC_ASSEMBLE_1): Likewise.
13565         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13566         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13567         (__FP_CLZ_2): Likewise.
13568         (_FP_MUL_MEAT_2_wide): Likewise.
13569         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13570         (_FP_MUL_MEAT_2_gmp): Likewise.
13571         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13572         (_FP_SQRT_MEAT_2): Likewise.
13573         (_FP_FRAC_ASSEMBLE_2): Likewise.
13574         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13575         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13576         (_FP_FRAC_CLZ_4): Likewise.
13577         (_FP_MUL_MEAT_4_wide): Likewise.
13578         (_FP_MUL_MEAT_4_gmp): Likewise.
13579         (_FP_SQRT_MEAT_4): Likewise.
13580         (_FP_FRAC_ASSEMBLE_4): Likewise.
13581         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13582         * soft-fp/op-common.h (_FP_CMP): Likewise.
13583         (_FP_CMP_EQ): Likewise.
13584         (_FP_CMP_UNORD): Likewise.
13585         (_FP_TO_INT): Likewise.
13586         (_FP_FROM_INT): Likewise.
13587         [!__FP_CLZ] (__FP_CLZ): Likewise.
13588         (_FP_DIV_HELP_imm): Likewise.
13589         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13590         Likewise.
13591         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13592         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13593         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13594         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13595         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13596         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13597         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13598         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13599         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13602         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13603         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13604         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13605         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13606         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13607         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13608         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13609         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13610         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13611         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13612         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13613         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13614         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13615         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13616         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13617         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13618         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13620         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13621         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13622         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13623         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13624         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13625         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13626         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13627         (FP_UNPACK_RAW_SP): Likewise.
13628         (FP_PACK_RAW_S): Likewise.
13629         (FP_PACK_RAW_SP): Likewise.
13630         (FP_UNPACK_S): Likewise.
13631         (FP_UNPACK_SP): Likewise.
13632         (FP_UNPACK_SEMIRAW_S): Likewise.
13633         (FP_UNPACK_SEMIRAW_SP): Likewise.
13634         (FP_PACK_S): Likewise.
13635         (FP_PACK_SP): Likewise.
13636         (FP_PACK_SEMIRAW_S): Likewise.
13637         (FP_PACK_SEMIRAW_SP): Likewise.
13638         (_FP_SQRT_MEAT_S): Likewise.
13639         (FP_CMP_S): Likewise.
13640         (FP_CMP_EQ_S): Likewise.
13641         (FP_CMP_UNORD_S): Likewise.
13642         (FP_TO_INT_S): Likewise.
13643         (FP_FROM_INT_S): Likewise.
13645         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13647         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13648         (FP_EX_INVALID_IMZ): Likewise.
13649         (FP_EX_INVALID_IMZ_FMA): Likewise.
13650         (FP_EX_INVALID_ISI): Likewise.
13651         (FP_EX_INVALID_ZDZ): Likewise.
13652         (FP_EX_INVALID_IDI): Likewise.
13653         (FP_EX_INVALID_SQRT): Likewise.
13654         (FP_EX_INVALID_CVI): Likewise.
13655         (FP_EX_INVALID_VC): Likewise.
13656         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13657         "invalid" exceptions.
13658         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13659         (_FP_ADD_INTERNAL): Likewise.
13660         (_FP_MUL): Likewise.
13661         (_FP_FMA): Likewise.
13662         (_FP_DIV): Likewise.
13663         (_FP_CMP_CHECK_NAN): Likewise.
13664         (_FP_SQRT): Likewise.
13665         (_FP_TO_INT): Likewise.
13666         (FP_EXTEND): Likewise.
13668 2014-10-09  Allan McRae  <allan@archlinux.org>
13670         * po/fr.po: Update French translation from translation project.
13672 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13674         [BZ #14132]
13675         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13676         of INTDEF.
13677         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13678         (__cxa_atexit): Use libc_hidden_proto.
13679         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13681         [BZ #14132]
13682         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13683         declaration.
13684         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13685         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13686         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13687         [!_ISOMAC] (__iswctype_internal): Likewise.
13688         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13689         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13690         alias.
13691         (fcntl): Remove __fcntl_internal alias.
13692         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13693         __connect_internal alias.
13694         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13695         Likewise.
13697         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13698         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13699         FP_DENORM_ZERO.
13700         (_FP_CHECK_FLUSH_ZERO): New macro.
13701         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13702         (_FP_CMP): Likewise.
13703         (_FP_CMP_EQ): Likewise.
13704         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13705         FP_DENORM_ZERO.
13706         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13707         (FP_TRUNC): Likewise.
13709         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13710         treated as invalid conversion, not as normal exponent.
13712         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13713         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13714         (_FP_CMP_EQ): Likewise.
13715         (_FP_CMP_UNORD): Likewise.
13716         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13717         (FP_CMP_EQ_D): Likewise.
13718         (FP_CMP_UNORD_D): Likewise.
13719         * soft-fp/extended.h (FP_CMP_E): Likewise.
13720         (FP_CMP_EQ_E): Likewise.
13721         (FP_CMP_UNORD_E): Likewise.
13722         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13723         (FP_CMP_EQ_Q): Likewise.
13724         (FP_CMP_UNORD_Q): Likewise.
13725         * soft-fp/single.h (FP_CMP_S): Likewise.
13726         (FP_CMP_EQ_S): Likewise.
13727         (FP_CMP_UNORD_S): Likewise.
13728         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13729         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13730         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13731         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13732         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13733         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13734         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13735         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13736         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13737         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13738         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13739         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13740         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13741         to FP_CMP_Q.
13742         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13743         FP_CMP_Q.
13744         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13745         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13746         FP_CMP_EQ_Q.
13747         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13748         FP_CMP_Q.
13749         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13750         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13751         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13752         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13753         FP_CMP_EQ_Q.
13754         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13755         FP_CMP_Q.
13756         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13757         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13758         FP_CMP_EQ_Q.
13759         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13760         FP_CMP_Q.
13761         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13762         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13763         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13764         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13765         FP_CMP_EQ_Q.
13767         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13768         a subnormal result, set the underflow exception if trapping on
13769         underflow is enabled.
13770         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13771         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13772         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13773         redefine to 0.
13774         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13775         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13776         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13777         * soft-fp/extendxftf2.c (__extendxftf2): Use
13778         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13780         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13781         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13782         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13783         FP_HANDLE_EXCEPTIONS.
13784         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13785         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13786         FP_HANDLE_EXCEPTIONS.
13787         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13788         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13789         FP_HANDLE_EXCEPTIONS.
13790         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13791         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13792         FP_HANDLE_EXCEPTIONS.
13794 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13796         [BZ #14132]
13797         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13798         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13799         use INTUSE.
13800         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13801         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13802         Remove alias.
13803         (__adjtimex): Define using libc_hidden_ver.
13804         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13805         Remove declaration.
13806         (ntp_gettime): Call __adjtimex directly.
13807         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13808         Remove declaration.
13809         (ntp_gettimex): Call __adjtimex directly.
13810         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13811         __adjtimex_internal alias.
13813 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13815         [BZ #17460]
13816         * nscd/nscd.c (more_help): Rewrite list of tables collection
13817         using xstrdup and asprintf.
13819         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13821 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13822             Roland McGrath  <roland@hack.frob.com>
13824         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13825         (do_lookup_unique): ... local function 'enter' here; update callers.
13827 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13829         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13830         compat_symbol calls on [SHARED].
13831         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13832         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13833         Remove.
13834         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13835         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13836         (oldsetrlimit): Remove.
13837         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13839         (lchown): New syscall entry.
13840         (oldsetrlimit): Remove.
13841         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13842         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13843         (oldsetrlimit): Remove.
13844         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13846         [BZ #14138]
13847         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13848         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13849         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13850         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13851         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13852         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13853         (fchown): Likewise.
13854         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13855         (fchown): Likewise.
13856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13857         Likewise.
13859 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13861         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13862         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13863         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13864         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13865         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13866         Likewise.
13867         (__old_sem_post): Likewise.
13869 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13871         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13872         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13873         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13874         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13875         Use INLINE_VSYSCALL macro.
13876         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13877         __vdso_clock_gettime.
13878         * sysdeps/unix/sysv/linux/tile/init-first.c
13879         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13880         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13881         __vdso_clock_gettime.
13883         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13884         to set up frame more cleanly.
13886         * sysdeps/tile/memcmp.c: New file.
13888         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13890         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13891         * sysdeps/tile/tilegx/strcasestr.c: New file.
13892         * sysdeps/tile/tilegx/strnlen.c: New file.
13893         * sysdeps/tile/tilegx/strstr.c: New file.
13895         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13897 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13899         * nptl/tst-setuid3.c: Write errors to stdout.
13901 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13903         * elf/dl-deps.c
13904         (preload): New functions broken out of _dl_map_object_deps.
13905         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13907 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13909         [BZ #14138]
13910         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13911         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13913 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13915         * sysdeps/mips/strcmp.S: New.
13917 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13919         [BZ #14138]
13920         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13921         (linkat): Likewise.
13922         (mkdirat): Likewise.
13923         (readlinkat): Likewise.
13924         (renameat): Likewise.
13925         (symlinkat): Likewise.
13926         (unlinkat): Likewise.
13927         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13928         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13929         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13930         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13931         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13932         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13933         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13935 2014-09-30  Will Newton  <will.newton@linaro.org>
13937         * math/math.h: Define long double math functions if
13938         _LIBC_TEST is defined.
13939         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13941         * localedata/Makefile: Move assignment to tests-special
13942         into an ifdef testing run-built-tests.
13943         * timezone/Makefile: Likewise.
13945 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13947         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13948         with $(BASH) not $(SHELL).
13950 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13951             Matthew LeGendre  <legendre1@llnl.gov>
13953         [BZ #17411]
13954         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13955         l_reloc_result.
13957 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13959         * stdio-common/printf_fp.c
13960         (hack_digit): New function, broken out of ...
13961         (__printf_fp): ... local function here.  Update call sites.
13962         hack_digit now takes an additional parameter that is a pointer
13963         to a struct of the referenced locals.  Those locals moved inside
13964         the struct and references updated.
13966 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13968         * aclocal.m4: Require autoconf 2.69.
13969         * configure: Regenerated.
13970         * sysdeps/aarch64/configure: Likewise.
13971         * sysdeps/alpha/configure: Likewise.
13972         * sysdeps/arm/armv7/configure: Likewise.
13973         * sysdeps/arm/configure: Likewise.
13974         * sysdeps/ia64/configure: Likewise.
13975         * sysdeps/mach/configure: Likewise.
13976         * sysdeps/mips/configure: Likewise.
13977         * sysdeps/s390/configure: Likewise.
13978         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13981         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13982         file.
13983         * sysdeps/ia64/configure.ac: Likewise.
13985 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13988         specify symbol version for ld.so.  Do not include entry for
13989         libpthread.
13990         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13991         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13992         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13994         [BZ #14171]
13995         * Makeconfig [$(build-shared) = yes]
13996         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13997         makefiles.
13998         [$(build-shared) = yes && $(soversions.mk-done) = t]
13999         ($(common-objpfx)gnu/lib-names.h): Remove rule.
14000         [$(build-shared) = yes && $(soversions.mk-done) = t]
14001         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
14002         to Makerules.
14003         [$(build-shared) = yes && $(soversions.mk-done) = t]
14004         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14005         here.
14006         [$(build-shared) = yes && $(soversions.mk-done) = t]
14007         (common-generated): Don't append gnu/lib-names.h and
14008         gnu/lib-names.stmp here.
14009         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14010         (lib-names-h-abi): New variable.
14011         [$(build-shared) = yes && $(soversions.mk-done) = t]
14012         (lib-names-stmp-abi): Likewise.
14013         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14014         abi-variants] (before-compile): Append
14015         $(common-objpfx)$(lib-names-h-abi).
14016         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14017         abi-variants] (common-generated): Append gnu/lib-names.h.
14018         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14019         abi-variants] (install-others-nosubdir): Depend on
14020         $(inst_includedir)/$(lib-names-h-abi).
14021         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14022         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14023         [$(build-shared) = yes && $(soversions.mk-done) = t]
14024         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14025         [$(build-shared) = yes && $(soversions.mk-done) = t]
14026         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14027         [$(build-shared) = yes && $(soversions.mk-done) = t]
14028         (common-generated): Append $(lib-names-h-abi) and
14029         $(lib-names-stmp-abi).
14030         * scripts/lib-names.awk: Do not handle multi being set.
14031         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14032         Remove variable.
14033         (abi-lp64_be-ld-soname): Likewise.
14034         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14035         Likewise.
14036         (abi-hard-ld-soname): Likewise.
14037         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14038         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14039         Remove variable.
14040         (abi-o32_hard-ld-soname): Likewise.
14041         (abi-o32_soft_2008-ld-soname): Likewise.
14042         (abi-o32_hard_2008-ld-soname): Likewise.
14043         (abi-n32_soft-ld-soname): Likewise.
14044         (abi-n32_hard-ld-soname): Likewise.
14045         (abi-n32_soft_2008-ld-soname): Likewise.
14046         (abi-n32_hard_2008-ld-soname): Likewise.
14047         (abi-n64_soft-ld-soname): Likewise.
14048         (abi-n64_hard-ld-soname): Likewise.
14049         (abi-n64_soft_2008-ld-soname): Likewise.
14050         (abi-n64_hard_2008-ld-soname): Likewise.
14051         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14052         Likewise.
14053         (abi-64-v2-ld-soname): Likewise.
14054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14055         ld.so entries.
14056         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14057         variable.
14058         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14059         entry.
14060         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14061         variable.
14062         (abi-64-ld-soname): Likewise.
14063         (abi-x32-ld-soname): Likewise.
14064         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14065         entry.
14066         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14068 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14070         [BZ #14138]
14071         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14072         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14073         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14074         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14075         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14076         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14077         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14078         syscall entry for GLIBC_2.2 symbol version.
14079         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14080         Likewise.
14081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14082         (setrlimit): Likewise.
14083         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14084         Likewise.
14086 2014-09-23  Will Newton  <will.newton@linaro.org>
14088         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14089         _LINUX_ARM_SYSDEP_H include guard too.
14090         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14091         define.
14093 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14095         * sysdeps/unix/sysv/linux/eventfd.c:
14096         Make first argument unsigned.
14097         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14098         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14100 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14102         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14103         * socket/sys/socket.h: Likewise
14104         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14106 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14108         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14110 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14112         * time/tst-ftime.c: New test.
14113         * time/Makefile (tests): Add tst-ftime.
14115 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14117         * soft-fp/extended.h: Fix comment formatting.
14118         * soft-fp/op-1.h: Likewise.
14119         * soft-fp/op-2.h: Likewise.
14120         * soft-fp/op-4.h: Likewise.
14121         * soft-fp/op-8.h: Likewise.
14122         * soft-fp/op-common.h: Likewise.
14123         * soft-fp/soft-fp.h: Likewise.
14125         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14127 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14129         [BZ #6652]
14130         * Makeconfig (soversions-default-setname): Remove variable.
14131         ($(common-objpfx)soversions.i): Don't pass default_setname to
14132         soversions.awk.
14133         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14134         oldest_abi to abi-versions.awk.
14135         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14136         * config.make.in (oldest-abi): Remove variable.
14137         * configure.ac (--enable-oldest-abi): Remove configure option.
14138         * configure: Regenerated.
14139         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14140         text.
14141         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14142         * scripts/soversions.awk: Do not handle default_setname variable.
14143         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14144         variable.
14145         * sysdeps/mach/hurd/configure: Regenerated.
14146         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14147         variable.
14148         * sysdeps/unix/sysv/linux/configure: Regenerated.
14150 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14152         * elf/Makefile (CFLAGS-interp.c): Remove.
14153         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14154         path string.
14155         * elf/interp.c: Include generated runtime-linker.h
14157         * Makerules (lib%.so): Don't include $(+interp) in
14158         prerequisites.
14159         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14160         * dlfcn/eval.c: Remove file.
14162         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14163         macros.
14165         [BZ #17266]
14166         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14167         4.2 and newer.
14169         [BZ #17370]
14170         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14172 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14173             Jakub Jelinek  <jakub@redhat.com>
14175         [BZ #17266]
14176         * libio/stdio.h: Check definition of __fortify_function
14177         instead of __extern_always_inline to include bits/stdio2.h.
14178         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14179         check if __extern_always_inline is defined.
14180         [__USE_MISC || __USE_XOPEN]: Likewise.
14181         [__USE_ISOC99] Likewise.
14182         * misc/sys/cdefs.h (__fortify_function): Define only if
14183         __extern_always_inline is defined.
14184         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14185         __extern_always_inline and __extern_inline only for g++-4.3
14186         and newer or a compatible gcc.
14188 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14190         [BZ #17371]
14191         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14192         last change to handle zero prefix length.
14194 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14196         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14197         _SC_REGEX_VERSION.
14199         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14200         _POSIX_RAW_SOCKETS.
14202 2014-09-13  Allan McRae  <allan@archlinux.org>
14204         * po/ru.po: Update Russian translation from translation project.
14206 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14208         * locale/programs/locale.c (show_locale_vars): Inline local function
14209         into its sole call site.  Clean up some style nits.
14210         (print_item): New function, broken out of ...
14211         (show_info): ... local function here.  Clean up style nits.
14213         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14214         out of ...
14215         (set_class_defaults): ... local function set_default here.
14216         Define set_default as a macro locally to pass constant parameters.
14217         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14218         rather than a shared local.
14220         * stdlib/rpmatch.c (try): New function, broken out of ...
14221         (rpmatch): ... local function here.  Also, prototypify definition.
14223 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14225         * scripts/soversions.awk: Do not handle configuration names.
14226         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14227         vendor and os variables to soversions.awk.
14228         * configure.ac: Do not modify gnu-* host_os.
14229         * configure: Regenerated
14230         * shlib-versions: Remove first column with configuration names.
14231         * nptl/shlib-versions: Likewise.
14232         * nptl_db/shlib-versions: Likewise.
14233         * sysdeps/hppa/shlib-versions: Likewise.
14234         * sysdeps/m68k/shlib-versions: Likewise.
14235         * sysdeps/mach/hurd/shlib-versions: Likewise.
14236         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14237         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14238         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14239         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14240         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14241         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14242         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14243         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14245         Likewise.
14246         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14247         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14248         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14249         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14250         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14251         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14252         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14253         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14256         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14258         Regenerated.
14259         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14261         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14263         * shlib-versions: Remove OS-specific entries.  Moved to files in
14264         sysdeps.
14265         * sysdeps/mach/hurd/shlib-versions: New file.
14266         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14268         * nptl/shlib-versions: Remove architecture-specific entries.
14269         Moved to files in sysdeps.
14270         * shlib-versions: Likewise.
14271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14272         file.
14273         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14274         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14275         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14276         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14278         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14279         (UDP_NO_CHECK6_RX): Likewise.
14281 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14283         * sysdeps/posix/sysconf.c (__sysconf): Spell
14284         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14286 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14288         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14289         loading.
14290         * iconv/Versions (__gconv_transliterate): Export for use from
14291         gconv modules.
14292         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14293         (struct __gconv_trans_data, __gconv_trans_fct,
14294         __gconv_trans_context_fct, __gconv_trans_query_fct,
14295         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14296         definitions.
14297         (struct __gconv_step_data): Remove __trans member.
14298         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14299         longer hidden.  Remove unused trans_data argument.
14300         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14301         (__gconv_translit_find): Remove declaration.
14302         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14303         prototype.
14304         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14305         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14306         trans_data argument.  Add hidden definition.
14307         (__gconv_translit_find): Remove.
14308         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14309         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14310         * iconv/skeleton.c: Remove transliteration initialization.
14311         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14312         __gconv_step_data initialization.
14313         * libio/iofwide.c (__libio_translit_): Remove.
14314         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14315         * wcsmbs/btowc.c (__btowc): Likewise.
14316         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14317         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14318         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14319         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14320         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14321         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14322         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14323         * wcsmbs/wctob.c (wctob): Likewise.
14325 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14327         [BZ #16194]
14328         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14329         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14330         register usage.
14331         * sysdeps/x86/Makefile: Adjust.
14333 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14334             Roland McGrath  <roland@hack.frob.com>
14336         * locale/weight.h: Add include guard.
14337         (findidx): Make static rather than auto; take new parameters
14338         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14339         * locale/weightwc.h: Likewise.
14340         * posix/fnmatch_loop.c
14341         (FCT): Change type of EXTRA from int32_t to wint_t.
14342         Don't include either header inside the function.
14343         Call FINDIDX rather than findidx, and pass new arguments.
14344         #undef FINDIDX at the end of the file.
14345         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14346         FINDIDX before including fnmatch_loop.c for the non-wide version.
14347         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14348         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14349         for the wide version.
14350         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14351         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14352         Pass new arguments to findidx.
14353         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14354         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14355         Don't #include it inside the function.  Pass new arguments to findidx.
14356         * posix/regex_internal.h
14357         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14358         (re_string_elem_size_at): Don't #include it inside the function.
14359         Pass new arguments to findidx.
14360         * string/strcoll_l.c: #include WEIGHT_H at top level.
14361         (get_next_seq): Don't #include it inside the function.
14362         Pass new arguments to findidx.
14363         (get_next_seq_nocache): Likewise.
14364         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14365         (STRXFRM): Don't #include it inside the function.
14366         Pass new arguments to findidx.
14368 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14370         [BZ #17344]
14371         * malloc/malloc.c (unlink): Turn asserts into a call to
14372         malloc_printerr.
14374 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14376         [BZ #17370]
14377         * libio/wfileops (do_ftell_wide): Free OUT.
14379 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14381         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14383 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14385         [BZ #17363]
14386         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14387         group if the current group is empty.
14389 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14391         * benchtests/bench-memset.c (test_main): Add more test from size
14392         from 32 to 512 bytes.
14393         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14394         Add POWER8 memset object.
14395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14396         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14397         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14398         implementation.
14399         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14400         Likewise.
14401         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14402         multiarch POWER8 memset optimization.
14403         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14404         POWER8 memset optimization.
14406         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14407         Remove bzero multiarch objects.
14408         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14409         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14410         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14411         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14412         Remove define.
14413         [__bzero]: Redefine to specific name.
14414         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14415         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14416         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14417         define.
14418         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14419         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14421 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14423         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14424         warnings into errors.
14426         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14427         __cxa_thread_atexit_impl prototype.
14429 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14431         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14432         Fix capitalization of error message.
14434 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14436         * sysdeps/mips/preconfigure: Modify ABI tests.
14438 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14440         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14442 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14443             Carlos O'Donell  <carlos@systemhalted.org>
14445         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14446         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14447         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14448         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14449         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14450         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14451         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14452         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14453         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14454         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14455         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14456         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14457         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14458         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14459         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14460         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14461         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14462         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14463         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14464         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14465         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14466         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14467         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14468         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14469         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14470         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14471         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14472         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14473         Deconditionalize the code that was previously under [RESET_PID].
14474         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14475         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14476         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14477         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14478         include sysdep.h.
14480 2014-09-08  Allan McRae  <allan@archlinux.org>
14482         * version.h (RELEASE): Set to "development".
14483         (VERSION): Set to "2.20.90"
14485 2014-09-07  Allan McRae  <allan@archlinux.org
14487         * version.h (RELEASE): Set to "stable".
14488         (VERSION): Set to "2.20"
14489         * include/features.h (__GLIBC_MINOR__): Set to 20.
14491         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14492         Liebler.
14494         * po/ko.po: Update Korean translation from translation project.
14496 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14498         [BZ #17354]
14499         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14500         macro for handling signed relocations.
14502 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14504         [BZ #17325]
14505         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14506         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14507         assert.
14508         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14509         * iconvdata/ibm935.c (BODY): Likewise.
14510         * iconvdata/ibm937.c (BODY): Likewise.
14511         * iconvdata/ibm939.c (BODY): Likewise.
14512         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14513         assert.
14514         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14515         script.
14516         * iconvdata/run-iconv-test.sh: New test loop for checking for
14517         decoder crashers.
14519 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14521         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14522         libm_hidden_ver.
14524 2014-09-01  Allan McRae  <allan@archlinux.org>
14526         * po/eo.po: Update Esperanto translation from translation project.
14528         * po/ca.po: Update Catalan translation from translation project.
14530 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14532         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14533         __proc_dostop call.
14535 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14537         [BZ #17319]
14538         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14539         to call set_thread_area instead of hand written asm.
14540         (__NR_set_thread_area): Removed define.
14541         (TLS_FLAG_WRITABLE): Likewise.
14542         (__ASSUME_SET_THREAD_AREA): Remove check.
14543         (TLS_EBX_ARG): Remove define.
14544         (TLS_LOAD_EBX): Likewise.
14546 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14548         Simplify atomicity of socket creation in bind.
14550         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14551         looking up the name after linking the file.
14553 2014-08-27  Allan McRae  <allan@archlinux.org>
14555         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14557 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14559         [BZ #17187]
14560         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14561         trans_compare, open_translit, __gconv_translit_find):
14562         Remove module loading code.
14564 2014-08-26  Allan McRae  <allan@archlinux.org>
14566         * po/vi.po: Update Vietnamese translation from translation project.
14568         * po/uk.po: Update Ukrainian translation from translation project.
14570         * po/fr.po: Update French translation from translation project.
14572         * po/ru.po: Update Russian translation from translation project.
14574         * po/pl.po: Update Polish translation from translation project.
14576         * po/cs.po: Update Czech translation from translation project.
14578         * po/de.po: Update German translation from translation project.
14580         * po/bg.po: Update Bulgarian translation from translation project.
14582         * po/sv.po: Update Sweedish translation from translation project.
14584         * po/nl.po: Update Dutch translation from translation project.
14586         * po/es.po: Update Spanish translation from translation project.
14588 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14590         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14592         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14593         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14594         (CPPFLAGS-iconvconfig): Likewise.
14595         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14597         * include/libc-symbols.h: Remove unnecessary check for
14598         NOT_IN_libc.
14599         * nptl/pthreadP.h: Likewise.
14600         * sysdeps/aarch64/setjmp.S: Likewise.
14601         * sysdeps/alpha/setjmp.S: Likewise.
14602         * sysdeps/arm/sysdep.h: Likewise.
14603         * sysdeps/i386/setjmp.S: Likewise.
14604         * sysdeps/m68k/setjmp.c: Likewise.
14605         * sysdeps/posix/getcwd.c: Likewise.
14606         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14607         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14608         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14609         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14610         * sysdeps/sh/sh3/setjmp.S: Likewise.
14611         * sysdeps/sh/sh4/setjmp.S: Likewise.
14612         * sysdeps/unix/alpha/sysdep.h: Likewise.
14613         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14614         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14615         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14616         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14619         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14620         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14621         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14622         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14623         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14624         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14626         * sysdeps/x86_64/setjmp.S: Likewise.
14628 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14630         [BZ #17263]
14631         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14632         <stdint.h>.
14633         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14634         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14636 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14638         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14640         [BZ #17262]
14641         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14642         and __x86_64__ when disabling x87 inline functions.
14644 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14646         [BZ #17259]
14647         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14648         asm statement with __cpuid_count.
14650 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14652         * configure.ac: Change __ehdr_start code to dereference the struct.
14653         Run readelf on the output to look for relocations.
14654         * configure: Regenerated.
14656 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14658         [BZ #17261]
14659         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14660         value to 0.
14661         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14663 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14665         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14667 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14669         [BZ #16892]
14670         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14671         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14673 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14675         * malloc/malloc.c: Fix typo in comment.
14677 2014-08-09  Allan McRae  <allan@archlinux.org>
14679         * Regenerate libc.po.
14681 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14683         * intl/tst-gettext2.sh: Check every lang file for creation.
14685 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14687         * sysdeps/aarch64/fpu/math_private.h
14688         (libc_feholdsetround_noex_aarch64_ctx): New function.
14690 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14692         * sysdeps/arm/armv6/strcpy.S (strcpy):
14693         Fix performance issue in misaligned cases.
14695 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14697         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14698         Move definition from termios.h.
14699         (struct termio): Likewise.
14700         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14701         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14702         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14703         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14704         Likewise.
14705         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14706         Move definition to ioctl-types.h
14707         (struct termio): Likewise.
14708         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14709         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14710         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14711         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14712         Likewise.
14714 2014-08-05  Richard Henderson  <rth@redhat.com>
14716         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14717         exceptions.
14718         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14719         Add fraiseexcpt.
14720         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14721         Use __feraiseexcept.
14722         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14723         Protect libm symbols with IS_IN_libm.
14725         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14727 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14729         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14731 2014-08-04  Will Newton  <will.newton@linaro.org>
14733         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14734         file.
14736 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14738         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14739         variants for each function.
14741 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14743         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14744         appended ...
14745         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14746         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14747         appended ...
14748         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14749         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14750         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14751         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14752         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14753         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14754         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14755         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14756         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14757         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14758         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14759         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14760         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14761         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14762         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14763         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14764         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14765         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14766         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14767         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14768         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14769         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14770         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14771         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14772         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14773         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14774         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14775         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14776         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14777         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14778         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14779         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14780         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14781         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14782         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14783         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14784         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14785         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14786         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14787         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14788         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14789         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14790         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14791         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14792         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14793         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14794         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14795         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14796         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14797         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14798         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14799         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14800         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14801         Update #include.
14802         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14803         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14805 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14807         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14808         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14809         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14810         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14811         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14812         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14814 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14816         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14817         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14818         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14819         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14821 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14823         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14824         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14825         (__libc_vfork): Define function under this name.
14826         (__vfork): Define as an alias.
14827         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14828         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14830 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14832         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14833         that was previously under [RESET_PID].
14834         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14836 2014-08-04  Andreas Schwab  <schwab@suse.de>
14838         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14840 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14842         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14843         (main): Likewise.
14845 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14847         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14849 2014-08-01  Richard Henderon  <rth@redhat.com>
14851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14852         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14853         typo in exact zero test.
14854         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14855         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14856         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14858 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14860         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14861         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14862         * sysdeps/arm/sysdep.h: ... here.
14863         [!__ASSEMBLER__]: Include <stdint.h>.
14865 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14867         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14868         (HAVE_WCTYPE_H): Likewise.
14869         (HAVE_ISWCTYPE): Likewise.
14870         (ENABLE_NLS): Likewise.
14871         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14872         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14874         * posix/regex_internal.c: Check if DEBUG is defined and is
14875         set.
14877         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14878         (HAVE_MBSRTOWCS): Likewise.
14879         * posix/fnmatch.c: Include string.h unconditionally.
14881 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14883         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14884         reversal.
14886 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14888         * sysdeps/generic/safe-fatal.h: New file.
14889         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14890         * nptl/forward.c: Include it.
14891         (__pthread_unwind): Use __safe_fatal as default action, rather
14892         than a bogus use of INTERNAL_SYSCALL that could never work.
14894         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14895         * configure.ac (libc_cv_builtin_trap): New test.
14896         * configure: Regenerated.
14897         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14898         (ABORT_INSTRUCTION): Define using __builtin_trap.
14900         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14901         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14902         * sysdeps/nptl/nptl-signals.h: New file.
14903         * nptl/pthreadP.h: Include <nptl-signals.h>.
14905 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14907         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14908         (ONE_DIRECTION): Define.
14909         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14910         (ONE_DIRECTION): Define.
14911         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14912         (ONE_DIRECTION): Define.
14914 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14916         * sysdeps/s390/Makefile: Delete file.
14917         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14918         * sysdeps/s390/__longjmp.c: Delete file.
14919         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14920         Remove fields __flags and __reserved.
14921         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14922         and add versioning.
14923         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14924         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14925         * sysdeps/s390/rtld-setjmp.S: Likewise.
14926         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14927         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14928         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14929         * sysdeps/s390/s390-32/setjmp.S: ... here.
14930         Add versioning.
14931         (__sigsetjmp): Remove setting __flags field.
14932         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14933         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14934         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14935         * sysdeps/s390/s390-64/setjmp.S: ... here.
14936         Add versioning.
14937         (__sigsetjmp): Remove setting __flags field.
14938         * sysdeps/s390/setjmp.S: Delete file.
14939         * sysdeps/s390/sigjmp.c: Likewise.
14940         * sysdeps/s390/v1-longjmp.c: Likewise.
14941         * sysdeps/s390/v1-setjmp.h: Likewise.
14942         * sysdeps/s390/v1-sigjmp.c: Likewise.
14943         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14944         Remove v1-longjmp_chk.
14945         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14946         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14947         Include debug/longjmp_chk.c and add versioning.
14948         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14949         Include nptl/pt-longjmp.c and add versioning.
14950         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14951         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14952         Include __longjmp.c.
14953         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14954         Move to ...
14955         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14956         (__getcontext): Remove setting __flags field.
14957         Add versioning.
14958         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14959         Don't restore upper high grps.
14960         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14961         Likewise.
14962         (__swapcontext): Remove setting uc_flags field.
14963         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14964         Delete file.
14965         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14966         Include __longjmp.c.
14967         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14968         Move to ...
14969         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14970         (__getcontext): Remove setting __flags field.
14971         Add versioning.
14972         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14973         (__swapcontext): Remove setting uc_flags field.
14974         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14975         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14976         Remove fields uc_high_gprs and __reserved.
14977         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14978         New file with reverted content.
14979         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14980         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14981         Regenerated.
14982         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14983         Regenerated.
14985 2014-07-31  Andreas Schwab  <schwab@suse.de>
14987         * config.h.in (HAVE_IFUNC): Define to 0.
14988         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14989         definedness.
14991 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14994         memmove-avx-unaligned, memcpy-avx-unaligned and
14995         mempcpy-avx-unaligned.
14996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14997         Add tests for AVX memcpy functions.
14998         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14999         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15000         memcpy_chk.
15001         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15002         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15003         memmove_chk.
15004         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15005         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15006         mempcpy_chk.
15007         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15008         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15009         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15011 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15013         [BZ #17213]
15014         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15015         powerpc64le.
15017 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
15019         [BZ #16839]
15020         * manual/llio.texi: Add section about open file description locks.
15021         * manual/examples/ofdlocks.c: Example of open file description
15022         lock usage.
15023         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15024         F_OFD_SETLK, and F_OFD_SETLKW.
15026 2014-07-23  Allan McRae  <allan@archlinux.org>
15028         * po/es.po: Update Spanish translation from translation project.
15030 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15032         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15034 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15036         [BZ #17078]
15037         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15038         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15039         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15041 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15043         [BZ #17088]
15044         * math/fesetenv.c (__fesetenv)
15045         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15046         * math/feupdateenv.c (__feupdateenv)
15047         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15049         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15050         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15051         (__ASSUME_SOCKETCALL): Do not define.
15053         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15054         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15055         (__ASSUME_SOCKETCALL): Do not define.
15056         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15057         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15058         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15059         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15060         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15061         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15062         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15063         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15065         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15066         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15067         (__ASSUME_SOCKETCALL): Do not define.
15068         (__ASSUME_IPC64): Define unconditionally.
15069         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15070         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15071         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15072         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15073         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15074         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15075         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15076         Likewise.
15078         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15079         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15080         (__ASSUME_SOCKETCALL): Do not define.
15081         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15082         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15083         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15084         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15085         (__ASSUME_REQUEUE_PI): Define unconditionally.
15086         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15087         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15088         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15089         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15090         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15091         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15093         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15094         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15095         (__ASSUME_SOCKETCALL): Do not define.
15096         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15097         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15098         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15099         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15100         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15101         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15103         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15104         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15105         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15106         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15107         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15108         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15109         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15110         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15111         (__ASSUME_GETCPU_SYSCALL): Likewise.
15113         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15114         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15115         cases for individual architectures.
15116         * sysdeps/gnu/configure: Regenerated.
15117         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15118         LIBC_SLIBDIR_RTLDDIR.
15119         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15120         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15121         LIBC_SLIBDIR_RTLDDIR.
15122         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15124         LIBC_SLIBDIR_RTLDDIR.
15125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15126         Regenerated.
15127         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15128         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15129         file.
15130         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15131         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15132         file.
15133         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15134         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15135         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15136         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15138         * sysdeps/aarch64/shlib-versions: Move to ...
15139         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15140         * sysdeps/alpha/shlib-versions: Move to ...
15141         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15142         * sysdeps/arm/shlib-versions: Move to ...
15143         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15144         * sysdeps/hppa/shlib-versions: Move all contents except for
15145         libgcc_s entry to ...
15146         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15147         entry from ...
15148         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15149         * sysdeps/ia64/shlib-versions: Move to ...
15150         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15151         entry from ...
15152         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15153         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15154         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15155         * sysdeps/microblaze/shlib-versions: Move to ...
15156         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15157         * sysdeps/mips/shlib-versions: Move to ...
15158         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15159         entry from ...
15160         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15161         * sysdeps/tile/shlib-versions: Move to ...
15162         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15163         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15164         from ...
15165         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15166         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15167         entry from ...
15168         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15170 2014-07-17  Will Newton  <will.newton@linaro.org>
15172         * sysdeps/arm/bits/atomic.h
15173         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15174         (__arch_compare_and_exchange_bool_16_int): Likewise.
15175         (__arch_compare_and_exchange_bool_64_int): Likewise.
15177         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15178         into an #else block.
15180 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15182         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15183         just Linux configurations.  Test empirically that the compiler sets
15184         __ARM_EABI__, rather than using the tuple to decide.
15185         * sysdeps/arm/preconfigure: Regenerated.
15186         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15187         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15188         contents appended ...
15189         * sysdeps/arm/configure.ac: ... here.
15190         * sysdeps/arm/configure: Regenerated.
15192 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15194         * nptl/pthread_kill.c: New file.
15195         * nptl/pthread_sigmask.c: New file.
15196         * nptl/pthread_sigqueue.c: New file.
15198         * sysdeps/nptl/lowlevellock.h: New file.
15199         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15200         * sysdeps/nptl/lowlevellock-futex.h: New file.
15202         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15203         Remove dead declarations.
15205 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15207         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15208         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15209         config-cflags-avx2.
15210         * sysdeps/x86_64/configure.ac: Likewise.
15211         * sysdeps/i386/configure: Regenerated.
15212         * sysdeps/x86_64/configure: Likewise.
15213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15214         memset-avx2 only if config-cflags-avx2 is yes.
15215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15216         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15217         defined.
15218         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15219         only if HAVE_AVX2_SUPPORT is defined.
15220         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15222 2014-07-14  Alan Modra  <amodra@gmail.com>
15224         [BZ #17153]
15225         * elf/elf.h (DT_PPC64_NUM): Correct value.
15226         * NEWS: Add to fixed bug list.
15228 2014-07-13  Jim Meyering  <meyering@fb.com>
15230         [BZ 17150]
15231         regex: don't deref NULL upon heap allocation failure
15232         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15233         failure in one more place.
15234         To trigger the segfault, configure grep -with-included-regex,
15235         build it, and run these commands:
15236         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15238 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15240         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15242 2014-07-11  Richard Henderson  <rth@redhat.com>
15244         * sysdeps/aarch64/libm-test-ulps: Update.
15246 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15248         [BZ #17135]
15249         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15250         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15251         (__nptl_setxid): Initialize error member.  Call
15252         __nptl_setxid_error.
15253         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15254         * nptl/descr.h (struct xid_command): Add error member.
15255         * nptl/tst-setuid3.c: New file.
15256         * nptl/Makefile (tests): Add it.
15258 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15260         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15261         New define.
15262         (__lll_trylock): Use __lll_base_trylock.
15263         (__lll_cond_trylock): Likewise.
15265 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15267         * nptl/pthread_create.c (start_thread): Use atomic_or and
15268         lll_futex_wake directly rather than lll_robust_dead.
15269         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15270         (lll_robust_dead): Macro removed.
15271         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
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         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15288         Use atomic_compare_and_exchange_val_acq directly rather than
15289         lll_robust_trylock.
15290         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15291         (__lll_robust_trylock, lll_robust_trylock): Removed.
15292         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15293         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15294         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15295         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15296         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15297         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15298         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15299         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15300         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15301         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15302         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15303         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15304         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15305         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15307 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15309         * manual/locale.texi (Locale Names): New section documenting
15310         locale name syntax.  Adjust menu and node chaining accordingly.
15311         (Choosing Locale): Reference Locale Names, Locale Categories.
15312         Mention setting LC_ALL=C.  Reflect that name syntax is now
15313         documented.
15314         (Locale Categories): New section title.  Reference Locale Names.
15315         LC_ALL is an environment variable, but not a category.
15316         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15317         description, now in Locale Name.  Reference that section.  Locale
15318         name syntax is now documented.
15320 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15322         [BZ #17137]
15323         * locale/findlocale.c (name_present, valid_locale_name): New
15324         functions.
15325         (_nl_find_locale): Use the loc_name variable to store name
15326         candidates.  Call name_present and valid_locale_name to check and
15327         validate locale names.  Return an error if the locale is invalid.
15329 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15331         * locale/setlocale.c (setlocale): Use strdup for allocating
15332         composite name copy.
15334 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15336         Sync up with gnulib.
15337         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15338         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15339         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15340         and _GL_ARG_NONNULL.
15341         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15342         [!_LIBC]: Include code for Windows and Cygwin.
15343         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15344         Include prototype for int strerror_r.
15345         [!_LIBC] (is_open): New function.
15346         (flush_stdout): New function.
15347         (print_errno_message): Use it.
15348         (error): Likewise.
15349         (error_at_line): Likewise.
15350         (error_tail) Add function attribute macros.  Use
15351         __builtin_expect.
15353         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15355         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15357         * io/ftw.c: Include sys/param.h unconditionally.
15359         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15361         [BZ #17125]
15362         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15363         libc_freeres_ptr.
15364         (freecache): New function to free CACHE on exit.
15366         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15367         initialization.
15369 2014-07-09  David S. Miller  <davem@davemloft.net>
15371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15373         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15374         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15375         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15376         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15377         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15378         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15379         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15380         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15381         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15382         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15383         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15384         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15385         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15387 2014-07-09  Andreas Schwab  <schwab@suse.de>
15389         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15390         output.
15391         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15392         (do_test): Likewise.
15394         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15396 2014-07-09  Will Newton  <will.newton@linaro.org>
15398         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15399         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15400         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15401         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15402         * sysdeps/hppa/start.S (_start): Likewise.
15404 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15406         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15408         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15409         defined.
15411 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15413         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15414         after checking that it is non-NULL.
15416         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15418 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15420         * sysdeps/powerpc/memmove.c: Remove file.
15421         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15422         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15423         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15424         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15425         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15426         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15427         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15428         string memmove instead of removed powerpc one.
15430         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15431         [weak_alias]: Fix compiler warning due trailing data.
15432         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15433         [weak_alias]: Likewise.
15434         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15435         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15438         (__libc_ifunc_impl_list): Add memmove functions.
15440 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15442         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15443         Remove code.
15444         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15445         Likewise
15446         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15447         Likewise
15448         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15449         Likewise
15450         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15451         Likewise
15452         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15453         Likewise
15454         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15455         Likewise
15456         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15457         Likewise
15458         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15459         Likewise
15460         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15461         Likewise
15462         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15463         Likewise
15464         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15465         Likewise
15466         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15467         Likewise
15468         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15469         Likewise
15470         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15471         Likewise
15472         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15473         Likewise
15474         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15475         Likewise
15477 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15479         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15480         to avoid alignment traps in non-cacheable memory.
15481         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15484         multiarch objects.
15485         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15486         file: multiarch power7 memmove.
15487         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15488         multiarch default memmove.
15489         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15490         multiarch memove for powerpc32/power4.
15492         * string/bcopy.c: Use full path to include memmove.c.
15493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15494         multiarch objects.
15495         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15496         bcopy for powerpc64.
15497         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15498         bcopy for powerpc64.
15499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15500         and memmove implementations.
15501         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15502         optimized multiarch memmove for POWER7/powerpc64.
15503         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15504         default multiarch memmove for powerpc64.
15505         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15506         multiarch for powerpc64.
15507         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15508         for POWER7/powerpc64.
15509         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15510         memmove for POWER7/powerpc64.
15512         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15513         glibc default one.
15515         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15516         __ELF_NATIVE_CLASS equal to 64.
15518 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15520         * sysdeps/nptl/lowlevellock.h: File removed.
15522         * NEWS: NPTL is no longer an add-on!
15523         * nptl/internaltypes.h: Moved ...
15524         * sysdeps/nptl/internaltypes.h: ... here.
15525         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15526         * sysdeps/nptl/fork.c: Likewise.
15527         * sysdeps/nptl/gai_misc.h: Likewise.
15528         * sysdeps/nptl/librt-cancellation.c: Likewise.
15529         * sysdeps/nptl/jmp-unwind.c: Likewise.
15530         * sysdeps/nptl/setxid.h: Likewise.
15531         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15532         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15533         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15534         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15535         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15536         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15537         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15538         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15539         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15540         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15541         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15542         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15543         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15544         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15545         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15546         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15547         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15548         * nptl/Makeconfig: Moved ...
15549         * sysdeps/nptl/Makeconfig: ... here.
15550         * nptl/configure: File removed.
15551         * nptl/ANNOUNCE: File removed.
15552         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15553         * sysdeps/unix/sysv/linux/configure: Regenerated.
15555         * nptl/Makefile (routines): Add libc_pthread_init,
15556         libc_multiple_threads, register-atfork and unregister-atfork.
15557         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15558         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15559         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15560         pthread-pi-defines.sym, structsem.sym.
15561         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15562         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15563         [$(subdir) = nptl] (tests): Add tst-setgetname.
15564         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15565         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15566         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15567         [!LIBC_SIGACTION]: Remove aliases.
15568         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15569         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15570         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15571         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15572         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15573         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15574         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15575         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15576         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15577         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15578         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15579         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15580         __libc_allocate_rtsig_private.
15581         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15582         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15583         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15584         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15585         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15586         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15587         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15588         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15589         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15590         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15591         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15592         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15593         * nptl/internaltypes.h: ... here.
15594         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15595         * sysdeps/nptl/jmp-unwind.c: ... here.
15596         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15597         * nptl/libc-lowlevellock.c: ... here.
15598         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15599         * nptl/libc_multiple_threads.c: ... here.
15600         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15601         * nptl/libc_pthread_init.c: ... here.
15602         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15603         * nptl/lowlevelbarrier.sym: ... here.
15604         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15605         * nptl/lowlevelcond.sym: ... here.
15606         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15607         * nptl/lowlevellock.c: ... here.
15608         * nptl/lowlevellock.h: Moved ...
15609         * sysdeps/nptl/lowlevellock.h: ... here.
15610         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15611         * nptl/lowlevelrobustlock.c: ... here.
15612         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15613         * nptl/lowlevelrobustlock.sym: ... here.
15614         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15615         * nptl/lowlevelrwlock.sym: ... here.
15616         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15617         * nptl/pt-fork.c: ... here.
15618         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15619         * nptl/pthread-pi-defines.sym: ... here.
15620         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15621         * nptl/pthread_attr_getaffinity.c: ... here.
15622         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15623         * nptl/pthread_attr_setaffinity.c: ... here.
15624         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15625         * nptl/pthread_mutex_cond_lock.c: ... here.
15626         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15627         Update #include.
15628         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15629         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15630         * nptl/pthread_once.c: ... here, replacing old file.
15631         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15632         * nptl/pthread_yield.c: ... here.
15633         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15634         * nptl/register-atfork.c: ... here.
15635         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15636         * nptl/sem_post.c: ... here.
15637         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15638         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15639         * nptl/sem_timedwait.c: ... here.
15640         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15641         * nptl/sem_trywait.c: ... here.
15642         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15643         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15644         * nptl/sem_wait.c: ... here.
15645         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15646         * nptl/structsem.sym: ... here.
15647         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15648         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15649         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15650         * nptl/unregister-atfork.c: ... here.
15651         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15652         * nptl/unwindbuf.sym: ... here.
15653         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15654         * sysdeps/nptl/fork.c: ... here.
15655         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15656         * sysdeps/nptl/fork.h: ... here.
15657         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15658         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15659         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15660         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15661         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15662         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15663         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15664         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15665         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15666         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15667         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15668         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15669         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15670         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15671         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15672         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15673         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15674         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15675         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15676         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15677         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15678         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15679         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15680         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15681         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15682         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15683         * sysdeps/unix/sysv/linux/raise.c: ... here.
15684         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15685         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15686         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15687         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15688         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15689         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15690         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15691         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15692         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15693         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15694         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15695         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15696         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15697         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15698         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15700 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15702         * sysdeps/generic/memcopy.h: Add comment for
15703         MEMCPY_OK_FOR_FWD_MEMMOVE.
15705 2014-07-04  Will Newton  <will.newton@linaro.org>
15707         * string/memchr.c: Merge from gnulib.
15708         [_LIBC]: Remove conditionals.
15709         (__ptr_t): Remove define.
15710         (LONG_MAX_32_BITS): Likewise.
15711         (LONG_MAX): Likewise.
15712         (MEMCHR): Use ANSI prototype and optimize algorithm.
15714         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15716 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15718         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15719         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15721         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15722         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15723         in a bare environment with no <stdlib.h> installed.
15724         * sysdeps/nptl/configure: Regenerated.
15726         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15728         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15729         AC_EGREP_CPP for kernel header checks, so they only succeed if
15730         including <linux/version.h> actually works right.
15731         * sysdeps/unix/sysv/linux/configure: Regenerated.
15733         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15734         value so it's not diagnosed as unused.
15736         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15737         thing) with "ifeq ($(subdir),rt)".
15739 2014-07-03  Richard Henderson  <rth@redhat.com>
15741         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15742         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15743         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15745         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15746         (math_force_eval): New.
15748         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15749         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15751         * sysdeps/alpha/fpu/s_round.c: Remove file.
15752         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15754         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15755         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15756         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15757         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15758         (_dl_start, print_statistics): Likewise.
15759         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15760         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15762         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15763         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15764         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15765         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15766         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15767         (HP_SMALL_TIMING_AVAIL): Define.
15768         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15769         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15770         (HP_SMALL_TIMING_AVAIL): Define.
15771         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15772         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15774         * sysdeps/aarch64/hp-timing.h: New file.
15776         * sysdeps/generic/hp-timing.h: Remove dead comment.
15777         * sysdeps/generic/hp-timing-common.h: New file.
15778         * sysdeps/alpha/hp-timing.h: Include it.
15779         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15780         * sysdeps/i386/i686/hp-timing.h: Likewise.
15781         * sysdeps/ia64/hp-timing.h: Likewise.
15782         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15783         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15784         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15785         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15786         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15787         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15788         (hp_timing_t): New.
15790         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15791         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15792         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15793         * elf/rtld.c (_dl_start_final): Likewise.
15794         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15795         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15796         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15797         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15798         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15799         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15800         (HP_TIMING_DIFF_INIT): Remove.
15801         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15802         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15803         (HP_TIMING_DIFF_INIT): Remove.
15804         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15805         * sysdeps/i386/i686/hp-timing.c: Remove file.
15806         * sysdeps/x86_64/hp-timing.c: Remove file.
15807         * sysdeps/ia64/hp-timing.c: Remove file.
15808         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15809         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15810         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15811         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15813         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15814         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15815         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15816         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15817         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15818         (HP_TIMING_ACCUM): Remove.
15819         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15820         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15821         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15823         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15824         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15825         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15826         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15827         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15828         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15829         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15830         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15832         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15834 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15836         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15838 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15840         Sync up with gettext.
15841         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15842         [_MSC_VER]: Include malloc.h
15843         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15844         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15845         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15846         TEMP_FAILURE_RETRY.  Cast return of alloca.
15847         [!_LIBC] Call gl_rwlock_init.
15848         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15850 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15852         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15853         before checking its value.
15855 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15857         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15859         * debug/memcpy_chk.c: Don't include pagecopy.h.
15860         * debug/mempcpy_chk.c: Likewise.
15861         * string/memcpy.c: Likewise.
15862         * string/memmove.c: Likewise.
15863         * sysdeps/powerpc/memmove.c: Likewise.
15864         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15865         definition of PAGE_COPY_FWD_MAYBE here...
15866         * sysdeps/generic/pagecopy.h: ... from here.
15867         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15869 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15870             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15872         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15874         optimizations.
15875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15876         (__libc_ifunc_impl_list): Likewise.
15877         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15878         multiarch strcat for PPC64.
15879         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15880         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15882 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15884         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15886 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15888         * intl/loadmsgcat.c: Remove declaration of
15889         get_sysdep_segment_value.
15890         (get_sysdep_segment_value): Use ISO C style.
15891         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15892         semicolon.  Fix typo and formatting in comment.
15893         (_nl_unload_domain): Use ISO C style.
15895         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15897 2014-07-02  Will Newton  <will.newton@linaro.org>
15899         * malloc/obstack.c: Merge from gnulib master.
15900         [HAVE_CONFIG_H]: Remove conditional code.
15901         [!_LIBC]: Include config.h.
15902         [!ELIDE_CODE]: Don't include inttypes.h, include
15903         stdint.h unconditionally.
15904         (print_and_abort): Mark as _Noreturn.
15905         (_obstack_allocated_p): Mark as __attribute_pure__.
15906         (obstack_free): Rename to __obstack_free.
15907         [!__attribute__]: Remove conditional code.
15908         * malloc/obstack.h: Merge from gnulib master.
15909         [__cplusplus]: Move conditional down.
15910         [!__attribute_pure__]: Define __attribute_pure__ here
15911         if it is not already defined.
15912         (_obstack_memory_used): Mark as __attribute_pure__.
15913         [!__obstack_free]: Define as obstack_free.
15914         [__GNUC__]: Remove check for ancient NeXT gcc.
15916 2014-07-02  Will Newton  <will.newton@linaro.org>
15917             Paul Eggert  <eggert@cs.ucla.edu>
15919         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15921 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15923         * resolv/gethnamaddr.c: Add comment warning that the file is
15924         not maintained.
15926 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15928         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15929         entries.
15931         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15932         entry for aio_cancel and aio_cancel64.
15933         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15934         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15935         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15936         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15937         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15938         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15939         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15940         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15941         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15942         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15943         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15944         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15945         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15947 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15949         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15950         * nptl/pthread_mutex_lock.c: Likewise.
15951         * nptl/pthread_mutex_timedlock.c: Likewise.
15952         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15954 2014-07-01  Richard henderson  <rth@redhat.com>
15956         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15957         (__isnan, __isnanl): Remove.
15958         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15960         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15962 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15964         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15966 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15968         * resolv/nss_dns/dns-host.c (getanswer_r)
15969         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15971 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15973         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15974         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15975         undefine.
15976         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15977         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15979 2014-07-01  Roland McGrath <roland@hack.frob.com>
15981         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15982         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15984         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15985         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15987         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15988         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15989         ... here.
15990         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15991         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15993         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15994         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15995         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15996         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15998         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15999         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16000         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16001         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16002         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16003         Moved ...
16004         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16005         ... here.
16006         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16007         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16008         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16009         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16010         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16011         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16012         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16013         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16014         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16015         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16016         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16017         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16018         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16019         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16020         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16021         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16022         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16023         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16024         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16025         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16026         ... here.
16027         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16028         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16029         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16030         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16031         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16032         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16033         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16034         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16036 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16038         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16039         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16040         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16041         Add sysdep.
16043 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16047 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16049         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16050         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16052         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16054         * sysdeps/arm/libm-test-ulps: Regenerated.
16056 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16057             Roland McGrath <roland@hack.frob.com>
16059         * test-skeleton.c (signal_handler): Kill the whole process group
16060         before killing the child individually.
16061         (main): Report any failure on `setpgid'.
16063 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16065         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16066         from _TLS_H to _ARM_NPTL_TLS_H.
16067         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16068         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16070 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16072         [BZ #16539]
16073         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16074         (__expm1l): Return argument unchanged when small but not
16075         subnormal.
16077         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16078         include macro name.
16079         (_FP_UNPACK_RAW_1_P): Likewise.
16080         (_FP_PACK_RAW_1): Likewise.
16081         (_FP_PACK_RAW_1_P): Likewise.
16082         (_FP_MUL_MEAT_1_wide): Likewise.
16083         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16084         (_FP_MUL_MEAT_1_hard): Likewise.
16085         (_FP_DIV_MEAT_1_imm): Likewise.
16086         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16087         (_FP_DIV_MEAT_1_udiv): Likewise.
16088         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16089         (_FP_UNPACK_RAW_2): Likewise.
16090         (_FP_UNPACK_RAW_2_P): Likewise.
16091         (_FP_PACK_RAW_2): Likewise.
16092         (_FP_PACK_RAW_2_P): Likewise.
16093         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16094         (_FP_MUL_MEAT_2_wide): Likewise.
16095         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16096         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16097         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16098         (_FP_MUL_MEAT_2_gmp): Likewise.
16099         (_FP_DIV_MEAT_2_udiv): Likewise.
16100         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16101         (_FP_FRAC_SRL_4): Likewise.
16102         (_FP_FRAC_SRST_4): Likewise.
16103         (_FP_FRAC_SRS_4): Likewise.
16104         (_FP_UNPACK_RAW_4): Likewise.
16105         (_FP_UNPACK_RAW_4_P): Likewise.
16106         (_FP_PACK_RAW_4): Likewise.
16107         (_FP_PACK_RAW_4_P): Likewise.
16108         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16109         (_FP_MUL_MEAT_4_wide): Likewise.
16110         (_FP_MUL_MEAT_4_gmp): Likewise.
16111         (umul_ppppmnnn): Likewise.
16112         (_FP_DIV_MEAT_4_udiv): Likewise.
16113         (__FP_FRAC_ADD_4): Likewise.
16114         (__FP_FRAC_SUB_3): Likewise.
16115         (__FP_FRAC_SUB_4): Likewise.
16116         (__FP_FRAC_DEC_3): Likewise.
16117         (__FP_FRAC_DEC_4): Likewise.
16118         (__FP_FRAC_ADDI_4): Likewise.
16119         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16120         (_FP_FRAC_SRL_8): Likewise.
16121         (_FP_FRAC_SRS_8): Likewise.
16123         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16124         include macro name.
16125         (FP_UNPACK_RAW_EP): Likewise.
16126         (FP_PACK_RAW_E): Likewise.
16127         (FP_PACK_RAW_EP): Likewise.
16128         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16129         (_FP_ISSIGNAN): Likewise.
16130         (_FP_ADD_INTERNAL): Likewise.
16131         (_FP_FMA): Likewise.
16132         (_FP_CMP): Likewise.
16133         (_FP_SQRT): Likewise.
16134         (_FP_TO_INT): Likewise.
16135         (_FP_FROM_INT): Likewise.
16136         (FP_EXTEND): Likewise.
16137         (_FP_DIV_MEAT_N_loop): Likewise.
16139 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16141         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16142         throughout.
16144 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16146         [BZ #17097]
16147         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16148         result with correct sign in case of exponents that produce
16149         overflow except for X very close to 1.
16151 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16153         mktime: merge #if/#ifdef usage from glibc
16154         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16155         as that works with both Glibc's and Gnulib's style.
16156         See thread starting at Siddhesh Poyarekar's bug report at:
16157         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16159 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16161         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16162         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16163         * sysdeps/tile/tilegx/memmove.c: Remove file.
16165 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16167         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16168         abi-name definition.
16169         * scripts/soversions.awk: Do not handle or generate ABI lines.
16170         * shlib-versions: Remove ABI entries.
16171         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16172         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16174 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16177         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16178         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16179         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16181         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16183         Moved ...
16184         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16185         ... here.
16186         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16187         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16189         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16191         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16193         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16195         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16197         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16199         Moved ...
16200         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16201         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16202         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16203         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16204         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16205         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16206         Moved ...
16207         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16209         Moved ...
16210         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16211         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16212         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16213         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16214         Moved ...
16215         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16216         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16217         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16219         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16221         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16223         Moved ...
16224         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16225         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16226         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16227         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16228         Moved ...
16229         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16230         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16231         Moved ...
16232         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16233         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16234         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16235         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16236         Moved ...
16237         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16238         ... here.
16239         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16240         Identical file removed.
16241         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16242         Moved ...
16243         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16244         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16245         Identical file removed.
16246         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16247         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16248         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16249         Moved ...
16250         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16251         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16252         Identical file removed.
16253         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16254         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16255         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16256         Identical file removed.
16257         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16258         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16259         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16260         Identical file removed.
16261         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16262         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16263         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16264         Identical file removed.
16265         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16266         Moved ...
16267         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16268         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16269         Identical file removed.
16270         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16271         Moved ...
16272         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16274         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16275         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16276         Identical file removed.
16277         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16278         Moved ...
16279         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16280         ... here.
16281         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16282         Identical file removed.
16283         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16284         Moved ...
16285         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16286         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16287         Identical file removed.
16288         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16289         Moved ...
16290         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16291         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16292         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16293         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16294         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16295         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16296         Moved ...
16297         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16298         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16299         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16301         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16302         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16303         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16304         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16305         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16307 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16309         [BZ #17092]
16310         * nscd/nscd.c (monitor_child): Return exit status of child
16311         instead of return value from wait syscall.
16313 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16315         * configure.ac (libc_commonpagesize): Remove variable.
16316         (libc_relro_required): Likewise.
16317         (libc_cv_z_relro): Remove configure test.
16318         * configure: Regenerated.
16319         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16320         variable.
16321         (libc_relro_required): Likewise.
16322         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16323         (libc_relro_required): Likewise.
16324         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16325         (libc_relro_required): Likewise.
16326         * sysdeps/arm/preconfigure: Regenerated.
16327         * sysdeps/ia64/preconfigure: Remove file.
16328         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16329         variable.
16330         (libc_relro_required): Likewise.
16332         [BZ #16561]
16333         [BZ #16562]
16334         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16335         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16336         recompute overflowing results in original rounding mode.
16337         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16338         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16339         recompute overflowing results in original rounding mode.
16340         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16341         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16342         recompute overflowing results in original rounding mode.
16343         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16344         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16345         recompute overflowing results in original rounding mode.
16346         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16347         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16348         recompute overflowing results in original rounding mode.
16349         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16350         (libc_feholdsetround_ctx): New macro.
16351         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16352         * sysdeps/i386/fpu/libm-test-ulps: Update.
16353         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16355 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16357         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16358         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16359         corresponding .cpsetup call.
16361 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16363         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16364         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16365         * sysdeps/arm/Makefile [$(subdir) = csu]
16366         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16367         (static-only-routines): Add aeabi_read_tp here.
16368         (shared-only-routines): Add libc-aeabi_read_tp here.
16369         (CFLAGS-libc-start.c): Add -fexceptions here.
16370         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16371         (sysdep_routines, static-only-routines, shared-only-routines):
16372         Don't add to these here.
16373         (CFLAGS-libc-start.c): Likewise.
16375         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16376         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16377         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16378         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16379         * sysdeps/arm/Makefile [$(subdir) = rt]
16380         (librt-sysdep_routines, librt-shared-only-routines):
16381         Append rt-aeabi_unwind_cpp_pr1 here.
16382         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16383         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16384         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16385         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16386         Append nptl-aeabi_unwind_cpp_pr1 here.
16387         (tests): Filter out tst-cleanupx4 here.
16388         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16389         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16390         Don't do those here.
16392 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16394         * scripts/list-sources.sh: Do not handle ports specially.
16396 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16398         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16399         * sysdeps/arm/feupdateenv.c: Likewise.
16401         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16403 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16405         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16406         trailing whitespace removed.
16407         * scripts/config.guess: Update to version 2014-03-23.
16408         * scripts/config.sub: Update to version 2014-05-01
16409         * scripts/install-sh: Update to version 2013-12-25.23.
16410         * scripts/move-if-change: Update from gnulib.
16412 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16414         * debug/memmove_chk.c: Remove pagecopy.h include.
16416 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16418         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16419         identical to gnulib mktime.
16421 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16423         * configure.ac: Do not test for machine being rs6000.  Do not test
16424         for powerpc*-*soft.
16425         * configure: Regenerated.
16427         [BZ #11505]
16428         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16429         test.
16430         * configure: Regenerated.
16431         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16432         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16433         Remove configure test.
16434         * sysdeps/arm/configure: Regenerated.
16435         * sysdeps/nptl/configure.ac: Do not check
16436         libc_cv_asm_cfi_directives.
16437         * sysdeps/nptl/configure: Regenerated.
16438         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16439         * sysdeps/x86_64/nptl/configure: Remove generated file.
16440         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16441         unconditional.
16442         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16444 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16446         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16447         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16448         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16449         it is defined.
16451         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16452         instead of whether it is defined.
16453         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16454         * sysdeps/hppa/dl-machine.h: Likewise.
16455         * sysdeps/ia64/dl-machine.h: Likewise.
16456         * sysdeps/m68k/dl-machine.h: Likewise.
16457         * sysdeps/microblaze/dl-machine.h: Likewise.
16458         * sysdeps/mips/dl-machine.: Likewise.
16459         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16460         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16461         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16462         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16463         * sysdeps/sh/dl-machine.h: Likewise.
16464         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16465         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16466         * sysdeps/tile/dl-machine.h: Likewise.
16467         * sysdeps/x86_64/dl-machine.h: Likewise.
16469         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16470         code.
16471         (verify_persistent_db): Likewise.
16473 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16476         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16478         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16480         Moved ...
16481         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16482         ... here.
16483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16484         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16486         Identical file removed.
16487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16488         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16490         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16492         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16494         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16496         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16498         Moved ...
16499         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16501         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16503         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16505         Moved ...
16506         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16508         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16510         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16512         Identical file removed.
16513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16514         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16516         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16518         Moved ...
16519         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16520         ... here.
16521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16522         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16524         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16526         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16528         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16530         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16532         Moved ...
16533         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16535         Moved ...
16536         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16538         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16540         Moved ...
16541         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16543         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16545         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16546         folded into ...
16547         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16548         * sysdeps/unix/sysv/linux/s390/Versions
16549         (libpthread: GLIBC_2.19): New version set.
16550         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16551         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16552         (librt: GLIBC_2.3.3): New version set.
16553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16554         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16555         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16556         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16557         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16558         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16559         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16560         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16561         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16562         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16563         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16564         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16565         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16566         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16567         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16568         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16569         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16570         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16571         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16572         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16573         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16574         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16575         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16576         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16577         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16578         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16579         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16580         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16581         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16582         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16583         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16584         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16585         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16586         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16587         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16588         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16589         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16590         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16591         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16592         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16593         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16594         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16595         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16596         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16597         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16599         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16600         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16601         (__libc_vfork): Define the function under this name.
16602         [!NOT_IN_libc] (__vfork): Make this an alias.
16603         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16605         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16606         (__libc_vfork): Define the function under this name.
16607         [!NOT_IN_libc] (__vfork): Make this an alias.
16608         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16609         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16610         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16611         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16612         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16613         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16615         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16616         code that was previously under [RESET_PID].
16617         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16618         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16621         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16622         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16623         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16624         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16625         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16626         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16627         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16628         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16629         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16630         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16631         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16632         Moved ...
16633         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16634         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16635         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16636         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16637         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16638         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16639         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16640         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16641         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16642         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16643         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16644         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16645         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16646         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16647         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16648         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16649         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16650         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16651         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16652         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16653         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16654         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16655         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16656         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16657         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16658         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16659         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16660         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16661         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16663 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16665         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16666         that was previously under [RESET_PID].
16667         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16669 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16671         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16672         not undefine and redefine.
16673         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16674         [O_CLOEXEC]: Make code unconditional.
16675         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16676         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16677         <kernel-features.h>.
16678         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16679         conditional variable definition.
16680         (shm_open) [O_CLOEXEC]: Make code unconditional.
16681         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16682         code.
16684         * configure.ac (USE_REGPARMS): Don't define here.
16685         * configure: Regenerated.
16686         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16687         * sysdeps/i386/configure: Regenerated.
16689         * nptl/createthread.c: Don't include kernel-features.h.
16690         * nptl/pthread_cancel.c: Likewise.
16691         * nptl/pthread_condattr_setclock.c: Likewise.
16692         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16693         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16694         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16695         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16696         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16697         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16698         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16699         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16701         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16702         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16703         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16704         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16705         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16706         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16707         * nscd/gai.c: Likewise.
16708         * nss/nss_db/db-open.c: Likewise.
16709         * sysdeps/generic/ldsodefs.h: Likewise.
16710         * sysdeps/sh/nptl/tls.h: Likewise.
16711         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16712         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16713         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16714         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16715         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16716         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16717         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16718         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16719         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16720         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16721         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16722         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16723         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16724         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16725         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16726         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16727         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16728         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16729         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16730         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16731         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16732         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16733         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16734         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16735         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16736         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16737         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16738         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16739         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16740         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16741         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16742         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16743         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16744         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16745         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16746         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16747         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16748         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16749         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16750         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16751         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16752         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16753         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16754         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16755         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16756         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16757         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16758         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16759         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16760         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16761         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16762         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16763         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16764         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16765         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16766         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16767         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16768         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16791         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16792         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16793         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16794         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16795         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16796         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16797         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16798         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16799         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16800         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16801         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16802         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16803         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16804         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16805         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16806         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16807         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16808         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16809         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16810         * sysdeps/unix/sysv/linux/system.c: Likewise.
16811         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16812         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16813         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16814         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16815         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16816         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16817         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16819         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16820         * configure: Regenerated.
16821         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16823         * configure.ac (base_machine): Do not set specially for particular
16824         machines here.
16825         * configure: Regenerated.
16826         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16827         settings from configure.ac.
16828         * sysdeps/i386/preconfigure: New file.
16829         * sysdeps/s390/preconfigure: Likewise.
16830         * sysdeps/sh/preconfigure: Likewise.
16831         * sysdeps/sparc/preconfigure: Likewise.
16833 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16835         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16836         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16837         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16838         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16839         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16840         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16841         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16842         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16843         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16844         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16845         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16846         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16847         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16848         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16849         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16850         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16851         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16852         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16853         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16855         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16856         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16857         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16858         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16859         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16860         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16861         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16862         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16863         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16864         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16865         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16866         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16867         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16868         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16869         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16870         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16871         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16872         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16873         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16874         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16875         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16876         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16877         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16878         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16879         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16880         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16881         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16882         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16883         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16884         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16885         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16886         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16887         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16888         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16889         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16890         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16891         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16892         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16895         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16897         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16899         Moved ...
16900         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16901         ... here.
16902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16903         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16905         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16907         Moved ...
16908         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16910         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16912         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16914         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16916         Moved ...
16917         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16919         Moved ...
16920         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16922         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16924         Moved ...
16925         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16927         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16929         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16931         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16933         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16935         Moved ...
16936         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16937         ... here.
16938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16939         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16941         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16943         Moved ...
16944         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16946         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16948         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16950         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16952         Moved ...
16953         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16955         Moved ...
16956         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16958         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16960         Moved ...
16961         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16963         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16965         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16967 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16969         * timezone/checktab.awk: Update from tzcode 2014e.
16970         * timezone/private.h: Likewise.
16971         * timezone/tzfile.h: Likewise.
16972         * timezone/zdump.c: Likewise.
16973         * timezone/zic.c: Likewise.
16975         * sysdeps/unix/sysv/linux/kernel-features.h
16976         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16977         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16978         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16979         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16980         Remove conditional code.
16982 2014-06-25  Will Newton  <will.newton@linaro.org>
16984         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16985         (_dl_arm_cap_flags): Add HWCAP2 values.
16986         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16987         (_DL_HWCAP_COUNT): Increase to 37.
16988         (_DL_HWCAP_LAST): New define.
16989         (_DL_HWCAP2_LAST): New define.
16990         (_dl_procinfo): Add support for printing
16991         AT_HWCAP2 entries.
16992         (_dl_string_hwcap): Use _dl_hwcap_string.
16994 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16998 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17000         * README: Do not mention ports directory.
17002         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17003         Remove macro.
17004         * sysdeps/unix/sysv/linux/futimes.c: Do not include
17005         <kernel-features.h>.
17006         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17007         conditional variable definition.
17008         (__futimes): Update comment.
17009         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17010         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17012         [BZ #16560]
17013         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17014         arguments close to 0.
17015         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17016         Likewise.
17017         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17018         Likewise.
17019         * math/auto-libm-test-in: Add more tests of exp10.
17020         * math/auto-libm-test-out: Regenerated.
17021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17023         * sysdeps/unix/sysv/linux/kernel-features.h
17024         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17025         * sysdeps/unix/sysv/linux/readv.c: Do not include
17026         <kernel-features.h>.
17027         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17028         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17029         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17030         unconditional.
17031         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17032         conditional code.
17033         * sysdeps/unix/sysv/linux/writev.c: Do not include
17034         <kernel-features.h>.
17035         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17036         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17037         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17038         unconditional.
17039         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17040         conditional code.
17042 2014-06-25  Will Newton  <will.newton@linaro.org>
17044         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17045         comment changes throughout the file.  Remove checks
17046         for HAVE_*_H definitions that are not required.
17047         (__gen_tempname): Call abort if an unknown kind value is
17048         passed.
17050 2014-06-25  Andreas Schwab  <schwab@suse.de>
17052         [BZ #17086]
17053         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17054         scalbln, scalblnf, scalblnl in libc.
17056 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17058         [BZ #17086]
17059         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17060         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17061         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17063 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17065         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17066         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17067         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17068         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17069         Update #include.
17070         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17071         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17072         Update #include.
17073         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17074         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17075         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17076         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17077         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17078         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17079         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17080         * sysdeps/x86/bits/semaphore.h: ... here.
17081         * sysdeps/x86/nptl/elide.h: Moved ...
17082         * sysdeps/x86/elide.h: ... here.
17083         * sysdeps/x86_64/nptl/Implies: File removed.
17084         * sysdeps/i386/nptl/Implies: File removed.
17086 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17088         [BZ #16539]
17089         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17090         return the argument for normal arguments with exponent below -64.
17091         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17092         Likewise.
17093         * math/auto-libm-test-in: Add another test of expm1.
17094         * math/auto-libm-test-out: Regenerated.
17096         [BZ #16287]
17097         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17098         calling __erfcl for arguments at least 16.
17099         * math/auto-libm-test-in: Add more tests of erf.
17100         * math/auto-libm-test-out: Regenerated.
17102         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17103         individual architectures.
17104         * sysdeps/unix/sysv/linux/configure: Regenerated.
17105         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17106         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17107         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17108         (ldd_rewrite_script): Define variable.
17109         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17111         file.
17112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17113         generated file.
17114         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17115         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17116         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17117         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17118         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17119         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17120         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17121         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17123 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17125         [BZ #17084]
17126         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17127         Rename member __data.d to __data.__elision_data.
17129 2014-06-24  Wilco  <wdijkstr@arm.com>
17131         * NEWS: Add 16918 to fixed bug list.
17133 2014-06-24  Wilco  <wdijkstr@arm.com>
17135         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17137 2014-06-24  Wilco  <wdijkstr@arm.com>
17139         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17140         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17141         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17142         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17143         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17144         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17145         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17146         Use _FPU_MASK_RM.
17148 2014-06-24  Wilco  <wdijkstr@arm.com>
17150         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17152 2014-06-24  Wilco  <wdijkstr@arm.com>
17154         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17155         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17156         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17157         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17159 2014-06-24  Wilco  <wdijkstr@arm.com>
17161         [BZ #16918]
17162         * sysdeps/arm/feupdateenv.c (feupdateenv):
17163         Rewrite to reduce FPSCR accesses and fix return value.
17165 2014-06-24  Wilco  <wdijkstr@arm.com>
17167         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17168         Optimize to avoid unnecessary FPSCR writes.
17169         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17170         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17171         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17172         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17174 2014-06-24  Wilco  <wdijkstr@arm.com>
17176         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17177         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17178         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17179         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17180         Call libc_fetestexcept_vfp.
17181         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17182         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17183         __SOFTFP__ ifdef so that they can be built for softfp.
17185 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17187         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17188         argument type signed char.
17190         * Makerules (check-abi): Dump diff of symlist if the test
17191         fails.
17193 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17195         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17196         using abort.
17198         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17199         Remove unused variable ST.
17201 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17203         [BZ #16354]
17204         [BZ #17061]
17205         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17206         small arguments before calling __expm1.
17207         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17208         small arguments before calling __expm1f.
17209         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17210         small arguments before calling __expm1l.
17211         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17212         Likewise.
17213         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17214         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17215         spurious underflow for some cosh tests.
17216         * math/auto-libm-test-out: Regenerated.
17217         * sysdeps/i386/fpu/libm-test-ulps: Update.
17219         [BZ #17050]
17220         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17221         (__ieee754_y1): Set errno if return value overflows.
17222         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17223         (__ieee754_y1f): Set errno if return value overflows.
17224         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17225         (__ieee754_y1l): Set errno if return value overflows.
17226         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17227         (__ieee754_y1l): Set errno if return value overflows.
17228         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17229         * math/auto-libm-test-out: Regenerated.
17231         * math/gen-auto-libm-tests.c: Document use of
17232         ignore-zero-inf-sign.
17233         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17234         (input_flags): Add ignore-zero-inf-sign.
17235         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17236         * math/gen-libm-test.pl (generate_testfile): Handle
17237         ignore-zero-inf-sign.
17238         * math/auto-libm-test-in: Mark some cpow tests with
17239         ignore-zero-inf-sign and some with xfail-rounding.
17240         * math/auto-libm-test-out: Regenerated.
17241         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17242         * sysdeps/i386/fpu/libm-test-ulps: Update.
17243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17245         [BZ #16315]
17246         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17247         overflowing or underflowing operations take place with sign of
17248         result.
17249         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17250         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17251         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17252         (__ieee754_pow): Recompute overflowing and underflowing results in
17253         original rounding mode.
17254         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17255         (__powl_helper): Allow negative argument X and scale negated value
17256         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17257         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17258         overflowing or underflowing operations take place with sign of
17259         result.
17260         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17261         Include <math.h>.
17262         * math/auto-libm-test-in: Add more tests of pow.
17263         * math/auto-libm-test-out: Regenerated.
17264         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17265         (pow_tonearest_test_data): Remove.
17266         (pow_test_tonearest): Likewise.
17267         (pow_towardzero_test_data): Likewise.
17268         (pow_test_towardzero): Likewise.
17269         (pow_downward_test_data): Likewise.
17270         (pow_test_downward): Likewise.
17271         (pow_upward_test_data): Likewise.
17272         (pow_test_upward): Likewise.
17273         (main): Don't call removed functions.
17274         * sysdeps/i386/fpu/libm-test-ulps: Update.
17275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17277 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17280         Moved ...
17281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17283         Moved ...
17284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17286         Moved ...
17287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17289         Moved ...
17290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17292         File removed.
17293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17294         File removed.
17295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17296         File removed.
17297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17298         File removed.
17299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17300         File removed.
17301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17302         File removed.
17303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17304         File removed.
17305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17306         File removed.
17307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17308         File removed.
17309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17310         File removed.
17311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17312         File removed.
17313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17314         File removed.
17315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17316         Moved ...
17317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17319         Moved ...
17320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17321         ... here.
17322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17323         Moved ...
17324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17326         Moved ...
17327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17329         Moved ...
17330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17332         Moved ...
17333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17335         Moved ...
17336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17338         Moved ...
17339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17341         Moved ...
17342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17345         ... here.
17346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17347         Moved ...
17348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17350         Moved ...
17351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17352         ... here.
17353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17354         Moved ...
17355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17356         ... here.
17357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17358         Moved ...
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17360         ... here.
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17362         Moved ...
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17365         Moved ...
17366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17370         Moved ...
17371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17372         ... here.
17373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17374         Moved ...
17375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17376         ... here.
17377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17378         Moved ...
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17381         Moved ...
17382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17384         Moved ...
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17387         Moved ...
17388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17390         Moved ...
17391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17392         ... here.
17393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17394         Moved ...
17395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17397         Moved ...
17398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17400         Moved ...
17401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17403         Moved ...
17404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17408         Moved ...
17409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17411         Moved ...
17412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17414         Moved ...
17415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17416         ... here.
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17418         Moved ...
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17420         ... here.
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17422         Moved ...
17423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17424         ... here.
17425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17426         Moved ...
17427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17429         Moved ...
17430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17432         Moved ...
17433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17435         Moved ...
17436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17437         ... here.
17438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17439         Moved ...
17440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17441         ... here.
17442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17443         Moved ...
17444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17445         ... here.
17446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17447         Moved ...
17448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17450         Moved ...
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17453 2014-06-23  Will Newton  <will.newton@linaro.org>
17454             Wilco  <wdijkstr@arm.com>
17456         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17457         implementation.  Include get-rounding-mode.h.
17458         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17459         [!libc_feholdsetround_noex_ctx]: Define
17460         libc_feholdsetround_noex_ctx.
17461         [!libc_feholdsetround_noexf_ctx]: Define
17462         libc_feholdsetround_noexf_ctx.
17463         [!libc_feholdsetround_noexl_ctx]: Define
17464         libc_feholdsetround_noexl_ctx.
17465         (libc_feholdsetround_ctx): New function.
17466         (libc_feresetround_ctx): New function.
17467         (libc_feholdsetround_noex_ctx): New function.
17468         (libc_feresetround_noex_ctx): New function.
17470 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17472         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17473         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17474         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17475         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17476         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17477         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17479         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17480         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17481         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17482         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17483         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17484         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17485         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17486         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17487         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17488         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17489         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17490         Moved ...
17491         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17492         ... here.
17493         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17494         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17495         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17496         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17497         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17498         Moved ...
17499         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17500         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17501         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17502         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17503         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17504         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17505         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17506         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17507         Moved ...
17508         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17509         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17510         Moved ...
17511         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17512         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17513         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17514         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17515         Moved ...
17516         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17517         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17518         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17519         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17520         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17521         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17522         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17523         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17524         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17525         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17526         Moved ...
17527         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17528         ... here.
17529         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17530         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17531         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17532         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17533         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17534         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17535         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17536         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17537         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17538         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17539         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17540         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17541         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17542         Moved ...
17543         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17544         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17545         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17546         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17547         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17548         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17549         Moved ...
17550         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17551         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17552         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17553         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17554         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17556         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17557         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17558         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17559         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17560         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17561         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17562         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17563         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17564         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17565         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17566         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17567         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17568         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17569         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17570         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17571         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17572         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17573         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17574         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17575         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17576         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17577         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17578         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17579         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17580         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17581         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17582         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17583         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17585 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17587         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17588         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17589         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17590         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17591         (IPV6_PMTUDISC_INTERFACE): Likewise.
17592         (IPV6_PMTUDISC_OMIT): Likewise.
17594 2014-06-23  Andreas Schwab  <schwab@suse.de>
17596         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17597         Remove unused errout label.
17599 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17601         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17602         macro: hardware supports Vector Crypto instructions.
17604 2014-06-23  Will Newton  <will.newton@linaro.org>
17606         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17607         rather than __builtin_expect.
17609         * elf/dl-lookup.c (undefined_msg): Remove variable.
17610         (_dl_lookup_symbol_x): Replace undefined_msg with string
17611         literal.
17613         * elf/dl-lookup.c (do_lookup_unique): New function.
17614         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17615         to a separate function.
17617 2014-06-23  Andreas Schwab  <schwab@suse.de>
17619         [BZ #17079]
17620         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17621         before reading the next line.
17623 2014-06-23  Will Newton  <will.newton@linaro.org>
17625         * test-skeleton.c (signal_handler): Use printf and %m
17626         rather than perror.  Use printf rather than fprintf to
17627         stderr.  Use puts rather than fputs to stderr.
17628         (main): Likewise.
17630 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17632         * nscd/nscd.c (thread_info_t): Remove typedef.
17633         (thread_info): Remove variable.
17635 2014-06-21  Allan McRae  <allan@archlinux.org>
17637         * NEWS: Mention CVE-2014-4043.
17639 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17641         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17642         * nptl/smp.h: ... here.
17644         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17646         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17647         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17648         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17649         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17651         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17652         * nptl/stack-aliasing.h: New file.
17653         * sysdeps/i386/i686/stack-aliasing.h: New file.
17654         * sysdeps/i386/i686/nptl/Makefile: File removed.
17655         * sysdeps/x86_64/stack-aliasing.h: New file.
17656         * sysdeps/x86_64/nptl/Makefile
17657         (CFLAGS-pthread_create.c): Variable removed.
17659         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17660         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17661         old file.
17662         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17663         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17664         old file.
17666 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17668         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17669         (__ASSUME_SIGFRAME_V2): Remove macro.
17670         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17671         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17672         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17673         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17674         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17675         Declare as function.  Remove conditional macro definitions.
17676         (__default_rt_sa_restorer): Likewise.
17677         (__default_sa_restorer_v1): Remove declaration.
17678         (__default_sa_restorer_v2): Likewise.
17679         (__default_rt_sa_restorer_v1): Likewise.
17680         (__default_rt_sa_restorer_v2): Likewise.
17681         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17682         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17683         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17685 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17687         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17688         (libpthread-routines): Add sysdep.
17689         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17690         * sysdeps/unix/sysv/linux/sparc/Versions
17691         (libpthread: GLIBC_2.3.3): New version set.
17692         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17693         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17694         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17695         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17696         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17697         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17698         Moved ...
17699         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17700         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17701         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17702         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17703         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17704         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17705         * sysdeps/sparc/nptl/sem_init.c: ... here.
17706         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17707         * sysdeps/sparc/nptl/sem_post.c: ... here.
17708         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17709         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17710         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17711         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17712         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17713         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17714         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17715         (libpthread-routines): Add cpu_relax.
17716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17717         File removed.
17718         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17719         (librt: GLIBC_2.3.3): New version set.
17720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17721         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17722         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17723         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17726         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17728         Moved ...
17729         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17731         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17733         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17735         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17737         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17739         Moved ...
17740         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17741         Update #include.
17742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17743         Moved ...
17744         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17745         Update #include.
17746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17747         Moved ...
17748         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17749         Update #include.
17750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17751         Moved ...
17752         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17753         Update #include.
17754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17755         Moved ...
17756         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17757         Update #include.
17758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17759         Moved ...
17760         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17761         Update #include.
17762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17763         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17765         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17767         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17769         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17771         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17773         Moved ...
17774         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17776         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17778         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17780 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17782         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17783         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17784         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17785         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17786         * nscd/nscd.c: Likewise.
17787         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17788         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17789         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17790         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17792         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17793         <kernel-features.h>.
17794         (init_mq_netlink): Remove conditional have_sock_cloexec
17795         definitions.  Remove code conditional on have_sock_cloexec < 0.
17796         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17797         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17798         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17799         <kernel-features.h>.
17800         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17801         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17803 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17805         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17806         Add tests for memset_chk and memset.
17808         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17809         with AVX2_Usable.
17811 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17813         [BZ #16046]
17814         * elf/tst-dl-iter-static.c: New file.
17815         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17817         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17818         error.
17820 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17822         * sysdeps/unix/sysv/linux/kernel-features.h
17823         (__ASSUME_F_GETOWN_EX): Remove macro.
17824         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17825         <kernel-features.h>.
17826         (miss_F_GETOWN_EX): Remove variable or macro.
17827         (do_fcntl): Do not check miss_F_GETOWN_EX.
17828         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17830         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17831         Remove macro.
17832         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17833         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17834         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17836         * sysdeps/unix/sysv/linux/kernel-features.h
17837         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17838         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17839         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17840         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17842 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17844         [BZ #17075]
17845         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17846         Fix calculation of the symbol's value.
17847         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17848         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17849         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17850         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17851         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17852         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17853         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17854         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17855         (modules-names): Add `tst-armtlsdescmod',
17856         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17857         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17858         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17859         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17860         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17861         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17862         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17863         ($(objpfx)tst-armtlsdescloc): New dependency.
17864         ($(objpfx)tst-armtlsdescextnow): Likewise.
17865         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17866         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17867         TLS scheme support.
17868         * sysdeps/arm/configure: Regenerate.
17870 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17872         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17873         (__atfct_seterrno_2): Likewise.
17874         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17875         <kernel-features.h>.
17876         (__ASSUME_ATFCTS): Do not undefine and redefine.
17877         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17878         (__have_atfcts): Remove conditional definition.
17879         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17880         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17881         unreachable if [__ASSUME_ATFCTS].
17882         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17883         not undefine and redefine.
17884         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17885         <kernel-features.h>.
17886         (faccessat) [__NR_faccessat]: Make code unconditional.
17887         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17888         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17889         <kernel-features.h>.
17890         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17891         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17892         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17893         <kernel-features.h>.
17894         (fchownat) [__NR_fchownat]: Make code unconditional.
17895         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17896         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17897         <kernel-features.h>.
17898         (futimesat) [__NR_futimesat]: Make code unconditional.
17899         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17900         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17901         <kernel-features.h>.
17902         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17903         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17904         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17905         <kernel-features.h>.
17906         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17907         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17908         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17909         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17910         <kernel-features.h>.
17911         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17912         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17913         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17914         <kernel-features.h>.
17915         (linkat) [__NR_linkat]: Make code unconditional.
17916         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17917         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17918         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17919         <kernel-features.h>.
17920         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17921         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17922         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17923         <kernel-features.h>.
17924         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17925         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17926         * sysdeps/unix/sysv/linux/openat.c: Do not include
17927         <kernel-features.h>.
17928         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17929         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17930         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17931         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17932         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17933         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17934         <kernel-features.h>.
17935         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17936         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17937         result of INLINE_SYSCALL directly, not via int variable.
17938         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17939         <kernel-features.h>.
17940         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17941         (renameat) [__NR_renameat]: Make code unconditional.
17942         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17943         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17944         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17945         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17946         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17947         (__ASSUME_ATFCTS): Do not undefine and redefine.
17948         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17949         <kernel-features.h>.
17950         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17951         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17952         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17953         <kernel-features.h>.
17954         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17955         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17956         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17957         (__ASSUME_ATFCTS): Do not undefine and redefine.
17958         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17959         <kernel-features.h>.
17960         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17961         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17962         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17963         <kernel-features.h>.
17964         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17965         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17967 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17969         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17971 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17973         [BZ #17069]
17974         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17975         constructed tree before returning error.
17976         * posix/bug-regexp36.c: Expand test case.
17978 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17980         [BZ #6803]
17981         * math/libm-test.inc (scalbln_test_date):
17982         Add errno expectations.
17983         * math/w_scalblnf.c: New File.
17984         Add wrapper which checks for setting errno to ERANGE.
17985         Add weak_alias for corresponding scalbln function.
17986         * math/w_scalbln.c: Likewise.
17987         * math/w_scalblnl.c: Likewise.
17988         * math/Makefile (libm-calls): Add w_scalbln.
17989         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17990         Remove weak_alias for corresponding scalbln function.
17991         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17992         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17993         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17994         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17995         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17996         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17997         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17998         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17999         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18000         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18001         Remove long_double_symbol for scalblnl function in libm, libc.
18002         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18003         Add wrapper which checks for setting errno to ERANGE.
18004         Add long_double_symbol for scalblnl function in libm, libc.
18005         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18006         Remove long_double_symbol for scalblnl in libm.
18007         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18008         Add wrapper which checks for setting errno to ERANGE.
18009         Add long_double_symbol for scalblnl function in libm.
18010         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18011         Do not use wrapper because of own implementation.
18013 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
18015         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18016         3 bytes for __pad1 for x32.
18017         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18019 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18020             H.J. Lu  <hongjiu.lu@intel.com>
18022         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18023         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18024         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18025         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18026         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18028 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18030         [BZ #17069]
18031         * posix/regcomp.c (parse_expression): Deallocate partially
18032         constructed tree before returning error.
18033         * posix/Makefile.c (tests): Add bug-regex36.
18034         (generated): Add bug-regex36.mtrace.
18035         (tests-special): Add $(objpfx)bug-regex36-mem.out
18036         (bug-regex36-ENV): New variable.
18037         ($(objpfx)bug-regex36-mem.out): New rule.
18038         * posix/bug-regex36.c: New file.
18040 2014-06-19  Will Newton  <will.newton@linaro.org>
18042         * malloc/malloc.c (systrim): If extra is zero then return
18043         early.
18045 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18047         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18049 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18051         * sysdeps/aarch64/strchr.S: New file.
18053 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18055         [BZ #17022]
18056         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18057         from arguments -2 or below.
18058         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18059         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18061 2014-06-18  Andreas Schwab  <schwab@suse.de>
18063         [BZ #17062]
18064         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18065         of a bracket expr not to run off the end of the string.
18066         * posix/Makefile (tests): Add tst-fnmatch3.
18067         * posix/tst-fnmatch3.c: New file.
18069 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18071         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18072         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18073         [$(cross-compiling) = no]: Likewise.
18074         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18075         [$(cross-compiling) = no]: Likewise.
18077 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18079         [BZ #17031]
18080         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18081         double, adjusted for any remainder from the high double.
18082         * math/libm-test.inc (nearbyint): Add tests.
18083         (rint): Likewise.
18085 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18087         * nptl/sysdeps/powerpc/Makefile: Moved ...
18088         * sysdeps/powerpc/nptl/Makefile: ... here.
18089         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18090         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18091         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18092         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18093         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18094         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18095         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18096         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18097         * nptl/sysdeps/powerpc/tls.h: Moved ...
18098         * sysdeps/powerpc/nptl/tls.h: ... here.
18100 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18102         [BZ #16681]
18103         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18104         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18105         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18106         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18107         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18108         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18109         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18110         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18111         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18113 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18115         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18117 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18119         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18120         defined operator.
18122         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18123         $TIMEOUTFACTOR.
18125 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18127         [BZ #17058]
18128         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18129         non-executed part of the test.
18131 2014-06-16  Andreas Schwab  <schwab@suse.de>
18133         * string/bits/string2.h (strdup, strndup): Update feature guard.
18135 2014-06-14  David S. Miller  <davem@davemloft.net>
18137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18139 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18141         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18142         that was previously under [RESET_PID].
18143         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18145         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18146         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18147         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18148         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18149         (__libc_vfork): New strong alias.
18150         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18152 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18154         * sysdeps/generic/elide.h: New file.
18156 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18158         * Makefile (installed-headers): Adjust path of pthread.h header.
18160 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18162         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18163         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18164         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18165         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18167         * nptl/sysdeps/s390/Makefile: Moved ...
18168         * sysdeps/s390/nptl/Makefile: ... here.
18169         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18170         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18171         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18172         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18173         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18174         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18175         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18176         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18177         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18178         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18179         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18180         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18181         * nptl/sysdeps/s390/tls.h: Moved ...
18182         * sysdeps/s390/nptl/tls.h: ... here.
18184         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18185         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18187 2014-06-13  David S. Miller  <davem@davemloft.net>
18189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18192         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18196         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18197         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18198         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18199         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18200         Remove RESET_PID cpp guards.
18201         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18202         Remove RESET_PID cpp guards.
18203         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18205 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18207         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18208         __sp to uintptr_t.
18210 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18212         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18213         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18214         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18215         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18216         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18217         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18218         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18219         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18220         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18221         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18222         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18223         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18225         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18226         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18227         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18228         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18229         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18230         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18231         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18233         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18234         (pthread_rwlock_rdlock): Add elision.
18235         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18236         (pthread_rwlock_wrlock): Add elision.
18237         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18238         (pthread_rwlock_trywrlock): Add elision.
18239         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18240         (pthread_rwlock_tryrdlock): Add elision.
18241         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18242         (pthread_rwlock_tryrdlock): Add elision unlock.
18243         * nptl/sysdeps/pthread/pthread.h:
18244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18245         (PTHREAD_RWLOCK_INITIALIZER,
18246         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18247         Handle new elision field.
18248         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18249         * sysdeps/arm/nptl/bits/pthreadtypes.h
18250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18251         * sysdeps/sh/nptl/bits/pthreadtypes.h
18252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18253         * sysdeps/tile/nptl/bits/pthreadtypes.h
18254         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18255         * sysdeps/a/nptl/bits/pthreadtypes.h
18256         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18257         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18258         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18259         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18261         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18262         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18263         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18264         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18265         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18266         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18267         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18268         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18269         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18270         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18271         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18273         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18274         (elision_init): Set try_xbegin to zero when no RTM.
18275         * sysdeps/x86/nptl/bits/pthreadtypes.h
18276         (pthread_rwlock_t): Change __pad1 to __rwelision.
18277         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18279 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18281         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18282         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18283         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18284         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18286 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18288         [BZ #16996]
18289         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18290         that the cached result has been set before returning it.
18292 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18294         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18295         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18296         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18297         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18298         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18299         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18301         * nptl/sysdeps/sparc/Makefile: Moved ...
18302         * sysdeps/sparc/nptl/Makefile: ... here.
18303         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18304         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18305         * nptl/sysdeps/sparc/tls.h: Moved ...
18306         * sysdeps/sparc/nptl/tls.h: ... here.
18307         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18308         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18309         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18310         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18311         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18312         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18313         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18314         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18315         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18316         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18317         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18318         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18319         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18320         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18321         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18322         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18323         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18324         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18325         Update #include.
18326         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18327         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18328         Update #include.
18329         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18330         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18331         Update #include.
18332         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18333         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18334         Update #include.
18336         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18338         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18339         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18341         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18342         (struct list_links): Type removed.
18343         (struct thread_node, struct timer_node): Replace struct list_links
18344         with struct list_head.
18345         (list_unlink_ip): Likewise.
18346         * sysdeps/pthread/timer_routines.c
18347         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18348         (list_append, list_insbefore): Likewise.
18349         (list_init): Function removed.
18350         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18351         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18352         * sysdeps/pthread/Makefile: ... here, new file.
18354         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18355         * sysdeps/nptl/Implies: ... here.
18356         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18357         * nptl/sysdeps/pthread/list.h: Moved ...
18358         * include/list.h: ... here.
18359         * nptl/sysdeps/pthread/createthread.c: Moved ...
18360         * nptl/createthread.c: ... here.
18361         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18362         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18363         * nptl/pt-longjmp.c: ... here.
18364         * nptl/sysdeps/pthread/Makefile: Moved ...
18365         * sysdeps/nptl/Makefile: ... here.
18366         * nptl/sysdeps/pthread/Subdirs: Moved ...
18367         * sysdeps/nptl/Subdirs: ... here.
18368         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18369         * sysdeps/nptl/aio_misc.h: ... here.
18370         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18371         * sysdeps/nptl/bits/libc-lock.h: ... here.
18372         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18373         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18374         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18375         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18376         * nptl/sysdeps/pthread/configure: Moved ...
18377         * sysdeps/nptl/configure: ... here.
18378         * nptl/sysdeps/pthread/configure.ac: Moved ...
18379         * sysdeps/nptl/configure.ac: ... here.
18380         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18381         * sysdeps/nptl/gai_misc.h: ... here.
18382         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18383         * sysdeps/nptl/librt-cancellation.c: ... here.
18384         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18385         * sysdeps/nptl/malloc-machine.h: ... here.
18386         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18387         * sysdeps/nptl/pthread-functions.h: ... here.
18388         * nptl/sysdeps/pthread/pthread.h: Moved ...
18389         * sysdeps/nptl/pthread.h: ... here.
18390         * nptl/sysdeps/pthread/setxid.h: Moved ...
18391         * sysdeps/nptl/setxid.h: ... here.
18392         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18393         * sysdeps/nptl/sigfillset.c: ... here.
18394         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18395         * sysdeps/nptl/tcb-offsets.h: ... here.
18396         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18397         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18398         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18399         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18400         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18401         * sysdeps/pthread/allocalim.h: ... here.
18402         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18403         * sysdeps/pthread/bits/sigthread.h: ... here.
18404         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18405         * sysdeps/pthread/flockfile.c: ... here.
18406         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18407         * sysdeps/pthread/ftrylockfile.c: ... here.
18408         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18409         * sysdeps/pthread/funlockfile.c: ... here.
18410         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18411         * sysdeps/pthread/posix-timer.h: ... here.
18412         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18413         * sysdeps/pthread/timer_create.c: ... here.
18414         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18415         * sysdeps/pthread/timer_delete.c: ... here.
18416         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18417         * sysdeps/pthread/timer_getoverr.c: ... here.
18418         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18419         * sysdeps/pthread/timer_gettime.c: ... here.
18420         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18421         * sysdeps/pthread/timer_routines.c: ... here.
18422         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18423         * sysdeps/pthread/timer_settime.c: ... here.
18424         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18425         * sysdeps/pthread/tst-timer.c: ... here.
18426         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18427         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18429         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18430         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18432         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18433         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18434         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18435         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18436         Update #include target.
18437         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18438         * sysdeps/i386/i686/nptl/Makefile: ... here.
18439         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18440         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18441         Update #include target.
18442         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18443         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18444         * nptl/sysdeps/i386/Makefile: Moved ...
18445         * sysdeps/i386/nptl/Makefile: ... here.
18446         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18447         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18448         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18449         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18450         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18451         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18452         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18453         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18454         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18455         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18456         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18457         * nptl/sysdeps/i386/tls.h: Moved ...
18458         * sysdeps/i386/nptl/tls.h: ... here.
18460         * sysdeps/sh/Makefile [$(subdir) = csu]
18461         (gen-as-const-headers): Add tcb-offsets.sym.
18462         * nptl/sysdeps/sh/Makefile: File removed.
18463         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18464         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18465         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18466         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18467         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18468         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18469         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18470         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18471         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18472         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18473         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18474         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18475         * nptl/sysdeps/sh/tls.h: Moved ...
18476         * sysdeps/sh/nptl/tls.h: ... here.
18477         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18478         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18479         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18480         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18481         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18482         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18483         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18484         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18485         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18486         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18487         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18488         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18489         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18490         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18491         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18492         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18493         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18494         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18495         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18496         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18497         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18498         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18499         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18500         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18501         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18502         Moved ...
18503         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18504         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18505         Moved ...
18506         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18507         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18508         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18509         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18510         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18511         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18512         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18513         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18514         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18515         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18516         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18517         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18518         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18519         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18520         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18521         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18522         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18523         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18524         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18526 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18528         * posix/spawn_faction_addopen.c: Include string.h.
18530 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18532         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18533         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18534         * nptl/sysdeps/x86_64/Makefile: Moved ...
18535         * sysdeps/x86_64/nptl/Makefile: ... here.
18536         * nptl/sysdeps/x86_64/configure: Moved ...
18537         * sysdeps/x86_64/nptl/configure: ... here.
18538         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18539         * sysdeps/x86_64/nptl/configure.ac: ... here.
18540         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18541         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18542         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18543         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18544         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18545         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18546         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18547         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18548         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18549         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18550         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18551         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18552         * nptl/sysdeps/x86_64/tls.h: Moved ...
18553         * sysdeps/x86_64/nptl/tls.h: ... here.
18554         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18555         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18556         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18557         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18559         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18561 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18565 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18567         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18568         type.
18569         [POSIX] (off_t): Likewise.
18570         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18571         [POSIX] (S_ISBLK): Require macro.
18572         [POSIX] (S_ISCHR): Likewise.
18573         [POSIX] (S_ISDIR): Likewise.
18574         [POSIX] (S_ISFIFO): Likewise.
18575         [POSIX] (S_ISREG): Likewise.
18576         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18577         optional-macro.
18578         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18579         type.
18580         [POSIX] (time_t): Likewise.
18581         [POSIX] (timer_t): Likewise.
18583 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18585         [BZ #17048]
18586         * posix/spawn_int.h (struct __spawn_action): Make the path string
18587         non-const to support deallocation.
18588         * posix/spawn_faction_addopen.c
18589         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18590         * posix/spawn_faction_destroy.c
18591         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18592         path in all spawn_do_open actions.
18593         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18594         posix_spawn_file_actions_addopen.
18596 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18598         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18599         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18600         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18601         conditional code always true.
18602         (__libc_vfork): New alias.
18604 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18606         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18607         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18609         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18611         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18612         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18614         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18615         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18617         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18618         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18620 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18622         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18623         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18624         multiarch strcmp for PPC64.
18625         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18626         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18628         multiarch optimizations.
18629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18630         (__libc_ifunc_impl_list): Likewise.
18632 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18634         * benchtests/scripts/validate_benchout.py: New script.
18635         * benchtests/Makefile (bench-func): Call it.
18636         * benchtests/scripts/benchout.schema.json: New file.
18638 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18640         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18641         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18642         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18643         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18644         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18645         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18646         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18647         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18648         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18649         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18650         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18651         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18652         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18653         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18654         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18655         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18657         Moved ...
18658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18659         ... here.
18660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18661         Moved ...
18662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18664         Moved ...
18665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18666         ... here.
18667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18668         Moved ...
18669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18670         ... here.
18671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18672         Moved ...
18673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18675         Moved ...
18676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18677         ... here.
18678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18679         Moved ...
18680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18681         ... here.
18682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18683         Moved ...
18684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18686         Moved ...
18687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18688         ... here.
18689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18690         Moved ...
18691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18692         ... here.
18693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18694         Moved ...
18695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18696         ... here.
18697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18698         Moved ...
18699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18701         Moved ...
18702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18703         ... here.
18704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18705         Moved ...
18706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18707         ... here.
18708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18709         Moved ...
18710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18711         ... here.
18712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18713         Moved ...
18714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18716         Moved ...
18717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18718         ... here.
18719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18720         Moved ...
18721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18722         ... here.
18723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18724         Moved ...
18725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18727         Moved ...
18728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18729         ... here.
18730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18731         Moved ...
18732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18734         Moved ...
18735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18737         Moved ...
18738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18739         ... here.
18740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18741         Moved ...
18742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18743         ... here.
18744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18745         Moved ...
18746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18747         ... here.
18748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18749         Moved ...
18750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18752         Moved ...
18753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18754         ... here.
18755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18756         Moved ...
18757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18758         ... here.
18759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18760         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18761         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18762         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18763         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18764         Moved ...
18765         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18766         ... here.
18767         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18768         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18769         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18770         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18771         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18772         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18773         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18774         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18775         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18776         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18777         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18778         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18779         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18780         Moved ...
18781         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18782         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18783         Moved ...
18784         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18785         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18786         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18787         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18788         Moved ...
18789         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18790         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18791         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18792         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18793         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18794         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18795         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18797 2014-06-10  Wilco  <wdijkstr@arm.com>
18799         * math/test-fenv-return.c: New file.
18800         * math/Makefile: Add new test test-fenv-return.
18802 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18804         [BZ #17042]
18805         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18806         when x - 1 is zero.
18807         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18808         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18809         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18810         0.0L for an argument of 1.0L.
18811         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18812         Likewise.
18813         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18814         value when x - 1 is zero.
18815         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18816         * sysdeps/i386/fpu/libm-test-ulps: Update.
18817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18819 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18821         [BZ #15119]
18822         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18824 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18826         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18827         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18829 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18831         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18832         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18834         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18835         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18837         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18838         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18840         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18841         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18843         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18844         if not already defined.
18845         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18846         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18847         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18848         (TLS_INIT_TP): Use it.
18849         (TLS_DEFINE_INIT_TP): New macro.
18850         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18852 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18854         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18855         constant.
18856         [POSIX] (IXANY): Likewise.
18857         [POSIX] (OLCUC): Likewise.
18858         [POSIX || POSIX2008] (CBAUD): Do not allow.
18859         [POSIX || POSIX2008] (DEFECHO): Likewise.
18860         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18861         [POSIX || POSIX2008] (ECHOKE): Likewise.
18862         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18863         [POSIX || POSIX2008] (EXTA): Likewise.
18864         [POSIX || POSIX2008] (EXTB): Likewise.
18865         [POSIX || POSIX2008] (FLUSHO): Likewise.
18866         [POSIX || POSIX2008] (LOBLK): Likewise.
18867         [POSIX || POSIX2008] (PENDIN): Likewise.
18868         [POSIX || POSIX2008] (SWTCH): Likewise.
18869         [POSIX || POSIX2008] (VDISCARD): Likewise.
18870         [POSIX || POSIX2008] (VDSUSP): Likewise.
18871         [POSIX || POSIX2008] (VLNEXT): Likewise.
18872         [POSIX || POSIX2008] (VREPRINT): Likewise.
18873         [POSIX || POSIX2008] (VSTATUS): Likewise.
18874         [POSIX || POSIX2008] (VWERASE): Likewise.
18875         (B*): Change to B[0123456789]*.
18876         * conform/data/time.h-data [POSIX || UNIX98]
18877         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18878         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18879         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18880         [POSIX] (tm_*): Do not allow.
18882 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18884         * Makefile (install): Don't set LANGUAGE.
18885         * Makefile.in (install): Likewise.
18886         * assert/Makefile (test-assert-ENV): Remove variable.
18887         (test-assert-perr-ENV): Likewise.
18888         * elf/Makefile (neededtest4-ENV): Likewise.
18889         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18890         [$(cross-compiling) = no]: Don't set LANGUAGE.
18891         * io/ftwtest-sh (LANG): Remove variable.
18892         * libio/Makefile (tst-widetext-ENV): Likewise.
18893         * manual/install.texi (Running make install): Don't refer to
18894         environment settings for make install.
18895         * INSTALL: Regenerated.
18896         * nptl/tst-tls6.sh: Don't set LANG.
18897         * posix/globtest.sh (LANG): Remove variable.
18898         * string/Makefile (tester-ENV): Likewise.
18899         (inl-tester-ENV): Likewise.
18900         (noinl-tester-ENV): Likewise.
18901         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18902         [$(cross-compiling) = no]: Don't set LANGUAGE.
18903         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18904         without explicit environment settings.
18906 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18908         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18909         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18910         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18911         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18913 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18915         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18916         other files in the crypt directory.
18917         * crypt/crypt.c: Remove duplicate includes.
18918         * crypt/crypt-entry.c: Likewise.
18919         * crypt/crypt_util.c: Likewise.
18921 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18923         * Makeconfig (run-program-env): New variable.
18924         (run-program-prefix-before-env): Likewise.
18925         (run-program-prefix-after-env): Likewise.
18926         (run-program-prefix): Define in terms of new variables.
18927         (built-program-cmd-before-env): New variable.
18928         (built-program-cmd-after-env): Likewise.
18929         (built-program-cmd): Define in terms of new variables.
18930         (test-program-prefix-before-env): New variable.
18931         (test-program-prefix-after-env): Likewise.
18932         (test-program-prefix): Define in terms of new variables.
18933         (test-program-cmd-before-env): New variable.
18934         (test-program-cmd-after-env): Likewise.
18935         (test-program-cmd): Define in terms of new variables.
18936         * Rules (make-test-out): Use $(run-program-env).
18937         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18938         (help): Do not mention environment variables.  Mention
18939         --timeoutfactor option.
18940         (timeoutfactor): New variable.
18941         (blacklist_exports): Remove function.
18942         (exports): Remove variable.
18943         (command): Do not include ${exports}.
18944         * manual/install.texi (Configuring and compiling): Do not mention
18945         test wrappers preserving environment variables.  Mention that last
18946         assignment to a variable must take precedence.
18947         * INSTALL: Regenerated.
18948         * benchtests/Makefile (run-bench): Use $(run-program-env).
18949         * catgets/Makefile ($(objpfx)test1.cat): Use
18950         $(built-program-cmd-before-env), $(run-program-env) and
18951         $(built-program-cmd-after-env).
18952         ($(objpfx)test2.cat): Do not specify environment variables
18953         explicitly.
18954         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18955         $(run-program-env) and $(built-program-cmd-after-env).
18956         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18957         $(run-program-env) and $(test-program-cmd-after-env).
18958         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18959         explicitly.
18960         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18961         run_program_env and test_program_cmd_after_env arguments.
18962         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18963         * elf/tst-pathopt.sh: Use run_program_env argument.
18964         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18965         $(test-wrapper-env) and $(run-program-env).
18966         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18967         run_program_env arguments.
18968         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18969         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18970         $(test-program-prefix-before-env), $(run-program-env) and
18971         $(test-program-prefix-after-env).
18972         ($(objpfx)tst-gettext2.out): Likewise.
18973         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18974         run_program_env and test_program_prefix_after_env arguments.
18975         * intl/tst-gettext2.sh: Likewise.
18976         * intl/tst-gettext4.sh: Do not set environment variables
18977         explicitly.
18978         * intl/tst-gettext6.sh: Likewise.
18979         * intl/tst-translit.sh: Likewise.
18980         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18981         $(test-program-prefix-before-env), $(run-program-env) and
18982         $(test-program-prefix-after-env).
18983         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18984         run_program_env and test_program_prefix_after_env arguments.
18985         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18986         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18987         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18988         explicitly with each use of ${test_wrapper_env}.
18989         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18990         $(test-program-prefix-before-env), $(run-program-env) and
18991         $(test-program-prefix-after-env).
18992         * posix/tst-getconf.sh: Do not set environment variables
18993         explicitly.
18994         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18995         run_program_env and test_program_prefix_after_env arguments.
18996         * stdio-common/tst-printf.sh: Do not set environment variables
18997         explicitly.
18998         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18999         $(test-program-prefix-before-env), $(run-program-env) and
19000         $(test-program-prefix-after-env).
19001         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19002         run_program_env and test_program_prefix_after_env arguments.
19003         Split $test calls into $test_pre and $test.
19004         * timezone/Makefile (build-testdata): Use
19005         $(built-program-cmd-before-env), $(run-program-env) and
19006         $(built-program-cmd-after-env).
19008 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19010         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19011         strlen for non SHARED builds.
19013 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19015         * nptl/allocatestack.c (check_list): Inlined function...
19016         (__reclaim_stacks): ... here.
19018 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19020         [BZ #15698]
19021         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19022         memory overrun.
19024 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19026         * Rules (make-test-out): Include
19027         LOCPATH=$(common-objpfx)localedata in default environment.
19028         * debug/Makefile (tst-chk1-ENV): Remove variable.
19029         (tst-chk2-ENV): Likewise.
19030         (tst-chk3-ENV): Likewise.
19031         (tst-chk4-ENV): Likewise.
19032         (tst-chk5-ENV): Likewise.
19033         (tst-chk6-ENV): Likewise.
19034         (tst-lfschk1-ENV): Likewise.
19035         (tst-lfschk2-ENV): Likewise.
19036         (tst-lfschk3-ENV): Likewise.
19037         (tst-lfschk4-ENV): Likewise.
19038         (tst-lfschk5-ENV): Likewise.
19039         (tst-lfschk6-ENV): Likewise.
19040         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19041         (tst-iconv7-ENV): Likewise.
19042         * intl/Makefile (LOCPATH-ENV): Likewise.
19043         (tst-codeset-ENV): Likewise.
19044         (tst-gettext3-ENV): Likewise.
19045         (tst-gettext5-ENV): Likewise.
19046         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19047         (tst-fopenloc-ENV): Likewise.
19048         (tst-fgetws-ENV): Remove variable.
19049         (tst-ungetwc1-ENV): Likewise.
19050         (tst-ungetwc2-ENV): Likewise.
19051         (bug-ungetwc2-ENV): Likewise.
19052         (tst-swscanf-ENV): Likewise.
19053         (bug-ftell-ENV): Likewise.
19054         (tst-fgetwc-ENV): Likewise.
19055         (tst-fseek-ENV): Likewise.
19056         (tst-ftell-partial-wide-ENV): Likewise.
19057         (tst-ftell-active-handler-ENV): Likewise.
19058         (tst-ftell-append-ENV): Likewise.
19059         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19060         (tst-regexloc-ENV): Likewise.
19061         (bug-regex1-ENV): Likewise.
19062         (tst-regex-ENV): Likewise.
19063         (tst-regex2-ENV): Likewise.
19064         (bug-regex5-ENV): Likewise.
19065         (bug-regex6-ENV): Likewise.
19066         (bug-regex17-ENV): Likewise.
19067         (bug-regex18-ENV): Likewise.
19068         (bug-regex19-ENV): Likewise.
19069         (bug-regex20-ENV): Likewise.
19070         (bug-regex22-ENV): Likewise.
19071         (bug-regex23-ENV): Likewise.
19072         (bug-regex25-ENV): Likewise.
19073         (bug-regex26-ENV): Likewise.
19074         (bug-regex30-ENV): Likewise.
19075         (bug-regex32-ENV): Likewise.
19076         (bug-regex33-ENV): Likewise.
19077         (bug-regex34-ENV): Likewise.
19078         (bug-regex35-ENV): Likewise.
19079         (tst-rxspencer-ENV): Likewise.
19080         (tst-rxspencer-no-utf8-ENV): Likewise.
19081         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19082         (tst-sscanf-ENV): Likewise.
19083         (tst-swprintf-ENV): Likewise.
19084         (tst-swscanf-ENV): Likewise.
19085         (test-vfprintf-ENV): Likewise.
19086         (scanf13-ENV): Likewise.
19087         (bug14-ENV): Likewise.
19088         (tst-grouping-ENV): Likewise.
19089         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19090         (tst-strtod3-ENV): Likewise.
19091         (tst-strtod4-ENV): Likewise.
19092         (tst-strtod5-ENV): Likewise.
19093         (testmb2-ENV): Likewise./
19094         * string/Makefile (tst-strxfrm-ENV): Likewise.
19095         (tst-strxfrm2-ENV): Likewise.
19096         (bug-strcoll1-ENV): Likewise.
19097         (test-strcasecmp-ENV): Likewise.
19098         (test-strncasecmp-ENV): Likewise.
19099         * time/Makefile (tst-strptime-ENV): Likewise.
19100         (tst-ftime_l-ENV): Likewise.
19101         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19102         (tst-mbrtowc-ENV): Likewise.
19103         (tst-wcrtomb-ENV): Likewise.
19104         (tst-mbrtowc2-ENV): Likewise.
19105         (tst-c16c32-1-ENV): Likewise.
19106         (tst-mbsnrtowcs-ENV): Likewise.
19108 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19110         * manual/resource.texi (How to get information about the memory
19111         subsystem?): Fix typo.
19112         Reported by Peon de la Parra Ivan <peon@keba.com>
19114 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19116         [BZ #16882]
19117         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19118         (pthread_spin_lock): Branch out of spin loop to proper location.
19119         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19120         (pthread_spin_lock): Likewise.
19122         * nptl/tst-spin4.c: New test.
19123         * nptl/Makefile (tests): Add tst-spin4.
19125 2014-06-03  Andreas Schwab  <schwab@suse.de>
19127         [BZ #15946]
19128         * resolv/res_send.c (send_dg): Reload file descriptor after
19129         calling reopen.
19131 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19133         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19135 2014-06-03  Richard Henderson  <rth@redhat.com>
19137         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19138         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19139         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19140         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19141         in the SAVE_PID block.
19142         (__libc_vfork): New alias.
19143         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19145         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19146         child in registers, not on the stack.  Remove RESET_PID conditionals.
19147         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19149 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19151         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19153 2014-06-03  Wilco  <wdijkstr@arm.com>
19155         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19156         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19157         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19158         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19159         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19160         Likewise.
19162 2014-06-03  Wilco  <wdijkstr@arm.com>
19164         * sysdeps/aarch64/fpu/math_private.h
19165         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19166         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19167         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19168         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19169         Fix declarations.
19171 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19173         * crypt/crypt-private.h: Include ufc-crypt.h.
19174         (__b64_from_24bit): Declare extern.
19175         * crypt/crypt_util.c(__b64_from_24bit): New function.
19176         (b64t): New static const variable.
19177         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19178         (b64t): Remove variable.
19179         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19180         * crypt/sha256-crypt.c: Include crypt-private.h.
19181         (b64t): Remove variable.
19182         (__sha256_crypt_r): Remove b64_from_24bit and replace
19183         with __b64_from_24bit.
19184         * crypt/sha512-crypt.c: Likewise.
19186 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19188         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19189         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19190         Label the code __libc_vfork rather than __vfork.
19191         [!NOT_IN_libc] (vfork): Define as weak alias.
19192         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19193         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19194         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19196 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19198         * malloc/malloc.c (malloc_info): Fix format specifier for
19199         n_mmaps.
19201 2014-06-02  Wilco  <wdijkstr@arm.com>
19203         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19204         FPCR write.
19206 2014-06-02  Wilco  <wdijkstr@arm.com>
19208         [BZ #17009]
19209         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19210         Rewrite to reduce FPCR/FPSR accesses.
19212 2014-06-01  David S. Miller  <davem@davemloft.net>
19214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19216 2014-05-31  David S. Miller  <davem@davemloft.net>
19218         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19219         to occur in round to nearest mode when |x| >= 2.0
19221 2014-05-30  Richard Henderson  <rth@twiddle.net>
19223         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19224         (PSEUDO_RET_NOERRNO): Remove.
19225         (ret): Don't redefine.
19226         (ret_NOERRNO): Define in terms of ret.
19227         (ret_ERRVAL): Likewise.
19229         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19230         use of PSEUDO_RET; perform the error check directly.
19232 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19234         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19235         with __int128_t.
19237 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19239         * malloc/malloc (malloc_info): Fix formatting.
19241 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19242             Roland McGrath  <roland@hack.frob.com>
19244         * malloc/malloc (malloc_info): Also print mmapped statistics.
19246 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19248         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19249         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19251 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19253         * malloc/malloc.c (malloc_info): Inline mi_arena.
19255 2014-05-29  Richard Henderson  <rth@twiddle.net>
19257         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19258         Remove comma before expanding ASM_ARGS_##nr.
19259         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19260         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19261         of ASM_ARGS_##nr.
19262         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19263         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19264         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19265         (ASM_ARGS_1): Add leading comma.
19267         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19268         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19269         to __errno_location.
19270         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19271         Remove the expected plt for __errno_location.
19273         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19274         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19275         call to __read_tp.
19277         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19278         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19279         it and break it down.
19280         (DOCARGS_0, DOCARGS_1): Do nothing.
19281         (DOCARGS_2): Update to store into the new stack frame.
19282         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19283         (UNDOCARGS_1): Update to restore from the new stack frame.
19284         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19285         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19287         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19288         (SINGLE_THREAD_P): New parameter for result regno.
19289         (PSEUDO): Update to match; use cbz instead of beq.
19291         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19292         Use ENTRY to define the _nocancel entry point.  Share the syscall
19293         and syscall error check paths with the cancel path.
19294         (PSEUDO_END): New.
19296         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19297         whitespace; tabs before and after asm mnemonics.
19299 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19301         [BZ #15132]
19302         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19303         Call fstat64 or stat64 internally, depending on arguments passed.
19304         Replace stat buffer argument with file descriptor argument.
19305         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19306         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19307         Pass fd to __internal_statvfs instead of calling fstat64.
19308         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19309         Pass fd to __internal_statvfs64 instead of calling fstat64.
19310         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19311         Pass -1 to __internal_statvfs instead of calling stat64.
19312         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19313         Pass -1 to __internal_statvfs64 instead of calling stat64.
19315 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19317         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19318         that was previously under [RESET_PID].
19319         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19321         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19322         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19324 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19326         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19328         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19329         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19331 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19333         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19335 2014-05-27  Andreas Schwab  <schwab@suse.de>
19337         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19338         TLS_INIT_TP macro.
19339         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19340         * elf/rtld.c (init_tls, dl_main): Likewise.
19341         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19342         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19343         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19344         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19345         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19346         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19347         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19348         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19349         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19350         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19351         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19352         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19353         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19354         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19355         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19356         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19357         * sysdeps/generic/tls.h: Update description.
19359 2014-05-27  Will Newton  <will.newton@linaro.org>
19361         [BZ #16990]
19362         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19363         and restore r2 rather than just restoring.
19365 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19367         [BZ #16724]
19368         * libio/tst-ftell-append.c: New test case.
19369         * libio/Makefile (tests): Add test case.
19370         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19371         append mode.
19372         * libio/wfileops.c (do_ftell_wide): Likewise.
19374 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19378         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19379         ...
19380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19382         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19383         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19384         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19385         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19386         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19387         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19389         Moved ...
19390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19392         Moved ...
19393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19394         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19395         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19396         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19397         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19398         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19399         ...
19400         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19401         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19402         Moved ...
19403         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19404         here.
19405         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19406         ...
19407         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19408         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19409         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19411         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19412         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19413         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19414         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19417         merge into ...
19418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19420         ...
19421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19423         ...
19424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19426         Moved ...
19427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19428         here.
19429         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19430         Moved ...
19431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19433         Moved ...
19434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19437         conditional [RESET_PID].
19438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19439         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19440         removed.
19441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19442         removed.
19444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19445         <tcb-offsets.h>.
19446         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19447         (__libc_vfork): New strong alias.
19448         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19449         removed.
19450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19451         Removed.
19453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19454         <tcb-offsets.h>.
19455         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19456         (__libc_vfork): New strong alias.
19457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19458         removed.
19459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19460         removed.
19462 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19464         * malloc/malloc.c (mi_arena): New function.
19465         (malloc_info): Remove nested function mi_arena. Call non-nosted
19466         function mi_arena.
19468 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19470         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19471         by insrwi.
19472         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19473         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19474         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19475         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19476         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19477         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19478         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19480 2014-05-26  Andreas Schwab  <schwab@suse.de>
19482         [BZ #16984]
19483         * locale/programs/repertoire.c (repertoire_read): Add slash
19484         between I18NPATH element and file name.
19485         * locale/programs/locfile.c (locfile_read): Likewise.
19487 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19489         * nptl/pthread_mutexattr_settype.c
19490         (__pthread_mutexattr_settype):
19491         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19493 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19495         * nptl/tst-mutex5 (do_test):
19496         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19498 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19500         * benchtests/README: Document 'init' directive.
19501         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19502         BENCH_INIT.
19503         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19504         (parse_file): Recognize 'init' directive.
19506 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19508         [BZ #16796]
19509         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19510         alignment of struct pthread.
19512 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19514         [BZ #16878]
19515         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19516         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19517         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19518         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19520 2014-05-25  Richard Henderson  <rth@twiddle.net>
19522         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19523         (SINGLE_THREAD_P_PIC): Remove.
19524         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19525         (SINGLE_THREAD_P_PIC): Remove.
19527         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19528         branch to syscall error ...
19529         (PSEUDO): ... here.
19530         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19531         from __local_syscall_error to .Lsyscall_error.
19532         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19533         (SYSCALL_ERROR): Update label name.
19535         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19536         Do not use DOARGS/UNDOARGS.
19537         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19538         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19539         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19540         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19541         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19543         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19544         block comment.
19546         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19547         define if !NOT_IN_libc.
19548         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19549         define with non-default symbol versions.
19551 2014-05-23  Richard Henderson  <rth@twiddle.net>
19553         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19554         (vfork, __vfork): Define via compat_symbol.
19556         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19557         [!HAVE_IFUNC] (vfork_compat): Remove.
19558         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19560 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19562         [BZ #16978]
19563         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19564         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19565         variable.
19567 2014-05-23  Richard Henderson  <rth@twiddle.net>
19569         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19570         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19571         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19572         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19574         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19575         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19576         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19577         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19578         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19579         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19580         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19581         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19582         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19583         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19584         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19585         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19586         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19587         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19588         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19589         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19590         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19591         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19592         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19593         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19594         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19595         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19596         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19597         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19598         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19599         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19600         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19601         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19602         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19603         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19604         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19605         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19606         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19607         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19608         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19609         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19610         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19611         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19612         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19613         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19614         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19615         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19616         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19617         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19618         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19619         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19620         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19621         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19622         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19623         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19624         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19625         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19626         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19627         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19628         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19629         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19631         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19632         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19633         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19634         before exiting on error.
19635         (__libc_vfork): New strong alias.
19636         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19637         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19639         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19640         that was previously under [RESET_PID].
19641         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19643         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19645 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19647         [BZ #16977]
19648         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19649         value when x - 1 is zero.
19650         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19651         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19652         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19653         0.0L for an argument of 1.0L.
19654         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19655         Likewise.
19656         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19657         value when x - 1 is zero.
19658         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19659         * sysdeps/i386/fpu/libm-test-ulps: Update.
19660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19662 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19664         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19665         alphasort and versionsort.
19667 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19669         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19670         macro.
19671         [copysignf]: Likewise.
19673 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19675         * crypt/md5-crypt.c: Fix formatting.
19677 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19679         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19680         (b64_from_24bit): New function.
19682 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19684         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19685         libc_hidden_builtin_def to ifunc.
19686         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19687         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19689 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19691         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19692         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19694 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19696         * nscd/Depend (linuxthreads): Remove.
19697         (nptl): Add.
19698         * resolv/Depend (linuxthreads): Remove.
19699         * rt/Depend (linuxthreads): Remove.
19701         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19702         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19703         $(common-objpfx)elf/.
19704         (link-libc-before-gnulib): Likewise.
19705         (elfobjdir): Remove variable.
19706         * Makefile (install): Use $(elf-objpfx) instead of
19707         $(common-objpfx)elf/.
19708         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19709         $(elfobjdir)/.
19710         (link-libc-deps): Likewise.
19711         ($(common-objpfx)libc.so): Likewise.
19712         ($(common-objpfx)linkobj/libc.so): Likewise.
19713         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19714         instead of $(common-objpfx)elf/.
19715         (symbolic-link-list): Likewise.
19716         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19717         [$(cross-compiling) = no]: Likewise.
19718         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19719         $(elfobjdir)/.
19720         (static-gnulib-arch): Likewise.
19721         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19722         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19723         $(common-objpfx)elf/.
19725 2014-05-21  Richard Henderson  <rth@redhat.com>
19727         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19728         (SINGLE_THREAD_P): Use the correct width load.  Fold
19729         into the ldr offset.
19731         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19732         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19734 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19736         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19737         (libgcc_s_resume): Use __attribute_used__.
19738         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19739         Likewise.
19741 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19743         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19744         optimization when used with float constants.
19746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19748 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19750         [BZ #16915]
19751         * locale/nl_langinfo_l.c: Make direct reference to every
19752         _nl_current_CATEGORY symbol.
19753         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19754         (tests-static): Add tst-langinfo-static.
19755         (tests-special): Add tst-langinfo-static.out.
19756         ($(objpfx)tst-langinfo.out): Redirect output.
19757         ($(objpfx)tst-langinfo-static.out): New.
19758         * localedata/tst-langinfo.sh: Send output to stdout.
19759         * localedata/tst-langinfo-static.c: New file.
19761         [BZ #16965]
19762         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19763         when the shift amount is modulo the limb size.
19765 2014-05-20  Richard Henderson  <rth@redhat.com>
19767         [BZ #16967]
19768         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19769         Change type of sa_flags from unsigned int to int.
19771         [BZ #16966]
19772         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19774         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19776 2014-05-20  Will Newton  <will.newton@linaro.org>
19778         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19779         Test the return value of the system call in the nocancel case.
19781 2014-05-20  Will Newton  <will.newton@linaro.org>
19782             Yvan Roux  <yvan.roux@linaro.org>
19784         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19785         #include of asm/ptrace.h.
19786         (PTRACE_GET_THREAD_AREA): Remove #undef.
19787         (PTRACE_GETHBPREGS): Likewise.
19788         (PTRACE_SETHBPREGS): Likewise.
19789         (struct user_regs_struct): New structure.
19790         (struct user_fpsimd_struct): New structure.
19791         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19792         #include of asm/ptrace.h and second #include of sys/user.h.
19793         (PTRACE_GET_THREAD_AREA): Remove #undef.
19794         (PTRACE_GETHBPREGS): Likewise.
19795         (PTRACE_SETHBPREGS): Likewise.
19796         (ELF_NGREG): Use new struct user_regs_struct.
19797         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19799 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19801         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19802         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19804 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19806         [BZ #16958]
19807         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19808         membar to avoid block loads/stores to overlap previous stores.
19810 2014-05-17  Richard Henderson  <rth@redhat.com>
19812         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19813         Create the __##syscall_name##_nocancel entry point.
19814         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19815         Remove; let the sysdep-cancel.h code create it.
19817 2014-05-17  David S. Miller  <davem@davemloft.net>
19819         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19820         Protect with __USE_GNU.
19821         (TIOCSET_TEMPT): Likewise.
19822         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19823         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19824         these are already provided in bits/ioctl-types.h
19826 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19828         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19829         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19831         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19832         Use wait4 regardless of [__NR_waitpid].
19834 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19836         PR libgcc/60166
19837         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19838         (_FP_NANSIGN_Q): Set the quiet bit.
19840 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19842         * benchtests/Makefile
19843         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19844         not $(common-objpfx)math/libm.so.
19845         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19846         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19847         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19848         $(common-objpfx)dlfcn/libdl.so.
19849         ($(objpfx)tst-audit8): Depend on $(libm), not
19850         $(common-objpfx)math/libm.so.
19851         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19852         not $(common-objpfx)dlfcn/libdl.so.
19853         * math/Makefile
19854         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19855         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19856         [$(build-shared) = yes].
19857         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19858         $(common-objpfx)nptl/libpthread.so.
19859         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19860         $(common-objpfx)math/libm.so$(libm.so-version) or
19861         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19862         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19863         $(common-objpfx)dlfcn/libdl.so.
19864         * setjmp/Makefile (link-libm): Remove variable.
19865         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19866         * stdio-common/Makefile (link-libm): Remove variable.
19867         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19868         * stdlib/Makefile (link-libm): Remove variable.
19869         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19870         ($(objpfx)tst-strtod-round): Likewise.
19871         ($(objpfx)tst-tininess): Likewise.
19872         ($(objpfx)tst-strtod-underflow): Likewise.
19873         ($(objpfx)tst-strtod6): Likewise.
19874         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19875         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19876         $(common-objpfx)dlfcn/libdl.so.
19878 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19880         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19881         BSD terminal modes definitions.
19883 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19885         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19886         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19888         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19889         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19890         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19891         Don't do #include_next.
19892         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19893         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19894         Don't do #include_next.
19895         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19896         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19897         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19898         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19900 2014-05-16  Allan McRae  <allan@archlinux.org>
19902         * po/sv.po: Update Swedish translation from translation project.
19904         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19905         in sed expression.
19907 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19909         [BZ #16917]
19910         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19911         errno if the TIOCGPTN ioctl fails with an error different than
19912         EINVAL.
19913         * login/tst-ptsname.c: New file.
19914         * login/Makefile (tests): Add tst-ptsname.
19916         [BZ #16943]
19917         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19918         and prlimit64.
19920 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19922         [BZ #16849]
19923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19924         herrno to return EAI_AGAIN.
19926 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19928         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19929         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19930         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19931         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19932         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19933         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19934         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19935         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19936         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19937         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19938         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19939         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19940         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19941         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19942         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19943         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19944         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19945         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19946         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19947         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19948         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19949         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19950         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19951         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19952         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19953         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19954         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19955         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19956         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19957         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19959         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19961         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19963         Moved ...
19964         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19966         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19968         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19970         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19972         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19974         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19976         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19978         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19980         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19982         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19984         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19986         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19988         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19990         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19992         Moved ...
19993         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19995         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19997         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19999         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20001         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20003         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20005         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20007         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20009         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20011         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20013         Moved ...
20014         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20016         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20018         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20019         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20020         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20021         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20022         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20023         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20024         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20025         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20026         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20027         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20028         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20029         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20030         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20031         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20032         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20033         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20034         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20035         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20036         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20037         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20038         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20039         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20040         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20041         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20042         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20043         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20044         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20045         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20046         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20047         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20048         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20050         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20051         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20053         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20054         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20055         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20056         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20057         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20058         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20059         Moved ...
20060         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20061         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20062         Moved ...
20063         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20064         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20065         Moved ...
20066         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20067         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20068         Moved ...
20069         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20070         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20071         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20072         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20073         Moved ...
20074         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20075         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20076         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20077         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20078         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20079         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20080         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20081         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20082         Moved ...
20083         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20084         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20085         Moved ...
20086         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20087         ... here.
20088         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20089         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20090         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20091         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20093         Moved ...
20094         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20095         ... here.
20096         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20097         Moved ...
20098         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20099         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20100         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20101         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20102         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20103         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20104         Moved ...
20105         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20106         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20107         Moved ...
20108         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20109         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20110         Moved ...
20111         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20112         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20113         Moved ...
20114         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20115         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20116         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20117         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20118         Moved ...
20119         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20120         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20121         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20122         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20123         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20124         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20125         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20126         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20127         Moved ...
20128         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20129         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20130         Moved ...
20131         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20132         ... here.
20133         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20134         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20135         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20136         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20138         Moved ...
20139         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20140         ... here.
20141         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20142         Moved ...
20143         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20144         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20145         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20146         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20147         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20148         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20149         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20150         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20151         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20152         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20153         Moved ...
20154         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20155         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20156         Moved ...
20157         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20158         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20159         Moved ...
20160         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20161         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20162         Moved ...
20163         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20164         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20165         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20166         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20167         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20168         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20169         Moved ...
20170         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20171         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20172         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20173         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20174         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20175         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20176         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20177         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20178         Moved ...
20179         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20180         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20181         Moved ...
20182         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20183         ... here.
20184         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20185         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20186         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20187         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20188         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20189         Moved ...
20190         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20191         ... here.
20192         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20193         Moved ...
20194         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20195         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20196         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20197         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20198         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20199         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20200         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20201         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20202         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20203         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20204         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20206         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20207         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20209         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20210         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20212         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20213         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20214         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20215         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20216         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20217         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20218         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20219         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20220         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20221         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20222         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20223         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20224         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20225         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20226         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20227         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20228         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20229         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20230         Moved ...
20231         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20232         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20233         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20234         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20235         Moved ...
20236         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20237         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20238         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20240         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20241         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20242         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20243         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20244         Moved ...
20245         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20246         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20247         Moved ...
20248         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20249         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20250         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20251         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20252         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20253         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20254         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20255         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20256         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20257         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20258         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20259         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20260         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20261         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20262         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20263         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20264         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20266         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20267         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20268         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20269         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20270         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20272         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20273         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20274         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20275         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20276         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20277         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20278         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20279         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20280         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20281         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20283         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20284         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20286         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20287         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20288         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20289         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20290         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20291         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20292         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20293         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20294         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20295         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20296         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20297         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20298         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20299         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20300         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20301         Update #include.
20302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20303         Likewise.
20304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20305         Likewise.
20306         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20307         Likewise.
20308         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20309         Likewise.
20310         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20311         Likewise.
20312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20313         Likewise.
20314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20315         Likewise.
20316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20317         Likewise.
20318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20319         Likewise.
20320         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20321         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20322         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20323         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20324         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20325         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20326         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20327         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20328         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20329         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20330         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20331         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20332         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20333         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20334         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20336         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20337         that was previously under [RESET_PID].
20338         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20339         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20340         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20342         * sysdeps/i386/nptl/Implies: New file.
20343         * sysdeps/x86_64/nptl/Implies: New file.
20344         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20345         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20346         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20347         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20349         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20350         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20351         (__libc_vfork): New strong alias.
20352         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20353         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20355         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20356         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20357         (__libc_vfork): New strong alias.
20358         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20359         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20361         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20362         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20363         (__libc_vfork): New strong alias.
20364         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20365         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20366         * nptl/pt-vfork.c: New file.
20367         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20368         (libpthread: GLIBC_2.20): New version set (empty).
20370 2014-05-14  Will Newton  <will.newton@linaro.org>
20372         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20373         rather than #if.
20375 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20377         [BZ #16564]
20378         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20379         arguments with exponent 65 or above.
20380         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20381         arguments 0x1p113L or above.
20382         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20383         to arguments 0x1p107L or above.
20384         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20385         positive arguments with exponent 65 or above.
20386         * math/auto-libm-test-in: Add more tests of log1p.
20387         * math/auto-libm-test-out: Regenerated.
20389         [BZ #16928]
20390         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20391         non-finite arguments is +0.
20392         * math/s_cacosf.c (__cacosf): Likewise.
20393         * math/s_cacosl.c (__cacosl): Likewise.
20394         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20395         * sysdeps/i386/fpu/libm-test-ulps: Update.
20396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20398         [BZ #16927]
20399         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20400         value.
20401         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20402         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20403         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20404         for explicit high bit of mantissa when testing for argument equal
20405         to 1.
20406         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20407         * sysdeps/i386/fpu/libm-test-ulps: Update.
20408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20410         [BZ #16516]
20411         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20412         (__erf): Scale by 16 instead of 8 in potentially underflowing
20413         case.  Ensure exception if result actually underflows.
20414         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20415         (__erff): Scale by 16 instead of 8 in potentially underflowing
20416         case.  Ensure exception if result actually underflows.
20417         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20418         (efx8): Remove variable.
20419         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20420         case.  Ensure exception if result actually underflows.
20421         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20422         (efx8): Remove variable.
20423         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20424         case.  Ensure exception if result actually underflows.
20425         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20426         (efx8): Remove variable.
20427         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20428         case.  Ensure exception if result actually underflows.
20429         * math/auto-libm-test-in: Add more tests of erf.
20430         * math/auto-libm-test-out: Regenerated.
20432 2014-05-14  Andreas Schwab  <schwab@suse.de>
20434         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20435         Remove code conditionalized on USE___THREAD.
20437         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20438         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20439         not definedness.
20441 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20443         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20444         Define unconditionally.
20445         (__ASSUME_O_CLOEXEC): Likewise.
20446         (__ASSUME_SOCK_CLOEXEC): Likewise.
20447         (__ASSUME_IN_NONBLOCK): Likewise.
20448         (__ASSUME_PIPE2): Likewise.
20449         (__ASSUME_EVENTFD2): Likewise.
20450         (__ASSUME_SIGNALFD4): Likewise.
20451         (__ASSUME_DUP3): Likewise.
20452         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20453         (__ASSUME_DUP3): Do not define.
20454         (__ASSUME_EVENTFD2): Likewise.
20455         (__ASSUME_IN_NONBLOCK): Likewise.
20456         (__ASSUME_O_CLOEXEC): Likewise.
20457         (__ASSUME_PIPE2): Likewise.
20458         (__ASSUME_SIGNALFD4): Likewise.
20459         (__ASSUME_SOCK_CLOEXEC): Likewise.
20460         (__ASSUME_UTIMES): Undefine.
20461         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20462         (__ASSUME_UTIMES): Do not define.
20463         (__ASSUME_O_CLOEXEC): Likewise.
20464         (__ASSUME_SOCK_CLOEXEC): Likewise.
20465         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20466         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20467         0x020621].
20468         (__ASSUME_PIPE2): Likewise.
20469         (__ASSUME_EVENTFD2): Likewise.
20470         (__ASSUME_SIGNALFD4): Likewise.
20471         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20472         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20473         Do not define.
20474         (__ASSUME_EVENTFD2): Likewise.
20475         (__ASSUME_SIGNALFD4): Likewise.
20476         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20477         (__ASSUME_32BITUIDS): Likewise.
20478         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20479         (__ASSUME_IPC64): Likewise.
20480         (__ASSUME_ST_INO_64_BIT): Likewise.
20481         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20482         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20483         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20484         (__ASSUME_UTIMES): Do not define.
20485         (__ASSUME_PSELECT): Likewise.
20486         (__ASSUME_PPOLL): Likewise.
20487         (__ASSUME_O_CLOEXEC): Likewise.
20488         (__ASSUME_SOCK_CLOEXEC): Likewise.
20489         (__ASSUME_IN_NONBLOCK): Likewise.
20490         (__ASSUME_PIPE2): Likewise.
20491         (__ASSUME_EVENTFD2): Likewise.
20492         (__ASSUME_SIGNALFD4): Likewise.
20493         (__ASSUME_DUP3): Likewise.
20494         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20495         (__ASSUME_UTIMES): Likewise.
20496         (__ASSUME_O_CLOEXEC): Likewise.
20497         (__ASSUME_SOCK_CLOEXEC): Likewise.
20498         (__ASSUME_IN_NONBLOCK): Likewise.
20499         (__ASSUME_PIPE2): Likewise.
20500         (__ASSUME_EVENTFD2): Likewise.
20501         (__ASSUME_SIGNALFD4): Likewise.
20502         (__ASSUME_DUP3): Likewise.
20503         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20504         (__ASSUME_UTIMES): Likewise.
20505         (__ASSUME_O_CLOEXEC): Likewise.
20506         (__ASSUME_SOCK_CLOEXEC): Likewise.
20507         (__ASSUME_IN_NONBLOCK): Likewise.
20508         (__ASSUME_PIPE2): Likewise.
20509         (__ASSUME_EVENTFD2): Likewise.
20510         (__ASSUME_SIGNALFD4): Likewise.
20511         (__ASSUME_DUP3): Likewise.
20512         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20513         Likewise.
20514         (__ASSUME_UTIMES): Likewise.
20515         (__ASSUME_EVENTFD2): Likewise.
20516         (__ASSUME_SIGNALFD4): Likewise.
20517         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20518         (__ASSUME_O_CLOEXEC): Likewise.
20519         (__ASSUME_SOCK_CLOEXEC): Likewise.
20520         (__ASSUME_IN_NONBLOCK): Likewise.
20521         (__ASSUME_PIPE2): Likewise.
20522         (__ASSUME_EVENTFD2): Likewise.
20523         (__ASSUME_SIGNALFD4): Likewise.
20524         (__ASSUME_DUP3): Likewise.
20525         (__ASSUME_UTIMES): Undefine.
20527         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20528         feclearexcept.  Remove symbol versioning code.
20529         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20530         symbol versioning code.
20531         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20532         symbol versioning code.
20533         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20534         feupdateenv.  Remove symbol versioning code.
20535         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20536         fegetexceptflag.  Remove symbol versioning code.
20537         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20538         fesetexceptflag.  Remove symbol versioning code.
20539         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20540         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20541         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20542         (__posix_fadvise64_l32): Remove prototype.
20543         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20544         code.
20546 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20548         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20549         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20550         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20551         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20553 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20555         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20556         current working directory
20558 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20560         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20561         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20562         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20563         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20564         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20565         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20566         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20567         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20568         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20569         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20570         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20571         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20572         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20573         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20574         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20575         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20576         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20577         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20578         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20579         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20580         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20581         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20582         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20583         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20584         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20585         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20586         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20587         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20588         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20589         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20590         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20591         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20592         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20593         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20594         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20595         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20596         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20597         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20598         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20599         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20600         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20601         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20603         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20604         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20606         * sysdeps/unix/sysv/linux/arm/Makefile
20607         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20608         Add rt-aeabi_unwind_cpp_pr1.
20609         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20610         Add nptl-aeabi_unwind_cpp_pr1.
20611         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20612         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20613         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20614         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20615         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20616         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20618         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20619         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20620         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20621         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20623         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20624         Deconditionalize the code that was previously under [RESET_PID].
20625         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20627         * sysdeps/generic/exit-thread.h: New file.
20628         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20629         * include/unistd.h (__exit_thread): Remove declaration.
20630         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20631         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20632         * csu/libc-start.c: Include <exit-thread.h>.
20633         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20634         * nptl/pthread_create.c: Include <exit-thread.h>.
20635         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20636         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20637         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20638         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20639         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20640         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20641         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20642         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20643         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20644         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20645         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20646         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20647         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20648         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20649         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20650         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20651         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20653 2014-05-13  Andreas Schwab  <schwab@suse.de>
20655         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20657 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20659         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20660         (__ASSUME_UTIMES): Do not condition on kernel version.
20661         (__ASSUME_PSELECT): Define unconditionally.
20662         (__ASSUME_PPOLL): Likewise.
20663         (__ASSUME_ATFCTS): Likewise.
20664         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20665         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20666         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20667         (__ASSUME_UTIMENSAT): Define unconditionally.
20668         (__ASSUME_PRIVATE_FUTEX): Likewise.
20669         (__ASSUME_FALLOCATE): Likewise.
20670         (__ASSUME_O_CLOEXEC): Likewise.
20671         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20672         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20673         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20674         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20675         (__ASSUME_IN_NONBLOCK): Likewise.
20676         (__ASSUME_PIPE2): Likewise.
20677         (__ASSUME_EVENTFD2): Likewise.
20678         (__ASSUME_SIGNALFD4): Likewise.
20679         (__ASSUME_DUP3): Likewise.
20680         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20681         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20682         (__ASSUME_AT_RANDOM): Likewise.
20683         (__ASSUME_PREADV): Likewise.
20684         (__ASSUME_PWRITEV): Likewise.
20685         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20686         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20687         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20688         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20689         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20690         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20691         (__ASSUME_O_CLOEXEC): Define unconditionally.
20692         (__ASSUME_PSELECT): Do not undefine conditionally.
20693         (__ASSUME_PPOLL): Likewise.
20694         (__ASSUME_ATFCTS): Likewise.
20695         (__ASSUME_SET_ROBUST_LIST): Likewise.
20696         (__ASSUME_UTIMENSAT): Likewise.
20697         (__ASSUME_FDATASYNC): Define unconditionally.
20698         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20699         (__ASSUME_SIGFRAME_V2): Likewise.
20700         )__ASSUME_EVENTFD2): Likewise.
20701         (__ASSUME_SIGNALFD4): Likewise.
20702         (__ASSUME_PSELECT): Do not undefine conditionally.
20703         (__ASSUME_PPOLL): Likewise.
20704         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20705         (__ASSUME_PSELECT): Define unconditionally.
20706         (__ASSUME_PPOLL): Likewise.
20707         (__ASSUME_O_CLOEXEC): Likewise.
20708         (__ASSUME_SOCK_CLOEXEC): Likewise.
20709         (__ASSUME_IN_NONBLOCK): Likewise.
20710         (__ASSUME_PIPE2): Likewise.
20711         (__ASSUME_EVENTFD2): Likewise.
20712         (__ASSUME_SIGNALFD4): Likewise.
20713         (__ASSUME_DUP3): Likewise.
20714         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20715         (__ASSUME_O_CLOEXEC): Likewise.
20716         (__ASSUME_SOCK_CLOEXEC): Likewise.
20717         (__ASSUME_IN_NONBLOCK): Likewise.
20718         (__ASSUME_PIPE2): Likewise.
20719         (__ASSUME_EVENTFD2): Likewise.
20720         (__ASSUME_SIGNALFD4): Likewise.
20721         (__ASSUME_DUP3): Likewise.
20722         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20723         (__ASSUME_EVENTFD2): Likewise.
20724         (__ASSUME_SIGNALFD4): Likewise.
20725         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20727 2014-05-12  Andreas Schwab  <schwab@suse.de>
20729         [BZ #16932]
20730         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20731         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20732         than maximum RPC packet size.
20733         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20734         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20735         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20736         (_nss_nis_getservbyport_r): Likewise.
20738 2014-05-12  Will Newton  <will.newton@linaro.org>
20740         * malloc/Makefile (tests): Add tst-mallopt.
20741         * malloc/tst-mallopt.c: New file.
20743 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20745         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20746         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20748 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20750         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20751         (tst-tlsmod6.so): Likewise.
20753 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20755         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20757 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20759         [BZ #16064]
20760         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20761         and <dl-procinfo.h>.
20762         (__fegetenv): Save SSE state in envp->__eip if supported.
20763         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20764         envp->__eip if supported.
20765         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20766         and <dl-procinfo.h>.
20767         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20768         __data_offset and __data_selector in environment to 0.  Set SSE
20769         state if supported.
20770         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20771         test-fenv-sse.
20772         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20773         -mfpmath=sse.
20774         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20776 2014-05-09  Will Newton  <will.newton@linaro.org>
20778         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20779         and libc_relro_required for ARM.
20780         * sysdeps/arm/preconfigure: Regenerate.
20782 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20783             Stefan Liebler  <stli@linux.vnet.ibm.com>
20785         * config.make.in (enable-lock-elision): New Makefile variable.
20786         * configure.ac: Likewise.
20787         * configure: Regenerate.
20788         * sysdeps/s390/configure.ac:
20789         Add check for gcc transactions support.
20790         * sysdeps/s390/configure: Regenerate.
20791         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20792         Build elision files if enabled.
20793         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20794         Add lock elision support for s390.
20795         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20796         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20797         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20798         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20799         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20800         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20801         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20802         Likewise.
20803         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20804         Likewise.
20805         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20806         Likewise.
20807         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20808         Likewise.
20809         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20810         (__lll_timedlock_elision, __lll_lock_elision)
20811         (__lll_unlock_elision, __lll_trylock_elision)
20812         (lll_timedlock_elision, lll_lock_elision)
20813         (lll_unlock_elision, lll_trylock_elision): Add.
20814         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20815         (pthread_mutex_t): Add lock elision support for s390.
20817 2014-05-14  Wilco  <wdijkstr@arm.com>
20819         * sysdeps/arm/fclrexcpt.c: Cleanup.
20820         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20821         * sysdeps/arm/feenablxcpt.c: Cleanup.
20822         * sysdeps/arm/fegetenv.c: Cleanup.
20823         * sysdeps/arm/fegetexcept.c: Cleanup.
20824         * sysdeps/arm/fegetround.c: Cleanup.
20825         * sysdeps/arm/feholdexcpt.c: Cleanup.
20826         * sysdeps/arm/fesetenv.c: Cleanup.
20827         * sysdeps/arm/fesetround.c: Cleanup.
20828         * sysdeps/arm/feupdateenv.c: Cleanup.
20829         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20830         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20831         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20832         * sysdeps/arm/ftestexcept.c: Cleanup.
20833         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20834         * sysdeps/arm/setfpucw.c: Cleanup.
20836 2014-05-09  Will Newton  <will.newton@linaro.org>
20838         * sysdeps/arm/armv7/strcmp.S: New file.
20839         * NEWS: Mention addition of ARMv7 optimized strcmp.
20841 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20843         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20844         look for %.ac rather than %.in.
20846         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20847         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20848         * sysdeps/mach/hurd/configure: Regenerated.
20849         * sysdeps/unix/sysv/linux/configure: Regenerated.
20851         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20853 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20855         [BZ# 16922]
20856         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20857         (LONG_SUB): Ditto.
20858         (PTR_SUB): Ditto.
20860 2014-05-07  Andreas Schwab  <schwab@suse.de>
20862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20863         when skipping over non-matching result from nscd.
20865 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20867         [BZ #16876]
20868         * nptl/sockperf.c (client): Check socket return value.
20870         [BZ #16877]
20871         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20872         nscd security class.
20874 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20876         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20877         * sysdeps/arm/unwind.h: ... here.
20879 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20881         [BZ# 16916]
20882         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20883         Define.
20885 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20887         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20888         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20889         multiarch strncpy for PPC64.
20890         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20891         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20893         multiarch optimizations.
20894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20895         (__libc_ifunc_impl_list): Likewise.
20896         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20897         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20898         multiarch stpncpy for PPC64.
20899         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20900         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20902 2014-05-06  Andreas Schwab  <schwab@suse.de>
20904         [BZ #16912]
20905         * gmon/mcount.c (_MCOUNT_DECL): Use
20906         atomic_compare_and_exchange_bool_acq instead of
20907         catomic_compare_and_exchange_bool_acq.
20909 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20911         * elf/Makefile (others, install-bin): Remove pldd.
20912         (pldd-modules): Variable removed.
20913         ($(objpfx)pldd): Target removed.
20914         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20915         (others, install-bin): Append pldd here.
20916         ($(objpfx)pldd): New target.
20918         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20919         to 0, so the first #if test emitted later doesn't see it undefined.
20920         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20921         * sysdeps/gnu/errlist.c: Regenerated.
20923 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20925         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20926         [libc_hidden_builtin_def]: Define to empty value.
20927         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20928         [libc_hidden_builtin_def]: Likewise.
20929         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20930         [libc_hidden_builtin_def]: Likewise.
20931         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20932         [libc_hidden_builtin_def]: Likewise.
20933         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20934         __redirect_memcpy and define ifunc as default hidden symbol.
20935         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20936         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20938 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20940         * locale/iso-4217.def: Reintroduce XDR currency.
20942 2014-05-04  Allan McRae  <allan@archlinux.org>
20944         * po/eo.po: Update Esperanto translation from translation project.
20946 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20948         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20949         and FEATURE_INDEX_MAX to 1.
20950         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20952 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20954         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20955         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20956         * iconvdata/big5.c (ONE_DIRECTION): Define.
20957         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20958         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20959         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20960         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20961         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20962         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20963         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20964         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20965         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20966         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20967         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20968         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20969         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20970         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20971         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20972         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20973         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20974         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20975         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20976         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20977         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20978         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20979         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20980         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20981         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20982         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20983         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20984         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20985         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20986         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20987         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20988         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20989         * iconvdata/johab.c (ONE_DIRECTION): Define.
20990         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20991         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20992         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20993         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20994         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20995         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20996         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20997         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20998         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20999         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21001 2014-05-01  Roland McGrath  <roland@hack.frob.com>
21003         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21004         (_IO_JUMPS_OFFSET): Define to 0.
21006         * nptl/sysdeps/pthread/bits/libc-lock.h
21007         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21008         (__libc_lock_define_initialized_recursive): Always define using
21009         initializer.  Modern compilers treat uninitialized (implicit zero) and
21010         explicit zero initializers the same (i.e. put the datum in bss).
21012 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21014         * nscd/nscd-client.h: Include <string.h>.
21016 2014-05-01  David S. Miller  <davem@davemloft.net>
21018         [BZ #16885]
21019         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21020         multiple zero bytes exist at the end of a string.
21021         Reported by Aurelien Jarno <aurelien@aurel32.net>
21023         * string/test-strcmp.c (check): Add explicit test for situations where
21024         there are multiple zero bytes after the first.
21026 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21028         [BZ #16890]
21029         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21030         when compiling wprintf.
21031         * stdio-common/tstdiomisc.c (t3): New function.
21032         (main): Call it.
21034 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21036         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21037         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21038         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21039         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21041 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21043         * stdlib/longlong.h: Updated from GCC.
21045 2014-05-01  Will Newton  <will.newton@linaro.org>
21046             Bernard Ogden  <bernie.ogden@linaro.org>
21048         * NEWS: Update fixed bug list.
21050         [BZ #15119]
21051         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21053 2014-04-30  David S. Miller  <davem@davemloft.net>
21055         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21056         (libc_feholdexcept_setround_sparc_ctx): New function.
21057         (libc_fesetenv_sparc_ctx): Likewise.
21058         (libc_feupdateenv_sparc_ctx): Likewise.
21059         (libc_feholdsetround_sparc_ctx): Likewise.
21060         (libc_feholdexcept_setround_ctx): Define.
21061         (libc_feholdexcept_setroundf_ctx): Likewise.
21062         (libc_feholdexcept_setroundl_ctx): Likewise.
21063         (libc_fesetenv_ctx): Likewise.
21064         (libc_fesetenvf_ctx): Likewise.
21065         (libc_fesetenvl_ctx): Likewise.
21066         (libc_feupdateenv_ctx): Likewise.
21067         (libc_feupdateenvf_ctx): Likewise.
21068         (libc_feupdateenvl_ctx): Likewise.
21069         (libc_feresetround_ctx): Likewise.
21070         (libc_feresetroundf_ctx): Likewise.
21071         (libc_feresetroundl_ctx): Likewise.
21072         (libc_feholdsetround_ctx): Likewise.
21073         (libc_feholdsetroundf_ctx): Likewise.
21074         (libc_feholdsetroundl_ctx): Likewise.
21076         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21077         with __USE_GNU instead of XOPEN cpp guards.
21079         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21080         0.
21082         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21083         with XOPEN cpp guards.
21085 2014-04-30  Julian Brown  <julian@codesourcery.com>
21087         [BZ #16888]
21088         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21089         handling.
21091 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21093         [BZ #9894]
21094         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21095         Change to 2.6.32.
21096         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21097         * sysdeps/unix/sysv/linux/configure: Regenerated.
21098         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21099         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21100         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21101         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21102         * README: Update reference to required Linux kernel version.
21103         * manual/install.texi (Linux): Update reference to required Linux
21104         kernel headers version.
21105         * INSTALL: Regenerated.
21107         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21108         header inclusion.
21109         [POSIX] (limits.h): Likewise.
21110         [POSIX] (math.h): Likewise.
21111         [POSIX] (sys/wait.h): Likewise.
21112         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21113         function.
21114         [POSIX] (stddef.h): Do not allow header inclusion.
21116 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21118         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21120 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21122         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21123         Return immediately after lll_futex_wake.
21125 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21127         [BZ #16791]
21128         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21129         structure.
21130         (datahead_init_pos): Call datahead_init_common early.
21131         (datahead_init_neg): Likewise.
21133         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21134         datahead_init_neg): New functions.
21135         * nscd/aicache.c (addhstaiX): Use them.
21136         * nscd/grpcache.c (cache_addgr): Likewise.
21137         * nscd/hstcache.c (cache_addhst): Likewise.
21138         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21139         * nscd/netgroupcache.c (do_notfound): Likewise.
21140         (addgetnetgrentX): Likewise.
21141         (addinnetgrX): Likewise.
21142         * nscd/pwdcache.c (cache_addpw): Likewise.
21143         * nscd/servicescache.c (cache_addserv): Likewise.
21145 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21146             Atsushi Onoe  <atsushi@onoe.org>
21148         [BZ #14308]
21149         [BZ #12994]
21150         [BZ #13651]
21151         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21152         one response is valid.
21153         * resolv/res_send.c (send_dg): Check for validity of other
21154         response if the current response is a referral.
21156 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21158         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21160 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21162         [BZ #16823]
21163         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21164         Always divide by positive zero when computing -Inf result.
21165         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21166         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21168 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21170         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21171         FPSCR if value do not change.
21172         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21173         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21174         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21175         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21176         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21177         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21178         function.
21180 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21182         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21183         * sysdeps/unix/sysv/linux/hppa: Move directory from
21184         ports/systeps/unix/sysv/linux/hppa.
21185         * README: Update listing for hppa-*-linux-gnu.
21187 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21189         [BZ #16754]
21190         * manual/stdio.texi (Hook functions): Fix types of stream hook
21191         functions.
21192         [BZ #16854]
21193         * socket/sys/socket.h: Fix typo in comment.
21195 2014-04-28  Wilco  <wdijkstr@arm.com>
21197         * sysdeps/arm/fenv_private.h: New file.
21198         * sysdeps/arm/math_private.h: New file.
21199         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21201 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21203         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21204         with __int128_t.
21205         (La_x86_64_retval): Likewise.
21207 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21209         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21210         fpsr if value didn't change.
21211         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21212         to fpcr if value didn't change.
21213         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21214         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21215         fpsr or fpcr if value didn't change.
21216         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21217         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21218         fpcr if value didn't change.
21219         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21220         to fpsr if value didn't change.
21222 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21224         * nptl/tst-sem3.c: Use test-skeleton.c
21225         (main): Rename to do_test.  Use return instead of
21226         exit.
21227         * nptl/tst-sem4.c: Use test-skeleton.c
21228         (main): Rename to do_test.
21230 2014-04-22  David S. Miller  <davem@davemloft.net>
21232         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21233         (struct sigaction): New struct member __glibc_reserved0, change
21234         type of sa_flags to int.
21236 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21238         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21239         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21241 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21243         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21244         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21246 2014-04-22  Will Newton  <will.newton@linaro.org>
21247             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21249         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21250         (__longjmp): Add longjmp and longjmp_target SystemTap
21251         probes.
21252         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21253         (__sigsetjmp): Add setjmp SystemTap probe.
21255 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21257         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21258         match manual order.
21260 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21262         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21264         * sysdeps/powerpc/fpu/fenv_private.h
21265         (libc_feholdexcept_setroundl_ctx): Define to
21266         libc_feholdexcept_setround_ppc_ctx.
21267         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21268         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21269         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21270         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21272 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21274         * sysdeps/aarch64/math-tests.h: New file.
21276 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21278         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21279         New.
21280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21281         Check and set bit_AVX2_Usable.
21282         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21283         macro.
21284         (bit_AVX2): Likewise.
21285         (index_AVX2_Usable): Likewise.
21286         (CPUID_AVX2): Likewise.
21287         (HAS_AVX2): Likewise.
21289 2014-04-17  Will Newton  <will.newton@linaro.org>
21291         * manual/setjmp.texi (System V contexts): Add note that
21292         calling setcontext on a context created by a call to a
21293         signal handler is undefined.  Update text to note that
21294         setcontext from a signal handler is possible but not
21295         recommended.
21297         [BZ #16629]
21298         * stdlib/tst-setcontext.c: Include signal.h.
21299         (main): Check that the signal stack before and
21300         after swapcontext is the same.
21302         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21303         Re-implement to restore registers in user code and avoid
21304         rt_sigreturn system call.
21306 2014-04-17  Wilco  <wdijkstr@arm.com>
21308         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21309         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21310         * math/test-fenv.c: Skip exception trap tests on targets which only
21311         support non-stop mode.
21313 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21314             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21316         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21317         (libc_feholdsetround_aarch64_ctx)
21318         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21319         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21320         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21321         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21322         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21323         (libc_feresetround_noexl_ctx): Define.
21325 2014-04-16  Richard Henderson  <rth@redhat.com>
21327         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21329         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21330         unwind tables.
21332         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21333         const from the non-libc, non-ldso copy.
21335         * sysdeps/alpha/libm-test-ulps: Regenerate.
21337 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21338             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21340         * sysdeps/aarch64/fpu/math_private.h: New file.
21342 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21344         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21346 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21348         [BZ #16275]
21349         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21350         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21351         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21352         Intel MPX bound registers before _dl_profile_fixup.
21353         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21354         registers after _dl_profile_fixup.  Save and restore bound
21355         registers bnd0/bnd1 when calling _dl_call_pltexit.
21356         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21357         (LR_BND_OFFSET): Likewise.
21358         (LRV_BND0_OFFSET): Likewise.
21359         (LRV_BND1_OFFSET): Likewise.
21361 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21363         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21364         to...
21365         * sysdeps/mach/hurd/i386/tls.h: ... here.
21366         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21367         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21368         fields.
21370 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21372         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21374 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21376         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21378 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21380         [BZ #14770]
21381         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21382         * sysdeps/s390/configure: Regenerate.
21384         [BZ #16824]
21385         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21386         Set round-to-nearest internally to reduce error accumulation.
21388 2014-04-16  Alan Modra  <amodra@gmail.com>
21390         [BZ #16740]
21391         [BZ #16619]
21392         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21393         * math/libm-test.inc (frexp_test_data): Add tests.
21394         * NEWS: Update fixed bug list.
21396 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21398         * benchtests/Makefile: Depend on libraries in build directory.
21399         (bench-math): Separate out math tests.
21400         (bench-pthread): Separate out pthread tests.
21401         (bench): Include math and pthread tests.
21403 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21405         [BZ #16831]
21406         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21407         _dl_debug_initialize.
21409         * configure.ac: Remove SELinux header check.
21410         * configure: Regenerate.
21411         * nscd/selinux.c (perms): Array of const char* to permission names.
21412         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21413         default policy. Call string_to_security_class and string_to_av_perm to
21414         translate strings. Enforce default policy and call avs_has_perm with
21415         results of translated strings.
21417 2014-04-13  David S. Miller  <davem@davemloft.net>
21419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21421 2014-04-12  Allan McRae  <allan@archlinux.org>
21423         [BZ #16838]
21424         * manual/string.texi (Collation Functions): Fix qsort argument
21425         order in example.
21426         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21428 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21430         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21431         Make the test a no-op if there are no exceptions defined.
21433 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21435         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21436         enable-hardcoded-path-in-tests
21438 2014-04-11  Will Newton  <will.newton@linaro.org>
21440         * benchtests/Makefile (extra-objs): Add json-lib.o.
21441         (bench-func): Tidy up JSON output.
21442         * benchtests/bench-skeleton.c: Include json-lib.h.
21443         (main): Use JSON library functions to do output of
21444         benchmark results.
21445         * benchtests/bench-timing-type.c (main): Output the
21446         timing type simply, leaving formatting to the user.
21447         * benchtests/json-lib.c: New file.
21448         * benchtests/json-lib.h: Likewise.
21450 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21452         [BZ #15215]
21453         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21454         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21455         memory barriers.  Add comments.
21456         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21457         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21458         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21459         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21460         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21461         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21463 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21465         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21466         * sysdeps/s390/s390-64/configure.ac: ... this ...
21467         * sysdeps/s390/configure.ac: ... to here.
21468         * sysdeps/s390/s390-32/configure: Delete file.
21469         * sysdeps/s390/s390-64/configure: Delete file.
21470         * sysdeps/s390/configure: Regenerate.
21472 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21474         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21476 2014-04-11  Will Newton  <will.newton@linaro.org>
21478         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21479         to zero if it is not defined elsewhere.  (mtrim): Test
21480         the value of MALLOC_DEBUG with #if rather than #ifdef.
21482 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21484         * benchtests/pthread_once-inputs: New file.
21485         * benchtests/pthread_once-source.c: New file.
21486         * benchtests/README: Update documentation.
21488 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21489             H.J. Lu  <hongjiu.lu@intel.com>
21491         [BZ #16275]
21492         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21493         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21494         * sysdeps/x86_64/configure: Regenerated.
21495         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21496         macro.
21497         (REGISTER_SAVE_RAX): Likewise.
21498         (REGISTER_SAVE_RCX): Likewise.
21499         (REGISTER_SAVE_RDX): Likewise.
21500         (REGISTER_SAVE_RSI): Likewise.
21501         (REGISTER_SAVE_RDI): Likewise.
21502         (REGISTER_SAVE_R8): Likewise.
21503         (REGISTER_SAVE_R9): Likewise.
21504         (REGISTER_SAVE_BND0): Likewise.
21505         (REGISTER_SAVE_BND1): Likewise.
21506         (REGISTER_SAVE_BND2): Likewise.
21507         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21508         bound registers when calling _dl_fixup.
21510 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21512         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21513         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21514         of its definition.
21515         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21516         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21517         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21518         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21519         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21520         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21521         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21523 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21525         [BZ #15514]
21526         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21527         pathconf(_PC_NAME_MAX).
21529 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21531         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21532         Remove macro usage.
21533         (__PTHREAD_SPINS): Move definition to ...
21534         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21535         (__PTHREAD_SPINS): ... here.
21536         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21537         (__PTHREAD_SPIN): Likewise.
21538         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21539         (__PTHREAD_SPIN): Likewise.
21540         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21541         (__PTHREAD_SPIN): Likewise.
21542         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21543         (__PTHREAD_SPIN): Likewise.
21544         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21545         (__PTHREAD_SPIN): Likewise.
21546         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21547         (__PTHREAD_SPIN): Likewise.
21548         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21549         (__PTHREAD_SPIN): Likewise.
21550         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21551         (__PTHREAD_SPIN): Likewise.
21552         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21553         (__PTHREAD_SPIN): Likewise.
21554         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21555         (__PTHREAD_SPIN): Likewise.
21556         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21557         (__PTHREAD_SPIN): Likewise.
21558         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21559         (__PTHREAD_SPIN): Likewise.
21561         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21562         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21563         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21564         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21565         imply folder.
21566         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21567         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21568         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21569         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21570         correct imply path.
21571         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21572         strlen symbol for non multi-arch builds.
21573         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21574         missing hidden_def and weak_alias.
21576 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21578         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21580 2014-04-07  Will Newton  <will.newton@linaro.org>
21582         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21583         and contents.  [!_LIBC] Remove #ifndef and contents.
21584         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21585         * string/memccpy.c (__memccpy): Use ANSI prototype.
21586         * string/memfrob.c (memfrob): Likewise.
21587         * string/strcoll.c (STRCOLL): Likewise.
21588         * string/strlen.c (strlen): Likewise.
21589         * string/strtok.c (STRTOK): Likewise.
21590         * string/strcat.c: Remove unused #include of memcopy.h.
21591         (strcat): Use ANSI prototype.
21592         * string/strchr.c: Remove unused #include of memcopy.h.
21593         (strchr): Use ANSI prototype.
21594         * string/strcmp.c: Remove unused #include of memcopy.h.
21595         (strcmp): Use ANSI prototype.
21596         * string/strcpy.c: Remove unused #include of memcopy.h.
21597         (strcpy): Use ANSI prototype.
21599 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21601         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21602         * config.make.in (config-extra-cppflags): Set it from
21603         libc_extra_cppflags.
21604         * configure.ac (libc_extra_cflags): Make it accumulate over
21605         configure fragments.
21606         (libc_extra_cppflags): New flag.
21607         * configure. Regenerate.
21608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21609         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21610         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21613         [BZ #16815]
21614         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21615         result for FE_DOWNWARD rounding mode.
21616         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21617         Likewise.
21618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21620 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21622         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21623         in function argument name.
21625 2014-04-03  David Svoboda  <svoboda@cert.org>
21627         [BZ #5666]
21628         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21629         explicitly.
21631 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21633         * elf/dl-unmap-segments.h: New file.
21634         * sysdeps/generic/ldsodefs.h
21635         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21636         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21637         * elf/dl-fptr.c: Likewise.
21638         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21639         * sysdeps/aarch64/tlsdesc.c: Likewise.
21640         * sysdeps/arm/tlsdesc.c: Likewise.
21641         * sysdeps/i386/tlsdesc.c: Likewise.
21642         * sysdeps/tile/dl-runtime.c: Likewise.
21643         * sysdeps/x86_64/tlsdesc.c: Likewise.
21644         * elf/dl-load.h: New file.
21645         * elf/dl-load.c: Include it.
21646         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21647         Macros moved to dl-load.h.
21648         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21649         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21650         Use _dl_unmap_segments in place of __munmap.
21651         Break out segment-mapping loop into ...
21652         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21654 2014-04-03  Will Newton  <will.newton@linaro.org>
21656         * elf/dl-lookup.c (do_lookup_x): Remove comment
21657         referring to nested function and move variable
21658         declarations down to before first use.
21660 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21662         [BZ #16799]
21663         [BZ #16800]
21664         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21665         with 0 numerator.
21666         * math/s_catanf.c (__catanf): Likewise.
21667         * math/s_catanh.c (__catanh): Likewise.
21668         * math/s_catanhf.c (__catanhf): Likewise.
21669         * math/s_catanhl.c (__catanhl): Likewise.
21670         * math/s_catanl.c (__catanl): Likewise.
21671         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21672         by positive zero when computing -Inf result.
21673         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21674         (catanh_test): Likewise.
21675         * sysdeps/i386/fpu/libm-test-ulps: Update.
21676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21678         [BZ #16789]
21679         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21680         instead of using underflowing value in computing result.
21681         * math/s_clog10.c (__clog10): Likewise.
21682         * math/s_clog10f.c (__clog10f): Likewise.
21683         * math/s_clog10l.c (__clog10l): Likewise.
21684         * math/s_clogf.c (__clogf): Likewise.
21685         * math/s_clogl.c (__clogl): Likewise.
21686         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21687         (clog10_test): Likewise.
21688         * sysdeps/i386/fpu/libm-test-ulps: Update.
21689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21691 2014-04-02  Alan Modra  <amodra@gmail.com>
21693         [BZ #16739]
21694         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21695         output when value is near a power of two.  Use int64_t for lx and
21696         remove casts.  Use decimal rather than hex exponent constants.
21697         Don't use long double multiplication when double will suffice.
21698         * math/libm-test.inc (nextafter_test_data): Add tests.
21699         * NEWS: Add 16739 and 16786 to bug list.
21701         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21703         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21705 2014-04-01  Will Newton  <will.newton@linaro.org>
21707         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21708         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21710 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21712         [BZ #13347]
21713         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21714         * nptl/tst-setuid2.c: New file.
21715         * nptl/Makefile (xtests): Add tst-setuid2.
21717 2014-04-01  Alan Modra  <amodra@gmail.com>
21719         [BZ #16786]
21720         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21722 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21724         [BZ #6803]
21725         [BZ #6804]
21726         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21727         set errno as appropriate.
21728         * math/w_scalbf.c (__scalbf): Likewise.
21729         * math/w_scalbl.c (__scalbl): Likewise.
21730         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21731         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21732         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21733         Add more NaN tests.
21735         [BZ #16349]
21736         * math/w_atan2.c: Include <errno.h>.
21737         (__atan2): Set errno for result underflowing to zero.
21738         * math/w_atan2f.c: Include <errno.h>.
21739         (__atan2f): Set errno for result underflowing to zero.
21740         * math/w_atan2l.c: Include <errno.h>.
21741         (__atan2l): Set errno for result underflowing to zero.
21742         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21743         tests.
21744         * math/auto-libm-test-out: Regenerated.
21746 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21748         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21749         Encode instruction correctly in little endian.
21750         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21751         Likewise.
21752         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21753         Likewise.
21754         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21755         Likewise.
21756         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21757         Likewise.
21759 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21761         [BZ #9894]
21762         * sysdeps/unix/sysv/linux/kernel-features.h
21763         [__sparc__ && !__arch64__ && !__sparc_v9__]
21764         (__ASSUME_SET_ROBUST_LIST): Do not define.
21765         [__sparc__ && !__arch64__ && !__sparc_v9__]
21766         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21767         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21768         Likewise.
21769         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21770         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21771         (__ASSUME_REQUEUE_PI): Likewise.
21772         (__ASSUME_SET_ROBUST_LIST): Likewise.
21773         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21774         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21775         Undefine.
21776         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21777         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21778         Likewise.
21779         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21780         Likewise.
21781         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21782         Likewise.
21783         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21784         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21785         Undefine.
21786         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21787         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21788         Likewise.
21790         [BZ #16648]
21791         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21792         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21793         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21795 2014-03-31  Will Newton  <will.newton@linaro.org>
21797         * benchtests/Makefile (bench): Add ffs and ffsll to list
21798         of tests.
21799         * benchtests/ffs-inputs: New file.
21800         * benchtests/ffsll-inputs: Likewise.
21802 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21804         [BZ #16770]
21805         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21806         too large before casting to int.
21807         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21808         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21809         * math/libm-test.inc (scalb_test_data): Add more tests.
21811 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21813         * benchtests/Makefile (DETAILED_OPT): New make option.
21814         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21815         set.
21816         * benchtests/bench-skeleton.c: Include stdbool.h.
21817         (main): Store and print timings per input.
21818         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21819         member to each argument value.
21820         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21821         (_print_arg_data): Initialize per-input timing to 0.
21823         * benchtests/Makefile (timing-type): New binary.
21824         (bench-clean): Also remove bench-timing-type.
21825         (bench): New target for timing-type.
21826         (bench-func): Print output in JSON format.
21827         * benchtests/bench-skeleton.c (main): Print output in JSON
21828         format.
21829         * benchtests/bench-timing-type.c: New file.
21830         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21831         (TIMING_PRINT_STATS): Remove.
21832         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21833         name separately.
21835         * benchtests/bench-modf.c: Remove.
21836         * benchtests/modf-inputs: New inputs file.
21838 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21840         [BZ #16362]
21841         * math/s_clog10.c (M_PI_LOG10E): New macro.
21842         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21843         imaginary parts are 0.
21844         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21845         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21846         imaginary parts are 0.
21847         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21848         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21849         imaginary parts are 0.
21850         * math/libm-test.inc (clog10_test_data): Update expected results
21851         for when real and imaginary parts are 0.
21853 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21855         * elf/dl-load.c: Finish conversion of __builtin_expect into
21856         __glibc_{un}likely.
21858 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21860         [BZ #16348]
21861         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21862         1+x for argument with exponent below -67.
21863         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21864         Likewise.
21865         * math/auto-libm-test-in: Add more tests of exp.
21866         * math/auto-libm-test-out: Regenerated.
21868 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21870         [BZ #16759]
21871         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21872         (nscd_getnetgrent): Use it.
21874         [BZ #16760]
21875         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21876         of stpcpy.
21878 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21880         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21881         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21882         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21883         (lll_robust_unlock): Remove out of line section. Use cfi
21884         intrinsics.
21885         (LLL_STUB_UNWIND_INFO*): Remove.
21886         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21887         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21888         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21889         (lll_robust_unlock): Remove out of line section. Use cfi
21890         intrinsics.
21891         (LLL_STUB_UNWIND_INFO*): Remove.
21893 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21895         [BZ #16758]
21896         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21897         blank values.
21899 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21901         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21903 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21905         [BZ #16198]
21906         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21907         fnstenv.
21908         * math/test-fenv-preserve.c: New file.
21909         * math/Makefile (tests): Add test-fenv-preserve.
21911 2014-03-26  Will Newton <will.newton@linaro.org>
21913         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21915 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21917         * scripts/versionlist.awk: Partition the version sets and emit all
21918         GLIBC_* (sorted) before all others (sorted).
21920 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21922         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21923         GLIBC_2.2.5 version.
21925 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21927         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21928         calls.
21930         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21931         previous change.
21933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21935 2014-03-25  Andreas Schwab  <schwab@suse.de>
21937         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21938         label to be used after in6ailist is initialized.
21940 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21942         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21943         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21945 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21947         [BZ #16357]
21948         [BZ #16599]
21949         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21950         min_plus_half.
21951         (fp_formats): Update initializers.
21952         (init_fp_formats): Initialize new field.
21953         (output_for_one_input_case): Allow underflow for results up to
21954         min_plus_half.
21955         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21956         * math/auto-libm-test-in: Don't mark some underflows from asin and
21957         atanh as spurious.
21958         * math/auto-libm-test-out: Regenerated.
21959         * sysdeps/i386/fpu/libm-test-ulps: Update.
21960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21962 2014-03-25  Andreas Schwab  <schwab@suse.de>
21964         * libio/Makefile (tst-ftell-partial-wide-ENV)
21965         (tst-ftell-active-handler-ENV): Define.
21967 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21969         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21971 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21973         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21975 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21977         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21978         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21979         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21981 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21983         [BZ #16634]
21984         * elf/dl-load.c (open_verify): Add mode parameter.
21985         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21986         (open_path): Change from boolean 'secure' to complete flag 'mode'
21987         (_dl_map_object): Adjust.
21988         * elf/Makefile (tests): Add tst-dlopen-aout.
21989         * elf/tst-dlopen-aout.c: New test.
21991 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21993         [BZ #16714]
21994         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21995         (struct stat): Rename member pad0 to __glibc_reserved0.
21997         [BZ #16712]
21998         * sysdeps/s390/s390-32/bits/wordsize.h
21999         (__WORDSIZE32_SIZE_ULONG): New define.
22000         * sysdeps/s390/s390-64/bits/wordsize.h
22001         (__WORDSIZE32_SIZE_ULONG): Likewise.
22002         * sysdeps/generic/stdint.h (SIZE_MAX):
22003         Define as UL if __WORDSIZE32_SIZE_ULONG.
22005         [BZ #16713]
22006         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22007         (__glibc_reserved0): New variable.
22008         (sa_flags): Change type to int.
22010         * posix/Makefile (before-compile): Use += before-compile instead
22011         of a :=.
22013         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22014         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22016 2014-03-20  Andreas Schwab  <schwab@suse.de>
22018         [BZ #16743]
22019         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22020         non-matching result from nscd.
22022 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22024         * scripts/bench.py: Moved to ...
22025         * benchtests/scripts/bench.py: ... here.
22026         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22028 2014-03-24  Andreas Schwab  <schwab@suse.de>
22030         [BZ #16002]
22031         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22032         alloca_account and account alloca use for struct in6ailist.
22034 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22036         [BZ #16284]
22037         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22038         rounding mode to recompute results that overflow to infinity or
22039         underflow to zero.
22040         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22041         bug 16284.
22042         * math/auto-libm-test-out: Regenerated.
22043         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22044         (ccosh_test): Likewise.
22045         (csin_test_data): Use plus_oflow.
22046         (csin_test): Use ALL_RM_TEST.
22047         (csinh_test_data): Use plus_oflow.
22048         (csinh_test): Use ALL_RM_TEST.
22049         * sysdeps/i386/fpu/libm-test-ulps: Update.
22050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22052 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22054         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22055         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22056         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22058         [BZ #16731]
22059         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22060         when x - 1 is zero.
22061         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22062         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22063         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22064         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22065         argument is 1.
22066         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22067         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22068         zero.
22069         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22070         * sysdeps/i386/fpu/libm-test-ulps: Update.
22071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22073 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22075         * scripts/bench.pl: Remove file.
22076         * scripts/bench.py: New benchmark script.
22077         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22078         * benchtests/README: Mention python dependency.
22079         * scripts/pylintrc: New file.
22080         * scripts/pylint: New file.
22082         * bits/mathdef.h: Use #ifdef instead of #if.
22083         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22084         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22085         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22086         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22087         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22088         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22090 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22091             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22093         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22095         and strpbrk-ppc64 objects.
22096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22097         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22098         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22099         multiarch strpbrk for POWER7.
22100         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22101         multiarch strpbrk for PPC64.
22102         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22103         ifunc selector.
22104         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22105         strpbrk for POWER7.
22107 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22109         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22110         (atan_test): Likewise.
22111         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22112         (atanh_test): Use ALL_RM_TEST.
22113         (atan2_test_data): Likewise.
22114         (cabs_test): Likewise.
22115         (cacosh_test): Likewise.
22116         (carg_test): Likewise.
22117         (casin_test): Likewise.
22118         (casinh_test): Likewise.
22119         (cbrt_test): Likewise.
22120         (csqrt_test): Likewise.
22121         (erf_test): Likewise.
22122         (erfc_test): Likewise.
22123         (pow10_test): Likewise.
22124         (exp2_test): Likewise.
22125         (hypot_test): Likewise.
22126         (j0_test): Likewise.
22127         (j1_test): Likewise.
22128         (lgamma_test): Likewise.
22129         (gamma_test): Likewise.
22130         (sincos_test): Likewise.
22131         (tanh_test): Likewise.
22132         (y0_test): Likewise.
22133         (y1_test): Likewise.
22134         * sysdeps/i386/fpu/libm-test-ulps: Update.
22135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22137 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22139         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22141         and strcspn-ppc64 objects.
22142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22143         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22144         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22145         multiarch strcspn for POWER7.
22146         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22147         multiarch strcspn for PPC64.
22148         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22149         ifunc selector.
22150         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22151         strcspn for POWER7.
22153 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22155         * math/gen-libm-test.pl (generate_testfile): Expect only function
22156         name as argument to AUTO_TESTS_* and pass results for all rounding
22157         modes to parse_args.
22158         (parse_auto_input): Separate inputs of automatic tests from
22159         outputs before storing in %auto_tests.
22160         * math/libm-test.inc (acos_test_data): Update call to
22161         AUTO_TESTS_f_f.
22162         (acos_test): Use ALL_RM_TEST.
22163         (acos_tonearest_test_data): Remove.
22164         (acos_test_tonearest): Likewise.
22165         (acos_towardzero_test_data): Likewise.
22166         (acos_test_towardzero): Likewise.
22167         (acos_downward_test_data): Likewise.
22168         (acos_test_downward): Likewise.
22169         (acos_upward_test_data): Likewise.
22170         (acos_test_upward): Likewise.
22171         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22172         (asin_test_data): Likewise.
22173         (asin_test): Use ALL_RM_TEST.
22174         (asin_tonearest_test_data): Remove.
22175         (asin_test_tonearest): Likewise.
22176         (asin_towardzero_test_data): Likewise.
22177         (asin_test_towardzero): Likewise.
22178         (asin_downward_test_data): Likewise.
22179         (asin_test_downward): Likewise.
22180         (asin_upward_test_data): Likewise.
22181         (asin_test_upward): Likewise.
22182         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22183         (atan_test_data): Likewise.
22184         (atanh_test_data): Likewise.
22185         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22186         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22187         (carg_test_data): Likewise.
22188         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22189         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22190         (ccosh_test_data): Likewise.
22191         (cexp_test_data): Likewise.
22192         (clog_test_data): Likewise.
22193         (clog10_test_data): Likewise.
22194         (cos_test_data): Update call to AUTO_TESTS_f_f.
22195         (cos_test): Use ALL_RM_TEST.
22196         (cos_tonearest_test_data): Remove.
22197         (cos_test_tonearest): Likewise.
22198         (cos_towardzero_test_data): Likewise.
22199         (cos_test_towardzero): Likewise.
22200         (cos_downward_test_data): Likewise.
22201         (cos_test_downward): Likewise.
22202         (cos_upward_test_data): Likewise.
22203         (cos_test_upward): Likewise.
22204         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22205         (cosh_test): Use ALL_RM_TEST.
22206         (cosh_tonearest_test_data): Remove.
22207         (cosh_test_tonearest): Likewise.
22208         (cosh_towardzero_test_data): Likewise.
22209         (cosh_test_towardzero): Likewise.
22210         (cosh_downward_test_data): Likewise.
22211         (cosh_test_downward): Likewise.
22212         (cosh_upward_test_data): Likewise.
22213         (cosh_test_upward): Likewise.
22214         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22215         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22216         (ctan_test_data): Likewise.
22217         (ctan_test): Use ALL_RM_TEST.
22218         (ctan_tonearest_test_data): Remove.
22219         (ctan_test_tonearest): Likewise.
22220         (ctan_towardzero_test_data): Likewise.
22221         (ctan_test_towardzero): Likewise.
22222         (ctan_downward_test_data): Likewise.
22223         (ctan_test_downward): Likewise.
22224         (ctan_upward_test_data): Likewise.
22225         (ctan_test_upward): Likewise.
22226         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22227         (ctanh_test): Use ALL_RM_TEST.
22228         (ctanh_tonearest_test_data): Remove.
22229         (ctanh_test_tonearest): Likewise.
22230         (ctanh_towardzero_test_data): Likewise.
22231         (ctanh_test_towardzero): Likewise.
22232         (ctanh_downward_test_data): Likewise.
22233         (ctanh_test_downward): Likewise.
22234         (ctanh_upward_test_data): Likewise.
22235         (ctanh_test_upward): Likewise.
22236         (erf_test_data): Update call to AUTO_TESTS_f_f.
22237         (erfc_test_data): Likewise.
22238         (exp_test_data): Likewise.
22239         (exp_test): Use ALL_RM_TEST.
22240         (exp_tonearest_test_data): Remove.
22241         (exp_test_tonearest): Likewise.
22242         (exp_towardzero_test_data): Likewise.
22243         (exp_test_towardzero): Likewise.
22244         (exp_downward_test_data): Likewise.
22245         (exp_test_downward): Likewise.
22246         (exp_upward_test_data): Likewise.
22247         (exp_test_upward): Likewise.
22248         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22249         (exp10_test): Use ALL_RM_TEST.
22250         (exp10_tonearest_test_data): Remove.
22251         (exp10_test_tonearest): Likewise.
22252         (exp10_towardzero_test_data): Likewise.
22253         (exp10_test_towardzero): Likewise.
22254         (exp10_downward_test_data): Likewise.
22255         (exp10_test_downward): Likewise.
22256         (exp10_upward_test_data): Likewise.
22257         (exp10_test_upward): Likewise.
22258         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22259         (expm1_test_data): Likewise.
22260         (expm1_test): Use ALL_RM_TEST.
22261         (expm1_tonearest_test_data): Remove.
22262         (expm1_test_tonearest): Likewise.
22263         (expm1_towardzero_test_data): Likewise.
22264         (expm1_test_towardzero): Likewise.
22265         (expm1_downward_test_data): Likewise.
22266         (expm1_test_downward): Likewise.
22267         (expm1_upward_test_data): Likewise.
22268         (expm1_test_upward): Likewise.
22269         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22270         (fma_test): Use ALL_RM_TEST.
22271         (fma_towardzero_test_data): Remove.
22272         (fma_test_towardzero): Likewise.
22273         (fma_downward_test_data): Likewise.
22274         (fma_test_downward): Likewise.
22275         (fma_upward_test_data): Likewise.
22276         (fma_test_upward): Likewise.
22277         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22278         (j0_test_data): Update call to AUTO_TESTS_f_f.
22279         (j1_test_data): Likewise.
22280         (jn_test_data): Update call to AUTO_TESTS_if_f.
22281         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22282         (log_test_data): Update call to AUTO_TESTS_f_f.
22283         (log10_test_data): Likewise.
22284         (log1p_test_data): Likewise.
22285         (log2_test_data): Likewise.
22286         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22287         (pow_tonearest_test_data): Likewise.
22288         (sin_test_data): Update call to AUTO_TESTS_f_f.
22289         (sin_test): Use ALL_RM_TEST.
22290         (sin_tonearest_test_data): Remove.
22291         (sin_test_tonearest): Likewise.
22292         (sin_towardzero_test_data): Likewise.
22293         (sin_test_towardzero): Likewise.
22294         (sin_downward_test_data): Likewise.
22295         (sin_test_downward): Likewise.
22296         (sin_upward_test_data): Likewise.
22297         (sin_test_upward): Likewise.
22298         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22299         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22300         (sinh_test): Use ALL_RM_TEST.
22301         (sinh_tonearest_test_data): Remove.
22302         (sinh_test_tonearest): Likewise.
22303         (sinh_towardzero_test_data): Likewise.
22304         (sinh_test_towardzero): Likewise.
22305         (sinh_downward_test_data): Likewise.
22306         (sinh_test_downward): Likewise.
22307         (sinh_upward_test_data): Likewise.
22308         (sinh_test_upward): Likewise.
22309         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22310         (sqrt_test): Use ALL_RM_TEST.
22311         (sqrt_tonearest_test_data): Remove.
22312         (sqrt_test_tonearest): Likewise.
22313         (sqrt_towardzero_test_data): Likewise.
22314         (sqrt_test_towardzero): Likewise.
22315         (sqrt_downward_test_data): Likewise.
22316         (sqrt_test_downward): Likewise.
22317         (sqrt_upward_test_data): Likewise.
22318         (sqrt_test_upward): Likewise.
22319         (tan_test_data): Update call to AUTO_TESTS_f_f.
22320         (tan_test): Use ALL_RM_TEST.
22321         (tan_tonearest_test_data): Remove.
22322         (tan_test_tonearest): Likewise.
22323         (tan_towardzero_test_data): Likewise.
22324         (tan_test_towardzero): Likewise.
22325         (tan_downward_test_data): Likewise.
22326         (tan_test_downward): Likewise.
22327         (tan_upward_test_data): Likewise.
22328         (tan_test_upward): Likewise.
22329         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22330         (tgamma_test_data): Likewise.
22331         (y0_test_data): Likewise.
22332         (y1_test_data): Likewise.
22333         (yn_test_data): Update call to AUTO_TESTS_if_f.
22334         (main): Do not call removed functions.
22336 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22338         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22339         (ldexp_test_data): Remove.
22340         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22341         scalbn_test_data.
22342         (scalb_test): Use ALL_RM_TEST.
22344 2014-03-19  Andreas Schwab  <schwab@suse.de>
22346         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22348 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22350         [BZ #16649]
22351         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22352         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22353         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22354         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22355         (__ASSUME_PREADV): Undefine.
22356         (__ASSUME_PWRITEV): Likewise.
22358 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22360         * bits/mman-linux.h: Add comment about non-Linux use.
22361         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22362         bits/mman-linux.h resting place.
22364         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22365         * bits/mman-linux.h: ... here.
22367 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22369         * conform/conformtest.pl: Add standard definition when calling C
22370         preprocessor on data files.
22371         (checknamespace): Remove unused variable.
22373 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22375         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22376         minus_oflow, plus_uflow and minus_uflow in expected results.
22377         * math/libm-test.inc (scalbn_test_data): Add more tests of
22378         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22379         minus_uflow.
22380         (scalbn_test): Use ALL_RM_TEST.
22381         (scalbln_test_data): Add more tests of negative arguments.  Use
22382         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22383         (scalbln_test): Use ALL_RM_TEST.
22385 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22387         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22389 2014-03-18  Will Newton  <will.newton@linaro.org>
22391         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22392         inaccurate comment.
22394 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22396         * Makerules [!subdir] (check-abi): Exit with error status if a
22397         test failed.
22399 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22401         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22402         for rint.  Include results for all rounding modes.
22403         (nearbyint_test): Use ALL_RM_TEST.
22404         (rint_test_data): Include all tests used for nearbyint.
22406 2014-03-17  Will Newton  <will.newton@linaro.org>
22408         * nptl/sysdeps/pthread/pthread.h: Revert previous
22409         change.
22411         * sysdeps/generic/ldsodefs.h: Revert previous
22412         change.
22414         * libio/genops.c: Revert previous change.
22415         * libio/libioP.h: Likewise.
22416         * stdio-common/vfprintf.c: Likewise.
22418         * sysdeps/generic/math_private.h: Revert previous
22419         change.
22421         * sysdeps/generic/math_private.h: Check whether
22422         HAVE_RM_CTX is defined with #ifdef rather
22423         than #if.
22425         * argp/argp-fmtstream.h: Check whether
22426         __STRICT_ANSI__ is defined with #ifdef rather
22427         than #if.
22428         * argp/argp.h: Likewise.
22430         * libio/genops.c: Check whether
22431         _IO_JUMPS_OFFSET is defined with #ifdef rather
22432         than #if.
22433         * libio/libioP.h: Likewise.
22434         * stdio-common/vfprintf.c: Likewise.
22436         * sysdeps/generic/ldsodefs.h: Check whether
22437         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22438         than #if.
22440         * nptl/sysdeps/pthread/pthread.h: Check
22441         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22442         its value.
22444 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22446         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22447         setting O_APPEND.
22448         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22449         test case.
22451         [BZ #16680]
22452         * libio/fileops.c (_IO_file_open): Seek to end of file but
22453         don't cache the offset.
22454         (get_file_offset): Remove function.
22455         (do_ftell): Use cached offset when available.
22456         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22457         don't cache the offset.
22458         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22459         case.
22460         (do_one_test): Call it.
22461         (do_ftell_test): Fix up expected old offset for a+ mode.
22462         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22463         available.
22465         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22466         up test status with function return status.
22467         (do_write_test): Likewise.
22468         (do_append_test): Likewise.
22470         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22471         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22472         Remove.
22474 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22476         * math/gen-libm-test.pl (parse_args): Handle results specified for
22477         each rounding mode separately.
22478         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22479         tests and results from lrint_tonearest_test_data,
22480         lrint_towardzero_test_data, lrint_downward_test_data and
22481         lrint_upward_test_data.
22482         (lrint_test): Use ALL_RM_TEST.
22483         (lrint_tonearest_test_data): Remove.
22484         (lrint_test_tonearest): Likewise.
22485         (lrint_towardzero_test_data): Likewise.
22486         (lrint_test_towardzero): Likewise.
22487         (lrint_downward_test_data): Likewise.
22488         (lrint_test_downward): Likewise.
22489         (lrint_upward_test_data): Likewise.
22490         (lrint_test_upward): Likewise.
22491         (llrint_test_data): Merge in per-rounding-mode tests and results
22492         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22493         llrint_downward_test_data and llrint_upward_test_data.
22494         (llrint_test): Use ALL_RM_TEST.
22495         (llrint_tonearest_test_data): Remove.
22496         (llrint_test_tonearest): Likewise.
22497         (llrint_towardzero_test_data): Likewise.
22498         (llrint_test_towardzero): Likewise.
22499         (llrint_downward_test_data): Likewise.
22500         (llrint_test_downward): Likewise.
22501         (llrint_upward_test_data): Likewise.
22502         (llrint_test_upward): Likewise.
22503         (rint_test_data): Merge in per-rounding-mode tests and results
22504         from rint_tonearest_test_data, rint_towardzero_test_data,
22505         rint_downward_test_data and rint_upward_test_data.  Add
22506         per-rounding-mode results for tests not in those arrays.
22507         (rint_test): Use ALL_RM_TEST.
22508         (rint_tonearest_test_data): Remove.
22509         (rint_test_tonearest): Likewise.
22510         (rint_towardzero_test_data): Likewise.
22511         (rint_test_towardzero): Likewise.
22512         (rint_downward_test_data): Likewise.
22513         (rint_test_downward): Likewise.
22514         (rint_upward_test_data): Likewise.
22515         (rint_test_upward): Likewise.
22516         (main): Don't call removed functions.
22518 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22520         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22521         "Compiled on ..." crapola.  It is anti-useful.
22523 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22525         * scripts/evaluate-test.sh: Handle fourth argument to determine
22526         whether test run should stop on failure.
22527         * Makeconfig (stop-on-test-failure): New variable.
22528         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22529         $(stop-on-test-failure).
22530         * Makefile (tests): Give a summary of results from testing and
22531         exit with failure status if they include an ERROR or FAIL.
22532         (xtests): Likewise.
22533         * manual/install.texi (Configuring and compiling): Mention
22534         stop-on-test-failure=y.
22535         * INSTALL: Regenerated.
22537 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22539         * scripts/versionlist.awk: New file.
22540         * Makerules [$(build-shared) = yes]
22541         (postclean-generated): Add Versions.def, not Versions.def.v and
22542         Versions.def.v.i.
22543         ($(common-objpfx)Versions.def.v.i): Target removed.
22544         ($(common-objpfx)Versions.def): New target.
22545         ($(common-objpfx)Versions.all): Depend on that rather that
22546         $(common-objpfx)Versions.def.v.
22547         * Versions.def: File removed.
22549         * Makeconfig (+gccwarn): Add -Wundef.
22550         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22551         a dl-sysdep.h breaking its contract.
22552         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22553         * include/stackinfo.h: New file.
22554         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22555         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22556         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22557         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22558         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22559         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22560         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22561         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22562         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22563         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22564         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22565         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22566         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22567         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22568         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22570 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22572         [BZ #16707]
22573         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22574         implementation.
22575         * math/libm-test.inc (round_test_data): Add more tests.
22577         [BZ #16706]
22578         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22579         implementation.
22580         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22582         [BZ #16701]
22583         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22584         implementation.
22585         * math/libm-test.inc (ceil_test_data): Add more tests.
22587         * math/libm-test.inc (trunc_test_data): Add more tests related to
22588         BZ#16414.
22590 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22592         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22593         with #if rather than #ifdef.
22594         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22596 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22598         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22599         first.  Disable AVX-512 GCC support if assembler doesn't support
22600         it.
22601         * sysdeps/x86_64/configure: Regenerated.
22603 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22605         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22606         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22607         (__old_pthread_attr_setstack): Likewise.
22608         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22609         [!_STACK_GROWS_DOWN]: Likewise.
22611 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22613         * config.make.in (have-bash2): Delete.
22614         * configure.ac (libc_cv_have_bash2): Delete.
22615         * configure: Regenerate.
22616         * elf/Makefile (common-ldd-rewrite): Rename to ...
22617         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22618         (sh-ldd-rewrite): Delete.
22619         (bash-ldd-rewrite): Delete.
22620         (have-bash2): Delete checks.
22621         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22622         ldd-rewrite.
22624         * config.make.in (have-ksh): Delete.
22625         (KSH): Delete.
22626         * configure.ac (libc_cv_have_ksh): Delete.
22627         * configure: Regenerate.
22629         * elf/Makefile: Delete $(have-ksh) check.
22630         ($(objpfx)sotruss): Change KSH to BASH.
22631         * elf/sotruss.ksh: Rename to ...
22632         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22633         function style to match POSIX.  Drop ksh vim mode setting.
22635         * manual/time.texi (Specifying the Time Zone with TZ): Change
22636         Tuesday to Thursday.
22638         * debug/tst-longjmp_chk2.c: Update header comment.
22639         (stackoverflow_handler): Add comment.  Call assert on pass value.
22641 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22643         [BZ #16194]
22644         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22645         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22646         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22647         (La_x86_64_vector): Add zmm.
22648         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22649         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22650         ($(objpfx)tst-audit10): New target.
22651         ($(objpfx)tst-audit10.out): Likewise.
22652         (tst-audit10-ENV): New.
22653         (AVX512-CFLAGS): Likewise.
22654         (CFLAGS-tst-audit10.c): Likewise.
22655         (CFLAGS-tst-auditmod10a.c): Likewise.
22656         (CFLAGS-tst-auditmod10b.c): Likewise.
22657         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22658         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22659         * sysdeps/x86_64/configure: Regenerated.
22660         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22661         AVX-512 zmm register support.
22662         (_dl_x86_64_save_sse): Likewise.
22663         (_dl_x86_64_restore_sse): Likewise.
22664         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22665         size vector registers.
22666         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22667         (ZMM_SIZE): Likewise.
22668         * sysdeps/x86_64/tst-audit10.c: New file.
22669         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22670         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22672 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22674         * configure.ac (HAVE_EHDR_START): New check.
22675         * configure: Regenerated.
22676         * config.h.in (HAVE_EHDR_START): New #undef.
22677         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22678         assuming the lowest-addressed segment maps the start of the file.
22680 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22682         * INSTALL: Regenerated.
22684 2014-03-13  Will Newton  <will.newton@linaro.org>
22686         * manual/setjmp.texi (System V contexts): Improve
22687         clarity and grammar of documentation.
22689 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22691         [BZ #16381]
22692         * elf/Makefile (tests): Add tst-pie2.
22693         (tests-pie): Add tst-pie2.
22694         * elf/tst-pie2.c: New file.
22695         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22696         for ET_EXEC.
22697         * elf/rtld.c (map_doit): Load executable as lt_executable.
22698         (dl_main): Likewise.
22700 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22702         [BZ #16642]
22703         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22704         (__ASSUME_PSELECT): Undefine.
22706 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22708         [BZ #16689]
22709         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22710         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22711         static build.
22712         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22713         selector for static builds.
22715 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22717         [BZ #16695]
22718         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22719         key in the buffer.
22721 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22723         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22724         IFUNC selector for static builds.
22726 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22728         * sysdeps/mips/math_private.h [__mips_hard_float]
22729         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22730         libc_feresetround_mips_ctx.
22731         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22732         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22733         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22735         [BZ #16677]
22736         * math/s_nextafter.c (__nextafter): Do not return value from
22737         overflowing computation.
22738         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22739         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22740         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22741         Likewise.
22742         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22743         Likewise.
22744         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22745         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22747 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22749         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22750         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22751         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22752         the new mov targetting sp.
22754 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22756         [BZ #16683]
22757         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22758         Define it for static builds as well.
22759         (NO_BZERO_IMPL): Likewise.
22761 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22763         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22764         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22765         multiarch strspn for PPC64.
22766         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22767         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22769         (__libc_ifunc_impl_list): Likewise.
22770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22771         multiarch optimizations
22772         * string/strspn.c (strspn): Using macro to redefine symbol name.
22774 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22775             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22777         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22778         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22779         multiarch strncat for PPC64.
22780         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22781         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22783         (__libc_ifunc_impl_list): Likewise.
22784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22785         multiarch optimizations
22787 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22789         [BZ #16639]
22790         * nscd/nscd.service: Make service type forking.
22792 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22794         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22795         sign in non default rounding modes.
22796         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22798 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22800         * math/libm-test.inc (ALL_RM_TEST): New macro.
22801         (ceil_test): Use ALL_RM_TEST.
22802         (cimag_test): Likewise.
22803         (conj_test): Likewise.
22804         (copysign_test): Likewise.
22805         (cproj_test): Likewise.
22806         (creal_test): Likewise.
22807         (fabs_test): Likewise.
22808         (floor_test): Likewise.
22809         (fmax_test): Likewise.
22810         (fmin_test): Likewise.
22811         (fmod_test): Likewise.
22812         (fpclassify_test): Likewise.
22813         (frexp_test): Likewise.
22814         (ilogb_test): Likewise.
22815         (isfinite_test): Likewise.
22816         (finite_test): Likewise.
22817         (isgreater_test): Likewise.
22818         (isgreaterequal_test): Likewise.
22819         (isinf_test): Likewise.
22820         (isless_test): Likewise.
22821         (islessequal_test): Likewise.
22822         (islessgreater_test): Likewise.
22823         (isnan_test): Likewise.
22824         (isnormal_test): Likewise.
22825         (issignaling_test): Likewise.
22826         (isunordered_test): Likewise.
22827         (logb_test): Likewise.
22828         (logb_downward_test_data): Remove.
22829         (logb_test_downward): Likewise.
22830         (lround_test): Use ALL_RM_TEST.
22831         (llround_test): Likewise.
22832         (modf_test): Likewise.
22833         (nexttoward_test): Likewise.
22834         (remainder_test): Likewise.
22835         (drem_test): Likewise.
22836         (remainder_tonearest_test_data): Likewise.
22837         (remainder_test_tonearest): Likewise.
22838         (drem_test_tonearest): Likewise.
22839         (remainder_towardzero_test_data): Likewise.
22840         (remainder_test_towardzero): Likewise.
22841         (drem_test_towardzero): Likewise.
22842         (remainder_downward_test_data): Likewise.
22843         (remainder_test_downward): Likewise.
22844         (drem_test_downward): Likewise.
22845         (remainder_upward_test_data): Likewise.
22846         (remainder_test_upward): Likewise.
22847         (drem_test_upward): Likewise.
22848         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22849         (round_test): Use ALL_RM_TEST.
22850         (signbit_test): Likewise.
22851         (trunc_test): Likewise.
22852         (significand_test): Likewise.
22853         (main): Don't call removed functions.
22855 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22857         [BZ #16674]
22858         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22859         || __USE_XOPEN2K8].
22860         (ILL_ILLOPN): Likewise.
22861         (ILL_ILLADR): Likewise.
22862         (ILL_ILLTRP): Likewise.
22863         (ILL_PRVOPC): Likewise.
22864         (ILL_PRVREG): Likewise.
22865         (ILL_COPROC): Likewise.
22866         (ILL_BADSTK): Likewise.
22867         (FPE_INTDIV): Likewise.
22868         (FPE_INTOVF): Likewise.
22869         (FPE_FLTDIV): Likewise.
22870         (FPE_FLTOVF): Likewise.
22871         (FPE_FLTUND): Likewise.
22872         (FPE_FLTRES): Likewise.
22873         (FPE_FLTINV): Likewise.
22874         (FPE_FLTSUB): Likewise.
22875         (SEGV_MAPERR): Likewise.
22876         (SEGV_ACCERR): Likewise.
22877         (BUS_ADRALN): Likewise.
22878         (BUS_ADRERR): Likewise.
22879         (BUS_OBJERR): Likewise.
22880         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22881         (TRAP_TRACE): Likewise.
22882         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22883         __USE_XOPEN2K8].
22884         (CLD_KILLED): Likewise.
22885         (CLD_DUMPED): Likewise.
22886         (CLD_TRAPPED): Likewise.
22887         (CLD_STOPPED): Likewise.
22888         (CLD_CONTINUED): Likewise.
22889         (POLL_IN): Likewise.
22890         (POLL_OUT): Likewise.
22891         (POLL_MSG): Likewise.
22892         (POLL_ERR): Likewise.
22893         (POLL_PRI): Likewise.
22894         (POLL_HUP): Likewise.
22895         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22896         Likewise.
22897         (ILL_ILLOPN): Likewise.
22898         (ILL_ILLADR): Likewise.
22899         (ILL_ILLTRP): Likewise.
22900         (ILL_PRVOPC): Likewise.
22901         (ILL_PRVREG): Likewise.
22902         (ILL_COPROC): Likewise.
22903         (ILL_BADSTK): Likewise.
22904         (FPE_INTDIV): Likewise.
22905         (FPE_INTOVF): Likewise.
22906         (FPE_FLTDIV): Likewise.
22907         (FPE_FLTOVF): Likewise.
22908         (FPE_FLTUND): Likewise.
22909         (FPE_FLTRES): Likewise.
22910         (FPE_FLTINV): Likewise.
22911         (FPE_FLTSUB): Likewise.
22912         (SEGV_MAPERR): Likewise.
22913         (SEGV_ACCERR): Likewise.
22914         (BUS_ADRALN): Likewise.
22915         (BUS_ADRERR): Likewise.
22916         (BUS_OBJERR): Likewise.
22917         (BUS_MCEERR_AR): Likewise.
22918         (BUS_MCEERR_AO): Likewise.
22919         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22920         (TRAP_TRACE): Likewise.
22921         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22922         __USE_XOPEN2K8].
22923         (CLD_KILLED): Likewise.
22924         (CLD_DUMPED): Likewise.
22925         (CLD_TRAPPED): Likewise.
22926         (CLD_STOPPED): Likewise.
22927         (CLD_CONTINUED): Likewise.
22928         (POLL_IN): Likewise.
22929         (POLL_OUT): Likewise.
22930         (POLL_MSG): Likewise.
22931         (POLL_ERR): Likewise.
22932         (POLL_PRI): Likewise.
22933         (POLL_HUP): Likewise.
22934         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22935         (ILL_ILLOPN): Likewise.
22936         (ILL_ILLADR): Likewise.
22937         (ILL_ILLTRP): Likewise.
22938         (ILL_PRVOPC): Likewise.
22939         (ILL_PRVREG): Likewise.
22940         (ILL_COPROC): Likewise.
22941         (ILL_BADSTK): Likewise.
22942         (FPE_INTDIV): Likewise.
22943         (FPE_INTOVF): Likewise.
22944         (FPE_FLTDIV): Likewise.
22945         (FPE_FLTOVF): Likewise.
22946         (FPE_FLTUND): Likewise.
22947         (FPE_FLTRES): Likewise.
22948         (FPE_FLTINV): Likewise.
22949         (FPE_FLTSUB): Likewise.
22950         (SEGV_MAPERR): Likewise.
22951         (SEGV_ACCERR): Likewise.
22952         (BUS_ADRALN): Likewise.
22953         (BUS_ADRERR): Likewise.
22954         (BUS_OBJERR): Likewise.
22955         (BUS_MCEERR_AR): Likewise.
22956         (BUS_MCEERR_AO): Likewise.
22957         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22958         (TRAP_TRACE): Likewise.
22959         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22960         __USE_XOPEN2K8].
22961         (CLD_KILLED): Likewise.
22962         (CLD_DUMPED): Likewise.
22963         (CLD_TRAPPED): Likewise.
22964         (CLD_STOPPED): Likewise.
22965         (CLD_CONTINUED): Likewise.
22966         (POLL_IN): Likewise.
22967         (POLL_OUT): Likewise.
22968         (POLL_MSG): Likewise.
22969         (POLL_ERR): Likewise.
22970         (POLL_PRI): Likewise.
22971         (POLL_HUP): Likewise.
22972         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22973         Likewise.
22974         (ILL_ILLOPN): Likewise.
22975         (ILL_ILLADR): Likewise.
22976         (ILL_ILLTRP): Likewise.
22977         (ILL_PRVOPC): Likewise.
22978         (ILL_PRVREG): Likewise.
22979         (ILL_COPROC): Likewise.
22980         (ILL_BADSTK): Likewise.
22981         (ILL_BADIADDR): Likewise.
22982         (ILL_BREAK): Likewise.
22983         (FPE_INTDIV): Likewise.
22984         (FPE_INTOVF): Likewise.
22985         (FPE_FLTDIV): Likewise.
22986         (FPE_FLTOVF): Likewise.
22987         (FPE_FLTUND): Likewise.
22988         (FPE_FLTRES): Likewise.
22989         (FPE_FLTINV): Likewise.
22990         (FPE_FLTSUB): Likewise.
22991         (FPE_DECOVF): Likewise.
22992         (FPE_DECDIV): Likewise.
22993         (FPE_DECERR): Likewise.
22994         (FPE_INVASC): Likewise.
22995         (FPE_INVDEC): Likewise.
22996         (SEGV_MAPERR): Likewise.
22997         (SEGV_ACCERR): Likewise.
22998         (SEGV_PSTKOVF): Likewise.
22999         (BUS_ADRALN): Likewise.
23000         (BUS_ADRERR): Likewise.
23001         (BUS_OBJERR): Likewise.
23002         (BUS_MCEERR_AR): Likewise.
23003         (BUS_MCEERR_AO): Likewise.
23004         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23005         (TRAP_TRACE): Likewise.
23006         (TRAP_BRANCH): Likewise.
23007         (TRAP_HWBKPT): Likewise.
23008         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23009         __USE_XOPEN2K8].
23010         (CLD_KILLED): Likewise.
23011         (CLD_DUMPED): Likewise.
23012         (CLD_TRAPPED): Likewise.
23013         (CLD_STOPPED): Likewise.
23014         (CLD_CONTINUED): Likewise.
23015         (POLL_IN): Likewise.
23016         (POLL_OUT): Likewise.
23017         (POLL_MSG): Likewise.
23018         (POLL_ERR): Likewise.
23019         (POLL_PRI): Likewise.
23020         (POLL_HUP): Likewise.
23021         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23022         (ILL_ILLOPN): Likewise.
23023         (ILL_ILLADR): Likewise.
23024         (ILL_ILLTRP): Likewise.
23025         (ILL_PRVOPC): Likewise.
23026         (ILL_PRVREG): Likewise.
23027         (ILL_COPROC): Likewise.
23028         (ILL_BADSTK): Likewise.
23029         (FPE_INTDIV): Likewise.
23030         (FPE_INTOVF): Likewise.
23031         (FPE_FLTDIV): Likewise.
23032         (FPE_FLTOVF): Likewise.
23033         (FPE_FLTUND): Likewise.
23034         (FPE_FLTRES): Likewise.
23035         (FPE_FLTINV): Likewise.
23036         (FPE_FLTSUB): Likewise.
23037         (SEGV_MAPERR): Likewise.
23038         (SEGV_ACCERR): Likewise.
23039         (BUS_ADRALN): Likewise.
23040         (BUS_ADRERR): Likewise.
23041         (BUS_OBJERR): Likewise.
23042         (BUS_MCEERR_AR): Likewise.
23043         (BUS_MCEERR_AO): Likewise.
23044         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23045         (TRAP_TRACE): Likewise.
23046         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23047         __USE_XOPEN2K8].
23048         (CLD_KILLED): Likewise.
23049         (CLD_DUMPED): Likewise.
23050         (CLD_TRAPPED): Likewise.
23051         (CLD_STOPPED): Likewise.
23052         (CLD_CONTINUED): Likewise.
23053         (POLL_IN): Likewise.
23054         (POLL_OUT): Likewise.
23055         (POLL_MSG): Likewise.
23056         (POLL_ERR): Likewise.
23057         (POLL_PRI): Likewise.
23058         (POLL_HUP): Likewise.
23059         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23060         (ILL_ILLOPN): Likewise.
23061         (ILL_ILLADR): Likewise.
23062         (ILL_ILLTRP): Likewise.
23063         (ILL_PRVOPC): Likewise.
23064         (ILL_PRVREG): Likewise.
23065         (ILL_COPROC): Likewise.
23066         (ILL_BADSTK): Likewise.
23067         (FPE_INTDIV): Likewise.
23068         (FPE_INTOVF): Likewise.
23069         (FPE_FLTDIV): Likewise.
23070         (FPE_FLTOVF): Likewise.
23071         (FPE_FLTUND): Likewise.
23072         (FPE_FLTRES): Likewise.
23073         (FPE_FLTINV): Likewise.
23074         (FPE_FLTSUB): Likewise.
23075         (SEGV_MAPERR): Likewise.
23076         (SEGV_ACCERR): Likewise.
23077         (BUS_ADRALN): Likewise.
23078         (BUS_ADRERR): Likewise.
23079         (BUS_OBJERR): Likewise.
23080         (BUS_MCEERR_AR): Likewise.
23081         (BUS_MCEERR_AO): Likewise.
23082         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23083         (TRAP_TRACE): Likewise.
23084         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23085         __USE_XOPEN2K8].
23086         (CLD_KILLED): Likewise.
23087         (CLD_DUMPED): Likewise.
23088         (CLD_TRAPPED): Likewise.
23089         (CLD_STOPPED): Likewise.
23090         (CLD_CONTINUED): Likewise.
23091         (POLL_IN): Likewise.
23092         (POLL_OUT): Likewise.
23093         (POLL_MSG): Likewise.
23094         (POLL_ERR): Likewise.
23095         (POLL_PRI): Likewise.
23096         (POLL_HUP): Likewise.
23097         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23098         (ILL_ILLOPN): Likewise.
23099         (ILL_ILLADR): Likewise.
23100         (ILL_ILLTRP): Likewise.
23101         (ILL_PRVOPC): Likewise.
23102         (ILL_PRVREG): Likewise.
23103         (ILL_COPROC): Likewise.
23104         (ILL_BADSTK): Likewise.
23105         (FPE_INTDIV): Likewise.
23106         (FPE_INTOVF): Likewise.
23107         (FPE_FLTDIV): Likewise.
23108         (FPE_FLTOVF): Likewise.
23109         (FPE_FLTUND): Likewise.
23110         (FPE_FLTRES): Likewise.
23111         (FPE_FLTINV): Likewise.
23112         (FPE_FLTSUB): Likewise.
23113         (SEGV_MAPERR): Likewise.
23114         (SEGV_ACCERR): Likewise.
23115         (BUS_ADRALN): Likewise.
23116         (BUS_ADRERR): Likewise.
23117         (BUS_OBJERR): Likewise.
23118         (BUS_MCEERR_AR): Likewise.
23119         (BUS_MCEERR_AO): Likewise.
23120         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23121         (TRAP_TRACE): Likewise.
23122         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23123         __USE_XOPEN2K8].
23124         (CLD_KILLED): Likewise.
23125         (CLD_DUMPED): Likewise.
23126         (CLD_TRAPPED): Likewise.
23127         (CLD_STOPPED): Likewise.
23128         (CLD_CONTINUED): Likewise.
23129         (POLL_IN): Likewise.
23130         (POLL_OUT): Likewise.
23131         (POLL_MSG): Likewise.
23132         (POLL_ERR): Likewise.
23133         (POLL_PRI): Likewise.
23134         (POLL_HUP): Likewise.
23135         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23136         (ILL_ILLOPN): Likewise.
23137         (ILL_ILLADR): Likewise.
23138         (ILL_ILLTRP): Likewise.
23139         (ILL_PRVOPC): Likewise.
23140         (ILL_PRVREG): Likewise.
23141         (ILL_COPROC): Likewise.
23142         (ILL_BADSTK): Likewise.
23143         (ILL_DBLFLT): Likewise.
23144         (ILL_HARDWALL): Likewise.
23145         (FPE_INTDIV): Likewise.
23146         (FPE_INTOVF): Likewise.
23147         (FPE_FLTDIV): Likewise.
23148         (FPE_FLTOVF): Likewise.
23149         (FPE_FLTUND): Likewise.
23150         (FPE_FLTRES): Likewise.
23151         (FPE_FLTINV): Likewise.
23152         (FPE_FLTSUB): Likewise.
23153         (SEGV_MAPERR): Likewise.
23154         (SEGV_ACCERR): Likewise.
23155         (BUS_ADRALN): Likewise.
23156         (BUS_ADRERR): Likewise.
23157         (BUS_OBJERR): Likewise.
23158         (BUS_MCEERR_AR): Likewise.
23159         (BUS_MCEERR_AO): Likewise.
23160         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23161         (TRAP_TRACE): Likewise.
23162         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23163         __USE_XOPEN2K8].
23164         (CLD_KILLED): Likewise.
23165         (CLD_DUMPED): Likewise.
23166         (CLD_TRAPPED): Likewise.
23167         (CLD_STOPPED): Likewise.
23168         (CLD_CONTINUED): Likewise.
23169         (POLL_IN): Likewise.
23170         (POLL_OUT): Likewise.
23171         (POLL_MSG): Likewise.
23172         (POLL_ERR): Likewise.
23173         (POLL_PRI): Likewise.
23174         (POLL_HUP): Likewise.
23175         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23176         (ILL_ILLOPN): Likewise.
23177         (ILL_ILLADR): Likewise.
23178         (ILL_ILLTRP): Likewise.
23179         (ILL_PRVOPC): Likewise.
23180         (ILL_PRVREG): Likewise.
23181         (ILL_COPROC): Likewise.
23182         (ILL_BADSTK): Likewise.
23183         (FPE_INTDIV): Likewise.
23184         (FPE_INTOVF): Likewise.
23185         (FPE_FLTDIV): Likewise.
23186         (FPE_FLTOVF): Likewise.
23187         (FPE_FLTUND): Likewise.
23188         (FPE_FLTRES): Likewise.
23189         (FPE_FLTINV): Likewise.
23190         (FPE_FLTSUB): Likewise.
23191         (SEGV_MAPERR): Likewise.
23192         (SEGV_ACCERR): Likewise.
23193         (BUS_ADRALN): Likewise.
23194         (BUS_ADRERR): Likewise.
23195         (BUS_OBJERR): Likewise.
23196         (BUS_MCEERR_AR): Likewise.
23197         (BUS_MCEERR_AO): Likewise.
23198         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23199         (TRAP_TRACE): Likewise.
23200         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23201         __USE_XOPEN2K8].
23202         (CLD_KILLED): Likewise.
23203         (CLD_DUMPED): Likewise.
23204         (CLD_TRAPPED): Likewise.
23205         (CLD_STOPPED): Likewise.
23206         (CLD_CONTINUED): Likewise.
23207         (POLL_IN): Likewise.
23208         (POLL_OUT): Likewise.
23209         (POLL_MSG): Likewise.
23210         (POLL_ERR): Likewise.
23211         (POLL_PRI): Likewise.
23212         (POLL_HUP): Likewise.
23213         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23214         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23216         [BZ #16670]
23217         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23218         before #include of <time.h>.
23219         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23220         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23221         (test-xfail-UNIX98/sched.h/conform): Likewise.
23223 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23225         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23226         error absence of trapping exception support.
23227         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23229 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23231         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23232         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23233         * timezone/Makefile (testdata): Move definition above include of
23234         Rules.
23235         (test-zones): New variable.
23236         (tests-special): Add zone files.
23237         (build-testdata): Use $(evaluate-test).
23239         * elf/Makefile (tests-special): Rename tests to end with .out.
23240         ($(objpfx)noload-mem): Likewise.
23241         ($(objpfx)tst-leaks1-mem): Likewise.
23242         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23243         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23244         $(objpfx)test-iconvconfig.out.
23245         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23246         set -e inside subshell and redirect output to file.
23247         * iconvdata/Makefile (generated): Rename tests to end with .out.
23248         Correct type.
23249         (tests-special): Rename tests to end with .out.
23250         ($(objpfx)mtrace-tst-loading): Likewise.
23251         * intl/Makefile (generated): Likewise.
23252         (tests-special): Likewise.
23253         ($(objpfx)mtrace-tst-gettext): Likewise.
23254         * misc/Makefile (generated): Likewise.
23255         (tests-special): Likewise.
23256         ($(objpfx)tst-error1-mem): Likewise.
23257         * nptl/Makefile (tests-special): Likewise.
23258         ($(objpfx)tst-stack3-mem): Likewise.
23259         (generated): Likewise.
23260         * posix/Makefile (generated): Likewise.
23261         (tests-special): Likewise.
23262         (xtests-special): Likewise.
23263         ($(objpfx)tst-fnmatch-mem): Likewise.
23264         ($(objpfx)bug-regex2-mem): Likewise.
23265         ($(objpfx)bug-regex14-mem): Likewise.
23266         ($(objpfx)bug-regex21-mem): Likewise.
23267         ($(objpfx)bug-regex31-mem): Likewise.
23268         ($(objpfx)tst-vfork3-mem): Likewise.
23269         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23270         ($(objpfx)tst-pcre-mem): Likewise.
23271         ($(objpfx)tst-boost-mem): Likewise.
23272         ($(objpfx)bug-ga2-mem): Likewise.
23273         ($(objpfx)bug-glob2-mem): Likewise.
23274         * resolv/Makefile (generate): Likewise.
23275         (tests-special): Likewise.
23276         (xtests-special): Likewise.
23277         (generated): Likewise.
23278         ($(objpfx)mtrace-tst-leaks): Likewise.
23279         ($(objpfx)mtrace-tst-leaks2): Likewise.
23281         * scripts/merge-test-results.sh: New file.
23282         * Makefile (tests-special-notdir): New variable.
23283         (tests): Run merge-test-results.sh.
23284         (xtests): Likewise.
23285         * Rules (tests-special-notdir): New variable.
23286         (xtests-special-notdir): Likewise.
23287         (tests): Run merge-test-results.sh
23288         (xtests): Likewise.
23290         * Makeconfig (test-xfail-name): New variable.
23291         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23292         compute variable name for expected failures.
23293         * conform/Makefile (conformtest-headers-data): New variable.
23294         (conformtest-standards): Likewise.
23295         (conformtest-headers-ISO): Likewise.
23296         (conformtest-headers-ISO99): Likewise.
23297         (conformtest-headers-ISO11): Likewise.
23298         (conformtest-headers-POSIX): Likewise.
23299         (conformtest-headers-XPG3): Likewise.
23300         (conformtest-headers-XPG4): Likewise.
23301         (conformtest-headers-UNIX98): Likewise.
23302         (conformtest-headers-XOPEN2K): Likewise.
23303         (conformtest-headers-POSIX2008): Likewise.
23304         (conformtest-headers-XOPEN2K8): Likewise.
23305         (conformtest-header-list-base): Likewise.
23306         (conformtest-header-list-tests): Likewise.
23307         (conformtest-header-base): Likewise.
23308         (conformtest-header-tests): Likewise.
23309         (tests-special): Add $(conformtest-header-list-tests).  If
23310         [$(fast-check) && !$(cross-compiling)], add
23311         $(conformtest-header-tests) instead of
23312         $(objpfx)run-conformtest.out.
23313         (generated): Add $(conformtest-header-list-base).  If
23314         [$(fast-check) && !$(cross-compiling)], add
23315         $(conformtest-header-base).  Remove previous setting.
23316         ($(conformtest-header-list-tests)): New target.
23317         (test-xfail-run-conformtest): Remove variable.
23318         ($(objpfx)run-conformtest.out): Remove target.
23319         (test-xfail-ISO11/complex.h/conform): New variable.
23320         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23321         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23322         (test-xfail-XPG3/varargs.h/conform): Likewise.
23323         (test-xfail-XPG4/varargs.h/conform): Likewise.
23324         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23325         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23326         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23327         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23328         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23329         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23330         (test-xfail-XPG3/ftw.h/conform): Likewise.
23331         (test-xfail-XPG3/grp.h/conform): Likewise.
23332         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23333         (test-xfail-XPG3/limits.h/conform): Likewise.
23334         (test-xfail-XPG3/pwd.h/conform): Likewise.
23335         (test-xfail-XPG3/search.h/conform): Likewise.
23336         (test-xfail-XPG3/signal.h/conform): Likewise.
23337         (test-xfail-XPG3/stdio.h/conform): Likewise.
23338         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23339         (test-xfail-XPG3/string.h/conform): Likewise.
23340         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23341         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23342         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23343         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23344         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23345         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23346         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23347         (test-xfail-XPG3/termios.h/conform): Likewise.
23348         (test-xfail-XPG3/time.h/conform): Likewise.
23349         (test-xfail-XPG3/unistd.h/conform): Likewise.
23350         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23351         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23352         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23353         (test-xfail-XPG4/netdb.h/conform): Likewise.
23354         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23355         (test-xfail-XPG4/signal.h/conform): Likewise.
23356         (test-xfail-XPG4/stdio.h/conform): Likewise.
23357         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23358         (test-xfail-XPG4/stropts.h/conform): Likewise.
23359         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23360         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23361         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23362         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23363         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23364         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23365         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23366         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23367         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23368         (test-xfail-XPG4/termios.h/conform): Likewise.
23369         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23370         (test-xfail-XPG4/unistd.h/conform): Likewise.
23371         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23372         (test-xfail-POSIX/sched.h/conform): Likewise.
23373         (test-xfail-POSIX/signal.h/conform): Likewise.
23374         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23375         (test-xfail-POSIX/tar.h/conform): Likewise.
23376         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23377         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23378         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23379         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23380         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23381         (test-xfail-UNIX98/sched.h/conform): Likewise.
23382         (test-xfail-UNIX98/signal.h/conform): Likewise.
23383         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23384         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23385         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23386         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23387         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23388         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23389         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23390         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23391         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23392         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23393         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23394         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23395         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23396         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23397         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23398         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23399         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23400         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23401         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23402         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23403         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23404         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23405         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23406         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23407         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23408         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23409         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23410         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23411         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23412         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23413         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23414         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23415         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23416         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23417         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23418         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23419         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23420         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23421         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23422         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23423         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23424         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23425         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23426         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23427         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23428         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23429         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23430         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23431         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23432         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23433         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23434         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23435         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23436         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23437         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23438         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23439         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23440         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23441         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23442         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23443         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23444         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23445         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23446         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23447         (conformtest-cc-flags): Likewise.
23448         ($(conformtest-header-tests): New target.
23449         * conform/check-header-lists.sh: New file.
23450         * conform/run-conformtest.sh: Remove.
23452         * conform/conformtest.pl: Allow ' and \ in values given for
23453         constants.
23454         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23455         inclusion.
23456         [POSIX] (sys/types.h): Likewise.
23457         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23458         inclusion.
23459         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23460         inclusion.
23461         * conform/data/signal.h-data (SIGIO): Remove expectation.
23462         [XPG3] (SIGBUS): Do not expect.
23463         [POSIX || XPG3] (SIGPOLL): Likewise.
23464         [POSIX || XPG3] (SIGPROF): Likewise.
23465         [POSIX || XPG3] (SIGSYS): Likewise.
23466         [XPG3] (SIGTRAP): Likewise.
23467         [POSIX || XPG3] (SIGURG): Likewise.
23468         [POSIX || XPG3] (SIGVTALRM): Likewise.
23469         [POSIX || XPG3] (SIGXCPU): Likewise.
23470         [POSIX || XPG3] (SIGXFSZ): Likewise.
23471         [POSIX] (SA_SIGINFO): Expect.
23472         [XPG3] (siginfo_t): Do not expect type or contents.
23473         [POSIX] (si_pid): Do not expect element.
23474         [POSIX] (si_uid): Likewise.
23475         [POSIX] (si_addr): Likewise.
23476         [POSIX] (si_status): Likewise.
23477         [POSIX] (si_band): Likewise.
23478         [XPG4] (si_value): Likewise.
23479         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23480         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23481         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23482         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23483         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23484         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23485         [POSIX || XPG3] (ILL_COPROC): Likewise.
23486         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23487         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23488         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23489         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23490         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23491         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23492         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23493         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23494         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23495         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23496         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23497         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23498         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23499         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23500         [POSIX || XPG3] (CLD_EXITED): Likewise.
23501         [POSIX || XPG3] (CLD_KILLED): Likewise.
23502         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23503         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23504         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23505         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23506         [POSIX || XPG3] (POLL_IN): Likewise.
23507         [POSIX || XPG3] (POLL_OUT): Likewise.
23508         [POSIX || XPG3] (POLL_MSG): Likewise.
23509         [POSIX || XPG3] (POLL_ERR): Likewise.
23510         [POSIX || XPG3] (POLL_PRI): Likewise.
23511         [POSIX || XPG3] (POLL_HUP): Likewise.
23512         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23513         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23514         (SIG*): Do not allow.
23515         [XPG3] (si_*): Likewise.
23516         [XPG3] (SI_*): Likewise.
23517         [XPG3 || XPG4] (sigev_*): Likewise.
23518         [XPG3 || XPG4] (SIGEV_*): Likewise.
23519         [XPG3 || XPG4] (sival_*): Likewise.
23520         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23521         [POSIX || XPG3] (BUS_*): Likewise.
23522         [POSIX || XPG3] (CLD_*): Likewise.
23523         [POSIX || XPG3] (FPE_*): Likewise.
23524         [POSIX || XPG3] (ILL_*): Likewise.
23525         [POSIX || XPG3] (POLL_*): Likewise.
23526         [POSIX || XPG3] (SEGV_*): Likewise.
23527         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23528         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23529         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23530         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23531         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23532         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23533         Specify type and value.
23534         (TVERSLEN): Likewise.
23535         (REGTYPE): Likewise.
23536         (AREGTYPE): Likewise.
23537         (LNKTYPE): Likewise.
23538         (SYMTYPE): Likewise.
23539         (CHRTYPE): Likewise.
23540         (BLKTYPE): Likewise.
23541         (DIRTYPE): Likewise.
23542         (FIFOTYPE): Likewise.
23543         (CONTTYPE): Likewise.
23544         (TSUID): Likewise.
23545         (TSGID): Likewise.
23546         (TSVTX): Likewise.
23547         (TUREAD): Likewise.
23548         (TUWRITE): Likewise.
23549         (TUEXEC): Likewise.
23550         (TGREAD): Likewise.
23551         (TGWRITE): Likewise.
23552         (TGEXEC): Likewise.
23553         (TOREAD): Likewise.
23554         (TOWRITE): Likewise.
23555         (TOEXEC): Likewise.
23556         [POSIX] (TSVTX): Expect constant.
23558 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23560         * Makefile (tests): Change dependencies to ....
23561         (tests-special): ... additions to this variable.
23562         (tests): Depend on $(tests-special).
23563         * Makerules (check-abi-list): New variable.
23564         (check-abi): Depend on $(check-abi-list).
23565         [$(subdir) = elf] (tests-special): Add
23566         $(objpfx)check-abi-libc.out.
23567         [$(build-shared) = yes && subdir] (tests-special): Add
23568         $(check-abi-list).
23569         [$(build-shared) = yes && subdir] (tests): Do not depend on
23570         check-abi.
23571         * Rules (tests): Depend on $(tests-special).
23572         (xtests): Depend on $(xtests-special).
23573         * catgets/Makefile (tests): Change dependencies to ....
23574         (tests-special): ... additions to this variable.
23575         * conform/Makefile (tests): Change dependencies to ....
23576         (tests-special): ... additions to this variable.
23577         * elf/Makefile (tests): Change dependencies to ....
23578         (tests-special): ... additions to this variable.
23579         * grp/Makefile (tests): Change dependencies to ....
23580         (tests-special): ... additions to this variable.
23581         * iconv/Makefile (xtests): Change dependencies to ....
23582         (xtests-special): ... additions to this variable.
23583         * iconvdata/Makefile (tests): Change dependencies to ....
23584         (tests-special): ... additions to this variable.
23585         * intl/Makefile (tests): Change dependencies to ....
23586         (tests-special): ... additions to this variable.  Also add
23587         $(objpfx)tst-gettext.out.
23588         * io/Makefile (tests): Change dependencies to ....
23589         (tests-special): ... additions to this variable.
23590         * libio/Makefile (tests): Change dependencies to ....
23591         (tests-special): ... additions to this variable.
23592         * malloc/Makefile (tests): Change dependencies to ....
23593         (tests-special): ... additions to this variable.
23594         * misc/Makefile (tests): Change dependencies to ....
23595         (tests-special): ... additions to this variable.
23596         * nptl/Makefile (tests): Change dependencies to ....
23597         (tests-special): ... additions to this variable.
23598         * nptl_db/Makefile (tests): Change dependencies to ....
23599         (tests-special): ... additions to this variable.
23600         * posix/Makefile (tests): Change dependencies to ....
23601         (tests-special): ... additions to this variable.
23602         (xtests): Change dependencies to ....
23603         (xtests-special): ... additions to this variable.
23604         * resolv/Makefile (tests): Change dependencies to ....
23605         (tests-special): ... additions to this variable.
23606         (xtests): Change dependencies to ....
23607         (xtests-special): ... additions to this variable.
23608         * stdio-common/Makefile (tests): Change dependencies to ....
23609         (tests-special): ... additions to this variable.
23610         (do-tst-unbputc): Remove target.
23611         (do-tst-printf): Likewise.
23612         * stdlib/Makefile (tests): Change dependencies to ....
23613         (tests-special): ... additions to this variable.
23614         * string/Makefile (tests): Change dependencies to ....
23615         (tests-special): ... additions to this variable.
23616         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23617         (tests-special): ... additions to this variable.
23619         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23620         whole file.
23621         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23622         whole file.
23623         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23624         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23626         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23627         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23628         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23629         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23630         * conform/data/libgen.h-data [XPG3]: Likewise.
23631         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23632         * conform/data/ndbm.h-data [XPG3]: Likewise.
23633         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23634         * conform/data/netdb.h-data [XPG3]: Likewise.
23635         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23636         * conform/data/poll.h-data [XPG3]: Likewise.
23637         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23638         * conform/data/strings.h-data [XPG3]: Likewise.
23639         * conform/data/stropts.h-data [XPG3]: Likewise.
23640         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23641         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23642         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23643         Likewise.
23644         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23645         * conform/data/sys/time.h-data [XPG3]: Likewise.
23646         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23647         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23648         * conform/data/sys/un.h-data [XPG3]: Likewise.
23649         * conform/data/syslog.h-data [XPG3]: Likewise.
23650         * conform/data/ucontext.h-data [XPG3]: Likewise.
23651         * conform/data/utmpx.h-data [XPG3]: Likewise.
23652         * conform/data/varargs.h-data [UNIX98]: Enable file.
23654         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23656         * math/libm-test.inc (struct test_f_f_data): Move expected results
23657         into structure for each rounding mode.
23658         (struct test_ff_f_data): Likewise.
23659         (struct test_ff_f_data_nexttoward): Likewise.
23660         (struct test_fi_f_data): Likewise.
23661         (struct test_fl_f_data): Likewise.
23662         (struct test_if_f_data): Likewise.
23663         (struct test_fff_f_data): Likewise.
23664         (struct test_c_f_data): Likewise.
23665         (struct test_f_f1_data): Likewise.
23666         (struct test_fF_f1_data): Likewise.
23667         (struct test_ffI_f1_data): Likewise.
23668         (struct test_c_c_data): Likewise.
23669         (struct test_cc_c_data): Likewise.
23670         (struct test_f_i_data): Likewise.
23671         (struct test_ff_i_data): Likewise.
23672         (struct test_f_l_data): Likewise.
23673         (struct test_f_L_data): Likewise.
23674         (struct test_fFF_11_data): Likewise.
23675         (RM_): New macro.
23676         (RM_FE_DOWNWARD): Likewise.
23677         (RM_FE_TONEAREST): Likewise.
23678         (RM_FE_TOWARDZERO): Likewise.
23679         (RM_FE_UPWARD): Likewise.
23680         (RUN_TEST_LOOP_f_f): Update references to expected results.
23681         (RUN_TEST_LOOP_2_f): Likewise.
23682         (RUN_TEST_LOOP_fff_f): Likewise.
23683         (RUN_TEST_LOOP_c_f): Likewise.
23684         (RUN_TEST_LOOP_f_f1): Likewise.
23685         (RUN_TEST_LOOP_fF_f1): Likewise.
23686         (RUN_TEST_LOOP_fI_f1): Likewise.
23687         (RUN_TEST_LOOP_ffI_f1): Likewise.
23688         (RUN_TEST_LOOP_c_c): Likewise.
23689         (RUN_TEST_LOOP_cc_c): Likewise.
23690         (RUN_TEST_LOOP_f_i): Likewise.
23691         (RUN_TEST_LOOP_f_i_tg): Likewise.
23692         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23693         (RUN_TEST_LOOP_f_b): Likewise.
23694         (RUN_TEST_LOOP_f_b_tg): Likewise.
23695         (RUN_TEST_LOOP_f_l): Likewise.
23696         (RUN_TEST_LOOP_f_L): Likewise.
23697         (RUN_TEST_LOOP_fFF_11): Likewise.
23698         * math/gen-libm-test.pl (parse_args): Output four copies of
23699         expected results for each test.
23701         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23702         (__ASSUME_UTIMES): Remove.
23703         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23704         (__ASSUME_UTIMES): Likewise.
23706         * math/gen-auto-libm-tests.c: Update comment on output format.
23707         (output_for_one_input_case): Generate before-rounding and
23708         after-rounding information as conditions on output flags not
23709         floating-point format.
23710         * math/auto-libm-test-out: Regenerated.
23711         * math/gen-libm-test.pl (cond_value): New function.
23712         (or_cond_value): Use cond_value.
23713         (generate_testfile): Handle conditional exceptions.
23715 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23717         * math/libm-test.inc (max_valid_error): New variable.
23718         (init_max_error): Take new argument specifying whether function
23719         results are exactly determined.  Set max_valid_error and bound
23720         other variables for errors based on this argument.
23721         (set_max_error): Do not record results above max_valid_error.
23722         (check_float_internal): Only accept errors of up to 0.5ulps if
23723         also at most max_valid_error.
23724         (START): Take new argument EXACT and pass it to init_max_error.
23725         (acos_test): Update call to START.
23726         (acos_test_tonearest): Likewise.
23727         (acos_test_towardzero): Likewise.
23728         (acos_test_downward): Likewise.
23729         (acos_test_upward): Likewise.
23730         (acosh_test): Likewise.
23731         (asin_test): Likewise.
23732         (asin_test_tonearest): Likewise.
23733         (asin_test_towardzero): Likewise.
23734         (asin_test_downward): Likewise.
23735         (asin_test_upward): Likewise.
23736         (asinh_test): Likewise.
23737         (atan_test): Likewise.
23738         (atanh_test): Likewise.
23739         (atan2_test): Likewise.
23740         (cabs_test): Likewise.
23741         (cacos_test): Likewise.
23742         (cacosh_test): Likewise.
23743         (carg_test): Likewise.
23744         (casin_test): Likewise.
23745         (casinh_test): Likewise.
23746         (catan_test): Likewise.
23747         (catanh_test): Likewise.
23748         (cbrt_test): Likewise.
23749         (ccos_test): Likewise.
23750         (ccosh_test): Likewise.
23751         (ceil_test): Likewise.
23752         (cexp_test): Likewise.
23753         (cimag_test): Likewise.
23754         (clog_test): Likewise.
23755         (clog10_test): Likewise.
23756         (conj_test): Likewise.
23757         (copysign_test): Likewise.
23758         (cos_test): Likewise.
23759         (cos_test_tonearest): Likewise.
23760         (cos_test_towardzero): Likewise.
23761         (cos_test_downward): Likewise.
23762         (cos_test_upward): Likewise.
23763         (cosh_test): Likewise.
23764         (cosh_test_tonearest): Likewise.
23765         (cosh_test_towardzero): Likewise.
23766         (cosh_test_downward): Likewise.
23767         (cosh_test_upward): Likewise.
23768         (cpow_test): Likewise.
23769         (cproj_test): Likewise.
23770         (creal_test): Likewise.
23771         (csin_test): Likewise.
23772         (csinh_test): Likewise.
23773         (csqrt_test): Likewise.
23774         (ctan_test): Likewise.
23775         (ctan_test_tonearest): Likewise.
23776         (ctan_test_towardzero): Likewise.
23777         (ctan_test_downward): Likewise.
23778         (ctan_test_upward): Likewise.
23779         (ctanh_test): Likewise.
23780         (ctanh_test_tonearest): Likewise.
23781         (ctanh_test_towardzero): Likewise.
23782         (ctanh_test_downward): Likewise.
23783         (ctanh_test_upward): Likewise.
23784         (erf_test): Likewise.
23785         (erfc_test): Likewise.
23786         (exp_test): Likewise.
23787         (exp_test_tonearest): Likewise.
23788         (exp_test_towardzero): Likewise.
23789         (exp_test_downward): Likewise.
23790         (exp_test_upward): Likewise.
23791         (exp10_test): Likewise.
23792         (exp10_test_tonearest): Likewise.
23793         (exp10_test_towardzero): Likewise.
23794         (exp10_test_downward): Likewise.
23795         (exp10_test_upward): Likewise.
23796         (pow10_test): Likewise.
23797         (exp2_test): Likewise.
23798         (expm1_test): Likewise.
23799         (expm1_test_tonearest): Likewise.
23800         (expm1_test_towardzero): Likewise.
23801         (expm1_test_downward): Likewise.
23802         (expm1_test_upward): Likewise.
23803         (fabs_test): Likewise.
23804         (fdim_test): Likewise.
23805         (floor_test): Likewise.
23806         (fma_test): Likewise.
23807         (fma_test_towardzero): Likewise.
23808         (fma_test_downward): Likewise.
23809         (fma_test_upward): Likewise.
23810         (fmax_test): Likewise.
23811         (fmin_test): Likewise.
23812         (fmod_test): Likewise.
23813         (fpclassify_test): Likewise.
23814         (frexp_test): Likewise.
23815         (hypot_test): Likewise.
23816         (ilogb_test): Likewise.
23817         (isfinite_test): Likewise.
23818         (finite_test): Likewise.
23819         (isgreater_test): Likewise.
23820         (isgreaterequal_test): Likewise.
23821         (isinf_test): Likewise.
23822         (isless_test): Likewise.
23823         (islessequal_test): Likewise.
23824         (islessgreater_test): Likewise.
23825         (isnan_test): Likewise.
23826         (isnormal_test): Likewise.
23827         (issignaling_test): Likewise.
23828         (isunordered_test): Likewise.
23829         (j0_test): Likewise.
23830         (j1_test): Likewise.
23831         (jn_test): Likewise.
23832         (ldexp_test): Likewise.
23833         (lgamma_test): Likewise.
23834         (gamma_test): Likewise.
23835         (lrint_test): Likewise.
23836         (lrint_test_tonearest): Likewise.
23837         (lrint_test_towardzero): Likewise.
23838         (lrint_test_downward): Likewise.
23839         (lrint_test_upward): Likewise.
23840         (llrint_test): Likewise.
23841         (llrint_test_tonearest): Likewise.
23842         (llrint_test_towardzero): Likewise.
23843         (llrint_test_downward): Likewise.
23844         (llrint_test_upward): Likewise.
23845         (log_test): Likewise.
23846         (log10_test): Likewise.
23847         (log1p_test): Likewise.
23848         (log2_test): Likewise.
23849         (logb_test): Likewise.
23850         (logb_test_downward): Likewise.
23851         (lround_test): Likewise.
23852         (llround_test): Likewise.
23853         (modf_test): Likewise.
23854         (nearbyint_test): Likewise.
23855         (nextafter_test): Likewise.
23856         (nexttoward_test): Likewise.
23857         (pow_test): Likewise.
23858         (pow_test_tonearest): Likewise.
23859         (pow_test_towardzero): Likewise.
23860         (pow_test_downward): Likewise.
23861         (pow_test_upward): Likewise.
23862         (remainder_test): Likewise.
23863         (drem_test): Likewise.
23864         (remainder_test_tonearest): Likewise.
23865         (drem_test_tonearest): Likewise.
23866         (remainder_test_towardzero): Likewise.
23867         (drem_test_towardzero): Likewise.
23868         (remainder_test_downward): Likewise.
23869         (drem_test_downward): Likewise.
23870         (remainder_test_upward): Likewise.
23871         (drem_test_upward): Likewise.
23872         (remquo_test): Likewise.
23873         (rint_test): Likewise.
23874         (rint_test_tonearest): Likewise.
23875         (rint_test_towardzero): Likewise.
23876         (rint_test_downward): Likewise.
23877         (rint_test_upward): Likewise.
23878         (round_test): Likewise.
23879         (scalb_test): Likewise.
23880         (scalbn_test): Likewise.
23881         (scalbln_test): Likewise.
23882         (signbit_test): Likewise.
23883         (sin_test): Likewise.
23884         (sin_test_tonearest): Likewise.
23885         (sin_test_towardzero): Likewise.
23886         (sin_test_downward): Likewise.
23887         (sin_test_upward): Likewise.
23888         (sincos_test): Likewise.
23889         (sinh_test): Likewise.
23890         (sinh_test_tonearest): Likewise.
23891         (sinh_test_towardzero): Likewise.
23892         (sinh_test_downward): Likewise.
23893         (sinh_test_upward): Likewise.
23894         (sqrt_test): Likewise.
23895         (sqrt_test_tonearest): Likewise.
23896         (sqrt_test_towardzero): Likewise.
23897         (sqrt_test_downward): Likewise.
23898         (sqrt_test_upward): Likewise.
23899         (tan_test): Likewise.
23900         (tan_test_tonearest): Likewise.
23901         (tan_test_towardzero): Likewise.
23902         (tan_test_downward): Likewise.
23903         (tan_test_upward): Likewise.
23904         (tanh_test): Likewise.
23905         (tgamma_test): Likewise.
23906         (trunc_test): Likewise.
23907         (y0_test): Likewise.
23908         (y1_test): Likewise.
23909         (yn_test): Likewise.
23910         (significand_test): Likewise.
23912         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23913         individual tests in comment.
23914         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23915         (prev_max_error): New variable.
23916         (prev_real_max_error): Likewise.
23917         (prev_imag_max_error): Likewise.
23918         (compare_ulp_data): Don't refer to test names in comment.
23919         (find_test_ulps): Remove function.
23920         (find_function_ulps): Likewise.
23921         (find_complex_function_ulps): Likewise.
23922         (init_max_error): Take function name as argument.  Look up ulps
23923         for that function.
23924         (print_ulps): Remove function.
23925         (print_max_error): Use prev_max_error instead of calling
23926         find_function_ulps.
23927         (print_complex_max_error): Use prev_real_max_error and
23928         prev_imag_max_error instead of calling find_complex_function_ulps.
23929         (check_float_internal): Take max_ulp parameter instead of calling
23930         find_test_ulps.  Don't call print_ulps.
23931         (check_float): Update call to check_float_internal.
23932         (check_complex): Update calls to check_float_internal.
23933         (START): Pass argument to init_max_error.
23934         * math/gen-libm-test.pl (%results): Don't include "kind"
23935         information.
23936         (parse_ulps): Don't handle ulps of individual tests.
23937         (print_ulps_file): Likewise.
23938         (output_ulps): Likewise.
23939         * math/README.libm-test: Update.
23940         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23941         individual tests.
23942         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23943         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23944         * sysdeps/arm/libm-test-ulps: Likewise.
23945         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23946         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23947         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23948         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23949         * sysdeps/microblaze/libm-test-ulps: Likewise.
23950         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23951         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23952         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23953         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23954         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23955         * sysdeps/sh/libm-test-ulps: Likewise.
23956         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23957         * sysdeps/tile/libm-test-ulps: Likewise.
23958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23960 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23962         * math/libm-test.inc (print_complex_max_error): Check separately
23963         whether real and imaginary errors are within allowed range and
23964         pass 0 to print_complex_function_ulps instead of value within
23965         allowed range.
23967 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23969         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23970         formatting.
23971         (get_handles_fopen): Likewise.
23972         (do_write_test): Likewise.
23974         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23976         * libio/fileops.c (do_ftell): Use cached offset when
23977         available.
23978         * libio/iofwide.c (do_ftell_wide): Likewise.
23979         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23980         _IO_file_attach.
23981         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23983         [BZ #16532]
23984         * libio/libioP.h (get_file_offset): New function.
23985         * libio/fileops.c (get_file_offset): Likewise.
23986         (do_ftell): Likewise.
23987         (_IO_new_file_seekoff): Split out ftell logic.
23988         * libio/wfileops.c (do_ftell_wide): Likewise.
23989         (_IO_wfile_seekoff): Split out ftell logic.
23990         * libio/tst-ftell-active-handler.c: New test case.
23991         * libio/Makefile (tests): Add it.
23993 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23995         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23996         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23998 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24000         [BZ #16639]
24001         * nscd/connections.c (nscd_init): Call do_exit.
24002         (start_threads): Call do_exit and notify_parent.
24003         (begin_drop_privileges): Call do_exit.
24004         (finish_drop_privileges): Likewise.
24005         * nscd/selinux.c (preserve_capabilities): Likewise.
24006         (install_real_capabilities): Likewise.
24007         (nscd_selinux_enabled): Likewise.
24008         (avc_create_thread): Likewise.
24009         (avc_alloc_lock): Likewise.
24010         (nscd_avc_init): Likewise.
24011         * nscd/nscd.c (parent_fd): New static variable.
24012         (main): Create a pipe between parent and child processes.
24013         Skip closing parent_fd.
24014         (monitor_child): New function.
24015         (do_exit): Likewise.
24016         (notify_parent): Likewise.
24017         * nscd/nscd.h (notify_parent): Likewise.
24018         (do_exit): Likewise.
24020 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24022         * malloc/malloc.c (__libc_calloc): Revert last change.
24024 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24028 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24030         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24032         implementation.
24033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24034         (__libc_ifunc_impl_list): Likewise.
24035         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24036         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24037         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24038         * string/strrchr.c: Define STRRCHR.
24040 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24042         * benchtest/bench-strtok.c (simple_strtok): Delete.
24043         (strtok_string): Use as benchmark.
24044         * string/strtok (STRTOK): New macro.
24046 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24048         * manual/threads.texi: Add header and standard comments to all
24049         functions.
24051         * elf/dl-lookup.c (check_match): New function.
24052         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24053         (do_lookup_x): Remove nested function check_match. Use non-nested
24054         function check_match.
24056 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24058         * csu/Makefile (generated, before-compile): Use += rather than =.
24059         * catgets/Makefile (generated, generated-dirs): Likewise.
24060         * debug/Makefile (generated): Likewise.
24061         * dlfcn/Makefile (generated): Likewise.
24062         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24063         * iconvdata/Makefile (before-compile, generated): Likewise.
24064         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24065         * libio/Makefile (generated): Likewise.
24066         * malloc/Makefile (generated): Likewise.
24067         * manual/Makefile (generated, generated-dirs): Likewise.
24068         * misc/Makefile (generated): Likewise.
24069         * posix/Makefile (generated): Likewise.
24070         * resolv/Makefile (generated): Likewise.
24071         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24072         * timezone/Makefile (generated, generated-dirs): Likewise.
24074         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24076 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24079         power8 implementation.
24080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24081         file: POWER8 llround ifunc implementation.
24082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24083         (__lllround): Add POWER8 implementation.
24084         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24085         POWER8 llround implementation.
24087         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24088         power8 implementation.
24089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24090         file: POWER8 llrint ifunc implementation.
24091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24092         Add POWER8 implementation.
24093         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24094         POWER8 llrint implementation.
24096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24097         power8 implementation.
24098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24099         file: POWER8 finite ifunc implementation.
24100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24101         Add POWER8 implementation.
24102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24103         Likewise.
24104         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24105         POWER8 finite implementation.
24106         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24109         power8 implementation.
24110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24111         file: POWER8 isinf ifunc implementation.
24112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24113         POWER8 implementation.
24114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24115         Likewise.
24116         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24117         isinf implementation.
24118         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24120         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24121         (INIT_ARCH): Add hwcap2 initialization.
24122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24123         power8 implementation.
24124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24125         file: POWER8 isnan ifunc implementation.
24126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24127         POWER8 implementation.
24128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24129         Likewise.
24130         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24131         isnan implementation.
24132         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24134 2014-02-27  Joey Ye  <joey.ye@arm.com>
24136         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24137         (_FP_NANFRAC_Q): Set to zero.
24139 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24141         [BZ #16623]
24142         * math/auto-libm-test-in: New test inputs.
24143         * math/auto-libm-test-out: Regenerate.
24144         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24145         and DA.
24146         (__cos): Likewise.
24147         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24149 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24151         * scripts/evaluate-test.sh: Take new argument indicating whether
24152         failure is expected.
24153         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24154         indicating whether failure is expected.
24155         * conform/Makefile (test-xfail-run-conformtest): New variable.
24156         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24157         level.
24158         * posix/Makefile (test-xfail-annexc): New variable.
24159         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24161 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24163         * argp/Makefile: Include Makeconfig immediately after defining
24164         subdir.
24165         * assert/Makefile: Likewise.
24166         * benchtests/Makefile: Likewise.
24167         * catgets/Makefile: Likewise.
24168         * conform/Makefile: Likewise.
24169         * crypt/Makefile: Likewise.
24170         * csu/Makefile: Likewise.
24171         (all): Remove target.
24172         * ctype/Makefile: Include Makeconfig immediately after defining
24173         subdir.
24174         * debug/Makefile: Likewise.
24175         * dirent/Makefile: Likewise.
24176         * dlfcn/Makefile: Likewise.
24177         * gmon/Makefile: Likewise.
24178         * gnulib/Makefile: Likewise.
24179         * grp/Makefile: Likewise.
24180         * gshadow/Makefile: Likewise.
24181         * hesiod/Makefile: Likewise.
24182         * hurd/Makefile: Likewise.
24183         (all): Remove target.
24184         * iconvdata/Makefile: Include Makeconfig immediately after
24185         defining subdir.
24186         * inet/Makefile: Likewise.
24187         * intl/Makefile: Likewise.
24188         * io/Makefile: Likewise.
24189         * libio/Makefile: Likewise.
24190         (all): Remove target.
24191         * locale/Makefile: Include Makeconfig immediately after defining
24192         subdir.
24193         * login/Makefile: Likewise.
24194         * mach/Makefile: Likewise.
24195         (all): Remove target.
24196         * malloc/Makefile: Include Makeconfig immediately after defining
24197         subdir.
24198         (all): Remove target.
24199         * manual/Makefile: Include Makeconfig immediately after defining
24200         subdir.
24201         * math/Makefile: Likewise.
24202         * misc/Makefile: Likewise.
24203         * nis/Makefile: Likewise.
24204         * nss/Makefile: Likewise.
24205         * po/Makefile: Likewise.
24206         (all): Remove target.
24207         * posix/Makefile: Include Makeconfig immediately after defining
24208         subdir.
24209         * pwd/Makefile: Likewise.
24210         * resolv/Makefile: Likewise.
24211         * resource/Makefile: Likewise.
24212         * rt/Makefile: Likewise.
24213         * setjmp/Makefile: Likewise.
24214         * shadow/Makefile: Likewise.
24215         * signal/Makefile: Likewise.
24216         * socket/Makefile: Likewise.
24217         * soft-fp/Makefile: Likewise.
24218         * stdio-common/Makefile: Likewise.
24219         * stdlib/Makefile: Likewise.
24220         * streams/Makefile: Likewise.
24221         * string/Makefile: Likewise.
24222         * sunrpc/Makefile: Likewise.
24223         (all): Remove target.
24224         * sysvipc/Makefile: Include Makeconfig immediately after defining
24225         subdir.
24226         * termios/Makefile: Likewise.
24227         * time/Makefile: Likewise.
24228         * timezone/Makefile: Likewise.
24229         (all): Remove target.
24230         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24231         subdir.
24232         * wctype/Makefile: Likewise.
24234 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24236         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24237         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24238         (libc_feholdexcept_setround_mips): Ditto.
24239         (libc_feholdsetround): New.
24240         (libc_feholdsetroundf): New.
24241         (libc_feholdsetroundl): New.
24242         (libc_feupdateenv_test_mips): New.
24243         (libc_feupdateenv_test): New.
24244         (libc_feupdateenv_testf): New.
24245         (libc_feupdateenv_testl): New.
24246         (libc_feresetround): New.
24247         (libc_feresetroundf): New.
24248         (libc_feresetroundl): New.
24249         (libc_fetestexcept_mips): New.
24250         (libc_fetestexcept): New.
24251         (libc_fetestexceptf): New.
24252         (libc_fetestexceptl): New.
24253         (HAVE_RM_CTX): New.
24254         (libc_feholdexcept_setround_mips_ctx): New.
24255         (libc_feholdexcept_setround_ctx): New.
24256         (libc_feholdexcept_setroundf_ctx): New.
24257         (libc_feholdexcept_setroundl_ctx): New.
24258         (libc_fesetenv_mips_ctx): New.
24259         (libc_fesetenv_ctx): New.
24260         (libc_fesetenv_ctxf): New.
24261         (libc_fesetenv_ctxl): New.
24262         (libc_feupdateenv_mips_ctx): New.
24263         (libc_feupdateenv_ctx): New.
24264         (libc_feupdateenvf_ctx): New.
24265         (libc_feupdateenvl_ctx): New.
24266         (libc_feholdsetround_mips_ctx): New.
24267         (libc_feholdsetround_ctx): New.
24268         (libc_feholdsetroundf_ctx): New.
24269         (libc_feholdsetroundl_ctx): New.
24270         (libc_feresetround_mips_ctx): New.
24271         (libc_feresetround_ctx): New.
24272         (libc_feresetroundf_ctx): New.
24273         (libc_feresetroundl_ctx): New.
24275 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24277         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24279         * manual/ipc.texi: New file.
24280         * manual/Makefile (chapters): Add ipc.
24281         * manual/job.texi: Add "Inter-Process Communication" to next.
24282         * manual/process.texi: Add "Inter-Process Communication" to prev.
24284 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24288 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24290         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24292         * manual/arith.texi: Fix spaces after sentences.
24293         * manual/charset.texi: Likewise.
24294         * manual/errno.texi: Likewise.
24295         * manual/install.texi: Likewise.
24296         * manual/llio.texi: Likewise.
24297         * manual/locale.texi: Likewise.
24298         * manual/maint.texi: Likewise.
24299         * manual/math.texi: Likewise.
24300         * manual/memory.texi: Likewise.
24301         * manual/message.texi: Likewise.
24302         * manual/probes.texi: Likewise.
24303         * manual/resource.texi: Likewise.
24304         * manual/signal.texi: Likewise.
24305         * manual/socket.texi: Likewise.
24306         * manual/stdio.texi: Likewise.
24307         * manual/string.texi: Likewise.
24308         * manual/time.texi: Likewise.
24309         * manual/users.texi: Likewise.
24311 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24313         [BZ #16632]
24314         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24315         _DEFAULT_SOURCE is defined.
24317 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24318             Carlos O'Donell  <carlos@redhat.com>
24320         [BZ #16613]
24321         * elf/dl-tls.c (_dl_count_modids): New function.
24322         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24323         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24324         audit library and increment generation counter.
24325         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24326         * elf/tst-audit9.c: New file.
24327         * elf/tst-auditmod9a.c: New file.
24328         * elf/tst-auditmod9b.c: New file.
24329         * elf/Makefile: Add rules to build and run tst-audit9.
24331 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24333         [BZ #15347]
24334         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24336 2014-02-25  Will Newton  <will.newton@linaro.org>
24338         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24339         (__longjmp): Restore sp and lr before restoring callee
24340         saved registers.  Add longjmp and longjmp_target
24341         SystemTap probe point.
24342         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24343         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24344         Define to zero to match jmpbuf layout.
24345         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24346         (__sigsetjmp): Save sp and lr before saving callee
24347         saved registers.  Add setjmp SystemTap probe point.
24349 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24351         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24353 2014-02-24  Andreas Schwab  <schwab@suse.de>
24355         [BZ #15804]
24356         * elf/pldd.c (wait_for_ptrace_stop): New function.
24357         (main): Call it after attaching.
24359 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24361         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24362         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24363         Versions files is now verboten.
24364         * hurd/Versions (libc: GLIBC_2.0):
24365         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24366         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24367         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24368         * mach/Versions: Likewise.
24370         * csu/Versions: Remove unused %include.
24371         * resolv/Versions: Likewise.
24373 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24375         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24376         ($(objpfx)check-local-headers.out): Likewise.
24377         ($(objpfx)begin-end-check.out): Likewise.
24378         * Makerules (check-abi-%.out): Likewise.
24379         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24380         ($(objpfx)test2.cat): Likewise.
24381         ($(objpfx)de/libc.cat): Likewise.
24382         ($(objpfx)test-gencat.out): Likewise.
24383         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24384         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24385         ($(objpfx)noload-mem): Likewise.
24386         ($(objpfx)tst-pathopt.out): Likewise.
24387         ($(objpfx)tst-rtld-load-self.out): Likewise.
24388         ($(objpfx)tst-array1-cmp.out): Likewise.
24389         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24390         ($(objpfx)tst-array2-cmp.out): Likewise.
24391         ($(objpfx)tst-array3-cmp.out): Likewise.
24392         ($(objpfx)tst-array4-cmp.out): Likewise.
24393         ($(objpfx)tst-array5-cmp.out): Likewise.
24394         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24395         ($(objpfx)check-textrel.out): Likewise.
24396         ($(objpfx)check-execstack.out): Likewise.
24397         ($(objpfx)check-localplt.out): Likewise.
24398         ($(objpfx)order2-cmp.out): Likewise.
24399         ($(objpfx)tst-leaks1-mem): Likewise.
24400         ($(objpfx)tst-leaks1-static-mem): Likewise.
24401         ($(objpfx)tst-initorder-cmp.out): Likewise.
24402         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24403         ($(objpfx)tst-unused-dep.out): Likewise.
24404         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24405         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24406         * iconv/Makefile (test-iconvconfig): Likewise.
24407         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24408         ($(objpfx)iconv-test.out): Likewise.
24409         ($(objpfx)tst-tables.out): Likewise.
24410         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24411         ($(objpfx)tst-gettext.out): Likewise.
24412         ($(objpfx)tst-translit.out): Likewise.
24413         ($(objpfx)tst-gettext2.out): Likewise.
24414         ($(objpfx)tst-gettext4.out): Likewise.
24415         ($(objpfx)tst-gettext6.out): Likewise.
24416         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24417         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24418         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24419         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24420         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24421         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24422         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24423         ($(objpfx)wordexp-tst.out): Likewise.
24424         ($(objpfx)annexc.out): Likewise.
24425         ($(objpfx)tst-fnmatch-mem): Likewise.
24426         ($(objpfx)bug-regex2-mem): Likewise.
24427         ($(objpfx)bug-regex14-mem): Likewise.
24428         ($(objpfx)bug-regex21-mem): Likewise.
24429         ($(objpfx)bug-regex31-mem): Likewise.
24430         ($(objpfx)tst-vfork3-mem): Likewise.
24431         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24432         ($(objpfx)tst-pcre-mem): Likewise.
24433         ($(objpfx)tst-boost-mem): Likewise.
24434         ($(objpfx)tst-getconf.out): Likewise.
24435         ($(objpfx)bug-ga2-mem): Likewise.
24436         ($(objpfx)bug-glob2-mem): Likewise.
24437         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24438         ($(objpfx)mtrace-tst-leaks2): Likewise.
24439         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24440         ($(objpfx)tst-printf.out): Likewise.
24441         ($(objpfx)tst-setvbuf1.out): Likewise.
24442         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24443         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24444         ($(objpfx)tst-fmtmsg.out): Likewise.
24445         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24446         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24448         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24449         * bits/sigaction.h [__USE_MISC]: Likewise.
24450         * bits/waitstatus.h: Update #endif comments.
24451         * ctype/ctype.h: Likewise.
24452         * dirent/dirent.h: Likewise.
24453         [__USE_MISC]: Remove redundant conditionals.
24454         * grp/grp.h: Update #endif comments.
24455         [__USE_GNU]: Remove redundant conditionals.
24456         [__USE_MISC]: Likewise.
24457         * inet/netinet/in.h [__USE_GNU]: Likewise.
24458         * io/sys/stat.h [__USE_MISC]: Likewise.
24459         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24460         * libio/bits/stdio.h: Update #endif comments.
24461         [__USE_MISC]: Remove redundant conditionals.
24462         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24463         * libio/stdio.h: Update #endif comments.
24464         [__USE_MISC]: Remove redundant conditionals.
24465         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24466         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24467         * math/math.h: Update #else and #endif comments.
24468         [__USE_MISC]: Remove redundant conditionals.
24469         * misc/sys/uio.h: Update #endif comments.
24470         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24471         * posix/glob.h [__USE_MISC]: Likewise.
24472         * posix/sys/types.h: Update #endif comments.
24473         [__USE_MISC]: Remove redundant conditionals.
24474         * posix/sys/wait.h: Update #endif comments.
24475         [__USE_MISC]: Remove redundant conditionals.
24476         * posix/unistd.h: Update #endif comments.
24477         [__USE_MISC]: Remove redundant conditionals.
24478         * pwd/pwd.h [__USE_GNU]: Likewise.
24479         [__USE_MISC]: Likewise.
24480         * resolv/netdb.h [__USE_GNU]: Likewise.
24481         * signal/signal.h: Update #endif comments.
24482         [__USE_MISC]: Remove redundant conditionals.
24483         * stdlib/stdlib.h: Update #else and #endif comments.
24484         [__USE_MISC]: Remove redundant conditionals.
24485         [__USE_GNU]: Likewise.
24486         * string/bits/string2.h [__USE_MISC]: Likewise.
24487         * string/string.h: Update #endif comments.
24488         [__USE_MISC]: Remove redundant conditionals.
24489         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24490         Likewise.
24491         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24492         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24493         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24494         Likewise.
24495         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24496         Likewise.
24497         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24498         comments.
24499         [__USE_MISC]: Remove redundant conditionals.
24500         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24501         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24502         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24503         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24504         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24505         Likewise.
24506         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24507         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24508         Likewise.
24509         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24510         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24511         Likewise.
24512         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24513         Likewise.
24514         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24515         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24516         Likewise.
24517         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24518         Likewise.
24519         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24520         * sysdeps/x86/bits/string.h: Update #endif comments.
24521         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24522         conditionals.
24523         * time/sys/time.h: Update #endif comments.
24524         * time/time.h: Likewise.
24525         [__USE_MISC]: Remove redundant conditionals.
24527 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24529         [BZ #16600]
24530         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24532 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24534         * Versions.def (librt): Add GLIBC_2.17.
24536 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24538         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24539         synonym for _SYS_AUXV_H to allow direct inclusion.
24540         * sysdeps/sparc/bits/hwcap.h: Likewise.
24541         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24542         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24543         * sysdeps/sparc/sysdep.h: Likewise.
24545 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24547         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24549 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24551         * benchtests/bench-strrchr.c: Print length instead of position.
24553 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24555         [BZ #16611]
24556         * sysdeps/unix/sysv/linux/kernel-features.h
24557         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24558         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24559         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24560         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24561         Likewise.
24562         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24563         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24564         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24565         (__ASSUME_SENDMMSG): Define instead of using previous
24566         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24567         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24568         (__ASSUME_SENDMMSG_SYSCALL): Define.
24569         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24570         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24571         Likewise.
24572         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24573         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24574         Likewise.
24575         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24576         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24577         Likewise.
24578         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24579         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24580         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24581         [__ASSUME_SENDMMSG]: Change conditionals to
24582         [__ASSUME_SENDMMSG_SOCKETCALL].
24583         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24584         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24585         Define.
24586         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24587         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24588         Likewise.
24589         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24590         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24591         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24592         [!__ASSUME_SENDMMSG]: Change conditional to
24593         [!__ASSUME_SENDMMSG_SOCKETCALL].
24594         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24595         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24596         Define.
24598         [BZ #16610]
24599         * sysdeps/unix/sysv/linux/kernel-features.h
24600         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24601         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24602         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24603         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24604         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24605         [__i386__ || __sparc__]
24606         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24607         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24608         (__ASSUME_RECVMMSG): Define instead of using previous
24609         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24610         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24611         (__ASSUME_RECVMMSG_SYSCALL): Define.
24612         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24613         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24614         Likewise.
24615         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24616         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24617         Likewise.
24618         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24619         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24620         Likewise.
24621         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24622         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24623         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24624         [__ASSUME_RECVMMSG]: Change condition to
24625         [__ASSUME_RECVMMSG_SOCKETCALL].
24626         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24627         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24628         Define.
24629         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24630         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24631         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24632         Likewise.
24633         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24634         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24635         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24636         [!__ASSUME_RECVMMSG]: Change condition to
24637         [!__ASSUME_RECVMMSG_SOCKETCALL].
24638         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24639         (__ASSUME_RECVMMSG_SYSCALL): Define.
24641         [BZ #16609]
24642         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24643         __powerpc__ || __s390__ || __sh__ || __sparc__]
24644         (__ASSUME_SOCKETCALL): Define.
24645         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24646         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24647         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24648         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24649         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24650         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24651         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24652         (__ASSUME_ACCEPT4): Define instead of using previous
24653         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24654         __powerpc__ || __sparc__ || __s390__)] condition.
24655         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24656         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24657         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24658         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24659         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24660         [!__ASSUME_ACCEPT4]: Change condition to
24661         [!__ASSUME_ACCEPT4_SOCKETCALL].
24662         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24663         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24664         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24665         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24666         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24667         __ASSUME_ACCEPT4_SYSCALL.
24668         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24669         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24670         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24671         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24672         __ASSUME_ACCEPT4_SYSCALL.
24673         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24674         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24675         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24676         [__ASSUME_ACCEPT4]: Change condition to
24677         [__ASSUME_ACCEPT4_SOCKETCALL].
24678         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24679         (__ASSUME_SOCKETCALL): Define.
24680         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24681         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24682         (__ASSUME_SOCKETCALL): Define.
24683         (__ASSUME_ACCEPT4): Remove.
24684         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24685         Define.
24686         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24687         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24688         Likewise.
24689         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24690         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24692         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24693         macro.
24694         (HWCAP_ARM_LPAE): Likewise.
24695         (HWCAP_ARM_EVTSTRM): Likewise.
24696         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24697         Add vpfd32, lpae and evtstrm.
24698         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24699         Increase to 22.
24701 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24703         * math/auto-libm-test-in: Add tests of clog10.
24704         * math/auto-libm-test-out: Regenerated.
24705         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24706         * sysdeps/i386/fpu/libm-test-ulps: Update.
24707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24709 2014-02-18  Andreas Schwab  <schwab@suse.de>
24711         [BZ #16574]
24712         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24713         Store non-zero if the second buffer was newly allocated.
24714         (send_dg): Likewise.
24715         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24716         to send_vc and send_dg.
24717         (res_nsend): Pass NULL for ansp2_malloced.
24718         * resolv/res_query.c (__libc_res_nquery): Add parameter
24719         answerp2_malloced and pass it down to __libc_res_nsend.
24720         (res_nquery): Pass additional NULL to __libc_res_nquery.
24721         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24722         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24723         second answer buffer if answerp2_malloced was set.
24724         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24725         (__libc_res_nquerydomain): Add parameter
24726         answerp2_malloced and pass it down to __libc_res_nquery.
24727         (res_nquerydomain): Pass additional NULL to
24728         __libc_res_nquerydomain.
24729         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24730         additional NULL to __libc_res_nsend and __libc_res_nquery.
24731         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24732         additional NULL to __libc_res_nsearch.
24733         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24734         parameter of __libc_res_nsearch to check for separately allocated
24735         second buffer.
24736         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24737         __libc_res_nquery.
24738         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24739         additional NULL to __libc_res_nquery.
24740         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24741         __libc_res_nsearch.
24742         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24743         * include/resolv.h: Update prototypes of __libc_res_nquery,
24744         __libc_res_nsearch, __libc_res_nsend.
24746 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24748         * math/auto-libm-test-in: Add tests of fma.
24749         * math/auto-libm-test-out: Regenerated.
24750         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24751         (fma_towardzero_test_data): Likewise.
24752         (fma_downward_test_data): Likewise.
24753         (fma_upward_test_data): Likewise.
24754         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24755         mpc_mode.
24756         (rounding_modes): Add values for new field.
24757         (func_calc_method): Add value mpfr_fff_f.
24758         (func_calc_desc): Add mpfr_fff_f union field.
24759         (test_function): Add field exact_args.
24760         (FUNC): Add macro argument EXACT_ARGS.
24761         (FUNC_mpfr_f_f): Update call to FUNC.
24762         (FUNC_mpfr_f_f): Likewise.
24763         (FUNC_mpfr_ff_f): Likewise.
24764         (FUNC_mpfr_if_f): Likewise.
24765         (FUNC_mpc_c_f): Likewise.
24766         (FUNC_mpc_c_c): Likewise.
24767         (test_functions): Add fma.  Update calls to FUNC.
24768         (handle_input_arg): Add argument exact_args.
24769         (add_test): Update call to handle_input_arg.
24770         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24771         (output_for_one_input_case): Update call to calc_generic_results.
24772         Recalculate exact zero results in each rounding mode.
24774         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24775         non-negative before setting low bit.
24776         * math/auto-libm-test-in: Mark one asin test possibly having
24777         spurious underflow.
24778         * math/auto-libm-test-out: Regenerated.
24779         * sysdeps/i386/fpu/libm-test-ulps: Update.
24780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24782 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24784         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24785         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24786         ports/sysdeps/unix/sysv/linux/microblaze.
24787         * README: Add missing listing for microblaze*-*-linux-gnu.
24789 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24791         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24792         duplicate code
24794 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24796         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24797         * sysdeps/unix/sysv/linux/ia64: Move directory from
24798         ports/sysdeps/unix/sysv/linux/ia64.
24799         * README: Update listing for ia64-*-linux-gnu.
24801 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24802             Joseph Myers  <joseph@codesourcery.com>
24804         * Makeconfig (test-name): New variable.
24805         (evaluate-test): Likewise.
24806         * Makerules (do-test-clean): Remove .test-result files.
24807         (common-mostlyclean): Likewise.
24808         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24809         * scripts/evaluate-test.sh: New file.
24811 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24813         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24814         separate $(objpfx)tst-fopenloc-cmp.out and
24815         $(objpfx)tst-fopenloc-mem.out targets.
24816         (tests): Update dependencies.
24817         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24818         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24819         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24820         (tst-rxspencer-no-utf8-ARGS): New variable.
24821         (tst-rxspencer-no-utf8-ENV): Likewise.
24822         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24823         instead of $(objpfx)tst-rxspencer-mem.
24824         ($(objpfx)tst-rxspencer-mem): Change target to
24825         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24826         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24827         * posix/tst-rxspencer-no-utf8.c: New file.
24829         * elf/Makefile ($(objpfx)order.out): Remove rule.
24830         [$(run-built-tests) = yes] (tests): Depend on
24831         $(objpfx)order-cmp.out.
24832         ($(objpfx)order-cmp.out): New rule.
24833         [$(run-built-tests) = yes] (tests): Depend on
24834         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24835         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24836         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24837         $(objpfx)tst-array5-static-cmp.out.
24838         ($(objpfx)tst-array1.out): Remove rule.
24839         ($(objpfx)tst-array1-cmp.out): New rule.
24840         ($(objpfx)tst-array1-static.out): Remove rule.
24841         ($(objpfx)tst-array1-static-cmp.out): New rule.
24842         ($(objpfx)tst-array2.out): Remove rule.
24843         ($(objpfx)tst-array2-cmp.out): New rule.
24844         ($(objpfx)tst-array3.out): Remove rule.
24845         ($(objpfx)tst-array3-cmp.out): New rule.
24846         ($(objpfx)tst-array4.out): Remove rule.
24847         ($(objpfx)tst-array4-cmp.out): New rule.
24848         ($(objpfx)tst-array5.out): Remove rule.
24849         ($(objpfx)tst-array5-cmp.out): New rule.
24850         ($(objpfx)tst-array5-static.out): Remove rule.
24851         ($(objpfx)tst-array5-static-cmp.out): New rule.
24852         [$(run-built-tests) = yes] (tests): Depend on
24853         $(objpfx)order2-cmp.out.
24854         ($(objpfx)order2.out): Remove rule.
24855         ($(objpfx)order2-cmp.out): New rule.
24856         ($(objpfx)tst-initorder.out): Remove rule.
24857         [$(run-built-tests) = yes] (tests): Depend on
24858         $(objpfx)tst-initorder-cmp.out.
24859         ($(objpfx)tst-initorder-cmp.out): New rule.
24860         ($(objpfx)tst-initorder2.out): Remove rule.
24861         [$(run-built-tests) = yes] (tests): Depend on
24862         $(objpfx)tst-initorder2-cmp.out.
24863         ($(objpfx)tst-initorder2-cmp.out): New rule.
24864         [$(run-built-tests) = yes] (tests): Depend on
24865         $(objpfx)tst-unused-dep-cmp.out.
24866         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24867         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24868         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24869         on $(objpfx)tst-setvbuf1-cmp.out.
24870         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24871         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24872         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24873         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24874         ($(objpfx)tst-svc.out): Remove rule.
24875         ($(objpfx)tst-svc-cmp.out): New rule.
24877 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24879         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24880         * ctype/ctype.h [__USE_MISC]: Likewise.
24881         * dirent/dirent.h [__USE_MISC]: Likewise.
24882         * grp/grp.h [__USE_MISC]: Likewise.
24883         * io/fcntl.h [__USE_MISC]: Likewise.
24884         * io/sys/stat.h [__USE_MISC]: Likewise.
24885         * libio/stdio.h [__USE_MISC]: Likewise.
24886         * posix/unistd.h [__USE_MISC]: Likewise.
24887         * pwd/pwd.h [__USE_MISC]: Likewise.
24888         * stdlib.h [__USE_MISC]: Likewise.
24889         * string/bits/string2.h [__USE_MISC]: Likewise.
24890         * string/string.h [__USE_MISC]: Likewise.
24891         * time/time.h [__USE_MISC]: Likewise.
24893 2014-02-13  Andreas Schwab  <schwab@suse.de>
24895         [BZ #16574]
24896         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24897         second answer buffer if it was separately allocated.
24899 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24901         * sysdeps/mips/math-tests.h: Include <features.h>.
24902         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24903         (ROUNDING_TESTS_long_double): Do not define.
24904         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24905         (EXCEPTION_TESTS_long_double): Likewise.
24906         * sysdeps/mips/mips64/libm-test-ulps: Update.
24908         * include/features.h (__USE_BSD): Remove macro definitions.
24909         (__USE_SVID): Likewise.
24910         (_BSD_SOURCE): Likewise.
24911         (_SVID_SOURCE): Likewise.
24912         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24913         from definition of _DEFAULT_SOURCE.
24914         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24915         [_DEFAULT_SOURCE].
24916         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24917         * bits/mman.h [__USE_BSD]: Likewise.
24918         * bits/termios.h [__USE_BSD]: Likewise.
24919         * bits/waitstatus.h [__USE_BSD]: Likewise.
24920         * ctype/ctype.h [__USE_SVID]: Likewise.
24921         * dirent/dirent.h [__USE_BSD]: Likewise.
24922         * grp/grp.h [__USE_SVID]: Likewise.
24923         [__USE_BSD]: Likewise.
24924         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24925         * io/fcntl.h [__USE_BSD]: Likewise.
24926         * io/ftw.h [__USE_BSD]: Likewise.
24927         * io/sys/stat.h [__USE_BSD]: Likewise.
24928         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24929         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24930         * libio/stdio.h [__USE_SVID]: Likewise.
24931         [__USE_BSD]: Likewise.
24932         * math/math.h [__USE_SVID]: Likewise.
24933         [__USE_BSD]: Likewise.
24934         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24935         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24936         * misc/search.h [__USE_SVID]: Likewise.
24937         * misc/sys/mman.h [__USE_BSD]: Likewise.
24938         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24939         * misc/sys/uio.h [__USE_BSD]: Likewise.
24940         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24941         * posix/glob.h [__USE_BSD]: Likewise.
24942         * posix/regex.h [__USE_BSD]: Likewise.
24943         * posix/sys/types.h [__USE_BSD]: Likewise.
24944         [__USE_SVID]: Likewise.
24945         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24946         * posix/sys/wait.h [__USE_BSD]: Likewise.
24947         [__USE_SVID]: Likewise.
24948         * posix/unistd.h [__USE_BSD]: Likewise.
24949         [__USE_SVID]: Likewise.
24950         * pwd/pwd.h [__USE_SVID]: Likewise.
24951         * resolv/netdb.h [__USE_BSD]: Likewise.
24952         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24953         * signal/signal.h [__USE_BSD]: Likewise.
24954         [__USE_SVID]: Likewise.
24955         * socket/sys/socket.h [__USE_BSD]: Likewise.
24956         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24957         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24958         [__USE_SVID]: Likewise.
24959         * string/bits/string2.h [__USE_BSD]: Likewise.
24960         [__USE_SVID]: Likewise.
24961         * string/bits/string3.h [__USE_BSD]: Likewise.
24962         * string/endian.h [__USE_BSD]: Likewise.
24963         * string/string.h [__USE_SVID]: Likewise.
24964         [__USE_BSD]: Likewise.
24965         * string/strings.h [__USE_BSD]: Likewise.
24966         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24967         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24968         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24969         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24970         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24971         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24972         Likewise.
24973         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24974         Likewise.
24975         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24976         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24977         Likewise.
24978         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24979         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24980         Likewise.
24981         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24982         Likewise.
24983         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24984         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24985         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24986         Likewise.
24987         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24988         Likewise.
24989         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24990         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24991         * termios/termios.h [__USE_BSD]: Likewise.
24992         * time/sys/time.h [__USE_BSD]: Likewise.
24993         * time/time.h [__USE_BSD]: Likewise.
24994         [__USE_SVID]: Likewise.
24996         * Makefile (subdir_targets): Remove subdir_lint.out.
24998         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24999         (do-tst-printf): Likewise.
25000         (tests): Depend directly on $(objpfx)tst-unbputc.out and
25001         $(objpfx)tst-printf.out.
25003         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25005         * Makerules (check-abi-%): Change target to
25006         $(objpfx)check-abi-%.out.
25007         (check-abi target): Update dependencies.
25008         (check-abi-pattern variable): Redirect output of diff to $@.
25009         (check-abi variable): Likewise.
25010         * elf/Makefile (check-abi): Update dependencies.
25012         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25013         unused.
25014         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25015         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25016         subnormal range.
25017         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25018         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25019         value has largest subnormal exponent.
25020         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25021         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25022         * sysdeps/aarch64/soft-fp/sfp-machine.h
25023         (_FP_TININESS_AFTER_ROUNDING): New macro.
25024         * sysdeps/alpha/soft-fp/sfp-machine.h
25025         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25026         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25027         Likewise.
25028         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25029         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25030         * sysdeps/mips/soft-fp/sfp-machine.h
25031         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25032         * sysdeps/powerpc/soft-fp/sfp-machine.h
25033         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25034         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25035         Likewise.
25036         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25037         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25038         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25039         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25040         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25041         Likewise.
25043 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25045         [BZ #16545]
25046         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25047         model 1.
25049 2014-02-12  Richard Henderson  <rth@redhat.com>
25051         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25052         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25053         * sysdeps/unix/sysv/linux/alpha: Move directory from
25054         ports/sysdeps/unix/sysv/linux/alpha.
25055         * README: Update listing for alpha-*-linux-gnu.
25057 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25059         * include/features.h: Update comment documenting feature test
25060         macros.
25061         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25062         _DEFAULT_SOURCE.
25063         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25064         (_SVID_SOURCE): Likewise.
25065         (_DEFAULT_SOURCE): Update description of default features.
25066         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25067         with _GNU_SOURCE.
25068         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25069         (S_ISVTX): Likewise.
25070         * manual/math.texi (Mathematical Constants): Likewise.
25071         * manual/signal.texi (Interrupted Primitives): Likewise.
25072         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25073         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25074         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25075         Don't refer to _SVID_SOURCE in warning text.
25077         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25079         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25080         already defined.
25081         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25082         * sysdeps/mips/dl-lookup.c: Remove.
25083         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25085 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25087         [BZ #16447]
25088         * math/auto-libm-test-in: Add testcase for expl.
25089         * math/auto-libm-test-out: Regenerate.
25090         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25091         calculation of unsafe.
25092         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25094 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25096         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25097         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25098         ports/sysdeps/unix/sysv/linux/aarch64.
25099         * README: Update listing for aarch64*-*-linux-gnu.
25101 2014-02-11  Will Newton  <will.newton@linaro.org>
25103         * manual/probes.texi (Mathematical Function Probes): Use
25104         "triggered" instead of "hit".
25106         * manual/probes.texi (Internal Probes): Add documentation
25107         of setjmp, longjmp and longjmp_target probes.
25109         * include/stap-probe.h: Add comment about probe argument
25110         format.
25112         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25113         definition.  (tr_where, tr_freehook, tr_mallochook,
25114         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25116 2014-02-11  David S. Miller  <davem@davemloft.net>
25118         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25119         processing int_tests.
25121 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25123         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25124         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25125         * sysdeps/unix/sysv/linux/mips: Move directory from
25126         ports/sysdeps/unix/sysv/linux/mips.
25127         * README: Update listing for mips-*-linux-gnu and
25128         mips64-*-linux-gnu.
25130 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25132         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25133         * sysdeps/unix/sysv/linux/m68k: Move directory from
25134         ports/sysdeps/unix/sysv/linux/m68k.
25135         * README: Update listing for m68k-*-linux-gnu.
25137 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25139         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25140         * sysdeps/unix/sysv/linux/generic: Move directory from
25141         ports/sysdeps/unix/sysv/linux/generic.
25142         * sysdeps/unix/sysv/linux/tile: Move directory from
25143         ports/sysdeps/unix/sysv/linux/tile.
25144         * README: Update listing for tile*-*-linux-gnu.
25146 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25148         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25149         __builtin_expect.
25150         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25151         * catgets/open_catalog.c (__open_catalog): Likewise.
25152         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25153         * debug/confstr_chk.c: Likewise.
25154         * debug/fread_chk.c (__fread_chk): Likewise.
25155         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25156         * debug/getgroups_chk.c: Likewise.
25157         * debug/mbsnrtowcs_chk.c: Likewise.
25158         * debug/mbsrtowcs_chk.c: Likewise.
25159         * debug/mbstowcs_chk.c: Likewise.
25160         * debug/memcpy_chk.c: Likewise.
25161         * debug/memmove_chk.c: Likewise.
25162         * debug/mempcpy_chk.c: Likewise.
25163         * debug/memset_chk.c: Likewise.
25164         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25165         * debug/strcat_chk.c (__strcat_chk): Likewise.
25166         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25167         * debug/strncat_chk.c (__strncat_chk): Likewise.
25168         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25169         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25170         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25171         * debug/wcpncpy_chk.c: Likewise.
25172         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25173         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25174         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25175         * debug/wcsncpy_chk.c: Likewise.
25176         * debug/wcsnrtombs_chk.c: Likewise.
25177         * debug/wcsrtombs_chk.c: Likewise.
25178         * debug/wcstombs_chk.c: Likewise.
25179         * debug/wmemcpy_chk.c: Likewise.
25180         * debug/wmemmove_chk.c: Likewise.
25181         * debug/wmempcpy_chk.c: Likewise.
25182         * debug/wmemset_chk.c: Likewise.
25183         * dirent/scandirat.c (SCANDIRAT): Likewise.
25184         * dlfcn/dladdr1.c (dladdr1): Likewise.
25185         * dlfcn/dladdr.c (dladdr): Likewise.
25186         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25187         * dlfcn/dlerror.c (__dlerror): Likewise.
25188         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25189         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25190         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25191         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25192         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25193         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25194         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25195         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25196         Likewise.
25197         * elf/dl-conflict.c: Likewise.
25198         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25199         * elf/dl-dst.h: Likewise.
25200         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25201         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25202         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25203         * elf/dl-init.c (call_init, _dl_init): Likewise.
25204         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25205         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25206         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25207         Likewise.
25208         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25209         Likewise.
25210         * elf/dl-minimal.c (__libc_memalign): Likewise.
25211         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25212         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25213         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25214         * elf/dl-sym.c (do_sym): Likewise.
25215         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25216         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25217         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25218         * elf/dl-writev.h (_dl_writev): Likewise.
25219         * elf/ldconfig.c (search_dir): Likewise.
25220         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25221         (dl_main): Likewise.
25222         * elf/setup-vdso.h (setup_vdso): Likewise.
25223         * grp/compat-initgroups.c (compat_call): Likewise.
25224         * grp/fgetgrent.c (fgetgrent): Likewise.
25225         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25226         * grp/putgrent.c (putgrent): Likewise.
25227         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25228         Likewise.
25229         * hurd/hurdinit.c: Likewise.
25230         * iconvdata/8bit-gap.c (struct): Likewise.
25231         * iconvdata/ansi_x3.110.c : Likewise.
25232         * iconvdata/big5.c : Likewise.
25233         * iconvdata/big5hkscs.c : Likewise.
25234         * iconvdata/cp1255.c: Likewise.
25235         * iconvdata/cp1258.c : Likewise.
25236         * iconvdata/cp932.c : Likewise.
25237         * iconvdata/euc-cn.c: Likewise.
25238         * iconvdata/euc-jisx0213.c : Likewise.
25239         * iconvdata/euc-jp.c: Likewise.
25240         * iconvdata/euc-jp-ms.c : Likewise.
25241         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25242         * iconvdata/gb18030.c : Likewise.
25243         * iconvdata/gbbig5.c (const): Likewise.
25244         * iconvdata/gbgbk.c: Likewise.
25245         * iconvdata/gbk.c : Likewise.
25246         * iconvdata/ibm1364.c : Likewise.
25247         * iconvdata/ibm930.c : Likewise.
25248         * iconvdata/ibm932.c: Likewise.
25249         * iconvdata/ibm933.c : Likewise.
25250         * iconvdata/ibm935.c : Likewise.
25251         * iconvdata/ibm937.c : Likewise.
25252         * iconvdata/ibm939.c : Likewise.
25253         * iconvdata/ibm943.c: Likewise.
25254         * iconvdata/iso_11548-1.c: Likewise.
25255         * iconvdata/iso-2022-cn.c : Likewise.
25256         * iconvdata/iso-2022-cn-ext.c : Likewise.
25257         * iconvdata/iso-2022-jp-3.c: Likewise.
25258         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25259         * iconvdata/iso-2022-kr.c : Likewise.
25260         * iconvdata/iso646.c (gconv_end): Likewise.
25261         * iconvdata/iso_6937-2.c : Likewise.
25262         * iconvdata/iso_6937.c : Likewise.
25263         * iconvdata/iso8859-1.c: Likewise.
25264         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25265         * iconvdata/shift_jisx0213.c : Likewise.
25266         * iconvdata/sjis.c : Likewise.
25267         * iconvdata/t.61.c : Likewise.
25268         * iconvdata/tcvn5712-1.c : Likewise.
25269         * iconvdata/tscii.c: Likewise.
25270         * iconvdata/uhc.c : Likewise.
25271         * iconvdata/unicode.c (gconv_end): Likewise.
25272         * iconvdata/utf-16.c (gconv_end): Likewise.
25273         * iconvdata/utf-32.c (gconv_end): Likewise.
25274         * iconvdata/utf-7.c (base64): Likewise.
25275         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25276         * iconv/gconv_close.c (__gconv_close): Likewise.
25277         * iconv/gconv_open.c (__gconv_open): Likewise.
25278         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25279         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25280         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25281         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25282         (ucs4le_internal_loop_single): Likewise.
25283         * iconv/iconv.c (iconv): Likewise.
25284         * iconv/iconv_close.c: Likewise.
25285         * iconv/loop.c (SINGLE): Likewise.
25286         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25287         * include/atomic.h: Likewise.
25288         * inet/inet6_option.c (option_alloc): Likewise.
25289         * intl/bindtextdom.c (set_binding_values): Likewise.
25290         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25291         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25292         * intl/localealias.c (read_alias_file): Likewise.
25293         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25294         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25295         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25296         * libio/fmemopen.c (fmemopen): Likewise.
25297         * libio/iofgets.c (_IO_fgets): Likewise.
25298         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25299         * libio/iofgetws.c (fgetws): Likewise.
25300         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25301         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25302         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25303         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25304         * locale/findlocale.c (_nl_find_locale): Likewise.
25305         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25306         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25307         Likewise.
25308         * locale/setlocale.c (setlocale): Likewise.
25309         * login/programs/pt_chown.c (main): Likewise.
25310         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25311         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25312         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25313         (mmap, mmap64, mremap, munmap): Likewise.
25314         * math/e_exp2l.c: Likewise.
25315         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25316         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25317         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25318         * math/s_catan.c (__catan): Likewise.
25319         * math/s_catanf.c (__catanf): Likewise.
25320         * math/s_catanh.c (__catanh): Likewise.
25321         * math/s_catanhf.c (__catanhf): Likewise.
25322         * math/s_catanhl.c (__catanhl): Likewise.
25323         * math/s_catanl.c (__catanl): Likewise.
25324         * math/s_ccosh.c (__ccosh): Likewise.
25325         * math/s_ccoshf.c (__ccoshf): Likewise.
25326         * math/s_ccoshl.c (__ccoshl): Likewise.
25327         * math/s_cexp.c (__cexp): Likewise.
25328         * math/s_cexpf.c (__cexpf): Likewise.
25329         * math/s_cexpl.c (__cexpl): Likewise.
25330         * math/s_clog10.c (__clog10): Likewise.
25331         * math/s_clog10f.c (__clog10f): Likewise.
25332         * math/s_clog10l.c (__clog10l): Likewise.
25333         * math/s_clog.c (__clog): Likewise.
25334         * math/s_clogf.c (__clogf): Likewise.
25335         * math/s_clogl.c (__clogl): Likewise.
25336         * math/s_csin.c (__csin): Likewise.
25337         * math/s_csinf.c (__csinf): Likewise.
25338         * math/s_csinh.c (__csinh): Likewise.
25339         * math/s_csinhf.c (__csinhf): Likewise.
25340         * math/s_csinhl.c (__csinhl): Likewise.
25341         * math/s_csinl.c (__csinl): Likewise.
25342         * math/s_csqrt.c (__csqrt): Likewise.
25343         * math/s_csqrtf.c (__csqrtf): Likewise.
25344         * math/s_csqrtl.c (__csqrtl): Likewise.
25345         * math/s_ctan.c (__ctan): Likewise.
25346         * math/s_ctanf.c (__ctanf): Likewise.
25347         * math/s_ctanh.c (__ctanh): Likewise.
25348         * math/s_ctanhf.c (__ctanhf): Likewise.
25349         * math/s_ctanhl.c (__ctanhl): Likewise.
25350         * math/s_ctanl.c (__ctanl): Likewise.
25351         * math/w_pow.c: Likewise.
25352         * math/w_powf.c: Likewise.
25353         * math/w_powl.c: Likewise.
25354         * math/w_scalb.c (sysv_scalb): Likewise.
25355         * math/w_scalbf.c (sysv_scalbf): Likewise.
25356         * math/w_scalbl.c (sysv_scalbl): Likewise.
25357         * misc/error.c (error_tail): Likewise.
25358         * misc/pselect.c (__pselect): Likewise.
25359         * nis/nis_callback.c (__nis_create_callback): Likewise.
25360         * nis/nis_call.c (__nisfind_server): Likewise.
25361         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25362         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25363         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25364         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25365         * nis/nis_lookup.c (nis_lookup): Likewise.
25366         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25367         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25368         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25369         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25370         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25371         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25372         * nis/nss_compat/compat-initgroups.c (add_group)
25373         (internal_getgrent_r): Likewise.
25374         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25375         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25376         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25377         (internal_getspnam_r): Likewise.
25378         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25379         (_nss_nis_getaliasbyname_r): Likewise.
25380         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25381         (_nss_nis_getntohost_r): Likewise.
25382         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25383         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25384         (_nss_nis_getgrgid_r): Likewise.
25385         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25386         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25387         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25388         (_nss_nis_gethostbyname4_r): Likewise.
25389         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25390         (initgroups_netid): Likewise.
25391         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25392         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25393         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25394         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25395         (_nss_nis_getprotobynumber_r): Likewise.
25396         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25397         (_nss_nis_getsecretkey): Likewise.
25398         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25399         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25400         (_nss_nis_getpwuid_r): Likewise.
25401         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25402         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25403         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25404         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25405         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25406         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25407         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25408         Likewise.
25409         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25410         (_nss_nisplus_getntohost_r): Likewise.
25411         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25412         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25413         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25414         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25415         Likewise.
25416         * nis/nss_nisplus/nisplus-initgroups.c
25417         (_nss_nisplus_initgroups_dyn): Likewise.
25418         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25419         (_nss_nisplus_getnetbyaddr_r): Likewise.
25420         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25421         (_nss_nisplus_getprotobynumber_r): Likewise.
25422         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25423         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25424         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25425         Likewise.
25426         * nis/nss_nisplus/nisplus-service.c
25427         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25428         (_nss_nisplus_getservbyport_r): Likewise.
25429         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25430         (_nss_nisplus_getspnam_r): Likewise.
25431         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25432         Likewise.
25433         * nscd/aicache.c (addhstaiX): Likewise.
25434         * nscd/cache.c (cache_search, prune_cache): Likewise.
25435         * nscd/connections.c (register_traced_file, send_ro_fd)
25436         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25437         (main_loop_epoll): Likewise.
25438         * nscd/grpcache.c (addgrbyX): Likewise.
25439         * nscd/hstcache.c (addhstbyX): Likewise.
25440         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25441         * nscd/mem.c (gc, mempool_alloc): Likewise.
25442         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25443         (addinnetgrX): Likewise.
25444         * nscd/nscd-client.h (__nscd_acquire_maplock)
25445         (__nscd_drop_map_ref): Likewise.
25446         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25447         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25448         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25449         Likewise.
25450         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25451         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25452         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25453         (__nscd_get_map_ref): Likewise.
25454         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25455         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25456         Likewise.
25457         * nscd/pwdcache.c (addpwbyX): Likewise.
25458         * nscd/selinux.c (preserve_capabilities): Likewise.
25459         * nscd/servicescache.c (addservbyX): Likewise.
25460         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25461         * posix/fnmatch.c (fnmatch): Likewise.
25462         * posix/getopt.c (_getopt_internal_r): Likewise.
25463         * posix/glob.c (glob, glob_in_dir): Likewise.
25464         * posix/wordexp.c (exec_comm_child): Likewise.
25465         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25466         (getanswer_r, gaih_getanswer_slice): Likewise.
25467         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25468         * resolv/res_init.c: Likewise.
25469         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25470         * resolv/res_query.c (__libc_res_nquery): Likewise.
25471         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25472         Likewise.
25473         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25474         * stdio-common/perror.c (perror): Likewise.
25475         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25476         * stdio-common/tmpnam.c (tmpnam): Likewise.
25477         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25478         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25479         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25480         Likewise.
25481         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25482         * stdlib/putenv.c (putenv): Likewise.
25483         * stdlib/setenv.c (__add_to_environ): Likewise.
25484         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25485         * stdlib/strtol_l.c (INTERNAL): Likewise.
25486         * string/memmem.c (memmem): Likewise.
25487         * string/strerror.c (strerror): Likewise.
25488         * string/strnlen.c (__strnlen): Likewise.
25489         * string/test-memmem.c (simple_memmem): Likewise.
25490         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25491         * sunrpc/pm_getport.c (__get_socket): Likewise.
25492         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25493         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25494         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25495         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25496         Likewise.
25497         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25498         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25499         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25500         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25501         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25502         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25503         Likewise.
25504         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25505         Likewise.
25506         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25507         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25508         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25509         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25510         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25512         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25513         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25514         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25515         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25516         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25517         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25518         Likewise.
25519         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25520         Likewise.
25521         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25522         Likewise.
25523         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25524         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25525         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25526         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25527         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25528         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25529         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25530         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25531         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25532         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25533         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25534         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25535         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25536         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25537         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25538         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25539         Likewise.
25540         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25541         Likewise.
25542         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25543         Likewise.
25544         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25545         Likewise.
25546         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25547         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25548         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25549         Likewise.
25550         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25551         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25552         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25553         * sysdeps/posix/sleep.c: Likewise.
25554         * sysdeps/posix/tempname.c: Likewise.
25555         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25556         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25557         Likewise.
25558         * sysdeps/powerpc/powerpc32/dl-machine.h
25559         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25560         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25561         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25562         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25563         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25564         Likewise.
25565         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25566         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25567         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25568         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25569         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25570         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25571         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25572         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25573         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25574         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25575         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25576         (elf_machine_lazy_rel): Likewise.
25577         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25578         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25579         (elf_machine_lazy_rel): Likewise.
25580         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25581         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25582         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25583         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25584         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25585         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25586         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25587         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25588         Likewise.
25589         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25590         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25591         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25592         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25593         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25594         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25595         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25596         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25597         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25598         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25599         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25600         Likewise.
25601         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25602         (__posix_fallocate64_l64): Likewise.
25603         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25604         (posix_fallocate): Likewise.
25605         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25606         Likewise.
25607         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25608         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25609         (getifaddrs_internal): Likewise.
25610         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25611         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25612         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25613         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25614         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25615         (__posix_fallocate64_l64): Likewise.
25616         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25617         Likewise.
25618         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25619         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25620         (__get_clockfreq): Likewise.
25621         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25622         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25623         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25624         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25625         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25626         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25627         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25628         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25629         Likewise.
25630         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25631         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25632         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25633         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25634         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25635         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25636         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25637         Likewise.
25638         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25639         (posix_fallocate): Likewise.
25640         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25641         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25642         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25643         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25644         (elf_machine_rela, elf_machine_rela_relative)
25645         (elf_machine_lazy_rel): Likewise.
25646         * time/asctime.c (asctime_internal): Likewise.
25647         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25648         * time/tzset.c (__tzset_parse_tz): Likewise.
25649         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25650         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25651         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25652         * wcsmbs/wcsmbsload.h: Likewise.
25654         [BZ #15894]
25655         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25657         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25658         (arena_get2): Remove THREAD_STATS conditionals.
25659         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25660         (__malloc_stats, int): Likewise.
25662 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25664         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25665         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25667         * manual/setjmp.texi: Fix typos/grammar errors.
25669         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25670         Only return early when n is <= 0.  Delete unused return statement.
25672         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25673         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25674         * debug/tst-longjmp_chk3.c: New file.
25676         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25677         (test_main): Replace code with set_fortify_handler call.
25678         * debug/test-strcpy_chk.c: Likewise.
25679         * debug/tst-chk1.c: Likewise.
25680         * debug/tst-longjmp_chk.c: Likewise.
25681         * test-skeleton.c: Include fcntl.h & paths.h
25682         (set_fortify_handler): Define.
25684         * debug/tst-longjmp_chk.c: Add header comment and include
25685         ../test-skeleton.c.
25686         (do_test): Mark static.
25687         (TEST_FUNCTION): Define.
25689         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25690         (IP_PMTUDISC_INTERFACE): Likewise.
25691         (IP_MULTICAST_IF): Likewise.
25692         (IP_MULTICAST_TTL): Likewise.
25693         (IP_MULTICAST_LOOP): Likewise.
25694         (IP_ADD_MEMBERSHIP): Likewise.
25695         (IP_DROP_MEMBERSHIP): Likewise.
25696         (IP_UNBLOCK_SOURCE): Likewise.
25697         (IP_BLOCK_SOURCE): Likewise.
25698         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25699         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25700         (IP_MSFILTER): Likewise.
25701         (MCAST_JOIN_GROUP): Likewise.
25702         (MCAST_BLOCK_SOURCE): Likewise.
25703         (MCAST_UNBLOCK_SOURCE): Likewise.
25704         (MCAST_LEAVE_GROUP): Likewise.
25705         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25706         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25707         (MCAST_MSFILTER): Likewise.
25708         (IP_MULTICAST_ALL): Likewise.
25709         (IP_UNICAST_IF): Likewise.
25711         * timezone/Makefile: Delete $(have-ksh) check.
25712         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25713         * timezone/tzselect.ksh: Add +x mode bits.
25715         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25716         (ANON_INODE_FS_MAGIC): Likewise.
25717         (BDEVFS_MAGIC): Likewise.
25718         (BINFMTFS_MAGIC): Likewise.
25719         (BTRFS_TEST_MAGIC): Likewise.
25720         (CRAMFS_MAGIC_WEND): Likewise.
25721         (DEBUGFS_MAGIC): Likewise.
25722         (ECRYPTFS_SUPER_MAGIC): Likewise.
25723         (EXT3_SUPER_MAGIC): Likewise.
25724         (EXT4_SUPER_MAGIC): Likewise.
25725         (FUTEXFS_SUPER_MAGIC): Likewise.
25726         (HOSTFS_SUPER_MAGIC): Likewise.
25727         (HUGETLBFS_MAGIC): Likewise.
25728         (MINIX3_SUPER_MAGIC): Likewise.
25729         (MTD_INODE_FS_MAGIC): Likewise.
25730         (NILFS_SUPER_MAGIC): Likewise.
25731         (OPENPROM_SUPER_MAGIC): Likewise.
25732         (PIPEFS_MAGIC): Likewise.
25733         (PSTOREFS_MAGIC): Likewise.
25734         (QNX6_SUPER_MAGIC): Likewise.
25735         (RAMFS_MAGIC): Likewise.
25736         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25737         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25738         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25739         (SECURITYFS_MAGIC): Likewise.
25740         (SELINUX_MAGIC): Likewise.
25741         (SMACK_MAGIC): Likewise.
25742         (SOCKFS_MAGIC): Likewise.
25743         (SQUASHFS_MAGIC): Likewise.
25744         (STACK_END_MAGIC): Likewise.
25745         (TMPFS_MAGIC): Likewise.
25746         (USBDEVICE_SUPER_MAGIC): Likewise.
25747         (V9FS_MAGIC): Likewise.
25748         (XENFS_SUPER_MAGIC): Likewise.
25749         (CRAMFS_MAGIC): Fix typo in comment.
25750         (EXT2_SUPER_MAGIC): Update comment.
25751         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25753 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25755         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25756         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25757         * sysdeps/unix/sysv/linux/arm: Move directory from
25758         ports/sysdeps/unix/sysv/linux/arm.
25759         * README: Update listing for arm-*-linux-gnueabi.
25761         * README: Remove mention of am33.
25763 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25765         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25766         than the comma operator, to avoid "rhs of comma has no effect"
25767         compiler warnings.
25768         (__sigfillset, __sigandset, __sigorset): Likewise.
25769         * include/signal.h (__sigemptyset): Likewise.
25770         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25772 2014-02-07  Allan McRae  <allan@archlinux.org>
25774         * version.h (RELEASE): Set to "development".
25775         (VERSION): Set to "2.19.90"
25776         * NEWS: Add 2.20 section.
25778 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25780         [BZ #16529]
25781         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25783 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25785         * manual/contrib.texi: Update entry for Carlos O'Donell,
25786         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25788 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25790         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25792         * sysdeps/unix/sysv/linux/kernel-features.h
25793         [__LINUX_KERNEL_VERSION >= 0x020621]
25794         (__ASSUME_PROC_PID_TASK_COMM): Define.
25796 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25798         [BZ #16398]
25799         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25800         conversion when destination buffer does not have enough space.
25801         * libio/tst-ftell-partial-wide.c: New test case.
25802         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25804         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25805         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25806         Leonard and Allan McRae.
25808 2014-02-04  David S. Miller  <davem@davemloft.net>
25810         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25811         32-bit.
25813 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25816         New file
25817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25818         New file
25819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25820         New file.
25821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25822         New file.
25823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25824         New file.
25825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25826         New file.
25827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25828         New file.
25829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25830         New file.
25831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25832         New file.
25833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25834         New file.
25835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25836         New file.
25837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25838         New file.
25839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25840         New file.
25842 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25844         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25845         * shlib-versions: Likewise.
25847 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25848             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25850         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25851         (abilist-pattern): New variable, set to %-le.abilist.
25853         * Makerules (abilist-pattern): New variable.
25854         (vpath): Use $(abilist-pattern) in place of %.abilist.
25855         (check-abi-% pattern rule): Likewise.
25856         (check-abi, update-abi): Likewise.
25858 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25860         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25862 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25864         * manual/startup.texi: Add next, previous, and top entries for
25865         the `Program Arguments' and `Environment Variables' nodes.
25867 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25869         * manual/macros.texi: Add comments before MTASC-safety macros.
25871         * manual/users.texi: Document MTASC-safety properties.
25873         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25874         (pthread_getspecific, pthread_setspecific): Format with
25875         @deftypefun, and add @safety note.
25876         * manual/signal.texi: Move comments that analyze the above
25877         functions to their home place.
25879 2014-02-03  Allan McRae  <allan@archlinux.org>
25881         * po/sl.po: Update Slovenian translation from translation project.
25883 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25885         * manual/time.texi (timegm): Add missing blank after @c.
25886         Reported by Joseph Myers <joseph@codesourcery.com>.
25888 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25890         * manual/check-safety.sh: New.
25891         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25893         * manual/terminal.texi: Document MTASC-safety properties.
25895         * manual/filesys.texi: Document MTASC-safety properties.
25897         * manual/errno.texi: Document MTASC-safety properties.
25899         * manual/intro.texi: Document safety identifiers and
25900         conditionals.
25902         * manual/string.texi (wcstok): Fix prototype.
25903         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25905         * manual/time.texi: Document MTASC-safety properties.
25907         * manual/string.texi: Document MTASC-safety properties.
25909         * manual/threads.texi: Document MTASC-safety properties.
25911         * manual/stdio.texi: Document MTASC-safety properties.
25913         * manual/syslog.texi: Document MTASC-safety properties.
25915         * manual/sysinfo.texi: Document MTASC-safety properties.
25917         * manual/startup.texi: Document MTASC-safety properties.
25919         * manual/socket.texi: Document MTASC-safety properties.
25921         * manual/signal.texi: Document MTASC-safety properties.
25923 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25925         * manual/setjmp.texi: Document MTASC-safety properties.
25927         * manual/search.texi: Document MTASC-safety properties.
25929         * manual/resource.texi: Document MTASC-safety properties.
25931         * manual/process.texi: Document MTASC-safety properties.
25933         * manual/platform.texi: Document MTASC-safety properties.
25935         * manual/pipe.texi: Document MTASC-safety properties.
25937         * manual/pattern.texi: Document MTASC-safety properties.
25939         * manual/message.texi: Document MTASC-safety properties.
25941         [BZ #12751]
25942         * manual/memory.texi: Document MTASC-safety properties.
25944         * manual/math.texi: Document MTASC-safety properties.
25946         * manual/locale.texi: Document MTASC-safety properties.
25948         * manual/llio.texi: Document MTASC-safety properties.
25950         * manual/libdl.texi: New.
25952         * manual/lang.texi: Document MTASC-safety properties.
25954         * manual/job.texi: Document MTASC-safety properties.
25956         * manual/getopt.texi: Document MTASC-safety properties.
25958         * manual/ctype.texi: Document MTASC-safety properties.
25960 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25962         [BZ #16046]
25963         * csu/libc-tls.c (static_map): Remove variable.
25964         (__libc_setup_tls): Use main executable's link map for TLS data.
25965         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25966         casing for LM_ID_BASE and GL(dl_nns).
25967         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25968         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25969         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25970         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25971         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25972         member.
25973         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25974         l_phnum members.
25976 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25978         * manual/debug.texi: Document MTASC-safety properties.
25980 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25982         [BZ #16510]
25983         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25984         of __x86_64__ when disabling x87 inline functions.
25986 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25988         * manual/charset.texi: Document MTASC-safety properties.
25990         * manual/crypt.texi: Document MTASC-safety properties.
25992         * manual/conf.texi: Document MTASC-safety properties.
25994         * manual/arith.texi: Document MTASC-safety properties.
25996         * manual/argp.texi: Document MTASC-safety properties.
25998         * manual/macros.texi: Introduce macros to document multi
25999         thread, asynchronous signal and asynchronous cancellation
26000         safety properties.
26001         * manual/intro.texi: Introduce the properties themselves.
26003 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26005         * sysdeps/sh/sh4/Makefile: New file.
26007 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
26009         * math/gen-libm-test.pl ($srcdir): New variable.
26010         ($auto_input): Use it.
26012 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26014         [BZ #16506]
26015         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26016         access beyond array bounds when parsing netgroups file.
26018         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26019         the old buffer before realloc.
26021 2014-01-27  Allan McRae  <allan@archlinux.org>
26023         * po/fr.po: Update French translation from translation project.
26025 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26027         * sysdeps/sh/libm-test-ulps: Regenerate.
26029 2014-01-24  David S. Miller  <davem@davemloft.net>
26031         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26033 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26035         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26036         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26038 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26040         [BZ #16474]
26041         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26042         string pointers after reallocation.
26044 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26046         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26047         __SH4A__ instead of __SH_FPU_ANY__.
26049 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26051         * sysdeps/sh/fpu_control.h: New file.
26052         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26053         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26054         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26055         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26056         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26057         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26058         * sysdeps/sh/sys/ucontext.h: Remove.
26059         * sysdeps/sh/sys: Remove directory.
26061 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26063         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26064         s390/sys/ucontext.h.
26065         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26066         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26068 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26070         [BZ #15605]
26071         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26073 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26075         [BZ#16431]
26076         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26077         Adjust the vDSO correctly for internal calls.
26078         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26080 2014-01-20  Allan McRae  <allan@archlinux.org>
26082         * po/ca.po: Update Catalan translation from translation project.
26084 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26086         * sysdeps/s390/sotruss-lib.c: New file.
26088 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26090         [BZ#16430]
26091         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26092         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26093         local calls issues by not having a PLT stub required for IFUNC calls.
26094         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26096 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26098         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26099         * math/test-fpucw-static.c: Likewise.
26101 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26103         [BZ #16453]
26104         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26106 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26108         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26109         implementation for powerpc.
26111 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26113         [BZ #14782]
26114         * sysdeps/posix/system.c (__libc_system): Do not enable
26115         asynchronous cancellation.
26117 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26119         [BZ #16427]
26120         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26121         handling only for numbers special also in the IEEE case.
26123 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26125         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26127 2014-01-11  Allan McRae  <allan@archlinux.org>
26129         * po/bg.po: Update Bulgarian translation from translation project.
26131         * po/de.po: Update German translation from translation project.
26133 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26135         * sysdeps/generic/gcc-compat.h: New file.
26137 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26139         * benchtests/asin-inputs: Correct slow inputs.
26140         * benchtests/acos-inputs: Likewise.
26142 2014-01-10  Allan McRae  <allan@archlinux.org>
26144         * po:sv.po: Update Swedish translation from translation project.
26146         * po/vi.po: Update Vietnamese translation from translation project.
26148         * po/eo.po: Update Esperanto translation from translation project.
26150         * po/cs.po: Update Czech translation from translation project.
26152         * po/nl.po: Update Dutch translation from translation project.
26154         * po/pl.po: Update Polish translation from translation project.
26156         * po/ru.po: Update Russian translation from translation project.
26158         * po/uk.po: Update Ukrainian translation from translation project.
26160 2014-01-08  Brooks Moses  <bmoses@google.com>
26162         * elf/dl-load.c: Fix comment typo.
26164 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26166         * po/header.pot: Rename to...
26167         * po/pot.header: ... this.
26168         * po/Makefile: Use pot.header.
26170 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26171             Maxim Kuvyrkov  <maxim@kugelworks.com>
26173         [BZ #16394]
26174         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26175         SRC and DEST against LEN.
26177 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26179         [BZ #16414]
26180         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26181         implementation.
26182         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26184 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26188 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26190         [BZ #16408]
26191         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26192         for large positive arguments.
26194 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26196         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26198         * math/auto-libm-test-in: Mark various tests with
26199         xfail-rounding:ldbl-128ibm.
26200         * math/auto-libm-test-out: Regenerated.
26202         [BZ #16407]
26203         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26204         Increase overflow threshold.
26206 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26208         [BZ #14286]
26209         * stdio-common/vfprintf.c: Check for integer overflow.
26211 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26213         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26214         the first argument and return value of __tls_get_addr_internal.
26216 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26218         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26219         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26221 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26223         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26224         * sysdeps/s390/rtld-global-offsets.sym: New file.
26225         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26226         GLIBC_2.19 symbol.
26227         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26228         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26229         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26230         ... this.
26231         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26232         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26233         ... this.
26234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26235         Regenerate.
26236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26237         Regenerate.
26238         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26239         halfs of GPRs for high_gprs contexts.
26240         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26241         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26242         field.
26243         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26244         uc_flags field.
26245         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26246         64 bit versions:
26247         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26248         for high GPRs (uc_high_gprs) and for future extensions
26249         (__reserved).
26250         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26251         for future extensions (__reserved).
26252         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26253         64 bit versions:
26254         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26255         SC_HIGHGPRS offset definition.
26256         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26257         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26259         * Versions.def: Add GLIBC_2.19 for libpthread.
26260         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26261         siglongjmp for libpthread with GLIBC_2.19 symver.
26262         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26263         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26264         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26265         * sysdeps/s390/__longjmp.c: New file.
26266         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26267         * sysdeps/s390/longjmp.c: New file.
26268         * sysdeps/s390/setjmp.S: New file.
26269         * sysdeps/s390/sigjmp.S: New file.
26270         * sysdeps/s390/v1-longjmp.c: New file.
26271         * sysdeps/s390/v1-setjmp.h: New file.
26272         * sysdeps/s390/v1-sigjmp.c: New file.
26273         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26274         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26275         GLIBC_2.19 version.
26276         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26277         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26278         versioned symbols for ____longjmp_chk.
26279         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26280         Likewise.
26281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26282         Regenerate.
26283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26284         Regenerate.
26285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26286         Regenerate.
26287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26288         Regenerate.
26289         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26290         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26291         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26292         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26293         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26294         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26295         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26296         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26297         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26298         * sysdeps/s390/rtld-__longjmp.c: New file.
26299         * sysdeps/s390/rtld-setjmp.S: New file.
26301 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26303         [BZ #16400]
26304         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26305         Return -__logl (x) for small positive arguments without evaluating
26306         a polynomial.
26308 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26310         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26311         Rename to ...
26312         (__ptrace_peeksiginfo_args): ... this.
26313         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26314         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26315         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26317 2014-01-06  Allan McRae  <allan@archlinux.org>
26319         * inet/netinet/in.h: Fix typo in comment.
26321 2014-01-05  Andreas Jaeger  <aj@suse.de>
26323         * sysdeps/i386/fpu/libm-test-ulps: Update.
26325 2014-01-05  Allan McRae  <allan@archlinux.org>
26327         * po/libc.pot: Regenerated.
26329         * malloc/memusagestat.c: Fix gettext call formatting.
26331 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26333         * nscd/nscd.c: Improve usage() output.
26335 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26337         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26338         * sysdeps/unix/sysv/linux/configure: Regenerated.
26339         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26340         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26342 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26344         [BZ #16390]
26345         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26346         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26348 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26350         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26351         extra tokens at end of #undef directive.
26352         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26353         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26354         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26356 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26358         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26360         * math/auto-libm-test-in: Mark various tests with
26361         xfail-rounding:ldbl-128ibm.
26362         * math/auto-libm-test-out: Regenerated.
26364 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26366         [BZ #16386]
26367         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26368         numbers with subnormal high part when calculating exponent.
26370         [BZ #16385]
26371         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26372         fabs.
26374         [BZ #16384]
26375         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26376         M_LN2l.
26377         (__ieee754_acoshl): Use __log1pl not __log1p.
26379 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26381         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26382         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26383         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26384         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26385         (reused_arena, arena_get2): Convert to GNU style.
26386         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26387         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26388         (memalign_check, __malloc_set_state): Likewise.
26389         * malloc/mallocbug.c (main): Likewise.
26390         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26391         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26392         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26393         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26394         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26395         (__posix_memalign, malloc_info): Likewise.
26396         * malloc/malloc.h: Likewise.
26397         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26398         (mallochook, memalignhook, reallochook, mabort): Likewise.
26399         * malloc/mcheck.h: Likewise.
26400         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26401         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26402         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26403         * malloc/morecore.c (__default_morecore): Likewise.
26404         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26405         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26406         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26407         (print_and_abort): Likewise.
26408         * malloc/obstack.h: Likewise.
26409         * malloc/set-freeres.c (__libc_freeres): Likewise.
26410         * malloc/tst-mallocstate.c (main): Likewise.
26411         * malloc/tst-mtrace.c (main): Likewise.
26412         * malloc/tst-realloc.c (do_test): Likewise.
26414 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26416         [BZ #16366]
26417         * nscd/netgroupcache.c (do_notfound): New function.
26418         (addgetnetgrentX): Use it.
26420         [BZ # 16365]
26421         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26422         NSS_STATUS_NOTFOUND.
26424 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26426         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26429 2014-01-01  Allan McRae  <allan@archlinux.org>
26431         * scripts/update-copyrights: Update configure input file suffix.
26433         * NEWS: Update copyright year.
26434         * catgets/gencat.c: Likewise.
26435         * csu/version.c: Likewise.
26436         * debug/catchsegv.sh: Likewise.
26437         * debug/pcprofiledump.c: Likewise.
26438         * debug/xtrace.sh: Likewise.
26439         * elf/ldconfig.c: Likewise.
26440         * elf/ldd.bash.in: Likewise.
26441         * elf/pldd.c: Likewise.
26442         * elf/sotruss.ksh: Likewise.
26443         * elf/sprof.c: Likewise.
26444         * iconv/iconv_prog.c: Likewise.
26445         * iconv/iconvconfig.c: Likewise.
26446         * locale/programs/locale.c: Likewise.
26447         * locale/programs/localedef.c: Likewise.
26448         * login/programs/pt_chown.c: Likewise.
26449         * malloc/memusage.sh: Likewise.
26450         * malloc/memusagestat.c: Likewise.
26451         * malloc/mtrace.pl: Likewise.
26452         * manual/libc.texinfo: Likewise.
26453         * nscd/nscd.c: Likewise.
26454         * nss/getent.c: Likewise.
26455         * nss/makedb.c: Likewise.
26456         * posix/getconf.c: Likewise.
26457         * scripts/test-installation.pl: Likewise.
26459         * All files with FSF copyright notices: Update copyright dates
26460         using scripts/update-copyrights.
26461         * intl/plural.c: Regenerated.
26462         * locale/programs/charmap-kw.h: Likewise.
26463         * locale/programs/locfile-kw.h: Likewise.
26465 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26467         * sysdeps/unix/sysv/linux/configure: Regenerated.
26468         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26469         the linux/fanotify.h header.
26470         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26471         HAVE_LINUX_FANOTIFY_H is defined.
26473 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26475         * benchtests/cos-inputs: New inputs.
26476         * benchtests/sin-inputs: Likewise.
26478         * benchtests/atan-inputs: New inputs. Fix name of multiple
26479         precision fallback inputs.
26481         * benchtests/atanh-inputs: New inputs.
26482         * benchtests/tanh-inputs: Likewise.
26484         * benchtests/acosh-inputs: New inputs.
26485         * benchtests/asinh-inputs: Likewise.
26487         * benchtests/cosh-inputs: New inputs.
26488         * benchtests/sinh-inputs: Likewise.
26490         * benchtests/acos-inputs: Add more inputs.
26491         * benchtests/asin-inputs: Likewise.
26493 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26495         [BZ #16375]
26496         * manual/arith.texi: Fix spelling.
26497         * manual/charset.texi: Likewise.
26498         * manual/errno.texi: Likewise.
26499         * manual/filesys.texi: Likewise.
26500         * manual/lang.texi: Likewise.
26501         * manual/llio.texi: Likewise.
26502         * manual/locale.texi: Likewise.
26503         * manual/message.texi: Likewise.
26504         * manual/resource.texi: Likewise.
26505         * manual/search.texi: Likewise.
26506         * manual/setjmp.texi: Likewise.
26507         * manual/stdio.texi: Likewise.
26508         * manual/string.texi: Likewise.
26509         * manual/sysinfo.texi: Likewise.
26510         * manual/time.texi: Likewise.
26512 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26514         * po/sl.po: New file.
26516 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26518         * .gitignore: Add core/.gdbinit/.gdb_history.
26520 2013-12-27  Allan McRae  <allan@archlinux.org>
26522         [BZ #16369]
26523         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26524         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26526 2013-12-24  Brooks Moses  <bmoses@google.com>
26528         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26529         all compilers that claim C++98 compliance, not just GCC.
26530         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26531         Likewise.
26533 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26535         * NEWS: Restore accidentally deleted bug-fix entries.
26537 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26538             Ondřej Bílka  <neleai@seznam.cz>
26540         [BZ #15073]
26541         * malloc/malloc.c (_int_free): Perform sanity check only if we
26542         have_lock.
26544 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26546         [BZ #12986]
26547         * manual/stdio.texi (String Input Conversions): Clarify that character
26548         classes are not supported.
26550 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26554 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26556         [BZ #16337]
26557         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26558         Calculate results for small negative arguments directly rather
26559         than using reflection formula with special underflow handling.
26561         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26562         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26563         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26564         (fchflags): Likewise.
26565         (revoke): Likewise.
26566         (setlogin): Likewise.
26567         (sigaltstack): Likewise.
26568         (wait4): Likewise.
26569         (sigblock): Remove.
26570         (sigsetmask): Likewise.
26571         (wait3): Likewise.
26572         (waitpid): Likewise.
26573         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26574         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26575         file.
26576         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26577         * sysdeps/unix/bsd/Makefile: ... here.
26578         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26579         * sysdeps/unix/bsd/Versions: ... here.
26580         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26581         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26582         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26583         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26584         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26585         * sysdeps/unix/bsd/sigblock.c: ... here.
26586         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26587         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26588         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26589         * sysdeps/unix/bsd/sigvec.c: ... here.
26590         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26591         * sysdeps/unix/bsd/tcdrain.c: ... here.
26592         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26593         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26594         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26595         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26596         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26597         * sysdeps/unix/bsd/wait.c: ... here.
26598         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26599         * sysdeps/unix/bsd/wait3.c: ... here.
26600         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26601         * sysdeps/unix/bsd/waitpid.c: ... here.
26603 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26605         [BZ #16356]
26606         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26607         round-to-nearest for [!USE_AS_EXPM1L].
26608         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26609         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26610         more tests of exp and exp10.  Expect some exp10 tests to miss
26611         exceptions or fail in directed rounding modes.
26612         * math/auto-libm-test-out: Regenerated.
26613         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26614         (exp10_test_tonearest): New function.
26615         (exp10_towardzero_test_data): New array.
26616         (exp10_test_towardzero): New function.
26617         (exp10_downward_test_data): New array.
26618         (exp10_test_downward): New function.
26619         (exp10_upward_test_data): New array.
26620         (exp10_test_upward): New function.
26621         (main): Call the new functions.
26622         * sysdeps/i386/fpu/libm-test-ulps: Update.
26623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26625 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26627         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26628         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26629         * math/auto-libm-test-out: Regenerated.
26630         * math/libm-test.inc (acosh_test_data): Add more tests.
26631         (atanh_test_data): Likewise.
26632         (ceil_test_data): Likewise.
26633         (copysign_test_data): Likewise.
26634         * sysdeps/i386/fpu/libm-test-ulps: Update.
26635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26637         * timezone/checktab.awk: Update from tzcode 2013i.
26638         * timezone/private.h: Likewise.
26639         * timezone/scheck.c: Likewise.
26640         * timezone/tzfile.h: Likewise.
26641         * timezone/tzselect.ksh: Likewise.
26642         * timezone/zdump.c: Likewise.
26643         * timezone/zic.c: Likewise.
26645         * math/auto-libm-test-in: Add tests of cpow.
26646         * math/auto-libm-test-out: Regenerated.
26647         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26648         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26649         mpc_cc_c.
26650         (func_calc_desc): Add mpc_cc_c union field.
26651         (test_functions): Add cpow.
26652         (special_fill_2pi): New function.
26653         (special_real_inputs): Add 2pi.
26654         (calc_generic_results): Handle mpc_cc_c.
26655         * sysdeps/i386/fpu/libm-test-ulps: Update.
26656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26658         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26659         csqrt, ctan and ctanh.
26660         * math/auto-libm-test-out: Regenerated.
26661         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26662         (TEST_COND_x86): Likewise.
26663         (ccos_test_data): Use AUTO_TESTS_c_c.
26664         (ccosh_test_data): Likewise.
26665         (cexp_test_data): Likewise.
26666         (clog_test_data): Likewise.
26667         (csqrt_test_data): Likewise.
26668         (ctan_test_data): Likewise.
26669         (ctan_tonearest_test_data): Likewise.
26670         (ctan_towardzero_test_data): Likewise.
26671         (ctan_downward_test_data): Likewise.
26672         (ctan_upward_test_data): Likewise.
26673         (ctanh_test_data): Likewise.
26674         (ctanh_tonearest_test_data): Likewise.
26675         (ctanh_towardzero_test_data): Likewise.
26676         (ctanh_downward_test_data): Likewise.
26677         (ctanh_upward_test_data): Likewise.
26678         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26679         mpc_c_c.
26680         (func_calc_desc): Add mpc_c_c union field.
26681         (FUNC_mpc_c_c): New macro.
26682         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26683         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26684         ctanh.
26685         (special_fill_min_subnorm_p120): New function.
26686         (special_real_inputs): Add min_subnorm_p120.
26687         (calc_generic_results): Handle mpc_c_c.
26688         * sysdeps/i386/fpu/libm-test-ulps: Update.
26689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26691 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26693         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26694         (do_sin_slow): New functions.
26695         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26696         (cslow2, csloww1, csloww2): Use the new functions.
26698         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26699         Use M to change sign of result instead of X.  Assume X is
26700         positive.
26701         (csloww1): Likewise.
26702         (__sin): Adjust.
26703         (__cos): Adjust.
26705         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26706         arguments A and DA.
26707         (__sin): Adjust.
26708         (__cos): Likewise.
26710         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26711         (__cos): Likewise.
26712         (sloww1): Don't adjust sign of DX.
26713         (csloww1): Likewise.
26714         (sloww2): Use X directly and don't adjust sign of DX.
26715         (csloww2): Likewise.
26717 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26719         * math/auto-libm-test-in: Add tests of cabs and carg.
26720         * math/auto-libm-test-out: Regenerated.
26721         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26722         (carg_test_data): Likewise.
26723         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26724         mpc_c_f.
26725         (func_calc_desc): Add mpc_c_f union field.
26726         (test_functions): Add cabs and carg.
26727         (calc_generic_results): Handle mpc_c_f.
26729         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26730         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26731         as a macro and a compat symbol.
26732         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26733         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26734         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26735         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26736         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26737         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26738         not use .hidden.
26739         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26740         Likewise.
26741         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26742         Likewise.
26743         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26744         Likewise.
26745         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26746         Likewise.
26747         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26748         Likewise.
26749         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26750         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26751         from GLIBC_2.3.2.
26753 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26757 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26759         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26760         trailing whitespace removed.
26761         * scripts/config.guess: Update to version 2013-11-29.
26762         * scripts/config.sub: Update to version 2013-10-01.
26764         * math/auto-libm-test-in: Add tests of sincos.
26765         * math/auto-libm-test-out: Regenerated.
26766         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26768         mpfr_f_11.
26769         (func_calc_desc): Add mpfr_f_11 union field.
26770         (test_functions): Add sincos.
26771         (calc_generic_results): Handle mpfr_f_11.
26772         * sysdeps/i386/fpu/libm-test-ulps: Update.
26773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26775 2013-12-19  Andreas Schwab  <schwab@suse.de>
26777         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26778         CALL_MCOUNT.
26779         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26780         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26781         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26783 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26785         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26786         * sysdeps/i386/fpu/libm-test-ulps: Update.
26787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26789         [BZ #16293]
26790         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26791         round-to-nearest mode when using frndint.
26792         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26793         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26794         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26795         Likewise.
26796         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26797         sinh test to fail.
26798         * math/auto-libm-test-out: Regenerated.
26799         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26800         (TEST_COND_x86): Likewise.
26801         (expm1_tonearest_test_data): New array.
26802         (expm1_test_tonearest): New function.
26803         (expm1_towardzero_test_data): New array.
26804         (expm1_test_towardzero): New function.
26805         (expm1_downward_test_data): New array.
26806         (expm1_test_downward): New function.
26807         (expm1_upward_test_data): New array.
26808         (expm1_test_upward): New function.
26809         (main): Run the new test functions.
26810         * sysdeps/i386/fpu/libm-test-ulps: Update.
26811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26813         * include/features.h: Update comment documenting feature test
26814         macros.  Mention _DEFAULT_SOURCE in comment.
26815         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26816         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26817         _BSD_SOURCE and _SVID_SOURCE.
26818         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26819         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26820         !_SVID_SOURCE]: Likewise.
26821         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26822         (__USE_POSIX_IMPLICITLY): Define.
26823         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26824         (_POSIX_SOURCE): Undefine and redefine.
26825         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26826         (_POSIX_C_SOURCE): Likewise.
26827         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26828         (Feature Test Macros): Update documentation of default features.
26830 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26832         * benchtests/Makefile: Add bench-strtok.
26833         * benchtests/bench-strtok.c: New file: strtok benchtest.
26835 2013-12-19  Allan McRae  <allan@archlinux.org>
26837         * manual/install.texi: Suppress menu for plain text output.
26838         * INSTALL: Regenerated.
26840 2013-12-18  Brooks Moses  <bmoses@google.com>
26842         [BZ #15846]
26843         * misc/getauxval.c: Include errno.h.
26844         (__getauxval): Set errno to ENOENT if the requested type is not
26845         found.
26846         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26847         don't declare with __attribute_const__.
26848         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26849         * manual/startup.texi: Document that getauxval sets errno.
26851 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26853         * math/auto-libm-test-in: Add tests of jn and yn.
26854         * math/auto-libm-test-out: Regenerated.
26855         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26856         (yn_test_data): Likewise.
26857         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26858         mpfr_if_f.
26859         (func_calc_desc): Add mpfr_if_f union field.
26860         (FUNC_mpfr_if_f): New macro.
26861         (test_functions): Add jn and yn.
26862         (calc_generic_results): Assert type of second input for
26863         mpfr_ff_f.  Handle mpfr_if_f.
26864         (output_for_one_input_case): Disable all checking for arguments
26865         fitting floating-point types in case of an integer argument.
26866         * sysdeps/i386/fpu/libm-test-ulps: Update.
26867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26870         Don't expect fegetround reference in libm.so.
26872 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26874         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26875         $(config-cflags-nofma).
26877 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26879         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26880         * math/auto-libm-test-out: Regenerated.
26882         [BZ #16338]
26883         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26884         to determine exponent and adjust argument to have exponent of -1.
26885         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26886         log2.
26887         * math/auto-libm-test-out: Regenerated.
26888         * sysdeps/i386/fpu/libm-test-ulps: Update.
26889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26891 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26893         * manual/probes.texi: Remove cases when per-thread arenas are
26894         disabled.
26896 2013-12-18  Andreas Schwab  <schwab@suse.de>
26898         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26899         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26900         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26901         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26902         * sysdeps/i386/i686/multiarch/Makefile: Update.
26903         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26905 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26907         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26908         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26910 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26912         [BZ #15968]
26913         Support TZ transition times < 00:00:00.
26914         This is needed for version-3 tz-format files; it supports time
26915         stamps past 2037 for America/Godthab (the only entry in the tz
26916         database for which this change is relevant).
26917         * manual/time.texi (TZ Variable): Document transition times
26918         from -167:59:59 through -00:00:01.
26919         * time/tzset.c (tz_rule): Time of day is now signed.
26920         (__tzset_parse_tz): Parse negative time of day.
26922         Document TZ transition times >= 25:00:00.
26923         * manual/time.texi (TZ Variable): Document transition times from
26924         25:00:00 through 167:59:59.  These are already supported, and this
26925         support will help with version-3 tz-format files.
26927         * manual/time.texi (TZ Variable): Modernize North America example
26928         to reflect current (i.e., 2007-and-later) daylight saving rules.
26930         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26932 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26934         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26935         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26936         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26937         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26938         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26939         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26940         * sysdeps/unix/bsd/clock.c: Likewise.
26941         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26942         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26943         * sysdeps/unix/bsd/init-posix.c: Likewise.
26944         * sysdeps/unix/bsd/poll.c: Likewise.
26945         * sysdeps/unix/bsd/ptsname.c: Likewise.
26946         * sysdeps/unix/bsd/seekdir.c: Likewise.
26947         * sysdeps/unix/bsd/setegid.c: Likewise.
26948         * sysdeps/unix/bsd/seteuid.c: Likewise.
26949         * sysdeps/unix/bsd/setgid.c: Likewise.
26950         * sysdeps/unix/bsd/setrgid.c: Likewise.
26951         * sysdeps/unix/bsd/setruid.c: Likewise.
26952         * sysdeps/unix/bsd/setsid.c: Likewise.
26953         * sysdeps/unix/bsd/setuid.c: Likewise.
26954         * sysdeps/unix/bsd/sigaction.c: Likewise.
26955         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26956         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26957         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26958         * sysdeps/unix/bsd/telldir.c: Likewise.
26959         * sysdeps/unix/bsd/times.c: Likewise.
26960         * sysdeps/unix/bsd/usleep.c: Likewise.
26962         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26963         ($(objpfx)libbsd-compat.a): Remove rule.
26965         * include/features.h (__FAVOR_BSD): Do not define.
26966         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26967         features conflicting with POSIX.
26968         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26969         (_BSD_SOURCE): Remove description of not being a subset of other
26970         feature test macros.
26971         * manual/job.texi (getpgrp): Do not document BSD version.
26972         (getpgid): Do not document by reference to BSD getpgrp.
26973         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26974         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26975         * signal/signal.h [__FAVOR_BSD]: Likewise.
26976         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26977         instead of making contents conditional on [__FAVOR_BSD].
26978         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26980 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26984 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26986         [BZ #16314]
26987         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26988         values below 2**-450, not 2**-500.
26989         * math/auto-libm-test-in: Don't allow spurious underflow from
26990         hypot.
26991         * math/auto-libm-test-out: Regenerated.
26993         [BZ #16316]
26994         [BZ #16330]
26995         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26996         values of ha and hb and sort them after adjusting subnormal
26997         arguments.
26998         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26999         Likewise.
27000         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27001         values of ea and eb and sort them after adjusting subnormal
27002         arguments.
27003         * math/auto-libm-test-in: Do not expect some hypot tests of
27004         subnormals to fail.  Add more hypot tests.
27005         * math/auto-libm-test-out: Regenerated.
27007 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27009         [BZ #13304]
27010         * sysdeps/sh/s_fma.c: New file.
27011         * sysdeps/sh/s_fmaf.c: New file.
27012         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
27013         version.
27014         * sysdeps/sh/Implies: Add sh/soft-fp.
27016 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27018         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
27019         level of indirection to members `objname', `errstring', `malloced'.
27020         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27021         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27022         it as the __longjmp argument (just pass 1 instead).
27023         (_dl_catch_error): Initialize C with argument pointers and address of
27024         volatile local ERRCODE rather than copying values out of C at return.
27026 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27028         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27029         * math/auto-libm-test-out: Regenerated.
27030         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27031         (hypot_test_data): Likewise.
27032         (pow_test_data): Likewise.
27033         (pow_tonearest_test_data): Likewise.
27034         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27035         mpfr_ff_f.
27036         (func_calc_desc): Add mpfr_ff_f union field.
27037         (FUNC_mpfr_ff_f): New macro.
27038         (test_functions): Add atan2, hypot and pow.
27039         (special_fill_min): New function.
27040         (special_fill_minus_min): Likewise.
27041         (special_fill_min_subnorm): Likewise.
27042         (special_fill_minus_min_subnorm): Likewise.
27043         (special_real_inputs): Add min, -min, min_subnorm and
27044         -min_subnorm.
27045         (calc_generic_results): Handle mpfr_ff_f.
27046         * sysdeps/i386/fpu/libm-test-ulps: Update.
27047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27049 2013-12-16  Will Newton  <will.newton@linaro.org>
27051         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27052         (Aligned Memory Blocks): Add documentation for aligned_alloc
27053         and suggest it as an alternative to posix_memalign.
27054         (Hooks for Malloc): Document __memalign_hook is also called
27055         for aligned_alloc.  (Summary of Malloc): Add summary for
27056         aligned alloc.  Document __memalign_hook is also called
27057         for aligned_alloc.
27059 2013-12-16  Will Newton  <will.newton@linaro.org>
27061         * manual/memory.texi (Malloc Examples): Clarify default
27062         alignment documentation.  Suggest posix_memalign rather
27063         than memalign or valloc.
27064         (Aligned Memory Blocks): Remove suggestion to use memalign
27065         or valloc.  Remove obsolete comment about BSD.
27066         Document memalign errno values and mark the function obsolete.
27067         Document posix_memalign returned error codes.  Mark valloc
27068         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27069         called for posix_memalign and valloc.
27070         (Summary of Malloc): Add posix_memalign to function summary.
27071         __memalign_hook is also called for posix_memalign and valloc.
27073 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27075         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27076         TAYLOR_SIN.
27077         (__sin): Adjust.
27078         (__cos): Likewise.
27079         (sloww): Use mynumber union.  Expand ternary operator into
27080         if-else statements.
27081         (cslow): use mynumber union.
27083 2013-12-16  Allan McRae  <allan@archlinux.org>
27085         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27086         * configure: Regenerated.
27088         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27090         [BZ #14120]
27091         * configure.ac: Added --enable-maintainer-mode. Check for
27092         autoconf when enabled.
27093         * configure: Regenerated.
27095         * nscd/nscd.service: New file.
27096         * nscd/nscd.tmpfiles: New file.
27098 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27100         [BZ #12100]
27101         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27102         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27103         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27104         (strstr): Add __strstr_sse2_unaligned ifunc.
27105         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27106         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27107         (strcasestr): Remove __strcasestr_sse42 ifunc.
27108         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27109         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27112 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27114         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27115         * sysdeps/sh/bits/fenv.h: ... here.
27116         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27118 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27120         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27123         hypotf multiarch implementations.
27124         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27125         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27126         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27127         multiarch hypot for PPC64.
27128         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27129         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27130         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27131         multiarch hypotf for PPC64.
27133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27134         modff multiarch implementations.
27135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27138         multiarch modf for PPC64.
27139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27142         multiarch modff for PPC64.
27144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27145         and logl multiarch implementations.
27146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27149         multiarch logb for PPC64.
27150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27153         multiarch logb for PPC64.
27154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27157         multiarch logb for PPC64.
27159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27160         isinff multiarch implementation.
27161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27162         file.
27163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27165         multiarch isinf for PPC64.
27166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27167         file.
27168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27169         multiarch isinff for PPC64.
27171         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27172         finitef multiarch implementation.
27173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27174         file.
27175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27177         multiarch finite for PPC64.
27178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27179         file.
27180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27181         multiarch finitef for PPC64.
27183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27184         lrint multiarch implementation.
27185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27186         file.
27187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27189         multiarch llrint for PPC64.
27190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27191         multiarch lrint for PPC64.
27193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27194         copysignf multiarch implementation.
27195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27196         file.
27197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27198         file.
27199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27200         multiarch copysign for PPC64.
27201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27202         multiarch copysignf for PPC64.
27204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27205         multiarch implementation.
27206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27207         file.
27208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27209         file.
27210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27211         file.
27212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27213         file.
27214         multiarch llround for PPC64.
27215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27216         multiarch trunc for PPC64.
27217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27218         multiarch truncf for PPC64.
27220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27221         multiarch implementation.
27222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27223         file.
27224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27225         file.
27226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27227         file.
27228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27229         file.
27230         multiarch llround for PPC64.
27231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27232         multiarch round for PPC64.
27233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27234         multiarch roundf for PPC64.
27236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27237         multiarch implementation.
27238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27239         file.
27240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27241         file.
27242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27243         file.
27244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27245         file.
27246         multiarch llround for PPC64.
27247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27248         multiarch floor for PPC64.
27249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27250         multiarch floorf for PPC64.
27252         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27253         multiarch implementation.
27254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27255         file.
27256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27257         file.
27258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27259         file.
27260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27261         file.
27262         multiarch llround for PPC64.
27263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27264         multiarch ceil for PPC64.
27265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27266         multiarch ceilf for PPC64.
27268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27269         multiarch implementation.
27270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27271         file.
27272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27273         file.
27274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27275         file.
27276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27277         multiarch llround for PPC64.
27278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27279         multiarch lround for PPC64.
27281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27282         multiarch implementation.
27283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27286         file.
27287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27290         multiarch isnan for PPC64.
27291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27292         multiarch isnanf for PPC64.
27294         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27295         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27296         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27297         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27298         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27301         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27302         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27303         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27304         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27307         multiarch implementations.
27308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27309         (__libc_ifunc_impl_list): Likewise.
27310         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27311         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27312         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27313         multiarch stpcpy for PPC64.
27315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27316         multiarch implementations.
27317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27318         (__libc_ifunc_impl_list): Likewise.
27319         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27320         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27321         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27322         multiarch strcpy for PPC64.
27324         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27325         redefine function name.
27326         (_wordcopy_fwd_dest_aligned): Likewise.
27327         (_wordcopy_bwd_aligned): Likewise.
27328         (_wordcopy_bwd_dest_aligned): Likewise.
27329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27330         multiarch implementations.
27331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27332         (__libc_ifunc_impl_list): Likewise.
27333         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27334         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27335         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27336         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27337         multiarch wcscpy for PPC64.
27339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27340         multiarch implementations.
27341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27342         (__libc_ifunc_impl_list): Likewise.
27343         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27344         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27345         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27346         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27347         multiarch wcscpy for PPC64.
27349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27350         multiarch implementations.
27351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27352         (__libc_ifunc_impl_list): Likewise.
27353         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27354         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27355         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27356         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27357         multiarch wcsrchr for PPC64.
27359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27360         multiarch implementations.
27361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27362         (__libc_ifunc_impl_list): Likewise.
27363         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27364         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27365         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27366         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27367         multiarch wcschr for PPC64.
27369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27370         multiarch implementations.
27371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27372         (__libc_ifunc_impl_list): Likewise.
27373         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27374         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27375         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27376         multiarch strchrnul for PPC64.
27378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27379         implementations.
27380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27381         (__libc_ifunc_impl_list): Likewise.
27382         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27383         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27384         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27385         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27386         strchr for PPC64.
27388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27389         implementations.
27390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27391         (__libc_ifunc_impl_list): Likewise.
27392         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27393         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27394         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27395         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27396         strncmp for PPC64.
27398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27399         multiarch implementations.
27400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27401         (__libc_ifunc_impl_list): Likewise.
27402         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27403         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27404         strncasecmp for PPC64.
27405         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27406         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27407         multiarch strncasecmp_l for PPC64.
27409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27410         multiarch implementations.
27411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27412         (__libc_ifunc_impl_list): Likewise.
27413         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27414         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27415         multiarch strcasecmp for PPC64.
27416         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27417         file.
27418         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27419         multiarch strcasecmp_l for PPC64.
27421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27422         implementations.
27423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27424         (__libc_ifunc_impl_list): Likewise.
27425         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27426         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27427         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27428         strnlen for PPC64.
27430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27431         implementations.
27432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27433         (__libc_ifunc_impl_list): Likewise.
27434         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27435         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27436         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27437         strlen for PPC64.
27439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27440         implementations.
27441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27442         (__libc_ifunc_impl_list): Likewise.
27443         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27444         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27445         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27446         rawmemrchr for PPC64.
27448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27449         implementation.
27450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27451         (__libc_ifunc_impl_list): Likewise.
27452         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27453         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27454         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27455         memrchr for PPC64.
27457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27458         implementation.
27459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27460         (__libc_ifunc_impl_list): Likewise.
27461         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27462         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27463         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27464         memchr for PPC64.
27466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27467         implementation.
27468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27469         (__libc_ifunc_impl_list): Likewise.
27470         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27471         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27472         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27473         mempcpy for PPC64.
27475         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27476         avoid cretion of __bzero symbol.
27477         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27478         Likewise.
27479         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27480         Likewise.
27481         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27482         Likewise.
27483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27484         multiarch implementations.
27485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27486         (__libc_ifunc_impl_list): Likewise.
27487         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27488         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27489         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27490         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27491         bzero for PPC32.
27492         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27493         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27494         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27495         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27496         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27497         memset for PPC64.
27498         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27500         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27502         implementations.
27503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27504         (__libc_ifunc_impl_list): Likewise.
27505         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27506         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27507         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27508         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27509         memcmp for PPC64.
27511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27512         multiarch for POWER/PPC64.
27513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27514         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27515         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27516         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27517         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27518         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27519         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27520         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27521         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27522         memcpy for PPC64.
27524         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27525         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27526         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27527         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27528         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27529         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27530         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27531         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27532         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27533         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27534         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27535         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27536         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27537         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27538         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27547 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27549         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27551 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27553         * benchtests/Makefile (bench): Add exp2 and log2.
27554         (LDLIBS-bench-exp2): Add -lm.
27555         (LDLIBS-bench-log2): Likewise.
27556         * benchtests/exp2-inputs: New inputs file.
27557         * benchtests/log2-inputs: New inputs file.
27558         * benchtests/log-inputs: Add new inputs.
27559         * benchtests/tan-inputs: Likewise.
27561 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27563         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27564         definition...
27565         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27566         (csloww2): ... from here.
27568         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27569         instead of structures.
27570         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27571         (POLYNOMIAL): Likewise.
27572         (TAYLOR_SLOW): Likewise.
27573         (__sin): Likewise.
27574         (__cos): Likewise.
27575         (slow1): Likewise.
27576         (slow2): Likewise.
27577         (sloww): Likewise.
27578         (sloww1); Likewise.
27579         (sloww2): Likewise.
27580         (bsloww1): Likewise.
27581         (bsloww2): Likewise.
27582         (cslow2): Likewise.
27583         (csloww): Likewise.
27584         (csloww1): Likewise.
27585         (csloww2): Likewise.
27587 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27589         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27590         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27591         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27592         * malloc/hooks.c (realloc_check): Likewise.
27594         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27595         * malloc/arena.c: Remove PER_THREAD conditional.
27596         [!PER_THREAD]: Remove code.
27597         (ptmalloc_unlock_all2): Likewise.
27598         (ptmalloc_init): Likewise.
27599         (_int_new_arena): Likewise.
27600         (arena_get2): Likewise.
27601         * malloc/hooks.c (__malloc_get_state): Likewise.
27602         (__malloc_set_state): Likewise.
27603         * malloc/malloc.c: Likewise.
27604         (struct malloc_state): Likewise.
27605         (struct malloc_par): Likewise.
27606         (__libc_realloc): Likewise.
27607         (__libc_mallopt): Likewise.
27609 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27611         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27613 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27615         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27616         macro to a function.  Check for zero perturb_byte.
27617         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27619         * malloc/malloc.c: (force_reg): Remove.
27620         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27621         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27622         force_reg by atomic_forced_read.
27623         * malloc/arena.c (ptmalloc_init): Likewise.
27624         * malloc/hooks.c (top_check): Likewise.
27626 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27630 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27634 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27636         * math/auto-libm-test-in: Add tests of lgamma.
27637         * math/auto-libm-test-out: Regenerated.
27638         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27639         (M_LOG_2_SQRT_PIl): Likewise.
27640         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27641         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27642         mpfr_f_f1.
27643         (func_calc_desc): Add mpfr_f_f1 union field.
27644         (ARGS1): New macro.
27645         (ARGS2): Likewise.
27646         (ARGS3): Likewise.
27647         (ARGS4): Likewise.
27648         (RET1): Likewise.
27649         (RET2): Likewise.
27650         (CALC): Likewise.
27651         (FUNC): Likewise.
27652         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27653         (test_functions): Add lgamma.
27654         (calc_generic_results): Handle mpfr_f_f1.
27655         * sysdeps/i386/fpu/libm-test-ulps: Update.
27656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27658 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27660         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27661         __mpn_add_n for PowerPC64/POWER7.
27662         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27663         __mpn_sub_n for PowerPC64/POWER7.
27665         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27666         __mpn_addmul_1 for PowerPC64.
27667         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27668         __mpn_submul_1 for PowerPC64.
27669         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27670         for PowerPC64.
27671         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27672         for PowerPC64.
27674 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27676         [BZ #15089]
27677         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27679 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27681         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27683         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27684         add multiarch folders.
27685         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27686         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27687         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27688         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27689         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27690         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27691         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27692         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27693         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27694         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27695         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27704         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27706         New file.
27707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27708         New file.
27709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27710         multiarch __ieee754_hypot for PowerPC32.
27711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27712         New file.
27713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27714         New file.
27715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27716         multiarch __ieee754_hypotf for PowerPC32.
27718         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27719         long_double_symbol only if __logbl is defined.
27720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27721         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27722         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27723         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27724         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27725         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27726         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27727         path for implementation.
27728         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27729         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27731         logb, and logbl multiarch implementations for PowerPC32.
27732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27733         file.
27734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27735         file.
27736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27737         multiarch logb for PowerPC32.
27738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27739         file.
27740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27741         file.
27742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27743         multiarch logbf for PowerPC32.
27744         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27746         file.
27747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27748         multiarch logbl implementation for PowerPC32.
27750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27751         and modff multiarch implementations.
27752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27753         New file.
27754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27755         New file.
27756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27757         multiarch modf for PowerPC32.
27758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27759         New file.
27760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27761         New file.
27762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27763         multiarch modff for PowerPC32.
27765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27766         and lrintf multiarch implementations.
27767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27768         New file.
27769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27770         New file.
27771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27772         multiarch lrint for PowerPC32.
27773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27774         file: multiarch lrintf for PowerPC32.
27776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27777         and lroundf multiarch implementations.
27778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27779         New file.
27780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27781         New file.
27782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27783         New file.
27784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27785         multiarch lround for PowerPC32.
27786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27787         file: multiarch lroundf for PowerPC32.
27789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27790         copysign and copysignf multiarch implementations.
27791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27792         New file.
27793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27794         New file.
27795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27796         file: multiarch copysign for PowerPC32.
27797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27798         file: multiarch copysignf for PowerPC32.
27800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27801         and truncf multiarch implementations.
27802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27803         New file.
27804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27805         file.
27806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27807         multiarch trunc for PowerPC32.
27808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27809         New file.
27810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27811         New file.
27812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27813         multiarch truncf for PowerPC32.
27815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27816         and roundf multiarch implementations.
27817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27818         New file.
27819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27820         file.
27821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27822         multiarch round for PowerPC32.
27823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27824         New file.
27825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27826         New file.
27827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27828         multiarch roundf for PowerPC32.
27830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27831         and floorf multiarch implementations.
27832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27833         New file.
27834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27835         file.
27836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27837         multiarch floor for PowerPC32.
27838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27839         New file.
27840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27841         New file.
27842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27843         multiarch floorf for PowerPC32.
27845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27846         and ceilf multiarch implementations.
27847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27848         New file.
27849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27850         file.
27851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27852         multiarch ceil for PowerPC32.
27853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27854         New file.
27855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27856         file.
27857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27858         multiarch ceilf for PowerPC32.
27860         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27861         is defined.
27862         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27863         FINITEF is defined.
27864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27865         and finitef multiarch implementations.
27866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27867         New file.
27868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27869         file.
27870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27871         multiarch finite for PowerPC32.
27872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27873         New file.
27874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27875         file: multiarch finitef for PowerPC32.
27877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27878         and isinff multiarch implementations.
27879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27880         file.
27881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27882         file.
27883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27884         multiarch isinf for PowerPC32.
27885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27886         New file.
27887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27888         multiarch isinff for PowerPC32.
27890         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27891         alias when __isnan is defined.
27892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27893         and isnanf multiarch implementations.
27894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27895         file.
27896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27897         file.
27898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27899         file.
27900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27901         file.
27902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27903         multiarch isnan for PowerPC32.
27904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27905         New file.
27906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27907         New file.
27908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27909         multiarch isnanf for PowerPC32.
27911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27912         and sqrtf multiarch implementations.
27913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27914         file.
27915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27916         file.
27917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27918         multiarch sqrt for PowerPC32.
27919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27920         file.
27921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27922         file.
27923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27924         multiarch sqrtf for PowerPC32.
27926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27927         and llroundf multiarch implementations.
27928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27929         New file.
27930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27931         New file.
27932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27933         New file.
27934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27935         file: multiarch llround for PowerPC32.
27936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27937         file: multiarch llroundf for PowerPC32.
27939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27940         multiarch PowerPC32 fpu implementations.
27941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27942         New file.
27943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27944         New file.
27945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27946         multiarch llrint for PowerPC32.
27947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27948         New file.
27949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27950         New file.
27951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27952         file.
27954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27956         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27957         file.
27958         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27959         file.
27960         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27961         file.
27962         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27963         multiarch wordcopy for PPC32.
27964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27965         wordcopy objects.
27966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27967         (__libc_ifunc_impl_list): Likewise.
27968         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27969         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27970         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27971         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27972         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27973         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27975         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27976         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27977         file.
27978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27979         file.
27980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27981         file.
27982         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27983         multiarch wcscpy for PPC32.
27984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27985         multiarch objects.
27986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27987         (__libc_ifunc_impl_list): Likewise.
27988         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27989         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27990         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27991         sysdeps/powerpc/power6/wcscpy.c.
27993         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27994         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27995         file.
27996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27997         file.
27998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27999         file.
28000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28001         multiarch wcsrchr for PPC32.
28002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28003         multiarch objects.
28004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28005         (__libc_ifunc_impl_list): Likewise.
28006         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28007         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28008         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28009         sysdeps/powerpc/power6/wcsrchr.c.
28011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28012         file.
28013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28014         file.
28015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28017         multiarch wcschr for PPc32.
28018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28019         multiarch objects.
28020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28021         (__libc_ifunc_impl_list): Likewise.
28022         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28023         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28024         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28025         sysdeps/powerpc/power6/wcschr.c.
28027         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28028         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28029         file.
28030         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28031         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28032         file: multiarch strchr for PPC32.
28033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28034         multiarch objects.
28035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28036         (__libc_ifunc_impl_list): Likewise.
28038         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28039         name.
28040         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28041         file.
28042         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28043         file.
28044         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28045         multiarch strchrnul for PPC32.
28046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28047         multiarch objects.
28048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28049         (__libc_ifunc_impl_list): Likewise.
28051         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28052         file.
28053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28054         multiarch strncasecmp for PPC32.
28055         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28056         file.
28057         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28058         multiarch strncasecmp_l for PPC32.
28059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28060         strncasecmp multiarch objects.
28061         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28062         (__libc_ifunc_impl_list): Likewise.
28064         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28065         file.
28066         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28067         multiarch strncasecmp for PPC32.
28068         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28069         New file.
28070         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28071         multiarch strcasecmp_l for PPC32.
28072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28073         multiarch objects.
28074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28075         (__libc_ifunc_impl_list): Likewise.
28077         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28078         file.
28079         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28080         file.
28081         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28082         multiarch strncmp for PPC32.
28083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28084         multiarch objects.
28085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28086         (__libc_ifunc_impl_list): Likewise.
28088         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28089         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28090         file.
28091         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28092         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28094         multiarch objects.
28095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28096         (__libc_ifunc_impl_list): Likewise.
28098         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28099         file.
28100         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28101         file.
28102         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28104         multiarch objects.
28105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28106         (__libc_ifunc_impl_list): Likewise.
28108         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28109         file.
28110         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28111         file.
28112         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28113         multiarch rawmemchr for PPC32.
28114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28115         multiarch objects.
28116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28117         (__libc_ifunc_impl_list): Likewise.
28119         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28120         file.
28121         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28122         file.
28123         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28124         file: memrchr multiarch for PPC32.
28125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28126         multiarch objects.
28127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28128         (__libc_ifunc_impl_list): Likewise.
28130         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28131         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28132         file.
28133         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28134         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28135         multiarch memchr for PPC32.
28136         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28137         multiarch objects.
28138         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28139         (__libc_ifunc_impl_list): Likewise.
28141         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28142         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28143         file.
28144         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28145         file.
28146         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28147         file: multiarch mempcpy for PPC32.
28148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28149         multiarch objects.
28150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28151         (__libc_ifunc_impl_list): Likewise.
28153         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28154         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28155         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28156         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28157         multiarch bzero for PPC32.
28158         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28159         file.
28160         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28161         file.
28162         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28163         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28164         file: multiarch memset for PPC32.
28165         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28167         memset multiarch objects.
28168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28169         (__libc_ifunc_impl_list): Likewise.
28171         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28172         file.
28173         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28174         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28175         memcmp for PPC32.
28176         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28178         multiarch objects.
28179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28180         (__libc_ifunc_impl_list): Likewise.
28182         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28185         file.
28186         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28187         file.
28188         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28189         file.
28190         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28191         multiarch memcpy for PPC32.
28192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28193         multiarch objects.
28194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28195         (__libc_ifunc_impl_list): Likewise.
28197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28198         support multiarch for POWER/PPC32.
28199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28200         Likewise.
28201         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28203         Implies file to make multiarch folder appers before the fpu and
28204         default folder for power4 configuration.
28206 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28208         * scripts/bench.pl: Append volatile keyword to type.
28210 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28212         * sysdeps/sh/sotruss-lib.c: New file.
28213         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28215 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28219 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28221         [BZ #6810]
28222         * math/w_tgamma.c: Include <errno.h>.
28223         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28224         * math/w_tgammaf.c: Include <errno.h>.
28225         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28226         * math/w_tgammal.c: Include <errno.h>.
28227         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28228         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28229         underflow.  Add more tgamma tests.
28230         * math/auto-libm-test-out: Regenerated.
28231         * sysdeps/i386/fpu/libm-test-ulps: Update.
28232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28234         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28235         sin, sinh, tan, tanh, tgamma, y0 and y1.
28236         * math/auto-libm-test-out: Regenerated.
28237         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28238         (TEST_COND_x86): Likewise.
28239         (M_E2l): Remove macro.
28240         (M_E3l): Likewise.
28241         (M_2_SQRT_PIl): Likewise.
28242         (M_SQRT_PIl): Likewise.
28243         (M_1_DIV_El): Likewise.
28244         (log_test_data): Use AUTO_TESTS_f_f.
28245         (log10_test_data): Likewise.
28246         (log1p_test_data): Likewise.
28247         (log2_test_data): Likewise.
28248         (sin_test_data): Likewise.
28249         (sin_tonearest_test_data): Likewise.
28250         (sin_towardzero_test_data): Likewise.
28251         (sin_downward_test_data): Likewise.
28252         (sin_upward_test_data): Likewise.
28253         (sinh_test_data): Likewise.
28254         (sinh_tonearest_test_data): Likewise.
28255         (sinh_towardzero_test_data): Likewise.
28256         (sinh_downward_test_data): Likewise.
28257         (sinh_upward_test_data): Likewise.
28258         (tan_test_data): Likewise.
28259         (tan_tonearest_test_data): Likewise.
28260         (tan_towardzero_test_data): Likewise.
28261         (tan_downward_test_data): Likewise.
28262         (tan_upward_test_data): Likewise.
28263         (tanh_test_data): Likewise.
28264         (tgamma_test_data): Likewise.
28265         (y0_test_data): Likewise.
28266         (y1_test_data): Likewise.
28267         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28268         (special_real_inputs): Add pi/4.
28269         * sysdeps/i386/fpu/libm-test-ulps: Update.
28270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28272 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28274         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28275         "longjmp_target" static probes.
28276         (__longjmp): Rename to __longjmp_symbol.
28277         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28278         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28279         on which longjmp to generate.
28280         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28281         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28282         probe.
28283         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28284         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28285         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28286         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28287         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28288         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28290         __longjmp_symbol based on which __longjmp to generate.
28291         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28292         probe.
28293         (setjmp): Rename to setjmp_symbol.
28294         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28295         (_setjmp): Rename to _setjmp_symbol.
28296         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28297         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28298         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28299         which setjmp to generate.
28300         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28301         "longjmp_target" static probes.
28303 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28305         * benchtests/README: Add note about output arguments.
28306         * benchtests/bench-sincos.c: Remove file.
28307         * benchtests/sincos-inputs: New file.
28308         * scripts/bench.pl: Identify output arguments and define
28309         static variables for them.
28311         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28313         [BZ #15941]
28314         * Makefile (INSTALL): Add install-plain.texi as the primary
28315         dependency.
28316         * manual/install-plain.texi: New file.
28317         * manual/install.texi: Include node directive only for
28318         non-plaintext output.
28320 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28322         * stdlib/longlong.h: Update from GCC.
28324         [BZ #6807]
28325         [BZ #15901]
28326         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28327         * math/w_j0f.c (y0f): Likewise.
28328         * math/w_j0l.c (__y0l): Likewise.
28329         * math/w_j1.c (y1): Likewise.
28330         * math/w_j1f.c (y1f): Likewise.
28331         * math/w_j1l.c (__y1l): Likewise
28332         * math/w_jn.c (yn): Likewise.
28333         * math/w_jnf.c (ynf): Likewise.
28334         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28335         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28336         value for Bessel function domain errors outside _SVID_ mode.
28337         Adjust sign of return value for yn (negative integer, 0).
28338         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28339         by zero in return for negative x and set sign appropriately for
28340         negative n.
28341         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28342         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28343         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28344         expectations in error cases.
28345         (y1_test_data): Likewise.
28346         (yn_test_data): Likewise.
28347         * sysdeps/i386/fpu/libm-test-ulps: Update.
28348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28350 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28352         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28353         "64" to "64-v1".  Add "64-v2".
28354         (abi-64-options): Rename to ...
28355         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28356         (abi-64-condition): Rename to ...
28357         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28358         (abi-64-ld-soname): Rename to ...
28359         (abi-64-v1-ld-soname): ... this.
28360         (abi-64-v2-options): Define.
28361         (abi-64-v2-condition): Likewise.
28362         (abi-64-v2-ld-soname): Likewise.
28363         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28364         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28369 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28370             Alan Modra  <amodra@gmail.com>
28372         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28373         New versions for use with the ELFv2 ABI.
28374         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28375         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28376         declaration.
28377         (struct La_ppc64v2_retval): Likewise.
28378         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28379         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28380         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28381         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28382         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28383         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28384         Do not save or restore CR.
28385         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28386         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28387         return values for ELFv2 ABI.  Fix location of FPR return registers.
28388         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28389         updated values for _CALL_ELF == 2.
28390         (La_regs, La_retval, int_retval): Likewise.
28392 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28394         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28395         (FRAME_MIN_SIZE_PARM): Likewise.
28396         (FRAME_BACKCHAIN): Likewise.
28397         (FRAME_CR_SAVE): Likewise.
28398         (FRAME_LR_SAVE): Likewise.
28399         (FRAME_TOC_SAVE): Likewise.
28400         (FRAME_PARM_SAVE): Likewise.
28401         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28402         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28403         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28404         (call_mcount_parm_offset): New macro.
28405         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28406         (PROF): Use symbolic stack frame offsets.
28407         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28408         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28409         Redefine in terms of FRAME_MIN_SIZE.
28410         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28411         (_dl_profile_resolve): Likewise.  Update comment.
28412         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28413         symbols stack frame offsets.
28414         (__sigsetjmp): Likewise.
28415         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28416         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28417         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28418         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28421         (FRAME_BACKCHAIN): Remove.
28422         (FRAME_CR_SAVE): Likewise.
28423         (FRAME_LR_SAVE): Likewise.
28424         (FRAME_COMPILER_DW): Likewise.
28425         (FRAME_LINKER_DW): Likewise.
28426         (FRAME_TOC_SAVE): Likewise.
28427         (FRAME_PARM_SAVE): Likewise.
28428         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28429         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28430         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28432         (CHECK_SP): Use symbolic stack frame offsets.
28433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28434         zone" instead of caller's parameter save area for temp storage.
28435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28436         Likewise.  Also, use symbolic stack frame offsets.
28437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28438         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28439         our own stack frame instead of the caller's.
28440         (__socket): Use symbolic stack frame offsets.
28442 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28443             Alan Modra  <amodra@gmail.com>
28445         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28446         Define.
28447         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28448         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28449         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28450         New function.
28451         (elf_machine_fixup_plt): Call it.
28452         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28453         reloc arguments.
28454         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28455         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28456         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28457         r2 before calling target.
28459 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28460             Alan Modra  <amodra@gmail.com>
28462         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28463         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28464         versions of macros to support ELFv2 ABI.
28465         (LOCALENTRY): New macro.
28466         (ENTRY, EALIGN): Use it.
28467         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28468         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28469         fall through into ENTRY entry point.
28470         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28471         Only define if _CALL_ELF != 2.
28473         (elf_machine_matches_host): Verify ABI version matches.
28474         (RTLD_START): Use LOCALENTRY.
28475         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28476         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28477         (PLT_ENTRY_WORDS): New macro.
28478         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28479         (elf_machine_runtime_setup): Support ELFv2 ABI.
28480         (elf_machine_fixup_plt): Likewise.
28481         (elf_machine_plt_conflict): Likewise.
28482         (resolve_ifunc): Likewise.
28483         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28484         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28485         Likewise.
28486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28487         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28489         (makecontext): Support ELFv2 ABI.
28490         * elf/elf.h (EF_PPC64_ABI): Define.
28492 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28494         * sysdeps/powerpc/powerpc64/sysdep.h
28495         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28496         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28497         (ENTRY) [ASSEMBLER]: ... but instead here ...
28498         (EALIGN) [ASSEMBLER]: ... and here.
28499         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28500         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28501         (ENTRY_2) [!ASSEMBLER]: Use it.
28502         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28503         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28504         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28505         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28506         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28508         Use PPC64_LOAD_FUNCPTR.
28510         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28512 2013-12-04  Alan Modra  <amodra@gmail.com>
28514         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28515         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28516         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28517         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28519         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28520         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28521         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28522         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28523         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28524         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28526 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28529         (__makecontext): Fix incorrect CFI when backtracing out of
28530         context created via makecontext.
28531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28532         (__setcontext): Fix incorrect CFI during switch to new context.
28533         (__novec_setcontext): Likewise.
28535 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28537         [BZ #4772]
28538         * time/strptime_l.c (__strptime_internal): Allow modifiers
28539         in strptime.
28540         * time/tst-strptime.c (day_tests): Add testcase.
28542 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28544         * scripts/bench.pl: Skip over blank lines.
28546 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28548         [BZ #926]
28549         * manual/time.texi (Calendar Time): Clarify what timezone functions
28550         use.
28552 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28556 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28558         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28559         implementation.
28560         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28561         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28562         * debug/memset_chk.c (__memset_chk): Likewise.
28563         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28564         * debug/strncpy_chk.c: Likewise.
28566 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28568         [BZ #15268]
28569         [BZ #15425]
28570         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28571         (__ieee754_exp): For possibly underflowing results, check size of
28572         result and force underflow exception if required.
28573         * math/auto-libm-test-in: Add more tests of exp.
28574         * math/auto-libm-test-out: Regenerated.
28575         * sysdeps/i386/fpu/libm-test-ulps: Update.
28576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28578         [BZ #16283]
28579         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28580         * math/w_exp2f.c (__exp2f): Likewise.
28581         * math/w_exp2l.c (__exp2l): Likewise.
28582         * math/auto-libm-test-in: Do not allow missing errno on exp2
28583         underflow.
28584         * math/auto-libm-test-out: Regenerated.
28586 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28588         [BZ #16274]
28589         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28590         handle filename validation.
28591         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28592         (do_open): Delete.
28594 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28596         [BZ #6786]
28597         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28598         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28599         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28600         <float.h>.
28601         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28602         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28603         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28604         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28605         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28606         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28607         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28608         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28609         Add more erfc tests.
28610         * math/auto-libm-test-out: Regenerated.
28611         * sysdeps/i386/fpu/libm-test-ulps: Update.
28612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28614         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28615         exp2, expm1, j0 and j1.
28616         * math/auto-libm-test-out: Regenerated.
28617         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28618         (erfc_test_data): Likewise.
28619         (exp_test_data): Likewise.
28620         (exp_tonearest_test_data): Likewise.
28621         (exp_towardzero_test_data): Likewise.
28622         (exp_downward_test_data): Likewise.
28623         (exp_upward_test_data): Likewise.
28624         (exp10_test_data): Likewise.
28625         (exp2_test_data): Likewise.
28626         (expm1_test_data): Likewise.
28627         (j0_test_data): Likewise.
28628         (j1_test_data): Likewise.
28629         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28630         (input_flag_type): Add flag_xfail_rounding.
28631         (input_flags): Add xfail-rounding.
28632         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28633         (output_for_one_input_case): Handle flag_xfail_rounding.
28634         * sysdeps/i386/fpu/libm-test-ulps: Update.
28635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28637 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28639         [BZ #16289]
28640         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28641         division by 0.
28643 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28645         [BZ #16195]
28646         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28647         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28648         (STAP_PROBE0): New macro.
28649         (STAP_PROBE1): Likewise.
28650         (STAP_PROBE2): Likewise.
28651         (STAP_PROBE3): Likewise.
28652         (STAP_PROBE4): Likewise.
28654 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28656         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28658 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28660         * benchtests/Makefile (bench): Add sqrt.
28661         (LDLIBS-bench-sqrt): New.
28662         * benchtests/sqrt-input: New.
28664 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28666         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28667         (GAIH_EAI): Likewise.
28668         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28669         (gaih_inet): Likewise.
28670         (getaddrinfo): Don't use GAIH_EAI.
28672         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28673         (struct gaih): Remove definition.
28675 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28677         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28678         Use HERRNOP directly.
28680 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28684 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28686         * math/gen-auto-libm-tests.c (test_functions): Add more
28687         single-argument functions.
28688         (special_fill_pi_2): New function.
28689         (special_fill_minus_pi_2): Likewise.
28690         (special_fill_pi_6): Likewise.
28691         (special_fill_minus_pi_6): Likewise.
28692         (special_fill_pi_3): Likewise.
28693         (special_fill_2pi_3): Likewise.
28694         (special_fill_e): Likewise.
28695         (special_fill_1_e): Likewise.
28696         (special_fill_e_minus_1): Likewise.
28697         (special_real_inputs): Add more special inputs.
28698         (output_for_one_input_case): Do not require ERANGE on underflow to
28699         zero if round-to-nearest result does not underflow to zero, unless
28700         exact results required.
28701         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28702         atan, atanh, cbrt, cos and cosh.
28703         * math/auto-libm-test-out: Regenerated.
28704         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28705         (acos_tonearest_test_data): Likewise.
28706         (acos_towardzero_test_data): Likewise.
28707         (acos_downward_test_data): Likewise.
28708         (acos_upward_test_data): Likewise.
28709         (acosh_test_data): Likewise.
28710         (asin_test_data): Likewise.
28711         (asin_tonearest_test_data): Likewise.
28712         (asin_towardzero_test_data): Likewise.
28713         (asin_upward_test_data): Likewise.
28714         (asinh_test_data): Likewise.
28715         (atan_test_data): Likewise.
28716         (atanh_test_data): Likewise.
28717         (cbrt_test_data): Likewise.
28718         (cos_test_data): Likewise.
28719         (cos_tonearest_test_data): Likewise.
28720         (cos_towardzero_test_data): Likewise.
28721         (cos_downward_test_data): Likewise.
28722         (cos_upward_test_data): Likewise.
28723         (cosh_test_data): Likewise.
28724         (cosh_tonearest_test_data): Likewise.
28725         (cosh_towardzero_test_data): Likewise.
28726         (cosh_downward_test_data): Likewise.
28727         (cosh_upward_test_data): Likewise.
28728         * sysdeps/i386/fpu/libm-test-ulps: Update.
28729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28731 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28733         [BZ #6787]
28734         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28735         * math/w_exp10f.c (__exp10f): Likewise.
28736         * math/w_exp10l.c (__exp10l): Likewise.
28737         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28738         errno settings in existing tests.
28740         [BZ #14032]
28741         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28742         precision control set to double precision.
28743         * sysdeps/i386/fpu/w_sqrt.c: New file.
28744         * math/auto-libm-test-in: Add more tests.
28745         * math/auto-libm-test-out: Update.
28747         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28748         (sqrt_test_tonearest): New function.
28749         (sqrt_towardzero_test_data): New variable.
28750         (sqrt_test_towardzero): New function.
28751         (sqrt_downward_test_data): New variable.
28752         (sqrt_test_downward): New function.
28753         (sqrt_upward_test_data): New variable.
28754         (sqrt_test_upward): New function.
28755         (main): Call the new functions.
28757         * math/gen-auto-libm-tests.c: New file.
28758         * math/auto-libm-test-in: Likewise.
28759         * math/auto-libm-test-out: New generated file.
28760         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28761         variables.
28762         (%beautify): Add generated representations of zero.
28763         (top level): Set $auto_input and call parse_auto_input.
28764         (beautify): Remove trailing "f" from hex float constants.
28765         (parse_args): Handle XFAIL_TEST.
28766         (convert_condition): New function.
28767         (or_value): Likewise.
28768         (or_cond_value): Likewise.
28769         (generate_testfile): Handle AUTO_TESTS_* lines.
28770         (parse_auto_input): New function.
28771         * math/libm-test.inc (XFAIL_TEST): New macro.
28772         (ERRNO_UNCHANGED): Update value.
28773         (ERRNO_EDOM): Likewise.
28774         (ERRNO_ERANGE): Likewise.
28775         (IGNORE_RESULT): Likewise.
28776         (TEST_COND_flt_32): New macro.
28777         (TEST_COND_dbl_64): Likewise.
28778         (TEST_COND_ldbl_96_intel): Likewise.
28779         (TEST_COND_ldbl_96_m68k): Likewise.
28780         (TEST_COND_ldbl_128): Likewise.
28781         (TEST_COND_ldbl_128ibm): Likewise.
28782         (TEST_COND_long32): Likewise.
28783         (TEST_COND_long64): Likewise.
28784         (TEST_COND_before_rounding): Likewise.
28785         (TEST_COND_after_rounding): Likewise.
28786         (enable_test): Handle XFAIL_TEST flag.
28787         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28788         with finite results.
28789         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28790         auto-libm-test-out.
28792 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28793             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28795         [BZ #16214]
28796         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28797         __tls_get_addr_internal instead of __tls_get_offset in order to
28798         avoid GOT pointer dependency.  Make rtld export
28799         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28800         __tls_get_addr since we are a __tls_get_offset platform.
28801         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28802         GOT pointer being set up before.
28803         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28805 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28807         * manual/math.texi (Errors in Math Functions): Document accuracy
28808         goals.
28810         [BZ #15004]
28811         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28812         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28813         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28814         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28815         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28816         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28817         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28818         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28819         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28820         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28821         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28822         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28823         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28824         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28825         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28826         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28828         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28829         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28830         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28831         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28832         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28833         Likewise.
28834         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28835         Likewise.
28836         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28837         Likewise.
28838         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28839         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28840         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28841         atomic-feupdateenv and flt-rounds.
28842         * sysdeps/powerpc/nofpu/Versions (libc): Add
28843         __atomic_feholdexcept, __atomic_feclearexcept,
28844         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28845         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28846         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28847         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28848         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28849         here.
28850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28851         Update.
28853         * manual/arith.texi (FP Exceptions): Document that exceptions may
28854         not be raised when matherr is used.
28855         (Math Error Reporting): Document overflow in directed rounding
28856         modes.  Document that errno may not be set when finite values are
28857         returned on overflow.  Document intent to set errno on underflow
28858         only for underflow to zero.
28860         [BZ #16271]
28861         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28862         round-to-nearest then adjust result for other rounding modes.
28863         * include/fenv.h (fegetround): Use libm_hidden_proto.
28864         * math/fegetround.c (fegetround): Use libm_hidden_def.
28865         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28866         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28867         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28868         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28869         Likewise.
28870         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28871         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28872         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28873         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28875 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28877         [BZ #16077]
28878         * nss/Versions (libnss_files): Add
28879         _nss_files_gethostbyname3_r.
28880         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28881         New function.
28882         (HOST_DB_LOOKUP): Remove macro.
28883         (_nss_files_gethostbyname_r): Implement function without the
28884         HOST_DB_LOOKUP macro.
28885         (_nss_files_gethostbyname2_r): Likewise.
28887 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28889         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28891 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28893         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28894         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28895         warning.
28897 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28899         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28900         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28901         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28902         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28903         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28904         __fe_nomask_env_priv and attribute_hidden.
28905         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28906         (libc_feupdateenv_test_ppc): Likewise.
28907         (libc_feresetround_ppc): Likewise.
28908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28909         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28910         compat_symbol macro.
28911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28912         (__fe_nomask_env): Likewise.
28913         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28915 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28917         * string/Makefile: Remove ifunc tests.
28918         * string/test-string.h: Define TEST_IFUNC.
28919         * string/test-bcopy-ifunc.c: Remove.
28920         * string/test-bzero-ifunc.c: Likewise.
28921         * string/test-memccpy-ifunc.c: Likewise.
28922         * string/test-memchr-ifunc.c: Likewise.
28923         * string/test-memcmp-ifunc.c: Likewise.
28924         * string/test-memcpy-ifunc.c: Likewise.
28925         * string/test-memmem-ifunc.c: Likewise.
28926         * string/test-memmove-ifunc.c: Likewise.
28927         * string/test-mempcpy-ifunc.c: Likewise.
28928         * string/test-memrchr-ifunc.c: Likewise.
28929         * string/test-memset-ifunc.c: Likewise.
28930         * string/test-rawmemchr-ifunc.c: Likewise.
28931         * string/test-stpcpy-ifunc.c: Likewise.
28932         * string/test-stpncpy-ifunc.c: Likewise.
28933         * string/test-strcasecmp-ifunc.c: Likewise.
28934         * string/test-strcasestr-ifunc.c: Likewise.
28935         * string/test-strcat-ifunc.c: Likewise.
28936         * string/test-strchr-ifunc.c: Likewise.
28937         * string/test-strchrnul-ifunc.c: Likewise.
28938         * string/test-strcmp-ifunc.c: Likewise.
28939         * string/test-strcpy-ifunc.c: Likewise.
28940         * string/test-strcspn-ifunc.c: Likewise.
28941         * string/test-strlen-ifunc.c: Likewise.
28942         * string/test-strncasecmp-ifunc.c: Likewise.
28943         * string/test-strncat-ifunc.c: Likewise.
28944         * string/test-strncmp-ifunc.c: Likewise.
28945         * string/test-strncpy-ifunc.c: Likewise.
28946         * string/test-strnlen-ifunc.c: Likewise.
28947         * string/test-strpbrk-ifunc.c: Likewise.
28948         * string/test-strrchr-ifunc.c: Likewise.
28949         * string/test-strspn-ifunc.c: Likewise.
28950         * string/test-strstr-ifunc.c: Likewise.
28952 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28954         * benchtests/Makefile: Remove ifunc tests.
28955         * benchtests/bench-string.h: Define TEST_IFUNC.
28956         * benchtests/bench-bcopy-ifunc.c: Remove.
28957         * benchtests/bench-bzero-ifunc.c: Likewise.
28958         * benchtests/bench-memccpy-ifunc.c: Likewise.
28959         * benchtests/bench-memchr-ifunc.c: Likewise.
28960         * benchtests/bench-memcmp-ifunc.c: Likewise.
28961         * benchtests/bench-memcpy-ifunc.c: Likewise.
28962         * benchtests/bench-memmem-ifunc.c: Likewise.
28963         * benchtests/bench-memmove-ifunc.c: Likewise.
28964         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28965         * benchtests/bench-memrchr-ifunc.c: Likewise.
28966         * benchtests/bench-memset-ifunc.c: Likewise.
28967         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28968         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28969         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28970         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28971         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28972         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28973         * benchtests/bench-strcat-ifunc.c: Likewise.
28974         * benchtests/bench-strchr-ifunc.c: Likewise.
28975         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28976         * benchtests/bench-strcmp-ifunc.c: Likewise.
28977         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28978         * benchtests/bench-strcpy-ifunc.c: Likewise.
28979         * benchtests/bench-strcspn-ifunc.c: Likewise.
28980         * benchtests/bench-strlen-ifunc.c: Likewise.
28981         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28982         * benchtests/bench-strncat-ifunc.c: Likewise.
28983         * benchtests/bench-strncmp-ifunc.c: Likewise.
28984         * benchtests/bench-strncpy-ifunc.c: Likewise.
28985         * benchtests/bench-strnlen-ifunc.c: Likewise.
28986         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28987         * benchtests/bench-strrchr-ifunc.c: Likewise.
28988         * benchtests/bench-strsep-ifunc.c: Likewise.
28989         * benchtests/bench-strspn-ifunc.c: Likewise.
28990         * benchtests/bench-strstr-ifunc.c: Likewise.
28992 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28994         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28996 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28998         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28999         * rt/aio.h: Likewise.
29000         * sysdeps/gnu/bits/utmp.h: Likewise.
29001         * sysdeps/gnu/bits/utmpx.h: Likewise.
29002         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29003         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29004         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29005         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29006         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29007         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29008         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29009         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29010         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29011         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29012         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29013         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29014         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29016         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29017         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29018         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29019         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29020         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29021         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29022         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29023         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29024         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29025         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29026         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29027         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29028         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29029         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29030         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29031         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29032         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29033         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29034         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29035         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29036         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29037         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29038         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29039         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29040         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29041         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29042         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29043         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29045 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29047         [BZ #16245]
29048         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29049         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29051 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29053         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29054         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29055         Likewise.
29057 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29059         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29060         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29061         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29062         (__fesetround): Remove define.
29063         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29064         rounding and exceptions handling.
29065         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29066         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29067         (__fe_nomask_env): Likewise.
29068         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29069         __fegetround instead of fegetround.
29070         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29071         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29073 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29075         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29076         it's there.
29078         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29080 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29082         [BZ #11157]
29083         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29084         (encrypt_r): Likewise.
29085         * malloc/obstack.h (obstack_free): Likewise.
29086         * posix/unistd.h (encrypt): Likewise.
29088 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29090         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29091         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29092         DL_CALL_DT_FINI() that call the functions directly.
29093         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29094         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29095         * elf/dl-fini.c: Likewise.
29097 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29099         * malloc/hooks.c (memalign_check): Add alignment rounding.
29100         * malloc/malloc.c (_mid_memalign): New function.
29101         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29102         Implement by calling _mid_memalign.
29103         * manual/probes.texi (Memory Allocation Probes): Remove
29104         memory_valloc_retry and memory_pvalloc_retry.
29106 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29108         * locale/programs/locarchive.c (open_archive): Add const
29109         qualifier to ARCHIVEFNAME and copy default fname to
29110         DEFAULT_FNAME.
29112         [BZ #15601]
29113         * libio/tst-widetext.input: Rename Oriya to Odia.
29114         * locale/iso-639.def: Likewise.
29116         * manual/probes.texi (Mathematical Function Probes): Add
29117         documentation for sin, cos, asin and acos probes.
29118         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29119         (__sin32): Add slowasin probe.
29120         (__cos32): Add slowacos probe.
29121         (__mpsin): Add slowsin probe.
29122         (__mpcos): Add slowcos probe.
29124 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29126         [BZ #15483]
29127         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29128         thread-local __sim_exceptions_thread and global
29129         __sim_exceptions_global.
29130         (__sim_disabled_exceptions): Change to thread-local
29131         __sim_disabled_exceptions_thread and global
29132         __sim_disabled_exceptions_global.
29133         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29134         and global __sim_round_mode_global.
29135         (__simulate_exceptions): Use thread-local floating-point state and
29136         set global state from it as needed.
29137         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29138         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29139         __sim_round_mode_thread.
29140         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29141         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29142         and global __sim_exceptions_global.
29143         (__sim_disabled_exceptions): Change to thread-local
29144         __sim_disabled_exceptions_thread and global
29145         __sim_disabled_exceptions_global.
29146         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29147         and global __sim_round_mode_global.
29148         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29149         (SIM_SET_GLOBAL): Likewise.
29150         * sysdeps/powerpc/soft-fp/sfp-machine.h
29151         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29152         __sim_round_mode_thread.
29153         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29154         __sim_disabled_exceptions_thread.
29155         (__sim_exceptions): Change to __sim_exceptions_thread.
29156         (__sim_disabled_exceptions): Change to
29157         __sim_disabled_exceptions_thread.
29158         (__sim_round_mode): Change to __sim_round_mode_thread.
29159         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29160         thread-local floating-point state and set global state from it as
29161         needed.
29162         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29163         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29164         (__sim_disabled_exceptions): Remove extern declaration.
29165         (feenableexcept): Use thread-local floating-point state and set
29166         global state from it as needed.
29167         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29168         extern declaration.
29169         (__sim_disabled_exceptions): Likewise.
29170         (__sim_round_mode): Likewise.
29171         (__fegetenv): Use thread-local floating-point state.
29172         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29173         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29174         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29175         floating-point state and set global state from it as needed.
29176         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29177         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29178         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29179         Likewise.
29180         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29181         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29182         Likewise.
29183         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29184         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29185         Use __sim_round_mode_thread.
29186         * math/test-fenv-tls.c: New file.
29187         * math/Makefile (tests): Add test-fenv-tls.
29188         ($(objpfx)test-fenv-tls): Depend on
29189         $(common-objpfx)nptl/libpthread.so.
29191 2013-11-19  Andreas Schwab  <schwab@suse.de>
29193         * locale/programs/locale.c (show_info): Decode wordarray elements.
29194         * locale/categories.def (LC_MONETARY): Add element for
29195         _NL_MONETARY_CRNCYSTR.
29196         * locale/C-monetary.c (conversion_rate): New variable.
29197         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29198         element.
29200 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29202         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29203         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29205 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29207         * elf/Makefile (tst-auxv): New test.
29208         * elf/tst-auxv.c: New
29209         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29211 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29213         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29214         (hidden_proto): Caller changed.
29215         (hidden_tls_proto): New macro.
29216         (libc_hidden_tls_proto): Likewise.
29217         (rtld_hidden_tls_proto): Likewise.
29218         (libm_hidden_tls_proto): Likewise.
29219         (libresolv_hidden_tls_proto): Likewise.
29220         (librt_hidden_tls_proto): Likewise.
29221         (libdl_hidden_tls_proto): Likewise.
29222         (libnss_files_hidden_tls_proto): Likewise.
29223         (libnsl_hidden_tls_proto): Likewise.
29224         (libnss_nisplus_hidden_tls_proto): Likewise.
29225         (libutil_hidden_tls_proto): Likewise.
29227 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29229         [BZ #10253]
29230         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29231         (decompose_rpath): Defer expansion to fillin_rpath.
29232         (_dl_init_paths): Pass linkmap to fillin_rpath.
29234 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29236         * benchtests/Makefile: Add strsep.
29237         * benchtests/bench-strsep.c: New file: strsep benchtest.
29238         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29240 2013-11-18  Andreas Schwab  <schwab@suse.de>
29242         * locale/programs/locale.c (show_info) [case byte]: Check for
29243         '\377' instead of '\177'.
29244         * locale/C-monetary.c (not_available): Always use "\377".
29245         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29246         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29247         detect unavailable sign_posn locale elements.
29248         * locale/localeconv.c (__localeconv): For grouping and
29249         mon_grouping handle "\177" and "\377" like no grouping.
29250         (INT_ELEM): New macro.  Use it to set all numeric members.
29251         * locale/programs/ld-monetary.c (monetary_read)
29252         <tok_mon_grouping>: Normalize single -1 to the empty string.
29253         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29254         Likewise.
29256 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29258         [BZ #16055]
29259         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29260         when we match (nil).
29261         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29263 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29265         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29266         (NO_TEST_INLINE): Update value.
29267         (ERRNO_UNCHANGED): Likewise.
29268         (ERRNO_EDOM): Likewise.
29269         (ERRNO_ERANGE): Likewise.
29270         (IGNORE_RESULT): Likewise.
29271         (check_float_internal): Check signs of NaN results if
29272         TEST_NAN_SIGN used.
29273         (check_complex): Pass TEST_NAN_SIGN flag through to second
29274         check_float_internal call.
29275         (copysign_test_data): Add tests with quiet NaNs as second
29276         argument.  Use TEST_NAN_SIGN.
29277         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29278         TEST_NAN_SIGN.
29279         (signbit_test_data): Add tests of quiet NaN argument.
29280         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29282         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29283         $ignore_result.
29284         (parse_args): Handle function results specified as IGNORE.
29285         * math/libm-test.inc (IGNORE_RESULT): New macro.
29286         (check_float_internal): Do not check numerical result if flag
29287         IGNORE_RESULT set.
29288         (check_complex): Pass through IGNORE_RESULT to second
29289         check_float_internal call.
29290         (check_int): Do not check numerical result if flag IGNORE_RESULT
29291         set.
29292         (check_long): Likewise.
29293         (check_bool): Likewise.
29294         (check_longlong): Likewise.
29295         (lrint_test_data): Add tests of infinite and NaN arguments.
29296         (lrint_tonearest_test_data): Likewise.
29297         (lrint_towardzero_test_data): Likewise.
29298         (lrint_downward_test_data): Likewise.
29299         (lrint_upward_test_data): Likewise.
29300         (llrint_test_data): Likewise.
29301         (llrint_tonearest_test_data): Likewise.
29302         (llrint_towardzero_test_data): Likewise.
29303         (llrint_downward_test_data): Likewise.
29304         (llrint_upward_test_data): Likewise.
29305         (lround_test_data): Likewise.
29306         (llround_test_data): Likewise.
29308         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29309         (ERRNO_UNCHANGED): Update value.
29310         (ERRNO_EDOM): Likewise.
29311         (ERRNO_ERANGE): Likewise.
29312         (NO_TEST_INLINE_FLOAT): New macro.
29313         (NO_TEST_INLINE_DOUBLE): Likewise.
29314         (enable_test): New function.
29315         (RUN_TEST_f_f): Check enable_test before running test.
29316         (RUN_TEST_2_f): Likewise.
29317         (RUN_TEST_fff_f): Likewise.
29318         (RUN_TEST_c_f): Likewise.
29319         (RUN_TEST_f_f1): Likewise.
29320         (RUN_TEST_fF_f1): Likewise.
29321         (RUN_TEST_fI_f1): Likewise.
29322         (RUN_TEST_ffI_f1): Likewise.
29323         (RUN_TEST_c_c): Likewise.
29324         (RUN_TEST_cc_c): Likewise.
29325         (RUN_TEST_f_i): Likewise.
29326         (RUN_TEST_f_i_tg): Likewise.
29327         (RUN_TEST_ff_i_tg): Likewise.
29328         (RUN_TEST_f_b): Likewise.
29329         (RUN_TEST_f_b_tg): Likewise.
29330         (RUN_TEST_f_l): Likewise.
29331         (RUN_TEST_f_L): Likewise.
29332         (RUN_TEST_fFF_11): Likewise.
29333         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29334         conditionals.
29335         (cosh_test_data): Likewise.
29336         (exp_test_data): Likewise.
29337         (expm1_test_data): Likewise.
29338         (hypot_test_data): Likewise.
29339         (pow_test_data): Likewise.
29340         (sinh_test_data): Likewise.
29341         (tanh_test_data): Likewise.
29342         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29343         flags argument.
29345         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29346         tests with quiet NaN input and output.
29347         (acosh_test_data): Likewise.
29348         (asin_test_data): Likewise.
29349         (asinh_test_data): Likewise.
29350         (atan_test_data): Likewise.
29351         (atanh_test_data): Likewise.
29352         (atan2_test_data): Likewise.
29353         (cbrt_test_data): Likewise.
29354         (cos_test_data): Likewise.
29355         (cosh_test_data): Likewise.
29356         (erf_test_data): Likewise.
29357         (erfc_test_data): Likewise.
29358         (exp_test_data): Likewise.
29359         (exp10_test_data): Likewise.
29360         (exp2_test_data): Likewise.
29361         (expm1_test_data): Likewise.
29362         (hypot_test_data): Likewise.
29363         (j0_test_data): Likewise.
29364         (j1_test_data): Likewise.
29365         (jn_test_data): Likewise.
29366         (lgamma_test_data): Likewise.
29367         (log_test_data): Likewise.
29368         (log10_test_data): Likewise.
29369         (log1p_test_data): Likewise.
29370         (log2_test_data): Likewise.
29371         (pow_test_data): Likewise.
29372         (scalb_test_data): Likewise.
29373         (sin_test_data): Likewise.
29374         (sincos_test_data): Likewise.
29375         (sinh_test_data): Likewise.
29376         (tan_test_data): Likewise.
29377         (tanh_test_data): Likewise.
29378         (tgamma_test_data): Likewise.
29379         (y0_test_data): Likewise.
29380         (y1_test_data): Likewise.
29381         (yn_test_data): Likewise.
29383         [BZ #16167]
29384         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29385         argument being NaN and avoid computations with second argument in
29386         that case.
29387         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29388         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29389         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29391 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29393         * locale/iso-639.def: Add Chitwani Tharu (the).
29395 2013-11-14  Andreas Schwab  <schwab@suse.de>
29397         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29398         word instead of empty string.
29400 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29403         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29405         (__fe_nomask_env): Likewise.
29407 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29409         * benchtests/bench-timing.h: Include time.h.
29411 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29413         [BZ #15997]
29414         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29415         to 3.4.0 for x32.
29416         * sysdeps/unix/sysv/linux/configure: Regenerated.
29418 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29420         [BZ #16151]
29421         * stdlib/strtod_l.c (round_and_return): Do not consider
29422         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29423         exponent one less than half the least subnormal exponent.
29424         * stdlib/test-strtod-round-data: Add more tests.
29425         * stdlib/tst-strtod-round.c (tests): Regenerated.
29427 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29429         [BZ #14143]
29430         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29431         (__fe_mask_env): Likewise.
29432         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29433         libm_hidden_proto and add function prototype.
29434         (__fe_mask_env): Add function prototype.
29435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29436         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29438         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29440         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29442 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29444         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29445         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29447 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29449         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29450         of htab_find_slot().
29452 2013-11-11  David S. Miller  <davem@davemloft.net>
29454         [BZ #16150]
29455         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29456         symbol in the non-vis3 case in static builds.
29457         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29458         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29459         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29460         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29462 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29464         [BZ #387]
29465         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29466         it is empty.
29468 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29470         * benchtests/Makefile: Add bench-strtod.
29471         * benchtests/bench-strtod.c: New file: strtod benchtest
29473 2013-11-11  Andreas Schwab  <schwab@suse.de>
29475         [BZ #16153]
29476         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29477         terminating NUL in key length.
29479 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29481         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29482         Add artificial ODP entry for vDSO symbol for PPC64.
29483         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29484         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29486 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29488         [BZ #15374]
29489         * nss/getent.c (services_keys): Recognize services starting with digit.
29491 2013-11-06  David S. Miller  <davem@davemloft.net>
29493         [BZ #15985]
29494         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29495         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29497 2013-11-06  Will Newton  <will.newton@linaro.org>
29499         * manual/memory.texi (Malloc Examples): Remove register
29500         keyword from examples.
29502 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29504         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29506 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29508         [BZ #6981]
29509         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29510         depending on [__GCC_IEC_559 > 0].
29511         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29512         depending on [__GCC_IEC_559_COMPLEX > 0].
29514 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29516         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29517         to iso-639.def.
29519 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29521         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29523 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29525         [BZ #16112]
29526         * malloc/malloc (malloc_info): Do not handle first bin as
29527         special case.
29529 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29531         * locale/iso-639.def: Add Central Nahuatl (nhn).
29533 2013-11-01  Bruno Haible  <bruno@clisp.org>
29535         [BZ #7003]
29536         * manual/math.texi (BSD Random): Specify range upper bound as
29537         in POSIX.
29539 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29541         * locale/iso-639.def: Add Meadow Mari (mhr).
29543 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29545         [BZ #14752], [BZ #15763]
29546         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29547         Validate name.
29548         * rt/tst_shm.c: Add test for escaping directory.
29550 2013-10-31  Andreas Schwab  <schwab@suse.de>
29552         [BZ #15917]
29553         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29554         followed by 'x' as part of digit sequence.
29555         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29557 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29559         [BZ #16037]
29560         * configure.ac: allow GNU Make 4.0 and greater.
29561         * configure: Regenerated.
29563 2013-10-30  Will Newton  <will.newton@linaro.org>
29565         [BZ #16038]
29566         * malloc/hooks.c (memalign_check): Limit alignment to the
29567         maximum representable power of two.
29568         * malloc/malloc.c (__libc_memalign): Likewise.
29569         * malloc/tst-memalign.c (do_test): Add test for very
29570         large alignment values.
29571         * malloc/tst-posix_memalign.c (do_test): Likewise.
29573 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29575         [BZ #11087]
29576         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29577         (munmap_chunk): Likewise.
29578         (mremap_chunk): Likewise.
29580 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29582         [BZ #15799]
29583         * stdlib/div.c (div): Remove obsolete code.
29584         * stdlib/ldiv.c (ldiv): Likewise.
29585         * stdlib/lldiv.c (lldiv): Likewise.
29587 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29589         [BZ #16071]
29590         * nss/nss_files/files-XXX.c (get_contents_ret): New
29591         enumerator.
29592         (get_contents): New function.
29593         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29595 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29597         * configure.in: Moved to ...
29598         * configure.ac: ... here. Change reference to configure.in
29599         to configure.ac.
29600         * sysdeps/arm/preconfigure.ac: ... here.
29601         configure.in to configure.ac.
29602         * sysdeps/gnu/configure.in: Moved to ...
29603         * sysdeps/gnu/configure.ac: ... here.
29604         * sysdeps/i386/configure.in: Moved to ...
29605         * sysdeps/i386/configure.ac: ... here.
29606         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29607         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29608         * sysdeps/mach/configure.in: Moved to ...
29609         * sysdeps/mach/configure.ac: ... here.
29610         * sysdeps/mach/hurd/configure.in: Moved to ...
29611         * sysdeps/mach/hurd/configure.ac: ... here.
29612         * sysdeps/powerpc/configure.in: Moved to ...
29613         * sysdeps/powerpc/configure.ac: ... here.
29614         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29615         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29616         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29617         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29618         * sysdeps/s390/s390-32/configure.in: Moved to ...
29619         * sysdeps/s390/s390-32/configure.ac: ... here.
29620         * sysdeps/s390/s390-64/configure.in: Moved to ...
29621         * sysdeps/s390/s390-64/configure.ac: ... here.
29622         * sysdeps/sh/configure.in: Moved to ...
29623         * sysdeps/sh/configure.ac: ... here.
29624         * sysdeps/sparc/configure.in: Moved to ...
29625         * sysdeps/sparc/configure.ac: ... here.
29626         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29627         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29628         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29629         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29630         * sysdeps/x86_64/configure.in: Moved to ...
29631         * sysdeps/x86_64/configure.ac: ... here.
29632         * sysdeps/x86_64/preconfigure.in: Moved to ...
29633         * sysdeps/x86_64/preconfigure.ac: ... here.
29634         * aclocal.m4: Change reference to configure.in to configure.ac.
29635         * config.h.in: Likewise.
29636         * manual/install.texi: Likewise.
29637         * manual/maint.texi: Likewise.
29638         * Makefile: Likewise.
29639         * malloc/Makefile: Likewise.
29640         * nscd/Makefile: Likewise.
29641         * Makeconfig: Change reference to configure.in and
29642         preconfigure.in to configure.ac and preconfigure.ac
29643         respectively.
29644         * INSTALL: Regenerated.
29645         * configure: Likewise.
29646         * sysdeps/gnu/configure: Likewise.
29647         * sysdeps/i386/configure: Likewise.
29648         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29649         * sysdeps/mach/configure: Likewise.
29650         * sysdeps/mach/hurd/configure: Likewise.
29651         * sysdeps/powerpc/configure: Likewise.
29652         * sysdeps/powerpc/powerpc32/configure: Likewise.
29653         * sysdeps/powerpc/powerpc64/configure: Likewise.
29654         * sysdeps/s390/s390-32/configure: Likewise.
29655         * sysdeps/s390/s390-64/configure: Likewise.
29656         * sysdeps/sh/configure: Likewise.
29657         * sysdeps/sparc/configure: Likewise.
29658         * sysdeps/unix/sysv/linux/configure: Likewise.
29659         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29660         * sysdeps/x86_64/configure: Likewise.
29661         * sysdeps/x86_64/preconfigure: Likewise.
29663 2013-10-29  Andreas Schwab  <schwab@suse.de>
29665         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29667 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29669         * benchtests/pow-inputs: Add new inputs.
29671         * benchtests/exp-inputs: Add new inputs.
29673         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29674         conditional check for return value.
29675         (__cos32): Likewise.
29677 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29679         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29680         to provide a boost for large inputs with word alignment.
29681         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29682         implementation based on optimized PPC64 strcpy.
29683         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29684         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29685         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29686         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29688 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29690         [BZ #2801]
29691         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29693 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29695         [BZ #14876]
29696         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29697         * time/tst-strptime.c (day_tests): Add testcase.
29699 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29701         [BZ #14029]
29702         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29704 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29706         [BZ #16074]
29707         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29708         MAP_FAILED on error.
29710 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29712         [BZ #16072]
29713         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29714         heap for large requests.
29716 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29718         [BZ #9954]
29719         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29720         result if the result has no associated interface.
29721         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29722         interface for all 127.X.Y.Z addresses.
29724 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29726         * locale/iso-639.def: Add Ligurian (lij)
29728 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29730         [BZ #15825]
29731         * sunrpc/rpc_main.c: Document rpcgen -5.
29733 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29735         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29737 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29739         [BZ #10278]
29740         * posix/glob.c: Match only directories when trailing slash is present.
29741         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29742         (main): Add testcase.
29744 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29746         [BZ #15670]
29747         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29749 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29751         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29752         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29753         AUTH_DES and cindex for FIPS 140-2.
29754         (DES Encryption): Add cindex FIPS 46-3.
29756         * locale/locarchive.h (struct locarhandle): Add fname.
29757         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29758         if an optional argument was specified to --list-archive,
29759         otherwise NULL.
29760         * locale/programs/locarchive.c (show_archive_content): Take new
29761         argument fname and pass it via ah.fname to open_archive.
29762         * locale/programs/localedef.h: Update decl.
29763         (open_archive): If AH->fname is non-null, open that file
29764         rather than the default file name, and don't ignore ENOENT.
29765         (create_archive): Set AH.fname to NULL.
29766         (delete_locales_from_archive): Likewise.
29767         (add_locales_to_archive): Likewise.
29768         * locale/programs/locfile.c (write_all_categories): Likewise.
29770 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29771             Aldy Hernandez  <aldyh@redhat.com>
29773         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29774         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29775         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29776         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29777         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29778         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29779         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29780         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29781         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29782         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29783         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29784         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29785         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29786         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29787         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29788         Likewise.
29789         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29790         Likewise.
29791         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29792         Likewise.
29793         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29794         Likewise.
29795         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29796         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29797         Likewise.
29798         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29799         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29800         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29801         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29802         Likewise.
29803         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29804         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29805         * sysdeps/powerpc/preconfigure: Likewise.
29806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29807         Likewise.
29808         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29809         Replace contents of file by #include of <fenv_libc.h>.
29810         * sysdeps/powerpc/soft-fp/sfp-machine.h
29811         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29812         and <sys/prctl.h>.
29813         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29814         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29815         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29816         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29817         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29818         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29820         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29821         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29822         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29823         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29824         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29826         Allow copysignl PLT reference to be missing.
29828 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29829             Joseph Myers  <joseph@codesourcery.com
29831         [BZ #15948]
29832         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29833         single character.
29834         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29836 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29838         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29839         * elf/tst-tls1.c: Likewise.
29840         * elf/tst-tls10.h: Likewise.
29841         * elf/tst-tls14.c: Likewise.
29842         * elf/tst-tls2.c: Likewise.
29843         * elf/tst-tls3.c: Likewise.
29844         * elf/tst-tls4.c: Likewise.
29845         * elf/tst-tls5.c: Likewise.
29846         * elf/tst-tls6.c: Likewise.
29847         * elf/tst-tls7.c: Likewise.
29848         * elf/tst-tls8.c: Likewise.
29849         * elf/tst-tls9.c: Likewise.
29850         * elf/tst-tlsmod1.c: Likewise.
29851         * elf/tst-tlsmod13.c: Likewise.
29852         * elf/tst-tlsmod13a.c: Likewise.
29853         * elf/tst-tlsmod14a.c: Likewise.
29854         * elf/tst-tlsmod16a.c: Likewise.
29855         * elf/tst-tlsmod16b.c: Likewise.
29856         * elf/tst-tlsmod2.c: Likewise.
29857         * elf/tst-tlsmod3.c: Likewise.
29858         * elf/tst-tlsmod4.c: Likewise.
29859         * elf/tst-tlsmod5.c: Likewise.
29860         * elf/tst-tlsmod6.c: Likewise.
29862 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29864         [BZ #12486]
29865         * malloc/malloc.c: remove checks for statistics.
29867 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29869         [BZ #15277]
29870         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29871         * inet/tst-network.c: Add testcase.
29873 2013-10-17  Andreas Schwab  <schwab@suse.de>
29875         [BZ #15218]
29876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29877         to determine canonical name.
29879 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29881         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29882         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29883         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29884         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29885         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29886         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29887         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29889         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29891         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29892         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29893         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29894         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29895         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29896         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29899         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29900         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29901         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29902         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29903         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29904         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29905         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29906         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29907         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29908         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29909         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29910         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29911         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29912         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29913         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29914         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29915         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29916         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29917         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29918         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29919         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29920         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29921         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29922         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29923         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29924         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29925         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29926         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29927         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29928         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29929         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29930         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29931         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29932         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29933         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29934         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29935         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29936         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29937         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29938         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29940 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29942         [BZ #16041]
29943         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29944         make result into a quiet NaN.
29946 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29948         * soft-fp/adddf3.c: Fix horizontal whitespace.
29949         * soft-fp/addsf3.c: Likewise.
29950         * soft-fp/addtf3.c: Likewise.
29951         * soft-fp/divdf3.c: Likewise.
29952         * soft-fp/divsf3.c: Likewise.
29953         * soft-fp/divtf3.c: Likewise.
29954         * soft-fp/double.h: Likewise.
29955         * soft-fp/eqdf2.c: Likewise.
29956         * soft-fp/eqsf2.c: Likewise.
29957         * soft-fp/eqtf2.c: Likewise.
29958         * soft-fp/extenddftf2.c: Likewise.
29959         * soft-fp/extended.h: Likewise.
29960         * soft-fp/extendsfdf2.c: Likewise.
29961         * soft-fp/extendsftf2.c: Likewise.
29962         * soft-fp/extendxftf2.c: Likewise.
29963         * soft-fp/fixdfdi.c: Likewise.
29964         * soft-fp/fixdfsi.c: Likewise.
29965         * soft-fp/fixdfti.c: Likewise.
29966         * soft-fp/fixsfdi.c: Likewise.
29967         * soft-fp/fixsfsi.c: Likewise.
29968         * soft-fp/fixsfti.c: Likewise.
29969         * soft-fp/fixtfdi.c: Likewise.
29970         * soft-fp/fixtfsi.c: Likewise.
29971         * soft-fp/fixtfti.c: Likewise.
29972         * soft-fp/fixunsdfdi.c: Likewise.
29973         * soft-fp/fixunsdfsi.c: Likewise.
29974         * soft-fp/fixunsdfti.c: Likewise.
29975         * soft-fp/fixunssfdi.c: Likewise.
29976         * soft-fp/fixunssfsi.c: Likewise.
29977         * soft-fp/fixunssfti.c: Likewise.
29978         * soft-fp/fixunstfdi.c: Likewise.
29979         * soft-fp/fixunstfsi.c: Likewise.
29980         * soft-fp/fixunstfti.c: Likewise.
29981         * soft-fp/floatdidf.c: Likewise.
29982         * soft-fp/floatdisf.c: Likewise.
29983         * soft-fp/floatditf.c: Likewise.
29984         * soft-fp/floatsidf.c: Likewise.
29985         * soft-fp/floatsisf.c: Likewise.
29986         * soft-fp/floatsitf.c: Likewise.
29987         * soft-fp/floattidf.c: Likewise.
29988         * soft-fp/floattisf.c: Likewise.
29989         * soft-fp/floattitf.c: Likewise.
29990         * soft-fp/floatundidf.c: Likewise.
29991         * soft-fp/floatundisf.c: Likewise.
29992         * soft-fp/floatunditf.c: Likewise.
29993         * soft-fp/floatunsidf.c: Likewise.
29994         * soft-fp/floatunsisf.c: Likewise.
29995         * soft-fp/floatunsitf.c: Likewise.
29996         * soft-fp/floatuntidf.c: Likewise.
29997         * soft-fp/floatuntisf.c: Likewise.
29998         * soft-fp/floatuntitf.c: Likewise.
29999         * soft-fp/fmadf4.c: Likewise.
30000         * soft-fp/fmasf4.c: Likewise.
30001         * soft-fp/fmatf4.c: Likewise.
30002         * soft-fp/gedf2.c: Likewise.
30003         * soft-fp/gesf2.c: Likewise.
30004         * soft-fp/getf2.c: Likewise.
30005         * soft-fp/ledf2.c: Likewise.
30006         * soft-fp/lesf2.c: Likewise.
30007         * soft-fp/letf2.c: Likewise.
30008         * soft-fp/muldf3.c: Likewise.
30009         * soft-fp/mulsf3.c: Likewise.
30010         * soft-fp/multf3.c: Likewise.
30011         * soft-fp/negdf2.c: Likewise.
30012         * soft-fp/negsf2.c: Likewise.
30013         * soft-fp/negtf2.c: Likewise.
30014         * soft-fp/op-1.h: Likewise.
30015         * soft-fp/op-2.h: Likewise.
30016         * soft-fp/op-4.h: Likewise.
30017         * soft-fp/op-8.h: Likewise.
30018         * soft-fp/op-common.h: Likewise.
30019         * soft-fp/quad.h: Likewise.
30020         * soft-fp/single.h: Likewise.
30021         * soft-fp/soft-fp.h: Likewise.
30022         * soft-fp/sqrtdf2.c: Likewise.
30023         * soft-fp/sqrtsf2.c: Likewise.
30024         * soft-fp/sqrttf2.c: Likewise.
30025         * soft-fp/subdf3.c: Likewise.
30026         * soft-fp/subsf3.c: Likewise.
30027         * soft-fp/subtf3.c: Likewise.
30028         * soft-fp/truncdfsf2.c: Likewise.
30029         * soft-fp/trunctfdf2.c: Likewise.
30030         * soft-fp/trunctfsf2.c: Likewise.
30031         * soft-fp/trunctfxf2.c: Likewise.
30032         * soft-fp/unorddf2.c: Likewise.
30033         * soft-fp/unordsf2.c: Likewise.
30034         * soft-fp/unordtf2.c: Likewise.
30036 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30038         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30039         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30041 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30043         * elf/dl-libc.c: Clear initfini list after freeing.
30045 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30047         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30048         * soft-fp/addsf3.c: Likewise.
30049         * soft-fp/addtf3.c: Likewise.
30050         * soft-fp/divdf3.c: Likewise.
30051         * soft-fp/divsf3.c: Likewise.
30052         * soft-fp/divtf3.c: Likewise.
30053         * soft-fp/double.h: Likewise.
30054         * soft-fp/eqdf2.c: Likewise.
30055         * soft-fp/eqsf2.c: Likewise.
30056         * soft-fp/eqtf2.c: Likewise.
30057         * soft-fp/extenddftf2.c: Likewise.
30058         * soft-fp/extended.h: Likewise.
30059         * soft-fp/extendsfdf2.c: Likewise.
30060         * soft-fp/extendsftf2.c: Likewise.
30061         * soft-fp/extendxftf2.c: Likewise.
30062         * soft-fp/fixdfdi.c: Likewise.
30063         * soft-fp/fixdfsi.c: Likewise.
30064         * soft-fp/fixdfti.c: Likewise.
30065         * soft-fp/fixsfdi.c: Likewise.
30066         * soft-fp/fixsfsi.c: Likewise.
30067         * soft-fp/fixsfti.c: Likewise.
30068         * soft-fp/fixtfdi.c: Likewise.
30069         * soft-fp/fixtfsi.c: Likewise.
30070         * soft-fp/fixtfti.c: Likewise.
30071         * soft-fp/fixunsdfdi.c: Likewise.
30072         * soft-fp/fixunsdfsi.c: Likewise.
30073         * soft-fp/fixunsdfti.c: Likewise.
30074         * soft-fp/fixunssfdi.c: Likewise.
30075         * soft-fp/fixunssfsi.c: Likewise.
30076         * soft-fp/fixunssfti.c: Likewise.
30077         * soft-fp/fixunstfdi.c: Likewise.
30078         * soft-fp/fixunstfsi.c: Likewise.
30079         * soft-fp/fixunstfti.c: Likewise.
30080         * soft-fp/floatdidf.c: Likewise.
30081         * soft-fp/floatdisf.c: Likewise.
30082         * soft-fp/floatditf.c: Likewise.
30083         * soft-fp/floatsidf.c: Likewise.
30084         * soft-fp/floatsisf.c: Likewise.
30085         * soft-fp/floatsitf.c: Likewise.
30086         * soft-fp/floattidf.c: Likewise.
30087         * soft-fp/floattisf.c: Likewise.
30088         * soft-fp/floattitf.c: Likewise.
30089         * soft-fp/floatundidf.c: Likewise.
30090         * soft-fp/floatundisf.c: Likewise.
30091         * soft-fp/floatunsidf.c: Likewise.
30092         * soft-fp/floatunsisf.c: Likewise.
30093         * soft-fp/floatuntidf.c: Likewise.
30094         * soft-fp/floatuntisf.c: Likewise.
30095         * soft-fp/floatuntitf.c: Likewise.
30096         * soft-fp/fmadf4.c: Likewise.
30097         * soft-fp/fmasf4.c: Likewise.
30098         * soft-fp/fmatf4.c: Likewise.
30099         * soft-fp/gedf2.c: Likewise.
30100         * soft-fp/gesf2.c: Likewise.
30101         * soft-fp/getf2.c: Likewise.
30102         * soft-fp/ledf2.c: Likewise.
30103         * soft-fp/lesf2.c: Likewise.
30104         * soft-fp/letf2.c: Likewise.
30105         * soft-fp/muldf3.c: Likewise.
30106         * soft-fp/mulsf3.c: Likewise.
30107         * soft-fp/multf3.c: Likewise.
30108         * soft-fp/negdf2.c: Likewise.
30109         * soft-fp/negsf2.c: Likewise.
30110         * soft-fp/negtf2.c: Likewise.
30111         * soft-fp/op-1.h: Likewise.
30112         * soft-fp/op-2.h: Likewise.
30113         * soft-fp/op-4.h: Likewise.
30114         * soft-fp/op-8.h: Likewise.
30115         * soft-fp/op-common.h: Likewise.
30116         * soft-fp/quad.h: Likewise.
30117         * soft-fp/single.h: Likewise.
30118         * soft-fp/soft-fp.h: Likewise.
30119         * soft-fp/sqrtdf2.c: Likewise.
30120         * soft-fp/sqrtsf2.c: Likewise.
30121         * soft-fp/sqrttf2.c: Likewise.
30122         * soft-fp/subdf3.c: Likewise.
30123         * soft-fp/subsf3.c: Likewise.
30124         * soft-fp/subtf3.c: Likewise.
30125         * soft-fp/truncdfsf2.c: Likewise.
30126         * soft-fp/trunctfdf2.c: Likewise.
30127         * soft-fp/trunctfsf2.c: Likewise.
30128         * soft-fp/trunctfxf2.c: Likewise.
30129         * soft-fp/unorddf2.c: Likewise.
30130         * soft-fp/unordsf2.c: Likewise.
30131         * soft-fp/unordtf2.c: Likewise.
30133 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30135         [BZ #15672]
30136         * misc/error.c (error_tail): Fix possible buffer overflow.
30138 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30140         [BZ #13028]
30141         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30142         address.
30144 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30146         [BZ #832]
30147         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30148         testing pipefail option.
30150 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30152         * soft-fp/double.h: Indent preprocessor directives inside #if.
30153         * soft-fp/extended.h: Likewise.
30154         * soft-fp/op-2.h: Likewise.
30155         * soft-fp/op-4.h: Likewise.
30156         * soft-fp/op-common.h: Likewise.
30157         * soft-fp/quad.h: Likewise.
30158         * soft-fp/single.h: Likewise.
30159         * soft-fp/soft-fp.h: Likewise.
30161 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30163         * iconv/iconv_prog.c: Fix typos.
30164         * stdio-common/psiginfo-data.h: Likewise.
30166 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30168         [BZ #15764]
30169         * locale/setlocale.c: Fix typo.
30171 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30173         [BZ #16036]
30174         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30175         signaling NaN arguments.
30176         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30177         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30179         [BZ #14910]
30180         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30181         unordered operands.
30182         * soft-fp/gesf2.c (__gesf2): Likewise.
30183         * soft-fp/getf2.c (__getf2): Likewise.
30184         * soft-fp/ledf2.c (__ledf2): Likewise.
30185         * soft-fp/lesf2.c (__lesf2): Likewise.
30186         * soft-fp/letf2.c (__letf2): Likewise.
30188         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30189         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30190         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30191         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30192         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30193         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30194         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30195         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30196         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30197         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30198         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30199         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30200         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30201         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30202         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30203         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30204         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30205         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30206         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30207         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30208         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30209         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30210         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30211         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30212         * soft-fp/floattidf.c (__floattidf): Likewise.
30213         * soft-fp/floattisf.c (__floattisf): Likewise.
30214         * soft-fp/floattitf.c (__floattitf): Likewise.
30215         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30216         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30217         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30218         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30219         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30220         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30221         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30222         * soft-fp/gesf2.c (__gesf2): Likewise.
30223         * soft-fp/getf2.c (__getf2): Likewise.
30224         * soft-fp/ledf2.c (__ledf2): Likewise.
30225         * soft-fp/lesf2.c (__lesf2): Likewise.
30226         * soft-fp/letf2.c (__letf2): Likewise.
30228         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30229         Undefine and redefine.
30230         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30231         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30232         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30233         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30234         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30235         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30236         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30237         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30238         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30239         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30240         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30241         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30242         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30243         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30244         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30246         [BZ #16032]
30247         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30248         without decrementing exponent if mantissa >= that for the
30249         denominator, not >.
30250         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30251         denominator, not >.  Decrement exponent in < case instead of
30252         incrementing in >= case.
30253         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30254         without decrementing exponent if mantissa >= that for the
30255         denominator, not >.
30257         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30258         computing saturated result for unsigned overflow.
30260 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30261             Jeff Law  <law@redhat.com>
30263         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30264         (atan2Mp): Add systemtap probe marker.
30265         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30266         (__ieee754_log): Add systemtap probe marker.
30267         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30268         (atanMp): Add systemtap probe marker.
30269         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30270         (tanMp): Add systemtap probe marker.
30271         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30272         (__slowexp): Add systemtap probe marker.
30273         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30274         (__slowpow): Add systemtap probe marker.
30275         * manual/probes.texi: Document probes.
30277 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30279         [BZ #15362]
30280         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30281         written.
30282         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30283         written.
30284         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30285         written to buffer but not flushed.
30286         * libio/iofwrite_u.c:  Likewise.
30287         * libio/iopadn.c:  Return bytes returned even if EOF was
30288         encountered.
30289         * libio/iowpadn.c:  Likewise.
30290         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30291         if _IO_padn does not write the whole buffer.
30292         [!COMPILE_WPRINTF] (PAD): Likewise.
30294 2013-10-10  David S. Miller  <davem@davemloft.net>
30296         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30297         directory block.
30299 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30301         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30302         instead of FSF address.
30303         * soft-fp/fixdfti.c: Likewise.
30304         * soft-fp/fixsfti.c: Likewise.
30305         * soft-fp/fixtfti.c: Likewise.
30306         * soft-fp/fixunsdfti.c: Likewise.
30307         * soft-fp/fixunssfti.c: Likewise.
30308         * soft-fp/fixunstfti.c: Likewise.
30309         * soft-fp/floattidf.c: Likewise.
30310         * soft-fp/floattisf.c: Likewise.
30311         * soft-fp/floattitf.c: Likewise.
30312         * soft-fp/floatuntidf.c: Likewise.
30313         * soft-fp/floatuntisf.c: Likewise.
30314         * soft-fp/floatuntitf.c: Likewise.
30315         * soft-fp/trunctfxf2.c: Likewise.
30317         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30318         * soft-fp/fixdfti.c: Likewise.
30319         * soft-fp/fixsfti.c: Likewise.
30320         * soft-fp/fixtfti.c: Likewise.
30321         * soft-fp/fixunsdfti.c: Likewise.
30322         * soft-fp/fixunssfti.c: Likewise.
30323         * soft-fp/fixunstfti.c: Likewise.
30324         * soft-fp/floattidf.c: Likewise.
30325         * soft-fp/floattisf.c: Likewise.
30326         * soft-fp/floattitf.c: Likewise.
30327         * soft-fp/floatuntidf.c: Likewise.
30328         * soft-fp/floatuntisf.c: Likewise.
30329         * soft-fp/floatuntitf.c: Likewise.
30330         * soft-fp/trunctfxf2.c: Likewise.
30332 2013-10-10  David S. Miller  <davem@davemloft.net>
30334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30336 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30338         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30339         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30340         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30341         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30342         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30343         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30344         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30346         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30347         for NaNs before doing comparisons on argument.
30348         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30349         Likewise.
30351 2013-10-10  Will Newton  <will.newton@linaro.org>
30353         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30354         passed to _int_memalign does not overflow.
30356 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30358         * scripts/bench.pl: Add include-sources directive.
30359         * benchtests/README: Update documentation.
30361 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30363         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30364         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30365         instead of FP_INIT_ROUNDMODE.
30366         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30367         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30369         [BZ #16034]
30370         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30371         copy class of input value.
30372         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30373         not handle exceptions.
30374         * soft-fp/negsf2.c (__negsf2): Likewise.
30375         * soft-fp/negtf2.c (__negtf2): Likewise.
30376         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30378 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30380         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30381         semicolon.  From Linux kernel.
30383 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30385         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30387 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30389         [BZ #156]
30390         * manual/socket.texi: Added statement about buffer
30391         for gethostbyname2_r.
30393 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30395         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30396         Use .p2align directive instead, throughout.
30397         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30398         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30399         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30400         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30401         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30402         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30403         * sysdeps/x86_64/strchr.S: Likewise.
30404         * sysdeps/x86_64/strrchr.S: Likewise.
30406 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30408         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30410         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30412         * sysdeps/generic/math_private.h (__mpsin1): Remove
30413         declaration.
30414         (__mpcos1): Likewise.
30415         (__mpsin): New argument __range_reduce.
30416         (__mpcos): Likewise.
30417         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30418         (slow): Use __mpsin and __mpcos.
30419         (slow1): Likewise.
30420         (slow2): Likewise.
30421         (sloww): Likewise.
30422         (sloww1): Likewise.
30423         (sloww2): Likewise.
30424         (bsloww): Likewise.
30425         (bsloww1): Likewise.
30426         (bsloww2): Likewise.
30427         (cslow2): Likewise.
30428         (csloww): Likewise.
30429         (csloww1): Likewise.
30430         (csloww2): Likewise.
30431         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30432         range_reduce.  Merge in __mpsin1.
30433         (__mpcos): Likewise.
30434         (__mpsin1): Remove.
30435         (__mpcos1): Likewise.
30437 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30439         * locale/loadlocale.c (_nl_intern_locale_data): Use
30440         LOCFILE_ALIGNED_P.
30441         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30442         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30443         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30444         obstack data is appropriately aligned.
30445         (obstack_int32_grow_fast): Likewise.
30446         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30447         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30448         (add_locale_uint32_array): Likewise.
30450 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30452         * benchtests/Makefile: Remove ARGLIST and RET variables.
30453         ($(objpfx)bench-%.c): Pass only function name to the script.
30454         * benchtests/README: Update documentation.
30455         * benchtests/acos-inputs: Add new directives.
30456         * benchtests/acosh-inputs: Likewise.
30457         * benchtests/asin-inputs: Likewise.
30458         * benchtests/asinh-inputs: Likewise.
30459         * benchtests/atan-inputs: Likewise.
30460         * benchtests/atanh-inputs: Likewise.
30461         * benchtests/cos-inputs: Likewise.
30462         * benchtests/cosh-inputs: Likewise.
30463         * benchtests/exp-inputs: Likewise.
30464         * benchtests/log-inputs: Likewise.
30465         * benchtests/pow-inputs: Likewise.
30466         * benchtests/rint-inputs: Likewise.
30467         * benchtests/sin-inputs: Likewise.
30468         * benchtests/sinh-inputs: Likewise.
30469         * benchtests/tan-inputs: Likewise.
30470         * benchtests/tanh-inputs: Likewise.
30471         * scripts/bench.pl: Add support for new directives.
30473 2013-10-07  Alan Modra  <amodra@gmail.com>
30475         * README: Fix careless merge.
30477 2013-10-05  Alan Modra  <amodra@gmail.com>
30479         * NEWS: Mention powerpc64le support and bugs fixed.
30480         * README: Both big-endian and little-endian powerpc64 supported.
30482 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30484         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30485         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30486         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30487         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30489 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30491         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30492         match prototype.
30494 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30496         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30497         Move -mhard-float appending from
30498         ports/sysdeps/powerpc/powerpc32/Makefile.
30499         [$(with-fp) = yes] (ASFLAGS): Likewise.
30500         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30501         * sysdeps/powerpc/nofpu: Move directory from
30502         ports/sysdeps/powerpc/nofpu.
30503         * sysdeps/powerpc/soft-fp: Move directory from
30504         ports/sysdeps/powerpc/soft-fp.
30505         * sysdeps/powerpc/powerpc32/405: Move directory from
30506         ports/sysdeps/powerpc/powerpc32/405.
30507         * sysdeps/powerpc/powerpc32/440: Move directory from
30508         ports/sysdeps/powerpc/powerpc32/440.
30509         * sysdeps/powerpc/powerpc32/464: Move directory from
30510         ports/sysdeps/powerpc/powerpc32/464.
30511         * sysdeps/powerpc/powerpc32/476: Move directory from
30512         ports/sysdeps/powerpc/powerpc32/476.
30513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30514         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30516         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30518         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30520         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30522         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30523         * README: Update for powerpc-*-linux-gnu software floating point
30524         support in libc.
30526         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30527         case to powerpc/powerpc32*.
30528         * sysdeps/unix/sysv/linux/configure: Regenerated.
30530         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30531         (_FPU_MASK_OM): Define as 0x04.
30532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30534         0x00c10080.
30535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30536         0x0000003c.
30537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30540         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30541         getcontext_e500.
30542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30543         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30544         setcontext_e500.
30545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30546         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30547         and setcontext_e500.
30549 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30551         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30553 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30555         * manual/threads.texi (Default Thread Attributes): Fix typo.
30557 2013-10-04  Will Newton  <will.newton@linaro.org>
30559         * malloc/Makefile: Add tst-memalign.
30560         * malloc/tst-memalign.c: New file.
30562         * malloc/tst-posix_memalign.c: Add comments.
30563         (do_test): Add comments and call free on all potentially
30564         allocated pointers. Add space after cast.
30566         * malloc/tst-pvalloc.c: Add comments.
30567         (do_test): Add comments and call free on all potentially
30568         allocated pointers. Remove duplicate check for NULL pointer.
30569         Add space after cast.
30571         * malloc/tst-valloc.c: Add comments.
30572         (do_test): Add comments and call free on all potentially
30573         allocated pointers. Remove duplicate check for NULL pointer.
30574         Add space after cast.
30576 2013-10-04  Alan Modra  <amodra@gmail.com>
30578         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30579         Use stdint types in rather than __attribute__((mode())).
30580         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30582 2013-10-04  Alan Modra  <amodra@gmail.com>
30584         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30585         Correct handling of unaligned relocs for little-endian.
30586         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30588 2013-10-04  Alan Modra  <amodra@gmail.com>
30590         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30591         * configure: Regenerate.
30592         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30593         * shlib-versions: Likewise.
30595 2013-10-04  Alan Modra  <amodra@gmail.com>
30597         * string/tester.c (test_memrchr): Increment reported test cycle.
30599 2013-10-04  Alan Modra  <amodra@gmail.com>
30601         * string/test-memcpy.c (do_one_test): When reporting errors, print
30602         string address and don't overrun end of string.
30604 2013-10-04  Alan Modra  <amodra@gmail.com>
30606         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30607         insrdi.  Make better use of reg selection to speed exit slightly.
30608         Schedule entry path a little better.  Remove useless "are we done"
30609         checks on entry to main loop.  Handle wrapping around zero address.
30610         Correct main loop count.  Handle single left-over word from main
30611         loop inline rather than by using loop_small.  Remove extra word
30612         case in loop_small caused by wrong loop count.  Add little-endian
30613         support.
30614         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30615         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30616         cache hint.
30617         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30618         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30619         support.  Avoid rlwimi.
30620         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30622 2013-10-04  Alan Modra  <amodra@gmail.com>
30624         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30625         insrdi.  Formatting.
30626         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30627         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30628         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30629         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30630         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30631         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30633 2013-10-04  Alan Modra  <amodra@gmail.com>
30635         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30636         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30637         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30638         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30639         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30640         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30641         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30642         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30643         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30644         use of regs.  Use power7 mtocrf.  Tidy function tails.
30646 2013-10-04  Alan Modra  <amodra@gmail.com>
30648         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30649         Formatting.  Consistently use rXXX register defines or rN defines.
30650         Use early exit labels that avoid restoring unused non-volatile regs.
30651         Make cr field use more consistent with rWORDn compares.  Rename
30652         regs used as shift registers for unaligned loop, using rN defines
30653         for short lifetime/multiple use regs.
30654         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30655         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30656         addi 1,1,64 to pop stack frame.  Simplify return value code.
30657         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30659 2013-10-04  Alan Modra  <amodra@gmail.com>
30661         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30662         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30663         rather than rlwimi.
30664         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30665         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30666         little-endian support.  Correct typos.
30667         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30668         rather than rlwimi.
30669         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30670         in loop and entry code to keep "and." results.
30671         (strchr): Add little-endian support.  Comment.  Move cntlzd
30672         earlier in tail.
30673         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30675 2013-10-04  Alan Modra  <amodra@gmail.com>
30677         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30678         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30679         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30680         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30682 2013-10-04  Alan Modra  <amodra@gmail.com>
30684         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30685         (rTMP): Define as r11.
30686         (strcmp): Add little-endian support.  Optimise tail.
30687         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30688         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30689         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30690         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30691         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30692         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30693         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30695 2013-10-04  Alan Modra  <amodra@gmail.com>
30697         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30698         little-endian support.  Remove unnecessary "are we done" tests.
30699         Handle "s" wrapping around zero and extremely large "size".
30700         Correct main loop count.  Handle single left-over word from main
30701         loop inline rather than by using small_loop.  Correct comments.
30702         Delete "zero" tail, use "end_max" instead.
30703         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30705 2013-10-04  Alan Modra  <amodra@gmail.com>
30707         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30708         support.  Don't branch over align.
30709         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30710         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30711         support.  Rearrange tmp reg use to suit.  Comment.
30712         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30714 2013-10-04  Alan Modra  <amodra@gmail.com>
30716         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30718 2013-10-04  Alan Modra  <amodra@gmail.com>
30720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30721         conditional form of branch and link when obtaining pc.
30722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30724 2013-10-04  Alan Modra  <amodra@gmail.com>
30726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30727         HIWORD/LOWORD.
30728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30731 2013-10-04  Alan Modra  <amodra@gmail.com>
30733         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30734         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30735         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30736         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30737         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30738         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30739         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30740         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30741         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30742         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30744 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30745             Alistair Popple <alistair@ozlabs.au.ibm.com>
30746             Alan Modra <amodra@gmail.com>
30748         [BZ #15723]
30749         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30750         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30751         _dl_hwcap access for little-endian.
30752         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30753         destroy vmx regs when saving unaligned.
30754         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30755         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30756         destroy vmx regs when saving unaligned.
30758 2013-10-04  Alan Modra  <amodra@gmail.com>
30760         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30761         Don't use a union to pack hi/low value.
30763 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30765         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30766         for little-endian.
30767         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30768         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30769         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30770         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30771         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30773 2013-10-04  Alan Modra  <amodra@gmail.com>
30775         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30776         constants to usual value for .cst8 section, and remove redundant
30777         high address load.
30778         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30779         constant for 0x1p52.  Load little-endian words of double from
30780         correct stack offsets.
30782 2013-10-04  Alan Modra  <amodra@gmail.com>
30784         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30785         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30786         words of double from correct stack offsets.
30787         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30788         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30789         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30790         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30791         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30792         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30793         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30794         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30795         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30796         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30797         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30798         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30799         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30800         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30801         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30802         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30803         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30805 2013-10-04  Alan Modra  <amodra@gmail.com>
30807         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30808         64-bit int/double union.
30809         (_FPU_SETCW): Likewise.
30810         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30811         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30813 2013-10-04  Alan Modra  <amodra@gmail.com>
30815         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30816         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30818 2013-10-04  Alan Modra  <amodra@gmail.com>
30820         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30821         use vector int constants.
30822         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30824 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30826         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30827         array with long long.
30828         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30829         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30830         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30831         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30832         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30833         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30834         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30835         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30836         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30837         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30838         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30839         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30840         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30842 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30844         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30845         (__signbit): Likewise.  Correct for little-endian.
30846         (__signbitl): Call __signbit.
30847         (lrint): Correct for little-endian.
30848         (lrintf): Call lrint.
30850 2013-10-04  Alan Modra  <amodra@gmail.com>
30852         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30853         union 32-bit int array member with 64-bit int array.
30854         (t515, tm256): Double rather than long double.
30855         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30857 2013-10-04  Alan Modra  <amodra@gmail.com>
30859         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30860         Delete.
30861         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30862         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30863         version of math_ldbl.h.
30865 2013-10-04  Alan Modra  <amodra@gmail.com>
30867         [BZ #15734], [BZ #15735]
30868         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30869         all uses of ieee875 long double macros and unions.  Simplify test
30870         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30871         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30872         normalize after ldbl_extract_mantissa, and don't add hidden bit
30873         already handled.  Don't treat low word of ieee854 mantissa like
30874         low word of IBM long double and mask off bit when testing for
30875         zero.
30876         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30877         all uses of ieee875 long double macros and unions.  Simplify tests
30878         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30879         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30880         two1022, instead use their values.  Recognise that tests for large
30881         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30882         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30883         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30884         test for 0.0L and nan.  Correct negation.
30885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30886         ieee875 long double macros and unions.  Correct output for large
30887         magnitude x.  Correct absolute value calculation.
30888         (__erfcl): Likewise.
30889         * math/libm-test.inc: Add tests for errors discovered in IBM long
30890         double versions of fmodl, remainderl, erfl and erfcl.
30892 2013-10-04  Alan Modra  <amodra@gmail.com>
30894         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30895         all uses of ieee854 long double macros and unions.  Simplify tests
30896         for long doubles that are fully specified by the high double.
30897         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30898         Likewise.
30899         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30900         Remove dead code too.
30901         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30902         (__ieee754_ynl): Likewise.
30903         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30904         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30905         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30906         Remove dead code too.
30907         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30908         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30909         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30910         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30911         Simplify.
30912         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30913         Simplify.
30914         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30915         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30916         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30917         Comment on variable precision.
30918         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30919         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30920         Likewise.
30921         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30922         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30923         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30924         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30925         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30927 2013-10-04  Alan Modra  <amodra@gmail.com>
30929         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30930         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30931         all uses of ieee854 long double macros and unions.
30932         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30933         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30934         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30935         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30936         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30937         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30938         Likewise.
30939         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30940         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30941         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30942         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30943         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30944         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30945         Simplify sign and nan test too.
30946         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30947         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30948         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30949         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30950         Likewise.
30951         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30952         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30953         Likewise.
30954         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30955         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30956         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30957         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30958         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30959         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30961 2013-10-04  Alan Modra  <amodra@gmail.com>
30963         * stdio-common/printf_size.c (__printf_size): Don't use
30964         union ieee854_long_double in fpnum union.
30965         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30966         signbit macro to retrieve sign from long double.
30967         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30968         retrieve sign from long double.
30969         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30970         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30971         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30972         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30973         * math/test-misc.c (main): Don't use union ieee854_long_double.
30975 2013-10-04  Alan Modra  <amodra@gmail.com>
30977         [BZ #15680]
30978         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30979         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30980         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30981         calculation.  Remove unnecessary test for denormal exponent.
30982         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30983         Correct handling of denormals.  Avoid undefined shift behaviour.
30984         Correct normalisation of low mantissa when low double is denormal.
30985         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30986         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30987         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30988         Correct normalisation of low mantissa.  Test for overflow of high
30989         mantissa and normalise.
30990         (ldbl_nearbyint): Use more readable constant for two52.
30991         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30992         (__mpn_construct_long_double): Fix test for overflow of high
30993         mantissa and correct normalisation.  Avoid undefined shift.
30995 2013-10-04  Alan Modra  <amodra@gmail.com>
30997         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30998         (union ibm_extended_long_double): Define as an array of ieee754_double.
30999         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31000         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31001         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31002         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31003         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31004         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31005         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31006         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31007         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31008         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31009         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31011 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
31013         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31014         page size instead of calling getpagesize.
31016         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31017         (LOCFILE_ALIGN_MASK): Likewise.
31018         (LOCFILE_ALIGN_UP): Likewise.
31019         (LOCFILE_ALIGNED_P): Likewise.
31020         * locale/programs/ld-collate.c (collate_output): Use the new
31021         macros instead of __alignof__ (int32_t).
31022         * locale/weight.h (findidx): Likewise.
31024 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31026         [BZ #431]
31027         * manual/string.texi: Fix strncat and wcsncat.
31029 2013-10-03  Brooks Moses  <bmoses@google.com>
31031         [BZ #15915]
31032         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31033         * Makerules: ...here, and adjust associated comments.
31035 2013-10-02  Will Newton  <will.newton@linaro.org>
31037         * malloc/Makefile: Add tst-pvalloc.
31038         * malloc/tst-pvalloc.c: New file.
31040 2013-10-02  Will Newton  <will.newton@linaro.org>
31042         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31043         improve test coverage.
31045 2013-10-02  Will Newton  <will.newton@linaro.org>
31047         * malloc/Makefile: Add tst-posix_memalign.
31048         * malloc/tst-posix_memalign.c: New file.
31050 2013-10-01  Eric Blake  <eblake@redhat.com>
31052         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31053         Use __THROWNL rather than __THROW on static functions.
31055 2013-09-30  Petr Machata  <pmachata@redhat.com>
31057         * elf/elf.h (R_AARCH64_ABS16): New macro.
31058         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31059         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31060         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31061         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31062         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31063         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31064         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31065         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31066         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31067         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31068         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31069         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31070         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31071         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31072         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31073         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31074         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31075         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31076         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31077         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31078         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31079         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31080         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31081         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31082         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31083         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31084         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31085         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31086         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31087         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31088         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31089         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31090         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31091         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31092         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31093         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31094         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31095         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31096         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31097         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31098         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31099         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31100         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31101         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31102         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31103         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31104         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31105         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31106         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31107         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31108         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31109         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31110         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31111         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31112         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31113         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31114         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31115         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31116         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31117         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31118         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31119         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31120         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31121         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31122         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31123         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31124         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31125         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31126         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31127         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31128         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31129         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31130         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31131         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31132         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31133         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31134         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31135         (R_AARCH64_TLSDESC_LDR): Likewise.
31136         (R_AARCH64_TLSDESC_ADD): Likewise.
31137         (R_AARCH64_TLSDESC_CALL): Likewise.
31139 2013-09-30  Andreas Schwab  <schwab@suse.de>
31141         [BZ #15048]
31142         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31143         the nss database lookup.
31144         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31147 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31149         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31151 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31153         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31154         ${Bash-specific parameter/pattern/string} parameter expansion.
31155         * sysdeps/unix/make-syscalls.sh: Likewise.
31157 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31159         * sysdeps/sh/stackguard-macros.h: New file.
31161 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31164         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31165         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31166         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31167         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31168         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31170 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31172         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31173         Fix thread ID register.
31175 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31177         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31178         [POSIX || UNIX98]: Require rather than permitting all symbols from
31179         <time.h>.
31180         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31181         element of struct sched_param.
31182         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31183         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31184         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31185         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31186         constant.
31188 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31190         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31191         argument calculation.
31193 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31195         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31196         Expect macro.
31197         [POSIX] (pthread_attr_t): Do not require type.
31198         [POSIX] (pthread_cond_t): Likewise.
31199         [POSIX] (pthread_condattr_t): Likewise.
31200         [POSIX] (pthread_key_t): Likewise.
31201         [POSIX] (pthread_mutex_t): Likewise.
31202         [POSIX] (pthread_mutexattr_t): Likewise.
31203         [POSIX] (pthread_once_t): Likewise.
31204         [POSIX] (pthread_t): Likewise.
31205         [POSIX-based standards] (pthread_atfork): Expect function.
31207 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31208             Richard Sandiford  <richard@codesourcery.com>
31210         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31211         (swap_endianness_p): New extern variable.
31212         (set_big_endian): New inline function.
31213         (maybe_swap_uint32): Likewise.
31214         (maybe_swap_uint32_array): Likewise.
31215         (maybe_swap_uint32_obstack): Likewise.
31216         * locale/programs/locfile.c: Include <stdbool.h>.
31217         (swap_endianness_p): New variable.
31218         (add_locale_uint32): Call maybe_swap_uint32.
31219         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31220         (write_locale_data): Call maybe_swap_uint32_array.
31221         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31222         maybe_swap_uint32.
31223         (obstack_int32_grow_fast): Likewise.
31224         (output_weightwc): Call maybe_swap_uint32_obstack.
31225         (collate_output): Likewise.
31226         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31227         (OPT_LITTLE_ENDIAN): Likewise.
31228         (options): Add --little-endian and --big-endian options.
31229         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31230         * locale/programs/locarchive.c: Include "locfile.h".
31231         (GET): New macro.
31232         (SET): Likewise.
31233         (INC): Likewise.
31234         (create_archive): Use the new macros to access fields of
31235         structures directly mapped from or written to locale archives.
31236         (oldlocrecentcmp): Likewise.
31237         (enlarge_archive): Likewise.
31238         (insert_name): Likewise.
31239         (add_alias): Likewise.
31240         (add_locale): Likewise.
31241         (delete_locales_from_archive): Likewise.
31242         (show_archive_content): Likewise.
31243         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31244         locale data.
31246 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31248         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31249         http://www.gnu.org/doc/freemanuals.texi.
31250         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31252 2013-09-24  Will Newton  <will.newton@linaro.org>
31254         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31255         macro.
31257 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31259         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31260         unsigned char.
31262 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31264         * manual/threads.texi (POSIX Threads): Fix a typo.
31266 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31268         [BZ #14547]
31269         * string/tst-strcoll-overflow.c: New test case.
31270         * string/Makefile (xtests): Add tst-strcoll-overflow.
31271         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31272         cache if string sizes may cause integer overflow.
31274         [BZ #14547]
31275         * string/strcoll_l.c (coll_seq): New members rule, idx,
31276         save_idx and back_us.
31277         (get_next_seq_nocache): New function.
31278         (do_compare_nocache): New function.
31279         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31280         when malloc fails.
31282 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31284         [BZ #15754]
31285         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31286         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31287         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31289         [BZ #15754]
31290         * elf/Makefile (tests): Add tst-ptrguard1.
31291         (tests-static): Add tst-ptrguard1-static.
31292         (tst-ptrguard1-ARGS): Define.
31293         (tst-ptrguard1-static-ARGS): Define.
31294         * elf/tst-ptrguard1.c: New file.
31295         * elf/tst-ptrguard1-static.c: New file.
31296         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31297         * sysdeps/i386/stackguard-macros.h: Likewise.
31298         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31299         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31300         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31301         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31302         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31303         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31305 2013-09-23  Hector Marco  <hecmargi@upv.es>
31306             Ismael Ripoll  <iripoll@disca.upv.es>
31307             Carlos O'Donell  <carlos@redhat.com>
31309         [BZ #15754]
31310         * sysdeps/generic/stackguard-macros.h: Define
31311         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31312         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31313         Define __pointer_chk_guard_local.
31314         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31315         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31317 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31319         [BZ #15859]
31320         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31322 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31324         * include/string.h (__ffs): Declare as hidden.
31325         * string/ffs.c (__ffs): Define as hidden.
31326         * sysdeps/i386/ffs.c (__ffs): Likewise.
31327         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31328         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31329         * sysdeps/s390/ffs.c (__ffs): Likewise.
31330         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31332 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31334         * NEWS: Mention malloc probes.
31336         * malloc/arena.c (new_heap): New memory_heap_new probe.
31337         (grow_heap): New memory_heap_more probe.
31338         (shrink_heap): New memory_heap_less probe.
31339         (heap_trim): New memory_heap_free probe.
31340         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31341         (systrim): New memory_sbrk_less probe.
31342         * manual/probes.texi: Document them.
31344         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31345         * manual/probes.texi: Document it.
31347         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31348         (__libc_realloc): Add memory_realloc_retry probe.
31349         (__libc_memalign): Add memory_memalign_retry probe.
31350         (__libc_valloc): Add memory_valloc_retry probe.
31351         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31352         (__libc_calloc): Add memory_calloc_retry probe.
31353         * manual/probes.texi: Document them.
31355         * malloc/arena.c (get_free_list): Add probe
31356         memory_arena_reuse_free_list.
31357         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31358         and memory_arena_reuse.
31359         (arena_get2) [!PER_THREAD]: Likewise.
31360         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31361         memory_arena_reuse_realloc.
31362         * manual/probes.texi: Document them.
31364         * malloc/malloc.c (__libc_free): Add
31365         memory_mallopt_free_dyn_thresholds probe.
31366         (__libc_mallopt): Add multiple memory_mallopt probes.
31367         * manual/probes.texi: Document them.
31369         * malloc/malloc.c: Include stap-probe.h.
31370         (__libc_mallopt): Add memory_mallopt probe.
31371         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31372         * manual/probes.texi: New.
31373         * manual/Makefile (chapters): Add probes.
31374         * manual/threads.texi: Set next node.
31376 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31378         [BZ #15963, #13985]
31379         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31380         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31381         Add `Chinese' to `nan' entry name.
31383 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31385         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31386         (POLYNOMIAL): Likewise.
31387         (TAYLOR_SINCOS): Likewise.
31388         (TAYLOR_SLOW): Likewise.
31389         (__sin): Use TAYLOR_SINCOS.
31390         (__cos): Likewise.
31391         (slow): Use TAYLOR_SLOW.
31392         (sloww): Likewise.
31393         (bsloww): Likewise.
31394         (csloww): Likewise.
31396 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31398         * stdlib/strtod_l.c: Fix buffer overrun.
31400 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31402         * benchtests/Makefile (bench): Add sincos.
31403         * benchtests/bench-sincos.c: New file.
31405         * math/libm-test.inc (cos_test_data): New test inputs.
31406         (sin_test_data): Likewise.
31408         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31409         macro.
31410         (__sin): Use it.
31411         (__cos): Likewise.
31412         (slow1): Likewise.
31413         (slow2): Likewise.
31414         (sloww1): Likewise.
31415         (sloww2): Likewise.
31416         (bsloww1): Likewise.
31417         (bsloww2): Likewise.
31418         (cslow2): Likewise.
31419         (csloww1): Likewise.
31420         (csloww2): Likewise.
31422         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31423         function.
31424         (__sin): Use it.
31425         (__cos): Likewise.
31427         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31428         gotos.
31429         (__cos): Likewise.
31431 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31433         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31434         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31435         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31436         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31437         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31438         * elf/cache.c (print_entry): Handle the new cache flags.
31440 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31441             Aldy Hernandez  <aldyh@redhat.com>
31443         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31444         Change condition to [_SOFT_FLOAT].
31445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31453         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31455         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31457         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31458         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31460         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31461         declaration.
31463 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31465         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31466         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31467         (__longjmp): Use LOAD_GP to load saved GPRs.
31468         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31469         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31470         (__sigsetjmp): Use SAVE_GP to save GPRs.
31472         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31473         Do not append -msoft-float.
31474         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31476 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31478         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31480 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31482         [BZ #15966]
31483         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31484         (_FPU_GETCW): Use initial "__" on variable and field names but not
31485         on macro parameter name.
31486         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31487         parentheses around reference to macro parameter.
31489 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31491         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31492         prototype.
31493         (ctype_startup): Use uint32_t in cast and sizeof for
31494         ctype->charnames.
31496 2013-09-11  Jia Liu  <proljc@gmail.com>
31498         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31499         __daddr_t_defined.
31500         [__FreeBSD__]: Likewise.
31502 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31505         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31506         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31507         (strchr): Remove __strchr_sse42 ifunc selection.
31508         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31509         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31511 2013-09-11  Will Newton  <will.newton@linaro.org>
31513         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31514         parameter to RES. Remove hardcoded 1000 value.
31515         * benchtests/bench-skeleton.c (main): Pass RES parameter
31516         to TIMING_INIT and multiply result by 1000.
31518 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31522 2013-09-11  Andreas Schwab  <schwab@suse.de>
31524         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31525         if not defined.
31526         (O_TMPFILE) [__USE_GNU]: Define.
31527         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31528         Define.
31530 2013-09-11  Will Newton  <will.newton@linaro.org>
31532         [BZ #15857]
31533         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31534         does not overflow.
31536 2013-09-11  Will Newton  <will.newton@linaro.org>
31538         [BZ #15856]
31539         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31540         does not overflow.
31542 2013-09-11  Will Newton  <will.newton@linaro.org>
31544         [BZ #15855]
31545         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31546         does not overflow.
31548 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31550         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31551         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31552         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31553         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31554         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31556 2013-09-10  Allan McRae  <allan@archlinux.org>
31558         [BZ #15748]
31559         * manual/arith.texi (Parsing of Floats): Clarify
31560         cross-reference.
31562         [BZ #15849]
31563         * manual/install.texi (Running make install): Mention
31564         --enable-pt-chown.
31565         * INSTALL: Regenerated.
31567 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31569         * csu/init-first.c (_init): Remove the !SHARED condition around
31570         FPU control word initialization.
31571         * elf/dl-support.c (_dl_fpu_control): New variable.
31572         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31573         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31574         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31575         * math/test-fpucw-static.c: New file.
31576         * math/test-fpucw-ieee.c: New file.
31577         * math/test-fpucw-ieee-static.c: New file.
31578         * math/Makefile (tests): Add `test-fpucw-ieee' and
31579         `$(tests-static)'.
31580         (tests-static): New variable.
31581         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31582         dependency to...
31583         [($(build-shared),yes)]
31584         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31585         ... this.
31586         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31587         New dependency.
31589 2013-09-09  Allan McRae  <allan@archlinux.org>
31591         [BZ #15939]
31592         * manual/string.texi (Collation Functions): Fix typo in
31593         strcoll example.
31594         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31596         [BZ #15893]
31597         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31599         [BZ #15892]
31600         * libio/memstream.c (open_memstream): Fix memory leak.
31601         * libio/wmemstream.c (open_wmemstream): Likewise.
31603         [BZ #15895]
31604         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31606 2013-09-09  Will Newton  <will.newton@linaro.org>
31608         * malloc/Makefile: Add tst-realloc to tests.
31609         * malloc/tst-realloc.c: New file.
31611 2013-09-09  Allan McRae  <allan@archlinux.org>
31613         [BZ #15844]
31614         * COPYING: Update from GNU website to fix FSF address.
31615         * COPYING.LIB: Likewise.
31617 2013-09-06  David S. Miller  <davem@davemloft.net>
31619         * po/zh_TW.po: Update Chinese (traditional) translation from
31620         translation project.
31622 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31623             Joseph Myers  <joseph@codesourcery.com>
31625         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31626         "localeinfo.h".
31627         (obstack_chunk_alloc): New macro.
31628         (obstack_chunk_free): Likewise.
31629         (record_offset): New function.
31630         (init_locale_data): Likewise.
31631         (align_locale_data): Likewise.
31632         (add_locale_empty): Likewise.
31633         (add_locale_raw_data): Likewise.
31634         (add_locale_raw_obstack): Likewise.
31635         (add_locale_string): Likewise.
31636         (add_locale_wstring): Likewise.
31637         (add_locale_uint32): Likewise.
31638         (add_locale_uint32_array): Likewise.
31639         (add_locale_char): Likewise.
31640         (start_locale_structure): Likewise.
31641         (end_locale_structure): Likewise.
31642         (start_locale_prelude): Likewise.
31643         (end_locale_prelude): Likewise.
31644         (write_locale_data): Take locale_file structure rather than an
31645         iovec.
31646         * locale/programs/locfile.h: Include "obstack.h".
31647         (struct locale_file): Change to store locale file contents instead
31648         of header.
31649         (init_locale_data): New prototype.
31650         (align_locale_data): Likewise.
31651         (add_locale_empty): Likewise.
31652         (add_locale_raw_data): Likewise.
31653         (add_locale_raw_obstack): Likewise.
31654         (add_locale_string): Likewise.
31655         (add_locale_wstring): Likewise.
31656         (add_locale_uint32): Likewise.
31657         (add_locale_uint32_array): Likewise.
31658         (add_locale_char): Likewise.
31659         (start_locale_structure): Likewise.
31660         (end_locale_structure): Likewise.
31661         (start_locale_prelude): Likewise.
31662         (end_locale_prelude): Likewise.
31663         (write_locale_data): Update prototype.
31664         * locale/programs/3level.h (struct TABLE): Remove result field.
31665         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31666         Use new locale_file interface.
31667         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31668         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31669         * locale/programs/ld-address.c (address_output): Use new
31670         locale_file interface.
31671         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31672         NO_ADD_LOCALE.
31673         (collate_finish): Don't call collseq_table_finalize.
31674         (collate_output): Use new locale_file interface.
31675         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31676         in file.
31677         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31678         (TABLE): Move defines earlier in file.
31679         (ELEMENT): Likewise.
31680         (DEFAULT): Likewise.
31681         (wctrans_table_add): Move macro and inline function earlier in
31682         file.
31683         (struct wctype_table): Move type earlier in file.
31684         (add_locale_wctype_table): New static prototype.
31685         (struct locale_ctype_t): Use logical types instead of struct iovec
31686         pointers for members.
31687         (ctype_output): Use new locale_file interface.
31688         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31689         new locale_file interface.
31690         (allocate_arrays): Update for use of new locale_file interface.
31691         * locale/programs/ld-identification.c (identification_output): Use
31692         new locale_file interface.
31693         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31694         * locale/programs/ld-messages.c (messages_output): Likewise.
31695         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31696         * locale/programs/ld-name.c (name_output): Likewise.
31697         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31698         * locale/programs/ld-paper.c (paper_output): Likewise.
31699         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31700         * locale/programs/ld-time.c (time_output): Likewise.
31702 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31704         * benchtests/Makefile: Add memrchr benchmark.
31705         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31706         benchmark as memrchr.
31707         * benchtests/bench-memrchr-ifunc.c: New file.
31708         * benchtests/bench-memrchr.c: New file.
31710 2013-09-06   Will Newton  <will.newton@linaro.org>
31712         * benchtests/Makefile (string-bench): Add memcpy.
31714 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31715             Cong Wang  <amwang@redhat.com>
31717         [BZ #15850]
31718         * sysdeps/unix/sysv/linux/bits/in.h
31719         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31720         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31721         before __USE_KERNEL_IPV6_DEFS uses.
31722         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31723         IPPROTO_BEETPH.
31724         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31725         sockaddr_in6, or ipv6_mreq.
31727 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31729         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31730         memory access for final bytes in some large inputs.
31731         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31733 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31735         * string/test-memrchr.c: New file.
31736         * string/test-memrchr-ifunc.c: New file.
31737         * string/Makefile: Add new memrchr testcase.
31739 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31741         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31742         fanotify_init returns EPERM.
31744 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31746         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31747         errors.
31748         (top level): Treat second token from macro or constant entries for
31749         allowed headers as allowed.
31750         * include/complex.h: Condition internal declarations on
31751         [!_ISOMAC].
31752         * include/fenv.h: Condition include of <stdbool.h> and internal
31753         declarations on [!_ISOMAC].
31755 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31757         [BZ #15923]
31758         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31760 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31762         * configure.in (--enable-versioning): Remove configure option.
31763         (libc_cv_asm_symver_directive): Remove configure test.
31764         (libc_cv_ld_version_script_option): Likewise.
31765         (VERSIONING): Remove variable and AC_SUBST.
31766         (DO_VERSIONING): Remove AC_DEFINE.
31767         * configure: Regenerated.
31768         * config.h.in (DO_VERSIONING): Remove macro.
31769         * Makerules [$(versioning) = yes]: Change conditionals to
31770         [$(build-shared) = yes].
31771         * config.make.in (versioning): Remove variable.
31772         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31773         [$(build-shared) = yes].
31774         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31775         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31776         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31777         [$(build-shared) = yes].
31778         * extra-lib.mk [$(versioning) = yes]: Likewise.
31779         * hurd/Makefile [$(versioning) = yes]: Likewise.
31780         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31781         [SHARED].
31782         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31783         [SHARED].
31784         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31785         [SHARED && !NO_HIDDEN].
31786         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31787         [SHARED].
31788         [SHARED && DO_VERSIONING]: Likewise..
31789         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31790         [$(build-shared) = yes].
31791         * manual/install.texi (--disable-versioning): Remove
31792         documentation.
31793         * INSTALL: Regenerated.
31794         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31795         to [SHARED].
31796         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31797         [$(build-shared) = yes].
31798         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31799         * sysdeps/i386/i686/multiarch/strstr-c.c
31800         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31801         [SHARED && !NO_HIDDEN].
31802         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31803         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31804         * sysdeps/powerpc/powerpc32/dl-machine.c
31805         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31806         * sysdeps/powerpc/powerpc32/sysdep.h
31807         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31808         to [SHARED && PIC && !NO_HIDDEN].
31809         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31810         conditional to [SHARED].
31812 2013-09-04   Will Newton  <will.newton@linaro.org>
31814         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31815         * benchtests/bench-string.h: Include bench-timing.h instead
31816         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31817         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31818         call to HP_TIMING_DIFF_INIT.
31819         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31820         instead of hp-timing.h macros.
31821         * benchtests/bench-memchr.c: Likewise.
31822         * benchtests/bench-memcmp.c: Likewise.
31823         * benchtests/bench-memcpy.c: Likewise.
31824         * benchtests/bench-memmem.c: Likewise.
31825         * benchtests/bench-memmove.c: Likewise.
31826         * benchtests/bench-memset.c: Likewise.
31827         * benchtests/bench-rawmemchr.c: Likewise.
31828         * benchtests/bench-strcasecmp.c: Likewise.
31829         * benchtests/bench-strcasestr.c: Likewise.
31830         * benchtests/bench-strcat.c: Likewise.
31831         * benchtests/bench-strchr.c: Likewise.
31832         * benchtests/bench-strcmp.c: Likewise.
31833         * benchtests/bench-strcpy.c: Likewise.
31834         * benchtests/bench-strcpy_chk.c: Likewise.
31835         * benchtests/bench-strlen.c: Likewise.
31836         * benchtests/bench-strncasecmp.c: Likewise.
31837         * benchtests/bench-strncat.c: Likewise.
31838         * benchtests/bench-strncmp.c: Likewise.
31839         * benchtests/bench-strncpy.c: Likewise.
31840         * benchtests/bench-strnlen.c: Likewise.
31841         * benchtests/bench-strpbrk.c: Likewise.
31842         * benchtests/bench-strrchr.c: Likewise.
31843         * benchtests/bench-strspn.c: Likewise.
31844         * benchtests/bench-strstr.c: Likewise.
31846 2013-09-04  Will Newton  <will.newton@linaro.org>
31848         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31850 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31852         [BZ #15427]
31853         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31854         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31855         * math/libm-test.inc (lgamma_test_data): Add more tests.
31856         * sysdeps/i386/fpu/libm-test-ulps: Update.
31857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31859 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31861         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31863         Add ifunc.
31864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31865         Add strcmp-sse2-unaligned
31866         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31868 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31870         * Versions.def (libc): Add GLIBC_2.19.
31872 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31874         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31875         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31877 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31879         [BZ #14155]
31880         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31881         intermediate calculations in recurrence.
31882         (__ieee754_ynf): Likewise.
31883         * math/libm-test.inc (jn_test_data): Do not allow spurious
31884         underflow exception.  Add more tests.
31885         (yn_test_data): Add more tests.
31886         * sysdeps/i386/fpu/libm-test-ulps: Update.
31887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31889 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31891         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31893 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31895         * csu/init-first.c: Fix then/than typos.
31896         * locale/programs/ld-collate.c: Likewise.
31897         * locale/programs/linereader.h: Likewise.
31898         * manual/charset.texi: Likewise.
31899         * manual/filesys.texi: Likewise.
31900         * manual/stdio.texi: Likewise.
31901         * manual/string.texi: Likewise.
31902         * stdlib/fmtmsg.c: Likewise.
31903         * sysdeps/i386/stpncpy.S: Likewise.
31904         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31905         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31906         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31907         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31909 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31911         * elf/dl-open.c: Fix typos.
31912         * iconvdata/gbbig5.c: Likewise.
31913         * iconvdata/iso-2022-jp.c: Likewise.
31914         * iconv/gconv_int.h: Likewise.
31915         * iconv/loop.c: Likewise.
31916         * nis/rpcsvc/nis.h: Likewise.
31917         * resolv/ns_name.c: Likewise.
31918         * stdio-common/vfscanf.c: Likewise.
31919         * streams/stropts.h: Likewise.
31920         * sunrpc/rpc_thread.c: Likewise.
31921         * sysdeps/i386/strpbrk.S: Likewise.
31922         * sysdeps/ieee754/k_standard.c: Likewise.
31923         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31924         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31925         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31926         * sysdeps/mach/hurd/profil.c: Likewise.
31927         * sysdeps/s390/dl-procinfo.h: Likewise.
31928         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31929         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31930         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31931         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31932         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31934 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31936         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31939 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31941         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31942         aix specific files.
31943         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31944         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31945         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31946         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31947         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31948         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31949         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31950         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31952 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31953             Roland McGrath  <roland@hack.frob.com>
31955         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31956         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31958 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31960         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31961         __executable_start symbol instead of _start.
31963 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31965         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31966         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31967         Move macros to...
31968         * sysdeps/gnu/ldsodefs.h: ... this new file.
31970         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31971         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31972         instead of ELFOSABI_LINUX.
31974         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31975         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31976         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31977         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31978         Likewise.
31979         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31980         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31981         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31982         Likewise.
31983         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31984         (ibm_extended_long_double): Add ieee_nan member.
31985         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31986         (do_test): New function.
31988         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31989         TEST_TRUNC.
31990         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31991         functions, renamed from truncdfsf_test, trunctfsf_test,
31992         trunctfdf_test.
31993         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31994         functions.
31995         (do_test): Run all these.
31997 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31999         * argp/argp-help.c: Fix typos.
32000         * argp/argp-parse.c: Likewise.
32001         * debug/backtracesyms.c: Likewise.
32002         * elf/elf.h: Likewise.
32003         * malloc/malloc.c: Likewise.
32004         * nis/nis_print.c: Likewise.
32005         * resolv/res_comp.c: Likewise.
32006         * stdlib/stdlib.h: Likewise.
32007         * sunrpc/clnt_tcp.c: Likewise.
32008         * sunrpc/clnt_udp.c: Likewise.
32009         * sunrpc/clnt_unix.c: Likewise.
32010         * sysdeps/unix/bsd/ptsname.c: Likewise.
32011         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32012         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32014         Likewise.
32015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32016         Likewise.
32017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32018         Likewise.
32019         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32021 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32023         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32026 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32028         [BZ #15897]
32029         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32030         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32031         ($(objpfx)bug-dl-leaf): New rule.
32032         ($(objpfx)bug-dl-leaf.so): Likewise.
32033         ($(objpfx)bug-dl-leaf.out): Likewise.
32034         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32035         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32036         * dlfcn/bug-dl-leaf.c: New test.
32037         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32038         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32039         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32040         (dlclose): Likewise.
32041         (dlmopen): Likewise.
32043 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32045         * include/netdb.h [!_ISOMAC]:
32046         Don't include <tls.h>.
32047         (h_errno, __libc_h_errno): Move declaration and macros out of
32048         [_LIBC_REENTRANT].
32050         * include/resolv.h [_RESOLV_H_]:
32051         Don't include <tls.h>.
32052         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32053         * resolv/res_libc.c: Don't include <tls.h>.
32054         (_res): Use __attribute__ ((nocommon)) in place of
32055         __attribute__ ((section (".bss"))).
32057         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32058         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32060         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32062         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32063         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32065         * resolv/res_mkquery.c: Include <sys/time.h>.
32067         * inet/ifreq.c: Moved to ...
32068         * sysdeps/unix/ifreq.c: ... here.
32069         * inet/ifreq.c: New file, true stub version.
32071         * socket/sa_len.c: New file.
32072         * socket/Makefile (aux): Add it.
32073         * sysdeps/unix/sysv/linux/Makefile
32074         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32075         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32076         and #include <socket/sa_len.c>.
32077         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32078         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32080         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32081         * bits/socket.h: ... here.
32083         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32084         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32085         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32087 2013-08-27  Andreas Schwab  <schwab@suse.de>
32089         [BZ #15736]
32090         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32091         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32092         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32093         * string/test-strcasecmp.c (test_main): Run tests in several
32094         locales.
32095         * string/test-strncasecmp.c (test_main): Likewise.
32097         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32098         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32099         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32100         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32101         (__strncasecmp_ssse3) [PIC]: Likewise.
32103 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32105         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32107         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32108         instead of explicitly declaring xdecrypt.
32109         * nis/nss_nis/nis-publickey.c: Likewise.
32111 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32113         [BZ #15890]
32114         * nscd/aicache.c: Include res_hconf.h.
32115         (addhstaiX): Initialize res_hconf.
32117 2013-08-26  Andreas Schwab  <schwab@suse.de>
32119         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32120         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32122 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32124         * nscd/aicache.c (addhstaiX): Fix indentation.
32126 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32128         * configure.ac: Quote $build_pt_chown test.
32129         * configure: Regenerated.
32131 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32133         [BZ #15532]
32134         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32135         * math/s_cexpf.c (__cexpf): Likewise.
32136         * math/s_cexpl.c (__cexpl): Likewise.
32137         * math/libm-test.inc (cexp_test_data): Correct expected return
32138         value for NaN + i0.  Add another test.
32140 2013-08-22  David S. Miller  <davem@davemloft.net>
32142         * po/ca.po: Update Catalan translation from translation project.
32143         * po/uk.po: Add Ukrainian translations from translation project.
32145 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32147         [BZ #15797]
32148         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32149         is infinite, not alongside NaN test.
32150         * math/s_fdimf.c (__fdimf): Likewise.
32151         * math/s_fdiml.c (__fdiml): Likewise.
32152         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32153         errno is unchanged.
32155 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32157         * argp/argp-help.c: Fix typos.
32158         * crypt/speeds.c: Likewise.
32159         * csu/check_fds.c: Likewise.
32160         * elf/dl-load.c: Likewise.
32161         * elf/dl-open.c: Likewise.
32162         * elf/reldep3.c: Likewise.
32163         * elf/reldep.c: Likewise.
32164         * elf/sprof.c: Likewise.
32165         * iconv/iconv_charmap.c: Likewise.
32166         * iconv/skeleton.c: Likewise.
32167         * iconv/strtab.c: Likewise.
32168         * io/lockf64.c: Likewise.
32169         * libio/libioP.h: Likewise.
32170         * resolv/gai_notify.c: Likewise.
32171         * resolv/ns_name.c: Likewise.
32172         * resolv/ns_samedomain.c: Likewise.
32173         * resolv/res_send.c: Likewise.
32174         * stdlib/random.c: Likewise.
32175         * sunrpc/rpc/xdr.h: Likewise.
32176         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32177         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32178         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32179         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32180         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32181         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32182         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32183         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32184         * sysdeps/mach/hurd/check_fds.c: Likewise.
32185         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32186         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32187         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32188         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32189         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32190         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32191         * sysdeps/pthread/aio_notify.c: Likewise.
32192         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32193         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32194         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32195         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32196         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32198 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32200         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32201         version if bit_Slow_SSE4_2 is set.
32202         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32203         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32205 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32207         [BZ #15867]
32208         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32209         trampoline stack frame information.
32210         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32211         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32212         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32213         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32214         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32215         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32216         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32217         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32218         sa_flags value.
32219         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32220         interrupting a syscall and set with option SA_SIGINFO.
32222 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32224         [BZ #15531]
32225         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32226         argument is infinite.
32227         * math/s_cprojf.c (__cprojf): Likewise.
32228         * math/s_cprojl.c (__cprojl): Likewise.
32229         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32230         * math/libm-test.inc (cproj_test_data): Add more tests.
32232         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32234         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32235         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32236         size.  Use __ffs to determine corresponding shift.
32238 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32239             Roland McGrath  <roland@hack.frob.com>
32241         * Makefile (INSTALL): Remove trailing blank lines from output of
32242         makeinfo.
32244 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32246         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32247         Align 32 bit compat elf_greg to 8 bytes.
32249 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32251         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32253 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32255         * string/strcoll_l.c (coll_seq): New structure.
32256         (get_next_seq_cached): New function.
32257         (get_next_seq): New function.
32258         (do_compare): New function.
32259         (STRCOLL): Use GNU style definition.  Simplify implementation
32260         by using get_next_seq, get_next_seq_cached and do_compare.
32262 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32264         [BZ #14699]
32265         CVE-2013-4237
32266         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32267         member.
32268         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32269         member.
32270         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32271         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32272         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32273         conditional.
32274         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32275         GETDENTS_64BIT_ALIGNED.
32276         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32277         * manual/filesys.texi (Reading/Closing Directory): Document
32278         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32279         strongly.
32280         * manual/conf.texi (Limits for Files): Add portability note to
32281         NAME_MAX, PATH_MAX.
32282         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32284 2013-08-13  Andreas Schwab  <schwab@suse.de>
32286         [BZ #15749]
32287         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32288         of fabs.
32289         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32290         LDBL_MAX_EXP >= 16384]: Add tests for it.
32292 2013-08-12  David S. Miller  <davem@davemloft.net>
32294         * version.h (RELEASE): Set to "development".
32295         (VERSION): Set to "2.18.90".
32296         * NEWS: Add 2.19 section.
32298 2013-08-03  David S. Miller  <davem@davemloft.net>
32300         * po/ko.po: Update Korean translation from translation project.
32302 2013-08-01  David S. Miller  <davem@davemloft.net>
32304         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32305         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32306         Bilka.
32308 2013-07-30  David S. Miller  <davem@davemloft.net>
32310         * po/fr.po: Update French translation from translation project.
32312 2013-07-28  David S. Miller  <davem@davemloft.net>
32314         * po/cs.po: Update Czech translation from translation project.
32316         * po/sv.po: Update Swedish translation from translation project.
32318 2013-07-27  David S. Miller  <davem@davemloft.net>
32320         * po/eo.po: Update Esperanto translation from translation project.
32322         * po/vi.po: Update Vietnamese translation from translation project.
32324         * po/de.po: Update German translation from translation project.
32326 2013-07-26  David S. Miller  <davem@davemloft.net>
32328         * po/bg.po: Update Bulgarian translation from translation project.
32330         * po/nl.po: Update Dutch translation from translation project.
32331         * po/pl.po: Update Polish translation from translation project.
32332         * po/ru.po: Update Russian translation from translation project.
32334 2013-07-24  David S. Miller  <davem@davemloft.net>
32336         * po/libc.pot: Update.
32338 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32340         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32341         variable page size.
32342         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32343         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32344         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32346 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32348         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32350 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32351             Andreas Schwab  <schwab@suse.de>
32352             Roland McGrath  <roland@hack.frob.com>
32353             Joseph Myers  <joseph@codesourcery.com>
32354             Carlos O'Donell  <carlos@redhat.com>
32356         [BZ #15755]
32357         * config.h.in: Define HAVE_PT_CHOWN.
32358         * config.make.in (build-pt-chown): New variable.
32359         * configure.in (--enable-pt_chown): New configure option.
32360         * configure: Regenerate.
32361         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32362         build-pt-chown is enabled.
32363         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32364         pt_chown to fix pty ownership.
32365         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32366         CLOSE_ALL_FDS.
32367         * manual/install.texi (Configuring and compiling): Mention
32368         --enable-pt_chown. Add @findex for grantpt.
32369         * INSTALL: Regenerate.
32371 2013-07-20  David S. Miller  <davem@davemloft.net>
32373         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32374         difference between 32-bit and 64-bit.
32376 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32378         [BZ #15711]
32379         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32380         Avoid system header dependency with -ffreestanding.
32381         ($(objpfx)bits/syscall%d): Likewise.
32383 2013-07-13  David S. Miller  <davem@davemloft.net>
32385         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32386         underflows from atanl/atan2l due to bug 15319.
32387         (casinh_test_data): Likewise.
32389 2013-07-07  David S. Miller  <davem@davemloft.net>
32391         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32393 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32395         * sysdeps/i386/fpu/libm-test-ulps: Update.
32396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32398 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32400         * configure.in (--enable-lock-elision): Fix message text.
32401         * INSTALL: Regenerate.
32402         * configure: Regenerate.
32404 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32408 2013-07-03  Andreas Jaeger  <aj@suse.de>
32410         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32411         define.
32412         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32413         (ptrace_peeksiginfo_args): Add.
32414         (__ptrace_peeksiginfo_flags): Add.
32415         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32416         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32417         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32419 2013-07-03  Allan McRae  <allan@archlinux.org>
32421         * sysdeps/i386/fpu/libm-test-ulps: Update.
32423 2013-07-02  David S. Miller  <davem@davemloft.net>
32425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32427 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32431 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32433         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32436 2013-07-02  Andi Kleen <ak@linux.intel.com>
32438         * config.h.in (ENABLE_LOCK_ELISION): Add.
32439         * configure.in (--enable-lock-elision): Add option.
32440         * manual/install.texi: Document --enable lock elision.
32441         * configure: Regenerate
32442         * INSTALL: Regenerate.
32444 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32446         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32447         SSE4.2 strcasecmp for libc.a.
32448         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32450 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32452         [BZ #13304]
32453         * soft-fp/op-common.h (_FP_FMA): New macro.
32454         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32455         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32456         (_FP_MUL_MEAT_1_imm): ... here.
32457         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32458         (_FP_MUL_MEAT_1_wide): ... here.
32459         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32460         (_FP_MUL_MEAT_1_hard): ... here.
32461         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32462         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32463         (_FP_MUL_MEAT_2_wide): ... here.
32464         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32465         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32466         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32467         (_FP_MUL_MEAT_2_gmp): ... here.
32468         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32469         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32470         (_FP_MUL_MEAT_4_wide): ... here.
32471         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32472         (_FP_MUL_MEAT_4_gmp): ... here.
32473         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32474         (_FP_WFRACBITS_DW_S): Likewise.
32475         (_FP_WFRACXBITS_DW_S): Likewise.
32476         (_FP_HIGHBIT_DW_S): Likewise.
32477         (FP_FMA_S): Likewise.
32478         (_FP_FRAC_HIGH_DW_S): Likewise.
32479         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32480         (_FP_WFRACBITS_DW_D): Likewise.
32481         (_FP_WFRACXBITS_DW_D): Likewise.
32482         (_FP_HIGHBIT_DW_D): Likewise.
32483         (FP_FMA_D): Likewise.
32484         (_FP_FRAC_HIGH_DW_D): Likewise.
32485         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32486         (_FP_WFRACBITS_DW_E): Likewise.
32487         (_FP_WFRACXBITS_DW_E): Likewise.
32488         (_FP_HIGHBIT_DW_E): Likewise.
32489         (FP_FMA_E): Likewise.
32490         (_FP_FRAC_HIGH_DW_E): Likewise.
32491         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32492         (_FP_WFRACBITS_DW_Q): Likewise.
32493         (_FP_WFRACXBITS_DW_Q): Likewise.
32494         (_FP_HIGHBIT_DW_Q): Likewise.
32495         (FP_FMA_Q): Likewise.
32496         (_FP_FRAC_HIGH_DW_Q): Likewise.
32497         * soft-fp/fmasf4.c: New file.
32498         * soft-fp/fmadf4.c: Likewise.
32499         * soft-fp/fmatf4.c: Likewise.
32501 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32504         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32505         Silvermont.
32506         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32507         macro.
32508         (index_Slow_SSE4_2): Likewise.
32509         (index_Prefer_PMINUB_for_stringop): Likewise.
32510         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32511         bit_Slow_SSE4_2 is set.
32512         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32513         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32515 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32517         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32518         rtld_global._dl_hwcap2.
32519         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32520         POWER8.
32521         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32522         POWER8 feature descriptions defined in _dl_hwcap2.
32523         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32524         string handling for POWER8 feature bits.
32525         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32526         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32527         _dl_powerpc_cap_flags.
32528         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32529         * sysdeps/powerpc/rtld-global-offsets.sym
32530         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32531         _dl_hwcap2 in the rtld_global_ro structure.
32533 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32535         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32536         hardware capabilities in support of AT_HWCAP2.
32537         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32538         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32539         GLRO(dl_hwcap2).
32540         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32541         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32542         explicitly the unknown a_type display mechanism is used.
32543         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32544         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32545         struct member.
32546         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32547         to macro prototype for AT_HWCAP2 support.
32548         * sysdeps/i386/dl-procinfo.h: Likewise.
32549         * sysdeps/s390/dl-procinfo.h: Likewise.
32550         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32551         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32552         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32553         return -1 for unknown a_type display fallback.
32554         * sysdeps/sparc/dl-procinfo.h: Likewise.
32555         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32556         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32558 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32560         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32561         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32563 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32565         [BZ #12492]
32566         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32567         mprotect making __stack_prot writable.
32569 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32570             Joseph Myers  <joseph@codesourcery.com>
32572         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32573         as being properly aligned.
32575 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32577         * dlfcn/modstatic5.c: New file.
32578         * dlfcn/tststatic5.c: New file.
32579         * dlfcn/Makefile (tests): Add tststatic5.
32580         (tests-static): Likewise.
32581         (modules-names): Add modstatic5.
32582         (tststatic5-ENV): New variable.
32583         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32585         [BZ #15022]
32586         * elf/dl-support.c (_dl_main_map): New variable.
32587         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32588         (_dl_nns, _dl_load_adds): Set to 1.
32589         (_dl_initial_searchlist): Refer to _dl_main_map.
32590         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32591         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32592         call to _dl_get_origin.
32593         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32594         around call_map.
32595         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32596         * dlfcn/modstatic3.c: New file.
32597         * dlfcn/tststatic3.c: New file.
32598         * dlfcn/tststatic4.c: New file.
32599         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32600         (tests-static): Likewise.
32601         (modules-names): Add modstatic3.
32602         (tststatic3-ENV, tststatic4-ENV): New variables.
32603         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32604         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32606 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32608         * configure.in (CC): Require GCC version 4.4 or later.
32609         * configure: Regenerated.
32610         * manual/install.texi (Tools for Compilation): Update GCC version
32611         requirement.
32612         * INSTALL: Regenerated.
32614 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32616         [BZ #15674]
32617         * string/test-memcmp.c (check2): New.
32618         (main): Call check2.
32620         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32622 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32624         [BZ #15022]
32625         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32626         over to...
32627         (dl_open_worker) [!SHARED]: ... here.
32629 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32631         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32633 2013-06-25  Richard Henderson  <rth@redhat.com>
32635         * locale/programs/locarchive.c: Include <libc-internal.h>
32637 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32639         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32640         trailing whitespace removed.
32642 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32644         [BZ #10283]
32645         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32646         * locale/programs/locarchive.c: Include libc-mmap.h.
32647         (prepare_address_space): Take two new outputs (the mmap base and len).
32648         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32649         values.
32650         (create_archive): Declare new mmap base and len values for
32651         prepare_address_space, and store the result in ah.
32652         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32653         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32654         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32655         Declare new mmap base and len values for
32656         prepare_address_space, and store the result in new_ah.
32657         (open_archive): Declare new mmap base and len values for
32658         prepare_address_space, and store the result in ah.
32659         (close_archive): If ah->mmap_base is not NULL, use that and
32660         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32661         * sysdeps/generic/libc-mmap.h: New file.
32663 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32665         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32666         (ALIGN_UP): Likewise.
32667         (PTR_ALIGN_DOWN): Likewise.
32668         (PTR_ALIGN_UP): Likewise.
32670 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32672         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32673         entry mapped to PPC_PLATFORM_POWER8.
32674         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32675         POWER8.
32676         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32677         (_dl_string_platform): Add case for exporting platform position for
32678         POWER8.
32679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32680         search path to sysdeps/powerpc/powerpc32/power8 directory.
32681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32682         search path to sysdeps/powerpc/powerpc64/power8 directory.
32683         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32684         power7 directories.
32685         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32686         power7 directories.
32688 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32690         * INSTALL: Regenerate.
32692         * nscd/connections.c (nscd_init): Fix comment.
32694 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32696         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32698         [BZ #15667]
32699         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32700         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32702 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32704         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32705         DL_DST_REQ_STATIC.
32706         (DL_DST_REQ_STATIC): Remove macro.
32708 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32710         [BZ #7006]
32711         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32712         with a shift of 0 bits.
32714 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32716         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32717         $(tststatic-ENV).
32719 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32721         [BZ #15655]
32722         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32724 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32726         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32727         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32728         accepts -fno-tree-loop-distribute-patterns.
32729         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32730         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32731         recursive call.
32732         * string/memset.c (memset): Likewise.
32733         * string/test-memmove.c (simple_memmove): Disable loop transformation
32734         to library calls.
32735         * string/test-memset.c (simple_memset): Likewise.
32736         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32737         * benchtests/bench-memset.c (simple_memset): Likewise.
32738         * configure: Regenerated.
32740 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32742         * math/test-misc.c (main): Ignore fesetround failure when failures
32743         of subsequent rounding tests would be ignored.
32745         [BZ #15654]
32746         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32747         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32748         * math/fegetenv.c (__fegetenv): Return 0.
32749         * math/fegetexcept.c (fegetexcept): Return 0.
32750         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32751         FE_TONEAREST.
32752         * math/feholdexcpt.c (feholdexcept): Return 0.
32753         * math/fesetenv.c (__fesetenv): Return 0.
32754         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32755         argument FE_TONEAREST.
32756         * math/feupdateenv.c (__feupdateenv): Return 0.
32757         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32759 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32761         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32762         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32763         ($(objpfx)rtld-%.os rules): Use them.
32765 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32767         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32768         fields.
32770 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32772         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32773         length of target pattern, then descending length of dependency pattern.
32774         * configure.in (AWK): Require gawk 3.1.2 or newer.
32775         * manual/install.texi (Tools for Compilation): Say that we do.
32776         * configure: Regenerated.
32778         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32779         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32780         * scripts/sysd-rules.awk: ... this new script.
32781         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32782         than a glob-style pattern.
32784 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32786         * math/test-misc.c (main): Do not treat incorrectly rounded
32787         conversions as failure unless ROUNDING_TESTS passes.
32789 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32791         [BZ #15631]
32792         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32793         restore exception state around main square root computation, then
32794         check for inexactness explicitly.
32796         * math/libm-test.inc (fma_test_data): Add another test.
32798 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32800         * manual/threads.texi (Non-POSIX Extensions): New document
32801         node.  Document pthread_getattr_default_np and
32802         pthread_setattr_default_np.
32804         * Versions.def (libpthread): Add GLIBC_2.18.
32805         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32807         Likewise.
32808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32809         Likewise.
32810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32811         Likewise.
32812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32813         Likewise.
32814         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32815         Likewise.
32816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32817         Likewise.
32818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32819         Likewise.
32820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32821         Likewise.
32822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32823         Likewise.
32825 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32828         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32830 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32831             H.J. Lu  <hjl.tools@gmail.com>
32833         [BZ #15627]
32834         * sysdeps/x86_64/rtld-memset.c: Remove file.
32835         * sysdeps/x86_64/rtld-memset.S: New file.
32837 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32839         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32840         (test_in_one_mode): Take arguments for whether the rounding mode
32841         is supported for each floating-point type.
32842         (do_test): Pass new arguments to test_in_one_mode using
32843         ROUNDING_TESTS.
32845 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32847         * posix/tst-waitid.c (do_test): Distinguish different instances of
32848         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32849         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32850         before entering the kernel for waitpid.
32852 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32854         * NEWS: Fix note on clock function precision.  Text by Roland
32855         McGrath.
32857 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32859         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32860         it into place only when and if the sanity check passes.
32862 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32864         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32865         output for whether conversion result is exact.  Take argument
32866         indicating whether type is IBM long double.
32867         (round_for_all): Change need_exact field to ibm_ld.
32868         * stdlib/tst-strtod-round.c (struct exactness): New type.
32869         (struct test): Change bool ld_ok field to struct exactness exact.
32870         (TEST): Update all definitions for change to field.
32871         (tests): Regenerate array contents.
32872         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32873         field value.  Check for IBM long double here.
32874         (do_test): Update calls to test_in_one_mode.
32876 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32878         [BZ #12515]
32879         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32880         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32882 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32884         [BZ #15605]
32885         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32886         generated by the compiler on loop optimizations.
32887         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32888         general definitions.
32890 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32892         * math/bug-nextafter.c: Include <math-tests.h>.
32893         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32894         the relevant type.
32895         * math/bug-nexttoward.c: Include <math-tests.h>.
32896         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32897         the relevant type.
32898         * math/test-misc.c: Include <math-tests.h>.
32899         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32900         the relevant type.
32902 2013-06-12  Andreas Jaeger  <aj@suse.de>
32904         * po/ia.po: Update Interlingua translation from translation
32905         project.
32907 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32909         * include/fenv.h: Include stdbool.h.
32910         (struct rm_ctx): New structure.
32911         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32912         Define macro.
32913         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32914         (SET_RESTORE_ROUNDF): Likewise.
32915         (SET_RESTORE_ROUNDL): Likewise.
32916         (SET_RESTORE_ROUND_NOEX): Likewise.
32917         (SET_RESTORE_ROUND_NOEXF): Likewise.
32918         (SET_RESTORE_ROUND_NOEXL): Likewise.
32919         (SET_RESTORE_ROUND_53BIT): Likewise.
32920         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32921         (libc_feresetround_noexf_ctx): Likewise.
32922         (libc_feresetround_noexl_ctx): Likewise.
32923         (libc_feholdsetround_53bit_ctx): Likewise.
32924         (libc_feresetround_53bit_ctx): Likewise.
32925         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32926         (libc_feholdexcept_setround_sse_ctx): New function.
32927         (libc_fesetenv_sse_ctx): Likewise.
32928         (libc_feupdateenv_sse_ctx): Likewise.
32929         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32930         (libc_feholdexcept_setround_387_ctx): Likewise.
32931         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32932         (libc_feholdsetround_387_prec_ctx): Likewise.
32933         (libc_feholdsetround_387_ctx): Likewise.
32934         (libc_feholdsetround_387_53bit_ctx): Likewise.
32935         (libc_feholdsetround_sse_ctx): Likewise.
32936         (libc_feresetround_sse_ctx): Likewise.
32937         (libc_feresetround_387_ctx): Likewise.
32938         (libc_feupdateenv_387_ctx): Likewise.
32939         (libc_feholdexcept_setroundf_ctx): Define macro.
32940         (libc_fesetenvf_ctx): Likewise.
32941         (libc_feupdateenvf_ctx): Likewise.
32942         (libc_feholdsetroundf_ctx): Likewise.
32943         (libc_feresetroundf_ctx): Likewise.
32944         (libc_feholdexcept_setround_ctx): Likewise.
32945         (libc_fesetenv_ctx): Likewise.
32946         (libc_feupdateenv_ctx): Likewise.
32947         (libc_feholdsetround_ctx): Likewise.
32948         (libc_feresetround_ctx): Likewise.
32949         (libc_feholdexcept_setroundl_ctx): Likewise.
32950         (libc_feupdateenvl_ctx): Likewise.
32951         (libc_feholdsetroundl_ctx): Likewise.
32952         (libc_feresetroundl_ctx): Likewise.
32953         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32954         (libc_feresetround_53bit_ctx): Likewise.
32956 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32958         * locale/iso-639.def: Convert to UTF-8.
32960 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32962         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32963         (EXCEPTION_TESTS_double): Likewise.
32964         (EXCEPTION_TESTS_long_double): Likewise.
32965         (EXCEPTION_TESTS): Likewise.
32966         * math/libm-test.inc (test_exceptions): Only test exceptions if
32967         EXCEPTION_TESTS (FLOAT).
32969 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32971         * benchtests/Makefile (string-bench): Add strcpy_chk and
32972         stpcpy_chk.
32973         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32974         * benchtests/bench-stpcpy_chk.c: New file.
32975         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32976         * benchtests/bench-strcpy_chk.c: New file.
32977         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32978         code.
32979         (do_test): Likewise.
32981 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32983         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32984         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32985         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32986         with tabs where appropriate.
32987         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32988         dl-procinfo.h.
32989         [PPC_PLATFORM_PPC440]: Likewise.
32990         [PPC_PLATFORM_PPC464]: Likewise.
32991         [PPC_PLATFORM_PPC476]: Likewise.
32992         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32993         ppc464, and ppc476 platform strings merging from ports/
32994         dl-procinfo.h.
32996 2013-06-11  Andreas Schwab  <schwab@suse.de>
32998         [BZ #14991]
32999         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33000         (from_ucs4_idx): Regenerate.
33001         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33002         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33003         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33004         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33005         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33006         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33007         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33008         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33009         from FROM_LOOP and TO_LOOP specific macros.
33010         (BODY): Handle combining characters.
33011         * iconvdata/BIG5HKSCS.irreversible: Update.
33012         * iconvdata/BIG5HKSCS.precomposed: New file.
33013         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33014         characters.
33015         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33017 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33019         * include/sys/time.h: Fix indentation and add copyright header.
33021         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33022         (do_test): Likewise.
33023         * string/test-memchr.c (do_one_test): Likewise.
33024         (do_test): Likewise.
33025         * string/test-memcmp.c (do_one_test): Likewise.
33026         (do_test): Likewise.
33027         * string/test-memcpy.c (do_one_test): Likewise.
33028         (do_test): Likewise.
33029         * string/test-memmem.c (do_one_test): Likewise.
33030         (do_test): Likewise.
33031         (do_random_tests): Likewise.
33032         * string/test-memmove.c (do_one_test): Likewise.
33033         (do_test): Likewise.
33034         * string/test-memset.c (do_one_test): Likewise.
33035         (do_test): Likewise.
33036         * string/test-rawmemchr.c (do_one_test): Likewise.
33037         (do_test): Likewise.
33038         * string/test-strcasecmp.c (do_one_test): Likewise.
33039         (do_test): Likewise.
33040         * string/test-strcasestr.c (do_one_test): Likewise.
33041         (do_test): Likewise.
33042         * string/test-strcat.c (do_one_test): Likewise.
33043         (do_test): Likewise.
33044         * string/test-strchr.c (do_one_test): Likewise.
33045         (do_test): Likewise.
33046         * string/test-strcmp.c (do_one_test): Likewise.
33047         (do_test): Likewise.
33048         * string/test-strcpy.c (do_one_test): Likewise.
33049         (do_test): Likewise.
33050         * string/test-string.h: Likewise.
33051         (test_init): Likewise.
33052         * string/test-strlen.c (do_one_test): Likewise.
33053         (do_test): Likewise.
33054         * string/test-strncasecmp.c (do_one_test): Likewise.
33055         (do_test): Likewise.
33056         * string/test-strncat.c (do_one_test): Likewise.
33057         (do_test): Likewise.
33058         * string/test-strncmp.c (do_one_test): Likewise.
33059         (do_test_limit): Likewise.
33060         (do_test): Likewise.
33061         * string/test-strncpy.c (do_one_test): Likewise.
33062         (do_test): Likewise.
33063         * string/test-strnlen.c (do_one_test): Likewise.
33064         (do_test): Likewise.
33065         * string/test-strpbrk.c (do_one_test): Likewise.
33066         (do_test): Likewise.
33067         * string/test-strrchr.c (do_one_test): Likewise.
33068         (do_test): Likewise.
33069         * string/test-strspn.c (do_one_test): Likewise.
33070         (do_test): Likewise.
33071         * string/test-strstr.c (do_one_test): Likewise.
33072         (do_test): Likewise.
33074         * benchtests/Makefile (string-bench): Add string benchmarks.
33075         * benchtests/bench-bcopy-ifunc.c: New file.
33076         * benchtests/bench-bcopy.c: New file.
33077         * benchtests/bench-bzero-ifunc.c: New file.
33078         * benchtests/bench-bzero.c: New file.
33079         * benchtests/bench-memccpy-ifunc.c: New file.
33080         * benchtests/bench-memccpy.c: New file.
33081         * benchtests/bench-memchr-ifunc.c: New file.
33082         * benchtests/bench-memchr.c: New file.
33083         * benchtests/bench-memcmp-ifunc.c: New file.
33084         * benchtests/bench-memcmp.c: New file.
33085         * benchtests/bench-memmem-ifunc.c: New file.
33086         * benchtests/bench-memmem.c: New file.
33087         * benchtests/bench-memmove-ifunc.c: New file.
33088         * benchtests/bench-memmove.c: New file.
33089         * benchtests/bench-mempcpy-ifunc.c: New file.
33090         * benchtests/bench-mempcpy.c: New file.
33091         * benchtests/bench-memset-ifunc.c: New file.
33092         * benchtests/bench-memset.c: New file.
33093         * benchtests/bench-rawmemchr-ifunc.c: New file.
33094         * benchtests/bench-rawmemchr.c: New file.
33095         * benchtests/bench-stpcpy-ifunc.c: New file.
33096         * benchtests/bench-stpcpy.c: New file.
33097         * benchtests/bench-stpncpy-ifunc.c: New file.
33098         * benchtests/bench-stpncpy.c: New file.
33099         * benchtests/bench-strcasecmp-ifunc.c: New file.
33100         * benchtests/bench-strcasecmp.c: New file.
33101         * benchtests/bench-strcasestr-ifunc.c: New file.
33102         * benchtests/bench-strcasestr.c: New file.
33103         * benchtests/bench-strcat-ifunc.c: New file.
33104         * benchtests/bench-strcat.c: New file.
33105         * benchtests/bench-strchr-ifunc.c: New file.
33106         * benchtests/bench-strchr.c: New file.
33107         * benchtests/bench-strchrnul-ifunc.c: New file.
33108         * benchtests/bench-strchrnul.c: New file.
33109         * benchtests/bench-strcmp-ifunc.c: New file.
33110         * benchtests/bench-strcmp.c: New file.
33111         * benchtests/bench-strcpy-ifunc.c: New file.
33112         * benchtests/bench-strcpy.c: New file.
33113         * benchtests/bench-strcspn-ifunc.c: New file.
33114         * benchtests/bench-strcspn.c: New file.
33115         * benchtests/bench-strlen-ifunc.c: New file.
33116         * benchtests/bench-strlen.c: New file.
33117         * benchtests/bench-strncasecmp-ifunc.c: New file.
33118         * benchtests/bench-strncasecmp.c: New file.
33119         * benchtests/bench-strncat-ifunc.c: New file.
33120         * benchtests/bench-strncat.c: New file.
33121         * benchtests/bench-strncmp-ifunc.c: New file.
33122         * benchtests/bench-strncmp.c: New file.
33123         * benchtests/bench-strncpy-ifunc.c: New file.
33124         * benchtests/bench-strncpy.c: New file.
33125         * benchtests/bench-strnlen-ifunc.c: New file.
33126         * benchtests/bench-strnlen.c: New file.
33127         * benchtests/bench-strpbrk-ifunc.c: New file.
33128         * benchtests/bench-strpbrk.c: New file.
33129         * benchtests/bench-strrchr-ifunc.c: New file.
33130         * benchtests/bench-strrchr.c: New file.
33131         * benchtests/bench-strspn-ifunc.c: New file.
33132         * benchtests/bench-strspn.c: New file.
33133         * benchtests/bench-strstr-ifunc.c: New file.
33134         * benchtests/bench-strstr.c: New file.
33136         * benchtests/Makefile: Disable parallel execution of targets.
33137         (string-bench): Add memcpy.
33138         (benchset): New variable to store a list of benchmark sets.
33139         (bench-func): Renamed from bench.
33140         (bench-set): New target.
33141         (bench): Depend on bench-func and bench-set.
33142         * benchtests/README: Add section on benchmark sets.
33143         * benchtests/bench-memcpy-ifunc.c: New file.
33144         * benchtests/bench-memcpy.c: New file.
33145         * benchtests/bench-string.h: New file.
33147 2013-06-11  Andreas Schwab  <schwab@suse.de>
33149         [BZ #15577]
33150         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33151         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33152         values in the triple.
33153         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33154         terminator in the group key.
33156 2013-06-11  Andreas Jaeger  <aj@suse.de>
33158         * po/zh_TW.po: Update Chinese (traditional) translation from
33159         translation project.
33161 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33163         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33164         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33165         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33166         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33167         (clock_getcpuclockid): Likewise.
33168         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33169         Add weak_alias and libc_hidden_def.
33170         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33171         * rt/clock_gettime.c (clock_gettime): Rename to
33172         __clock_gettime.  Add weak_alias and libc_hidden_def.
33173         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33174         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33175         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33176         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33177         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33178         Likewise.
33179         * rt/clock_settime.c (clock_settime): Rename to
33180         __clock_settime.  Add weak_alias and libc_hidden_def.
33181         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33183 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33185         * mach/err_boot.sub: Remove trailing whitespace.
33186         * mach/err_ipc.sub: Likewise.
33187         * mach/err_mach.sub: Likewise.
33189         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33190         (ROUNDING_TESTS_double): Likewise.
33191         (ROUNDING_TESTS_long_double): Likewise.
33192         (ROUNDING_TESTS): Likewise.
33193         * math/libm-test.inc: Include <math-tests.h>.
33194         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33195         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33196         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33197         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33199 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33201         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33202         of assigning.
33204 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33206         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33207         otherwise empty TRANS lines.
33208         * sysdeps/gnu/errlist.c: Regenerated.
33210         * catgets/gencat.c (error_print): Use (void) in function
33211         definition.
33212         * crypt/crypt_util.c (__init_des): Likewise.
33213         * crypt/speeds.c (Stop): Likewise.
33214         (main): Likewise.
33215         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33216         * inet/ruserpass.c (token): Likewise.
33217         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33218         * intl/localealias.c (extend_alias_table): Likewise.
33219         * intl/plural-exp.c (init_germanic_plural): Likewise.
33220         * libio/fcloseall.c (__fcloseall): Likewise.
33221         * libio/genops.c (_IO_flush_all): Likewise.
33222         (_IO_flush_all_linebuffered): Likewise.
33223         (_IO_cleanup): Likewise.
33224         (_IO_iter_begin): Likewise.
33225         (_IO_iter_end): Likewise.
33226         (_IO_list_lock): Likewise.
33227         (_IO_list_unlock): Likewise.
33228         (_IO_list_resetlock): Likewise.
33229         * libio/getchar.c (getchar): Likewise.
33230         * libio/getchar_u.c (getchar_unlocked): Likewise.
33231         * libio/getwchar.c (getwchar): Likewise.
33232         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33233         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33234         * login/getpt.c (__getpt): Likewise.
33235         * login/tst-utmp.c (main): Likewise.
33236         * malloc/hooks.c (__malloc_check_init): Likewise.
33237         * malloc/malloc.c (__malloc_stats): Likewise.
33238         * malloc/mtrace.c (tr_break): Likewise.
33239         (mtrace): Likewise.
33240         (muntrace): Likewise.
33241         * misc/fstab.c (endfsent): Likewise.
33242         * misc/getclktck.c (__getclktck): Likewise.
33243         * misc/getdtsz.c (__getdtablesize): Likewise.
33244         * misc/gethostid.c (gethostid): Likewise.
33245         * misc/getpagesize.c (__getpagesize): Likewise.
33246         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33247         (__get_nprocs): Likewise.
33248         (__get_phys_pages): Likewise.
33249         (__get_avphys_pages): Likewise.
33250         * misc/getttyent.c (getttyent): Likewise.
33251         (setttyent): Likewise.
33252         (endttyent): Likewise.
33253         * misc/getusershell.c (getusershell): Likewise.
33254         (endusershell): Likewise.
33255         (setusershell): Likewise.
33256         (initshells): Likewise.
33257         * misc/hsearch.c (__hdestroy): Likewise.
33258         * misc/sync.c (sync): Likewise.
33259         * misc/syslog.c (closelog_internal): Likewise.
33260         (closelog): Likewise.
33261         * misc/ttyslot.c (ttyslot): Likewise.
33262         * misc/vhangup.c (vhangup): Likewise.
33263         * posix/fork.c (__fork): Likewise.
33264         * posix/getegid.c (__getegid): Likewise.
33265         * posix/geteuid.c (__geteuid): Likewise.
33266         * posix/getgid.c (__getgid): Likewise.
33267         * posix/getpid.c (__getpid): Likewise.
33268         * posix/getppid.c (__getppid): Likewise.
33269         * posix/getuid.c (__getuid): Likewise.
33270         * posix/pause.c (pause): Likewise.
33271         * posix/setpgrp.c (setpgrp): Likewise.
33272         * posix/setsid.c (__setsid): Likewise.
33273         * posix/test-vfork.c (noop): Likewise.
33274         * resolv/gethnamaddr.c (_endhtent): Likewise.
33275         (_gethtent): Likewise.
33276         (ht_endhostent): Likewise.
33277         (gethostent): Likewise.
33278         (dns_service): Likewise.
33279         * stdlib/drand48.c (drand48): Likewise.
33280         * stdlib/lrand48.c (lrand48): Likewise.
33281         * stdlib/mrand48.c (mrand48): Likewise.
33282         * stdlib/rand.c (rand): Likewise.
33283         * stdlib/random.c (__random): Likewise.
33284         * stdlib/setenv.c (clearenv): Likewise.
33285         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33286         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33287         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33288         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33289         (__get_nprocs): Likewise.
33290         (__get_phys_pages): Likewise.
33291         (__get_avphys_pages): Likewise.
33292         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33293         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33294         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33295         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33296         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33297         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33298         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33299         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33300         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33301         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33302         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33303         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33304         * sysdeps/posix/clock.c (clock): Likewise.
33305         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33306         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33307         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33308         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33309         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33310         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33311         (__get_nprocs_conf): Likewise.
33312         (__get_phys_pages): Likewise.
33313         (__get_avphys_pages): Likewise.
33314         * time/clock.c (clock): Likewise.
33315         * time/tzset.c (__tzname_max): Likewise.
33317 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33319         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33320         (__bswap_32): Do not use "register".
33321         * crypt/crypt.c (_ufc_doit_r): Likewise.
33322         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33323         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33324         * gmon/gmon.c (__monstartup): Likewise.
33325         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33326         * hurd/hurdmalloc.c (more_memory): Likewise.
33327         (malloc): Likewise.
33328         (free): Likewise.
33329         (realloc): Likewise.
33330         (malloc_fork_prepare): Likewise.
33331         (malloc_fork_parent): Likewise.
33332         (malloc_fork_child): Likewise.
33333         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33334         (_svcauth_des): Likewise.
33335         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33336         * inet/inet_net.c (inet_network): Likewise.
33337         * inet/inet_netof.c (inet_netof): Likewise.
33338         * inet/rcmd.c (__validuser2_sa): Likewise.
33339         * io/fts.c (fts_open): Likewise.
33340         (fts_load): Likewise.
33341         (fts_close): Likewise.
33342         (fts_read): Likewise.
33343         (fts_children): Likewise.
33344         (fts_build): Likewise.
33345         (fts_stat): Likewise.
33346         (fts_sort): Likewise.
33347         (fts_alloc): Likewise.
33348         (fts_lfree): Likewise.
33349         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33350         (_IO_file_xsgetn): Likewise.
33351         (_IO_file_xsgetn_mmap): Likewise.
33352         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33353         (_IO_cookie_write): Likewise.
33354         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33355         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33356         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33357         * malloc/obstack.c (_obstack_begin): Likewise.
33358         (_obstack_begin_1): Likewise.
33359         (_obstack_newchunk): Likewise.
33360         (_obstack_allocated_p): Likewise.
33361         (obstack_free): Likewise.
33362         (_obstack_memory_used): Likewise.
33363         * misc/getttyent.c (getttynam): Likewise.
33364         (getttyent): Likewise.
33365         (skip): Likewise.
33366         (value): Likewise.
33367         * misc/getusershell.c (initshells): Likewise.
33368         * misc/syslog.c (__vsyslog_chk): Likewise.
33369         * misc/ttyslot.c (ttyslot): Likewise.
33370         * nis/nis_hash.c (__nis_hash): Likewise.
33371         * posix/fnmatch_loop.c (FCT): Likewise.
33372         * posix/getconf.c (print_all): Likewise.
33373         (main): Likewise.
33374         * posix/getopt.c (exchange): Likewise.
33375         * posix/glob.c (globfree): Likewise.
33376         (prefix_array): Likewise.
33377         (__glob_pattern_type): Likewise.
33378         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33379         (NS_GET32): Likewise.
33380         (NS_PUT16): Likewise.
33381         (NS_PUT32): Likewise.
33382         * resolv/gethnamaddr.c (getanswer): Likewise.
33383         (gethostbyname2): Likewise.
33384         (gethostbyaddr): Likewise.
33385         (_gethtent): Likewise.
33386         (_gethtbyname2): Likewise.
33387         (_gethtbyaddr): Likewise.
33388         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33389         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33390         * resolv/res_init.c (__res_vinit): Likewise.
33391         (net_mask): Likewise.
33392         * resolv/res_mkquery.c (outchar): Likewise.
33393         (PRINT): Likewise.
33394         * stdio-common/printf_fp.c (outchar): Likewise.
33395         (PRINT): Likewise.
33396         * stdio-common/printf_fphex.c (outchar): Likewise.
33397         (PRINT): Likewise.
33398         * stdio-common/printf_size.c (outchar): Likewise.
33399         (PRINT): Likewise.
33400         * stdio-common/test_rdwr.c (main): Likewise.
33401         * stdio-common/tfformat.c (matches): Likewise.
33402         * stdio-common/vfprintf.c (outchar): Likewise.
33403         (printf_unknown): Likewise.
33404         (buffered_vfprintf): Likewise.
33405         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33406         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33407         (ReadFile): Likewise.
33408         * stdlib/qsort.c (SWAP): Likewise.
33409         (_quicksort): Likewise.
33410         * stdlib/setenv.c (__add_to_environ): Likewise.
33411         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33412         * stdlib/strtol_l.c (__strtol_l): Likewise.
33413         * stdlib/tst-strtod.c (main): Likewise.
33414         * stdlib/tst-strtol.c (main): Likewise.
33415         * stdlib/tst-strtoll.c (main): Likewise.
33416         * string/bits/string2.h (__strcmp_cc): Likewise.
33417         (__strcmp_cg): Likewise.
33418         (__strcspn_c1): Likewise.
33419         (__strcspn_c2): Likewise.
33420         (__strcspn_c3): Likewise.
33421         (__strspn_c1): Likewise.
33422         (__strspn_c2): Likewise.
33423         (__strspn_c3): Likewise.
33424         (__strsep_1c): Likewise.
33425         (__strsep_2c): Likewise.
33426         (__strsep_3c): Likewise.
33427         * string/memccpy.c (__memccpy): Likewise.
33428         * string/stpcpy.c (__stpcpy): Likewise.
33429         * string/strcmp.c (strcmp): Likewise.
33430         * string/strrchr.c (strrchr): Likewise.
33431         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33432         Likewise.
33433         * sysdeps/mach/hurd/getcwd.c
33434         (_hurd_canonicalize_directory_name_internal): Likewise.
33435         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33436         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33437         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33438         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33439         Likewise, in both definitions.
33440         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33441         definitions.
33442         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33443         64] (__bswap_64): Likewise.
33444         * time/test_time.c (main): Likewise.
33445         * time/tzfile.c (__tzfile_read): Likewise.
33446         (__tzfile_compute): Likewise.
33447         * time/tzset.c (__tzset_parse_tz): Likewise.
33448         (tzset_internal): Likewise.
33449         (compute_change): Likewise.
33450         * wcsmbs/wcscat.c (__wcscat): Likewise.
33451         * wcsmbs/wcschr.c (wcschr): Likewise.
33452         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33453         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33454         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33455         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33456         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33457         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33458         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33459         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33460         * wcsmbs/wmemset.c (wmemset): Likewise.
33462 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33464         * scripts/config.guess: Update to version 2013-05-16.
33465         * scripts/config.sub: Update to version 2013-04-24.
33466         * scripts/install-sh: Update to version 2011-11-20.07.
33467         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33468         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33470 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33472         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33473         * elf/sln.c: Likewise.
33474         * hurd/hurd/ioctl.h: Likewise.
33475         * hurd/hurdmalloc.c: Likewise.
33476         * hurd/xattr.c: Likewise.
33477         * include/shlib-compat.h: Likewise.
33478         * inet/ruserpass.c: Likewise.
33479         * libio/iofgets_u.c: Likewise.
33480         * libio/iofgetws_u.c: Likewise.
33481         * locale/programs/ld-identification.c: Likewise.
33482         * locale/programs/ld-time.c: Likewise.
33483         * mach/msg-destroy.c: Likewise.
33484         * nss/nss_files/files-netgrp.c: Likewise.
33485         * resolv/res_data.c: Likewise.
33486         * soft-fp/op-1.h: Likewise.
33487         * soft-fp/op-2.h: Likewise.
33488         * soft-fp/op-4.h: Likewise.
33489         * soft-fp/op-common.h: Likewise.
33490         * stdio-common/printf_fphex.c: Likewise.
33491         * stdlib/strtod_l.c: Likewise.
33492         * sunrpc/rpc/clnt.h: Likewise.
33493         * sysdeps/generic/framestate.c: Likewise.
33494         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33495         * sysdeps/i386/bsd-setjmp.S: Likewise.
33496         * sysdeps/i386/__longjmp.S: Likewise.
33497         * sysdeps/i386/setjmp.S: Likewise.
33498         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33499         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33500         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33501         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33502         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33503         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33504         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33505         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33506         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33507         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33508         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33509         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33510         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33511         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33512         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33513         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33514         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33515         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33516         * sysdeps/ieee754/support.c: Likewise.
33517         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33518         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33519         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33520         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33521         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33522         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33523         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33524         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33525         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33526         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33527         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33528         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33529         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33530         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33531         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33532         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33533         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33536 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33538         * posix/transbug.c: Remove executable mode.
33540 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33542         * crypt/speeds.c: Remove trailing whitespace.
33543         * dlfcn/default.c: Likewise.
33544         * elf/ifuncdep2.c: Likewise.
33545         * elf/ifuncmain1.c: Likewise.
33546         * elf/ifuncmain1vis.c: Likewise.
33547         * elf/testobj.h: Likewise.
33548         * elf/tst-stackguard1.c: Likewise.
33549         * gmon/sys/gmon.h: Likewise.
33550         * hurd/hurdmsg.c: Likewise.
33551         * hurd/new-fd.c: Likewise.
33552         * hurd/ports-get.c: Likewise.
33553         * iconvdata/ibm1008_420.c: Likewise.
33554         * inet/tst-getni1.c: Likewise.
33555         * inet/tst-getni2.c: Likewise.
33556         * libio/ioungetc.c: Likewise.
33557         * libio/wfiledoalloc.c: Likewise.
33558         * manual/libm-err-tab.pl: Likewise.
33559         * math/w_dremf.c: Likewise.
33560         * misc/ftruncate.c: Likewise.
33561         * posix/bug-glob2.c: Likewise.
33562         * posix/tst-pcre.c: Likewise.
33563         * posix/wait4.c: Likewise.
33564         * resolv/README: Likewise.
33565         * resolv/res_debug.h: Likewise.
33566         * resolv/tst-inet_ntop.c: Likewise.
33567         * setjmp/bug269-setjmp.c: Likewise.
33568         * soft-fp/extended.h: Likewise.
33569         * soft-fp/op-1.h: Likewise.
33570         * soft-fp/op-2.h: Likewise.
33571         * soft-fp/op-4.h: Likewise.
33572         * soft-fp/op-8.h: Likewise.
33573         * soft-fp/testit.c: Likewise.
33574         * stdio-common/bug16.c: Likewise.
33575         * stdlib/random.c: Likewise.
33576         * sunrpc/rpcsvc/rquota.x: Likewise.
33577         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33578         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33579         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33580         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33581         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33582         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33583         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33584         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33585         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33586         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33587         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33588         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33589         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33590         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33591         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33592         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33593         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33594         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33595         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33596         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33597         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33598         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33599         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33600         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33601         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33602         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33603         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33604         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33605         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33606         * sysdeps/ieee754/s_lib_version.c: Likewise.
33607         * sysdeps/mach/hurd/check_fds.c: Likewise.
33608         * sysdeps/mach/hurd/getsockname.c: Likewise.
33609         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33610         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33611         * sysdeps/powerpc/bits/link.h: Likewise.
33612         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33613         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33614         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33615         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33616         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33617         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33618         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33619         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33620         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33621         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33622         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33623         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33624         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33625         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33626         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33627         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33628         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33629         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33630         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33631         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33632         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33633         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33634         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33635         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33636         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33637         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33638         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33639         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33640         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33641         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33642         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33643         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33644         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33645         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33646         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33647         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33648         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33649         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33650         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33651         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33652         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33653         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33654         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33655         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33656         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33657         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33658         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33659         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33660         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33661         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33662         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33663         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33664         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33665         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33666         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33667         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33668         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33669         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33670         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33671         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33672         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33673         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33674         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33675         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33676         * sysdeps/powerpc/sysdep.h: Likewise.
33677         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33678         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33679         * sysdeps/sh/dl-trampoline.S: Likewise.
33680         * sysdeps/sh/memset.S: Likewise.
33681         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33682         * sysdeps/sh/strlen.S: Likewise.
33683         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33684         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33685         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33686         * sysdeps/sparc/sparc32/rem.S: Likewise.
33687         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33688         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33689         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33690         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33691         * sysdeps/sparc/sparc32/urem.S: Likewise.
33692         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33693         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33694         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33695         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33696         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33697         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33698         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33699         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33700         * sysdeps/unix/bsd/times.c: Likewise.
33701         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33702         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33706         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33707         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33708         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33709         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33710         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33711         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33712         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33713         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33714         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33715         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33716         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33717         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33718         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33719         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33720         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33721         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33722         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33723         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33724         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33725         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33726         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33727         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33728         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33729         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33730         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33731         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33732         * sysdeps/x86_64/strcspn.S: Likewise.
33734 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33736         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33737         generated file.  Regenerate properly from gen-translit.pl.
33738         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33739         locale/C-translit.h.
33741 2013-06-05  Andreas Schwab  <schwab@suse.de>
33743         [BZ #15100]
33744         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33745         week as 6 instead of -1.
33746         * time/tst-strptime.c (day_tests): Add test case.
33748 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33750         * sysdeps/generic/math_private.h
33751         (libc_feholdexcept_setround_53bit): Replace with
33752         libc_feholdsetround_53bit.
33753         (libc_feupdateenv_53bit): Replace with
33754         libc_feresetround_53bit.
33755         (SET_RESTORE_ROUND_53BIT): Adjust.
33757 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33759         * string/test-strchrnul.c: Add copyright header.
33761         * posix/tst-getaddrinfo4.c: Increase test timeout.
33763 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33765         [BZ #15536]
33766         * math/libm-test.inc (MAX_EXP): Remove
33767         (MIN_EXP): Define.
33768         (ulp): Use MIN_EXP - MANT_DIG.
33769         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33771 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33773         * po/be.po: Revert last change.
33774         * po/zh_CN.po: Likewise.
33775         * po/header.pot: Likewise.
33777 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33779         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33780         link-libc-deps to empty as target-specific variable.
33781         * Makerules (link-libc-args): New variable.
33782         (libc-for-link): Likewise.
33783         (link-libc-deps): Likewise.
33784         (lib%.so): Depend on $(link-libc-deps).  Link with
33785         $(link-libc-args).
33786         (build-module): Link with $(link-libc-args).
33787         (build-module-asneeded): Likewise.
33788         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33789         list of objects.
33790         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33791         target-specific variable.
33792         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33793         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33794         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33795         libc.
33796         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33797         libc and ld.so.
33798         ($(objpfx)libpcprofile.so): Likewise.
33799         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33800         libc_nonshared.a.
33801         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33802         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33803         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33804         $(link-libc-deps).
33805         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33806         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33807         * login/Makefile ($(objpfx)libutil.so): Likewise.
33808         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33809         * math/Makefile ($(objpfx)libm.so): Likewise.
33810         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33811         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33812         variable instead of depending directly on libc.
33813         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33814         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33815         $(link-libc-deps).
33816         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33817         libc.
33818         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33819         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33820         ($(objpfx)libanl.so): Likewise.
33821         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33822         ld.so.
33823         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33824         $(link-libc-deps).
33825         * sysdeps/i386/fpu/Makefile: Remove file.
33826         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33827         ($(objpfx)libm.so): Remove dependency on ld.so.
33829 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33831         [BZ # 15553]
33832         * nis/yp_xdr.c (XDRMAXNAME): Define.
33833         (XDRMAXRECORD): Define.
33834         (xdr_domainname): Use XDRMAXNAME.
33835         (xdr_mapname): Likewise.
33836         (xdr_peername): Likewise.
33837         (xdr_keydat): Use XDRMAXRECORD.
33838         (xdr_valdat): Likewise.
33840 2013-05-30  Jeff Law  <law@redhat.com>
33842         [BZ #14256]
33843         * manual/errno.texi (ESTALE): Update to account for more than
33844         just NFS file systems.
33845         * sysdeps/gnu/errlist.c: Regenerated.
33847 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33849         [BZ #15465]
33850         * elf/Makefile (tests): Add tst-null-argv.
33851         (modules-names):  Add tst-null-argv-lib.
33852         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33853         (tst-null-argv-ENV): Set environment for tst-null-argv.
33854         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33855         (RTLD_PROGNAME): New macro.
33856         * elf/tst-null-argv.c: New test case.
33857         * elf/tst-null-argv-lib.c: Library for test case.
33858         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33859         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33860         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33861         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33862         * elf/dl-init.c (call_init): Likewise.
33863         (_dl_init): Likewise.
33864         * elf/dl-load.c (print_search_path): Likewise.
33865         (_dl_map_object): Likewise.
33866         * elf/dl-lookup.c (do_lookup_x): Likewise.
33867         (add_dependency): Likewise.
33868         (_dl_lookup_symbol_x): Likewise.
33869         (_dl_debug_bindings): Likewise.
33870         * elf/dl-open.c (_dl_show_scope): Likewise.
33871         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33872         * elf/dl-version.c (match_symbol): Likewise.
33873         (_dl_check_map_versions): Likewise.
33874         * elf/rtld.c (dl_main): Likewise.
33875         (print_unresolved): Use RTLD_PROGNAME.
33876         (print_missing_version): Likewise.
33877         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33878         (elf_machine_rela): Likewise.
33879         * sysdeps/powerpc/powerpc32/dl-machine.c
33880         (__process_machine_rela): Likewise.
33881         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33882         Likewise.
33883         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33884         Likewise.
33885         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33886         Likewise.
33887         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33888         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33889         Likewise.
33890         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33891         Likewise.
33892         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33894 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33896         * po/be.po: Add descriptive title.
33897         * po/zh_CN.po: Likewise.
33898         * po/header.pot: Likewise.
33900 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33902         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33903         error message.
33904         (enlarge_archive): Likewise.
33906 2013-05-28  Ben North  <ben@redfrontdoor.org>
33908         * manual/arith.texi (frexp): It is the magnitude of the return
33909         value which lies in [0.5, 1), not the return value itself.
33911 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33915 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33917         * stdio-common/bug26.c (main): Correct fscanf template.
33919         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33920         declare _dl_skip_args.
33922         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33923         Don't declare.
33925         * manual/platform.texi: Add missing @end deftypefun.
33927 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33929         [BZ #15529]
33930         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33931         bit of mantissa of 2^16382.
33932         * math/libm-test.inc (hypot_test_data): Add more tests.
33934         * math/libm-test.inc: Add drem and pow10 to list of tested
33935         functions.
33936         (pow10_test): New function.
33937         (drem_test): Likewise.
33938         (drem_test_tonearest): Likewise.
33939         (drem_test_towardzero): Likewise.
33940         (drem_test_downward): Likewise.
33941         (drem_test_upward): Likewise.
33942         (main): Call the new functions.
33944         * math/libm-test.inc (finite_test_data): Remove.
33945         (finite_test): Run tests from isfinite_test_data.
33946         (gamma_test_data): Remove.
33947         (gamma_test): Run tests from lgamma_test_data.
33948         * sysdeps/i386/fpu/libm-test-ulps: Update.
33949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33951 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33953         * manual/platform.texi: Add PowerPC PPR function set documentation.
33954         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33955         implementation.
33957 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33959         * math/libm-test.inc (MAX_EXP): Define.
33960         (ULPDIFF): Define.
33961         (ulp): New function.
33962         (check_float_internal): Use ULPDIFF.
33963         (cpow_test): Disable failing test.
33964         (check_ulp): Test ulp() implemetnation.
33965         (main): Call check_ulp before starting tests.
33967 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33969         * math/gen-libm-test.pl (generate_testfile): Do not handle
33970         START_DATA and END_DATA.
33971         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33972         END_DATA.
33973         (acos_tonearest_test_data): Likewise.
33974         (acos_towardzero_test_data): Likewise.
33975         (acos_downward_test_data): Likewise.
33976         (acos_upward_test_data): Likewise.
33977         (acosh_test_data): Likewise.
33978         (asin_test_data): Likewise.
33979         (asin_tonearest_test_data): Likewise.
33980         (asin_towardzero_test_data): Likewise.
33981         (asin_downward_test_data): Likewise.
33982         (asin_upward_test_data): Likewise.
33983         (asinh_test_data): Likewise.
33984         (atan_test_data): Likewise.
33985         (atanh_test_data): Likewise.
33986         (atan2_test_data): Likewise.
33987         (cabs_test_data): Likewise.
33988         (cacos_test_data): Likewise.
33989         (cacosh_test_data): Likewise.
33990         (carg_test_data): Likewise.
33991         (casin_test_data): Likewise.
33992         (casinh_test_data): Likewise.
33993         (catan_test_data): Likewise.
33994         (catanh_test_data): Likewise.
33995         (cbrt_test_data): Likewise.
33996         (ccos_test_data): Likewise.
33997         (ccosh_test_data): Likewise.
33998         (ceil_test_data): Likewise.
33999         (cexp_test_data): Likewise.
34000         (cimag_test_data): Likewise.
34001         (clog_test_data): Likewise.
34002         (clog10_test_data): Likewise.
34003         (conj_test_data): Likewise.
34004         (copysign_test_data): Likewise.
34005         (cos_test_data): Likewise.
34006         (cos_tonearest_test_data): Likewise.
34007         (cos_towardzero_test_data): Likewise.
34008         (cos_downward_test_data): Likewise.
34009         (cos_upward_test_data): Likewise.
34010         (cosh_test_data): Likewise.
34011         (cosh_tonearest_test_data): Likewise.
34012         (cosh_towardzero_test_data): Likewise.
34013         (cosh_downward_test_data): Likewise.
34014         (cosh_upward_test_data): Likewise.
34015         (cpow_test_data): Likewise.
34016         (cproj_test_data): Likewise.
34017         (creal_test_data): Likewise.
34018         (csin_test_data): Likewise.
34019         (csinh_test_data): Likewise.
34020         (csqrt_test_data): Likewise.
34021         (ctan_test_data): Likewise.
34022         (ctan_tonearest_test_data): Likewise.
34023         (ctan_towardzero_test_data): Likewise.
34024         (ctan_downward_test_data): Likewise.
34025         (ctan_upward_test_data): Likewise.
34026         (ctanh_test_data): Likewise.
34027         (ctanh_tonearest_test_data): Likewise.
34028         (ctanh_towardzero_test_data): Likewise.
34029         (ctanh_downward_test_data): Likewise.
34030         (ctanh_upward_test_data): Likewise.
34031         (erf_test_data): Likewise.
34032         (erfc_test_data): Likewise.
34033         (exp_test_data): Likewise.
34034         (exp_tonearest_test_data): Likewise.
34035         (exp_towardzero_test_data): Likewise.
34036         (exp_downward_test_data): Likewise.
34037         (exp_upward_test_data): Likewise.
34038         (exp10_test_data): Likewise.
34039         (exp2_test_data): Likewise.
34040         (expm1_test_data): Likewise.
34041         (fabs_test_data): Likewise.
34042         (fdim_test_data): Likewise.
34043         (finite_test_data): Likewise.
34044         (floor_test_data): Likewise.
34045         (fma_test_data): Likewise.
34046         (fma_towardzero_test_data): Likewise.
34047         (fma_downward_test_data): Likewise.
34048         (fma_upward_test_data): Likewise.
34049         (fmax_test_data): Likewise.
34050         (fmin_test_data): Likewise.
34051         (fmod_test_data): Likewise.
34052         (fpclassify_test_data): Likewise.
34053         (frexp_test_data): Likewise.
34054         (gamma_test_data): Likewise.
34055         (hypot_test_data): Likewise.
34056         (ilogb_test_data): Likewise.
34057         (isfinite_test_data): Likewise.
34058         (isgreater_test_data): Likewise.
34059         (isgreaterequal_test_data): Likewise.
34060         (isinf_test_data): Likewise.
34061         (isless_test_data): Likewise.
34062         (islessequal_test_data): Likewise.
34063         (islessgreater_test_data): Likewise.
34064         (isnan_test_data): Likewise.
34065         (isnormal_test_data): Likewise.
34066         (issignaling_test_data): Likewise.
34067         (isunordered_test_data): Likewise.
34068         (j0_test_data): Likewise.
34069         (j1_test_data): Likewise.
34070         (jn_test_data): Likewise.
34071         (ldexp_test_data): Likewise.
34072         (lgamma_test_data): Likewise.
34073         (lrint_test_data): Likewise.
34074         (lrint_tonearest_test_data): Likewise.
34075         (lrint_towardzero_test_data): Likewise.
34076         (lrint_downward_test_data): Likewise.
34077         (lrint_upward_test_data): Likewise.
34078         (llrint_test_data): Likewise.
34079         (llrint_tonearest_test_data): Likewise.
34080         (llrint_towardzero_test_data): Likewise.
34081         (llrint_downward_test_data): Likewise.
34082         (llrint_upward_test_data): Likewise.
34083         (log_test_data): Likewise.
34084         (log10_test_data): Likewise.
34085         (log1p_test_data): Likewise.
34086         (log2_test_data): Likewise.
34087         (logb_test_data): Likewise.
34088         (logb_downward_test_data): Likewise.
34089         (lround_test_data): Likewise.
34090         (llround_test_data): Likewise.
34091         (modf_test_data): Likewise.
34092         (nearbyint_test_data): Likewise.
34093         (nextafter_test_data): Likewise.
34094         (nexttoward_test_data): Likewise.
34095         (pow_test_data): Likewise.
34096         (pow_tonearest_test_data): Likewise.
34097         (pow_towardzero_test_data): Likewise.
34098         (pow_downward_test_data): Likewise.
34099         (pow_upward_test_data): Likewise.
34100         (remainder_test_data): Likewise.
34101         (remainder_tonearest_test_data): Likewise.
34102         (remainder_towardzero_test_data): Likewise.
34103         (remainder_downward_test_data): Likewise.
34104         (remainder_upward_test_data): Likewise.
34105         (remquo_test_data): Likewise.
34106         (rint_test_data): Likewise.
34107         (rint_tonearest_test_data): Likewise.
34108         (rint_towardzero_test_data): Likewise.
34109         (rint_downward_test_data): Likewise.
34110         (rint_upward_test_data): Likewise.
34111         (round_test_data): Likewise.
34112         (scalb_test_data): Likewise.
34113         (scalbn_test_data): Likewise.
34114         (scalbln_test_data): Likewise.
34115         (signbit_test_data): Likewise.
34116         (sin_test_data): Likewise.
34117         (sin_tonearest_test_data): Likewise.
34118         (sin_towardzero_test_data): Likewise.
34119         (sin_downward_test_data): Likewise.
34120         (sin_upward_test_data): Likewise.
34121         (sincos_test_data): Likewise.
34122         (sinh_test_data): Likewise.
34123         (sinh_tonearest_test_data): Likewise.
34124         (sinh_towardzero_test_data): Likewise.
34125         (sinh_downward_test_data): Likewise.
34126         (sinh_upward_test_data): Likewise.
34127         (sqrt_test_data): Likewise.
34128         (tan_test_data): Likewise.
34129         (tan_tonearest_test_data): Likewise.
34130         (tan_towardzero_test_data): Likewise.
34131         (tan_downward_test_data): Likewise.
34132         (tan_upward_test_data): Likewise.
34133         (tanh_test_data): Likewise.
34134         (tgamma_test_data): Likewise.
34135         (trunc_test_data): Likewise.
34136         (y0_test_data): Likewise.
34137         (y1_test_data): Likewise.
34138         (yn_test_data): Likewise.
34139         (significand_test_data): Likewise.
34141         * math/gen-libm-test.pl (@functions): Remove variable.
34142         (generate_testfile): Don't handle START and END lines.
34143         * math/libm-test.inc (START): New macro.
34144         (END): Likewise.
34145         (END_COMPLEX): Likewise.
34146         (acos_test): Use END macro without arguments.
34147         (acos_test_tonearest): Likewise.
34148         (acos_test_towardzero): Likewise.
34149         (acos_test_downward): Likewise.
34150         (acos_test_upward): Likewise.
34151         (acosh_test): Likewise.
34152         (asin_test): Likewise.
34153         (asin_test_tonearest): Likewise.
34154         (asin_test_towardzero): Likewise.
34155         (asin_test_downward): Likewise.
34156         (asin_test_upward): Likewise.
34157         (asinh_test): Likewise.
34158         (atan_test): Likewise.
34159         (atanh_test): Likewise.
34160         (atan2_test): Likewise.
34161         (cabs_test): Likewise.
34162         (cacos_test): Use END_COMPLEX macro without arguments.
34163         (cacosh_test): Likewise.
34164         (carg_test): Use END macro without arguments.
34165         (casin_test): Use END_COMPLEX macro without arguments.
34166         (casinh_test): Likewise.
34167         (catan_test): Likewise.
34168         (catanh_test): Likewise.
34169         (cbrt_test): Use END macro without arguments.
34170         (ccos_test): Use END_COMPLEX macro without arguments.
34171         (ccosh_test): Likewise.
34172         (ceil_test): Use END macro without arguments.
34173         (cexp_test): Use END_COMPLEX macro without arguments.
34174         (cimag_test): Use END macro without arguments.
34175         (clog_test): Use END_COMPLEX macro without arguments.
34176         (clog10_test): Likewise.
34177         (conj_test): Likewise.
34178         (copysign_test): Use END macro without arguments.
34179         (cos_test): Likewise.
34180         (cos_test_tonearest): Likewise.
34181         (cos_test_towardzero): Likewise.
34182         (cos_test_downward): Likewise.
34183         (cos_test_upward): Likewise.
34184         (cosh_test): Likewise.
34185         (cosh_test_tonearest): Likewise.
34186         (cosh_test_towardzero): Likewise.
34187         (cosh_test_downward): Likewise.
34188         (cosh_test_upward): Likewise.
34189         (cpow_test): Use END_COMPLEX macro without arguments.
34190         (cproj_test): Likewise.
34191         (creal_test): Use END macro without arguments.
34192         (csin_test): Use END_COMPLEX macro without arguments.
34193         (csinh_test): Likewise.
34194         (csqrt_test): Likewise.
34195         (ctan_test): Likewise.
34196         (ctan_test_tonearest): Likewise.
34197         (ctan_test_towardzero): Likewise.
34198         (ctan_test_downward): Likewise.
34199         (ctan_test_upward): Likewise.
34200         (ctanh_test): Likewise.
34201         (ctanh_test_tonearest): Likewise.
34202         (ctanh_test_towardzero): Likewise.
34203         (ctanh_test_downward): Likewise.
34204         (ctanh_test_upward): Likewise.
34205         (erf_test): Use END macro without arguments.
34206         (erfc_test): Likewise.
34207         (exp_test): Likewise.
34208         (exp_test_tonearest): Likewise.
34209         (exp_test_towardzero): Likewise.
34210         (exp_test_downward): Likewise.
34211         (exp_test_upward): Likewise.
34212         (exp10_test): Likewise.
34213         (exp2_test): Likewise.
34214         (expm1_test): Likewise.
34215         (fabs_test): Likewise.
34216         (fdim_test): Likewise.
34217         (finite_test): Likewise.
34218         (floor_test): Likewise.
34219         (fma_test): Likewise.
34220         (fma_test_towardzero): Likewise.
34221         (fma_test_downward): Likewise.
34222         (fma_test_upward): Likewise.
34223         (fmax_test): Likewise.
34224         (fmin_test): Likewise.
34225         (fmod_test): Likewise.
34226         (fpclassify_test): Likewise.
34227         (frexp_test): Likewise.
34228         (gamma_test): Likewise.
34229         (hypot_test): Likewise.
34230         (ilogb_test): Likewise.
34231         (isfinite_test): Likewise.
34232         (isgreater_test): Likewise.
34233         (isgreaterequal_test): Likewise.
34234         (isinf_test): Likewise.
34235         (isless_test): Likewise.
34236         (islessequal_test): Likewise.
34237         (islessgreater_test): Likewise.
34238         (isnan_test): Likewise.
34239         (isnormal_test): Likewise.
34240         (issignaling_test): Likewise.
34241         (isunordered_test): Likewise.
34242         (j0_test): Likewise.
34243         (j1_test): Likewise.
34244         (jn_test): Likewise.
34245         (ldexp_test): Likewise.
34246         (lgamma_test): Likewise.
34247         (lrint_test): Likewise.
34248         (lrint_test_tonearest): Likewise.
34249         (lrint_test_towardzero): Likewise.
34250         (lrint_test_downward): Likewise.
34251         (lrint_test_upward): Likewise.
34252         (llrint_test): Likewise.
34253         (llrint_test_tonearest): Likewise.
34254         (llrint_test_towardzero): Likewise.
34255         (llrint_test_downward): Likewise.
34256         (llrint_test_upward): Likewise.
34257         (log_test): Likewise.
34258         (log10_test): Likewise.
34259         (log1p_test): Likewise.
34260         (log2_test): Likewise.
34261         (logb_test): Likewise.
34262         (logb_test_downward): Likewise.
34263         (lround_test): Likewise.
34264         (llround_test): Likewise.
34265         (modf_test): Likewise.
34266         (nearbyint_test): Likewise.
34267         (nextafter_test): Likewise.
34268         (nexttoward_test): Likewise.
34269         (pow_test): Likewise.
34270         (pow_test_tonearest): Likewise.
34271         (pow_test_towardzero): Likewise.
34272         (pow_test_downward): Likewise.
34273         (pow_test_upward): Likewise.
34274         (remainder_test): Likewise.
34275         (remainder_test_tonearest): Likewise.
34276         (remainder_test_towardzero): Likewise.
34277         (remainder_test_downward): Likewise.
34278         (remainder_test_upward): Likewise.
34279         (remquo_test): Likewise.
34280         (rint_test): Likewise.
34281         (rint_test_tonearest): Likewise.
34282         (rint_test_towardzero): Likewise.
34283         (rint_test_downward): Likewise.
34284         (rint_test_upward): Likewise.
34285         (round_test): Likewise.
34286         (scalb_test): Likewise.
34287         (scalbn_test): Likewise.
34288         (scalbln_test): Likewise.
34289         (signbit_test): Likewise.
34290         (sin_test): Likewise.
34291         (sin_test_tonearest): Likewise.
34292         (sin_test_towardzero): Likewise.
34293         (sin_test_downward): Likewise.
34294         (sin_test_upward): Likewise.
34295         (sincos_test): Likewise.
34296         (sinh_test): Likewise.
34297         (sinh_test_tonearest): Likewise.
34298         (sinh_test_towardzero): Likewise.
34299         (sinh_test_downward): Likewise.
34300         (sinh_test_upward): Likewise.
34301         (sqrt_test): Likewise.
34302         (tan_test): Likewise.
34303         (tan_test_tonearest): Likewise.
34304         (tan_test_towardzero): Likewise.
34305         (tan_test_downward): Likewise.
34306         (tan_test_upward): Likewise.
34307         (tanh_test): Likewise.
34308         (tgamma_test): Likewise.
34309         (trunc_test): Likewise.
34310         (y0_test): Likewise.
34311         (y1_test): Likewise.
34312         (yn_test): Likewise.
34313         (significand_test): Likewise.
34315 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34317         [BZ #15381]
34318         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34320 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34322         [BZ #14894]
34323         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34324         __ppc_mdoio and __ppc_mdoom.
34325         * manual/platform.texi: Document new functions __ppc_yield,
34326         __ppc_mdoio and __ppc_mdoom.
34328 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34330         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34331         (main): Mention "tls" pseudo-hwcap is legacy.
34332         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34334 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34336         * math/gen-libm-test.pl (parse_args): Output only string of
34337         arguments as text for test name, not full call or descriptions of
34338         tests for extra outputs.
34339         (generate_testfile): Do not pass function name to parse_args.
34340         Generate this_func variable from START.
34341         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34342         field to arg_str.
34343         (struct test_ff_f_data): Likewise.
34344         (test_ff_f_data_nexttoward): Likewise.
34345         (struct test_fi_f_data): Likewise.
34346         (struct test_fl_f_data): Likewise.
34347         (struct test_if_f_data): Likewise.
34348         (struct test_fff_f_data): Likewise.
34349         (struct test_c_f_data): Likewise.
34350         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34351         (struct test_fF_f1_data): Likewise.
34352         (struct test_ffI_f1_data): Likewise.
34353         (struct test_c_c_data): Rename test_name field to arg_str.
34354         (struct test_cc_c_data): Likewise.
34355         (struct test_f_i_data): Likewise.
34356         (struct test_ff_i_data): Likewise.
34357         (struct test_f_l_data): Likewise.
34358         (struct test_f_L_data): Likewise.
34359         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34360         and extra2_name.
34361         (COMMON_TEST_SETUP): New macro.
34362         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34363         (COMMON_TEST_CLEANUP): Likewise.
34364         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34365         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34366         macros.
34367         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34368         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34369         macros.
34370         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34371         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34372         cleanup macros.
34373         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34374         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34375         macros.
34376         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34377         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34378         macros.
34379         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34380         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34381         cleanup macros.
34382         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34383         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34384         cleanup macros.
34385         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34386         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34387         cleanup macros.
34388         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34389         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34390         macros.
34391         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34392         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34393         macros.
34394         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34395         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34396         macros.
34397         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34398         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34399         cleanup macros.
34400         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34401         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34402         cleanup macros.
34403         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34404         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34405         macros.
34406         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34407         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34408         cleanup macros.
34409         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34410         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34411         macros.
34412         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34413         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34414         macros.
34415         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34416         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34417         cleanup macros.
34418         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34420 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34422         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34423         to _sifields.sigfault.
34424         (si_addr_lsb): Define new macro.
34425         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34426         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34427         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34429 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34431         [BZ #15441]
34432         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34433         returns -1.
34434         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34435         null return -1.
34436         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34437         loading the domain.
34439 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34441         * math/gen-libm-test.pl (parse_args): Do not include expected
34442         result in test name.
34443         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34444         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34445         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34446         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34447         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34450 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34452         * benchtests/Makefile: Sort function entries.
34454         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34455         tanh, asinh, acosh, atanh.
34456         * benchtests/acos-inputs: New file.
34457         * benchtests/acosh-inputs: New file.
34458         * benchtests/asin-inputs: New file.
34459         * benchtests/asinh-inputs: New file.
34460         * benchtests/atanh-inputs: New file.
34461         * benchtests/cosh-inputs: New file.
34462         * benchtests/log-inputs: New file.
34463         * benchtests/sinh-inputs: New file.
34464         * benchtests/tanh-inputs: New file.
34466 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34468         [BZ #15339]
34469         * posix/tst-getaddrinfo4.c: New test.
34470         * posix/Makefile (tests): Add it.
34472 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34474         [BZ #15339]
34475         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34476         when no services were used.
34477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34478         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34480 2013-05-21  Andreas Schwab  <schwab@suse.de>
34482         [BZ #15014]
34483         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34484         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34485         successful.
34486         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34487         redundant variable declarations and reallocation of buffer when
34488         parsing as IPv6 address.  Always set NSS status when called from
34489         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34490         buffer too small.  Correct computation of needed size.
34491         * nss/Makefile (tests): Add test-digits-dots.
34492         * nss/test-digits-dots.c: New test.
34494 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34496         * benchtests/Makefile: Remove instructions for adding
34497         benchmark tests.
34498         * benchtests/README: New file to explain how to execute and
34499         enhance the benchmark tests.
34501 2013-05-21  Andreas Schwab  <schwab@suse.de>
34503         [BZ #15493]
34504         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34505         * setjmp/tst-sigsetjmp.c: New test.
34507 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34509         * sysdeps/x86_64/memset.S (memset): New implementation.
34510         (__bzero): Likewise.
34511         (__memset_tail): New function.
34513 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34515         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34516         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34517         __memcpy_sse2_unaligned ifunc selection.
34518         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34519         Add memcpy-sse2-unaligned.S.
34520         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34521         Add: __memcpy_sse2_unaligned.
34523 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34525         [BZ #15490]
34526         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34527         math_force_eval before restoring floating-point envrionment.
34528         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34529         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34530         Likewise.
34531         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34532         <math_private.h>.
34533         (__nearbyintl): Use math_force_eval before restoring
34534         floating-point environment.
34535         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34537         * math/gen-libm-test.pl (special_functions): Remove.
34538         (parse_args): Don't handle TEST_extra.  Handle functions with no
34539         return value.
34540         * math/libm-test.inc (struct test_sincos_data): Replace with
34541         struct test_fFF_11_data.
34542         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34543         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34544         (sincos_test_data): Change element type to struct
34545         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34546         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34547         RUN_TEST_LOOP_sincos.
34548         * math/README.libm-test: Don't mention special handling of
34549         individual functions.
34550         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34551         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34552         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34553         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34554         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34557         * math/gen-libm-test.pl (get_variable): Remove function.
34558         (parse_args): Don't show pointer parameters to call in test
34559         names.  Use "extra output N" in test names for extra outputs
34560         rather than naming variables.
34562 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34564         [BZ #15488]
34565         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34566         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34567         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34568         double tests.
34569         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34570         disable.
34571         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34572         check_long_double.
34574         * math/gen-libm-test.pl (@tests): Remove variable.
34575         ($count): Likewise.
34576         (new_test): Remove function.
34577         (show_exceptions): New function.
34578         (special_functions): Use show_exceptions instead of new_test.
34579         (parse_args): Likewise.
34580         (generate_testfile): Pass only function name in generated call to
34581         print_max_error or print_complex_max_error.
34582         (get_ulps): Do not handle complex tests specially.
34583         (output_test): Rename to ...
34584         (get_all_ulps_for_test): ... this.  Return a string rather than
34585         printing to a file.  Require ulps to be present.
34586         (output_ulps): Generate arrays rather than #defines.
34587         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34588         (struct ulp_data): New type.
34589         (BUILD_COMPLEX_ULP): Remove macro.
34590         (compare_ulp_data): New function.
34591         (find_ulps): Likewise.
34592         (find_test_ulps): Likewise.
34593         (find_function_ulps): Likewise.
34594         (find_complex_function_ulps): Likewise.
34595         (print_max_error): Determine allowed ulps using
34596         find_function_ulps.
34597         (print_complex_max_error): Determine allowed ulps using
34598         find_complex_function_ulps.
34599         (check_float_internal): Determine max ulps using find_test_ulps.
34600         (check_float): Do not take max_ulp parameter.  Update call to
34601         check_float_internal.
34602         (check_complex): Likewise.
34603         (check_int): Do not take max_ulp parameter.
34604         (check_long): Likewise.
34605         (check_bool): Likewise.
34606         (check_longlong): Likewise.
34607         (struct test_f_f_data): Remove max_ulp field.
34608         (struct test_ff_f_data): Likewise.
34609         (struct test_ff_f_data_nexttoward): Likewise.
34610         (struct test_fi_f_data): Likewise.
34611         (struct test_fl_f_data): Likewise.
34612         (struct test_if_f_data): Likewise.
34613         (struct test_fff_f_data): Likewise.
34614         (struct test_c_f_data): Likewise.
34615         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34616         (struct test_fF_f1_data): Likewise.
34617         (struct test_ffI_f1_data): Likewise.
34618         (struct test_c_c_data): Remove max_ulp field.
34619         (struct test_cc_c_data): Likewise.
34620         (struct test_f_i_data): Likewise.
34621         (struct test_ff_i_data): Likewise.
34622         (struct test_f_l_data): Likewise.
34623         (struct test_f_L_data): Likewise.
34624         (struct test_sincos_data): Likewise.
34625         (RUN_TEST_f_f): Do not handle ulps.
34626         (RUN_TEST_LOOP_f_f): Likewise.
34627         (RUN_TEST_2_f): Likewise.
34628         (RUN_TEST_LOOP_2_f): Likewise.
34629         (RUN_TEST_fff_f): Likewise.
34630         (RUN_TEST_LOOP_fff_f): Likewise.
34631         (RUN_TEST_c_f): Likewise.
34632         (RUN_TEST_LOOP_c_f): Likewise.
34633         (RUN_TEST_f_f1): Likewise.
34634         (RUN_TEST_LOOP_f_f1): Likewise.
34635         (RUN_TEST_fF_f1): Likewise.
34636         (RUN_TEST_LOOP_fF_f1): Likewise.
34637         (RUN_TEST_fI_f1): Likewise.
34638         (RUN_TEST_LOOP_fI_f1): Likewise.
34639         (RUN_TEST_ffI_f1): Likewise.
34640         (RUN_TEST_LOOP_ffI_f1): Likewise.
34641         (RUN_TEST_c_c): Likewise.
34642         (RUN_TEST_LOOP_c_c): Likewise.
34643         (RUN_TEST_cc_c): Likewise.
34644         (RUN_TEST_LOOP_cc_c): Likewise.
34645         (RUN_TEST_f_i): Likewise.
34646         (RUN_TEST_LOOP_f_i): Likewise.
34647         (RUN_TEST_f_i_tg): Likewise.
34648         (RUN_TEST_LOOP_f_i_tg): Likewise.
34649         (RUN_TEST_ff_i_tg): Likewise.
34650         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34651         (RUN_TEST_f_b): Likewise.
34652         (RUN_TEST_LOOP_f_b): Likewise.
34653         (RUN_TEST_f_b_tg): Likewise.
34654         (RUN_TEST_LOOP_f_b_tg): Likewise.
34655         (RUN_TEST_f_l): Likewise.
34656         (RUN_TEST_LOOP_f_l): Likewise.
34657         (RUN_TEST_f_L): Likewise.
34658         (RUN_TEST_LOOP_f_L): Likewise.
34659         (RUN_TEST_sincos): Likewise.
34660         (RUN_TEST_LOOP_sincos): Likewise.
34662 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34664         [BZ #15480]
34665         [BZ #15485]
34666         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34667         main case of finite arguments, set rounding mode to FE_TONEAREST
34668         and discard exceptions.
34669         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34670         exceptions.
34671         (remainder_tonearest_test_data): New variable.
34672         (remainder_test_tonearest): New function.
34673         (remainder_towardzero_test_data): New variable.
34674         (remainder_test_towardzero): New function.
34675         (remainder_downward_test_data): New variable.
34676         (remainder_test_downward): New function.
34677         (remainder_upward_test_data): New variable.
34678         (remainder_test_upward): New function.
34679         (main): Call the new test functions.
34681         * math/libm-test.inc (struct test_f_f1_data): Remove field
34682         extra_init.
34683         (struct test_fF_f1_data): Likewise.
34684         (struct test_ffI_f1_data): Likewise.
34685         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34686         based on value of EXTRA_EXPECTED.
34687         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34688         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34689         EXTRA_VAR based on value of EXTRA_EXPECTED.
34690         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34691         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34692         EXTRA_VAR based on value of EXTRA_EXPECTED.
34693         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34694         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34695         EXTRA_VAR based on value of EXTRA_EXPECTED.
34696         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34697         * math/gen-libm-test.pl (parse_args): Don't output initializers
34698         for extra output values.
34700         * math/libm-test.inc (check_int): Expect result to be exactly
34701         equal to expected value and do not handle ulps.
34702         (check_long): Likewise.
34703         (check_longlong): Likewise.
34705         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34706         exceptions.
34707         (cimag_test_data): Likewise.
34708         (conj_test_data): Likewise.
34709         (copysign_test_data): Likewise.
34710         (cproj_test_data): Likewise.
34711         (creal_test_data): Likewise.
34712         (fabs_test_data): Likewise.
34713         (fdim_test_data): Likewise.
34714         (finite_test_data): Likewise.
34715         (floor_test_data): Likewise.
34716         (fmax_test_data): Likewise.
34717         (fmin_test_data): Likewise.
34718         (fmod_test_data): Likewise.
34719         (fpclassify_test_data): Likewise.
34720         (frexp_test_data): Likewise.
34721         (ilogb_test_data): Likewise.
34722         (isfinite_test_data): Likewise.
34723         (isgreater_test_data): Likewise.
34724         (isgreaterequal_test_data): Likewise.
34725         (isinf_test_data): Likewise.
34726         (isless_test_data): Likewise.
34727         (islessequal_test_data): Likewise.
34728         (islessgreater_test_data): Likewise.
34729         (isnan_test_data): Likewise.
34730         (isnormal_test_data): Likewise.
34731         (issignaling_test_data): Likewise.
34732         (isunordered_test_data): Likewise.
34733         (ldexp_test_data): Likewise.
34734         (lrint_test_data): Likewise.
34735         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34736         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34737         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34738         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34739         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34740         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34741         test input.
34742         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34743         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34744         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34745         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34746         that test input.
34747         (lrint_downward_test_data): Test for "inexact" exceptions.
34748         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34749         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34750         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34751         test input.
34752         (lrint_upward_test_data): Test for "inexact" exceptions.
34753         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34754         test input.
34755         (llrint_test_data): Test for "inexact" exceptions.
34756         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34757         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34758         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34759         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34760         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34761         (llrint_downward_test_data): Test for "inexact" exceptions.
34762         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34763         (llrint_upward_test_data): Test for "inexact" exceptions.
34764         (logb_test_data): Likewise.
34765         (logb_downward_test_data): Likewise.
34766         (nextafter_test_data): Likewise.
34767         (nexttoward_test_data): Likewise.
34768         (remainder_test_data): Likewise.
34769         (remquo_test_data): Likewise.
34770         (scalbn_test_data): Likewise.
34771         (scalbln_test_data): Likewise.
34772         (signbit_test_data): Likewise.
34773         (sqrt_test_data): Likewise.
34774         (significand_test_data): Likewise.
34776 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34778         [BZ #15424]
34779         * benchtests/bench-modf.c (struct args): Mark arg0 as
34780         volatile.
34781         * scripts/bench.pl: Mark members of struct args as volatile.
34783 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34785         [BZ # 15497]
34786         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34787         negative infinity on POWER6 or lower.
34788         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34790 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34792         [BZ #15442]
34793         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34794         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34795         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34796         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34797         (_FP_SETQNAN): New macro.
34798         (_FP_SETQNAN_SEMIRAW): Likewise.
34799         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34800         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34801         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34802         (FP_EXTEND): Use _FP_FRAC_SNANP.
34803         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34804         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34805         into account.
34806         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34807         New macro.
34808         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34809         Likewise.
34811 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34813         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34814         with DIVIDE_BY_ZERO_EXCEPTION.
34815         (gamma_test_data): Likewise.
34816         (lgamma_test_data): Likewise.
34817         (log_test_data): Likewise.
34818         (log10_test_data): Likewise.
34819         (log2_test_data): Likewise.
34820         (tgamma_test_data): Likewise.
34822         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34823         (acos_test_tonearest): Likewise.
34824         (acos_test_towardzero): Likewise.
34825         (acos_test_downward): Likewise.
34826         (acos_test_upward): Likewise.
34827         (acosh_test): Likewise.
34828         (asin_test): Likewise.
34829         (asin_test_tonearest): Likewise.
34830         (asin_test_towardzero): Likewise.
34831         (asin_test_downward): Likewise.
34832         (asin_test_upward): Likewise.
34833         (asinh_test): Likewise.
34834         (atan_test): Likewise.
34835         (atanh_test): Likewise.
34836         (atan2_test): Likewise.
34837         (cabs_test): Likewise.
34838         (cacos_test): Likewise.
34839         (cacosh_test): Likewise.
34840         (casin_test): Likewise.
34841         (casinh_test): Likewise.
34842         (catan_test): Likewise.
34843         (catanh_test): Likewise.
34844         (cbrt_test): Likewise.
34845         (ccos_test): Likewise.
34846         (ccosh_test): Likewise.
34847         (cexp_test): Likewise.
34848         (clog_test): Likewise.
34849         (clog10_test): Likewise.
34850         (cos_test): Likewise.
34851         (cos_test_tonearest): Likewise.
34852         (cos_test_towardzero): Likewise.
34853         (cos_test_downward): Likewise.
34854         (cos_test_upward): Likewise.
34855         (cosh_test): Likewise.
34856         (cosh_test_tonearest): Likewise.
34857         (cosh_test_towardzero): Likewise.
34858         (cosh_test_downward): Likewise.
34859         (cosh_test_upward): Likewise.
34860         (cpow_test): Likewise.
34861         (csin_test): Likewise.
34862         (csinh_test): Likewise.
34863         (csqrt_test): Likewise.
34864         (ctan_test): Likewise.
34865         (ctan_test_tonearest): Likewise.
34866         (ctan_test_towardzero): Likewise.
34867         (ctan_test_downward): Likewise.
34868         (ctan_test_upward): Likewise.
34869         (ctanh_test): Likewise.
34870         (ctanh_test_tonearest): Likewise.
34871         (ctanh_test_towardzero): Likewise.
34872         (ctanh_test_downward): Likewise.
34873         (ctanh_test_upward): Likewise.
34874         (erf_test): Likewise.
34875         (erfc_test): Likewise.
34876         (exp_test): Likewise.
34877         (exp_test_tonearest): Likewise.
34878         (exp_test_towardzero): Likewise.
34879         (exp_test_downward): Likewise.
34880         (exp_test_upward): Likewise.
34881         (exp10_test): Likewise.
34882         (exp2_test): Likewise.
34883         (expm1_test): Likewise.
34884         (fmod_test): Likewise.
34885         (gamma_test): Likewise.
34886         (hypot_test): Likewise.
34887         (j0_test): Likewise.
34888         (j1_test): Likewise.
34889         (jn_test): Likewise.
34890         (lgamma_test): Likewise.
34891         (log_test): Likewise.
34892         (log10_test): Likewise.
34893         (log1p_test): Likewise.
34894         (log2_test): Likewise.
34895         (logb_test_downward): Likewise.
34896         (pow_test): Likewise.
34897         (pow_test_tonearest): Likewise.
34898         (pow_test_towardzero): Likewise.
34899         (pow_test_downward): Likewise.
34900         (pow_test_upward): Likewise.
34901         (remainder_test): Likewise.
34902         (remquo_test): Likewise.
34903         (sin_test): Likewise.
34904         (sin_test_tonearest): Likewise.
34905         (sin_test_towardzero): Likewise.
34906         (sin_test_downward): Likewise.
34907         (sin_test_upward): Likewise.
34908         (sincos_test): Likewise.
34909         (sinh_test): Likewise.
34910         (sinh_test_tonearest): Likewise.
34911         (sinh_test_towardzero): Likewise.
34912         (sinh_test_downward): Likewise.
34913         (sinh_test_upward): Likewise.
34914         (sqrt_test): Likewise.
34915         (tan_test): Likewise.
34916         (tan_test_tonearest): Likewise.
34917         (tan_test_towardzero): Likewise.
34918         (tan_test_downward): Likewise.
34919         (tan_test_upward): Likewise.
34920         (tanh_test): Likewise.
34921         (tgamma_test): Likewise.
34922         (y0_test): Likewise.
34923         (y1_test): Likewise.
34924         (yn_test): Likewise.
34926         * math/gen-libm-test.pl (adjust_arg): Remove function.
34927         (special_function): Remove argument $in_func.  Only handle
34928         generating output for tables of tests, not inside functions.
34929         (parse_args): Likewise.
34930         (generate_testfile): Remove variable $in_func.  Update call to
34931         parse_args.
34932         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34933         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34934         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34935         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34936         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34937         (MAX_VALUE_INIT): Rename macro to max_value.
34938         (MIN_VALUE_INIT): Rename macro to min_value.
34939         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34940         (plus_zero): Remove variable.
34941         (minus_zero): Likewise.
34942         (plus_infty): Likewise.
34943         (minus_infty): Likewise.
34944         (qnan_value): Likewise.
34945         (max_value): Likewise.
34946         (min_value): Likewise.
34947         (min_subnorm_value): Likewise.
34949 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34951         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34952         uint64_t or uint32_t usage.
34953         * crypt/sha256-block.c: Likewise.
34954         * crypt/sha256-crypt.c: Likewise.
34955         * crypt/sha256.c: Likewise.
34956         * crypt/sha512-block.c: Likewise.
34957         * crypt/sha512-crypt.c: Likewise.
34958         * crypt/sha512.c: Likewise.
34959         * debug/backtrace-tst.c: Likewise.
34960         * debug/pcprofiledump.c: Likewise.
34961         * elf/cache.c: Likewise.
34962         * elf/dl-cache.c: Likewise.
34963         * elf/dl-misc.c: Likewise.
34964         * elf/dl-profile.c: Likewise.
34965         * elf/dl-support.c: Likewise.
34966         * elf/ldconfig.c: Likewise.
34967         * elf/sprof.c: Likewise.
34968         * iconv/dummy-repertoire.c: Likewise.
34969         * iconv/iconv_charmap.c: Likewise.
34970         * iconv/skeleton.c: Likewise.
34971         * iconvdata/8bit-generic.c: Likewise.
34972         * iconvdata/cp737.h: Likewise.
34973         * iconvdata/cp775.h: Likewise.
34974         * iconvdata/ibm1008.h: Likewise.
34975         * iconvdata/ibm1025.h: Likewise.
34976         * iconvdata/ibm1046.h: Likewise.
34977         * iconvdata/ibm1097.h: Likewise.
34978         * iconvdata/ibm1112.h: Likewise.
34979         * iconvdata/ibm1122.h: Likewise.
34980         * iconvdata/ibm1123.h: Likewise.
34981         * iconvdata/ibm1124.h: Likewise.
34982         * iconvdata/ibm1129.h: Likewise.
34983         * iconvdata/ibm1130.h: Likewise.
34984         * iconvdata/ibm1132.h: Likewise.
34985         * iconvdata/ibm1133.h: Likewise.
34986         * iconvdata/ibm1137.h: Likewise.
34987         * iconvdata/ibm1140.h: Likewise.
34988         * iconvdata/ibm1141.h: Likewise.
34989         * iconvdata/ibm1142.h: Likewise.
34990         * iconvdata/ibm1143.h: Likewise.
34991         * iconvdata/ibm1144.h: Likewise.
34992         * iconvdata/ibm1145.h: Likewise.
34993         * iconvdata/ibm1146.h: Likewise.
34994         * iconvdata/ibm1147.h: Likewise.
34995         * iconvdata/ibm1148.h: Likewise.
34996         * iconvdata/ibm1149.h: Likewise.
34997         * iconvdata/ibm1153.h: Likewise.
34998         * iconvdata/ibm1154.h: Likewise.
34999         * iconvdata/ibm1155.h: Likewise.
35000         * iconvdata/ibm1156.h: Likewise.
35001         * iconvdata/ibm1157.h: Likewise.
35002         * iconvdata/ibm1158.h: Likewise.
35003         * iconvdata/ibm1160.h: Likewise.
35004         * iconvdata/ibm1161.h: Likewise.
35005         * iconvdata/ibm1162.h: Likewise.
35006         * iconvdata/ibm1163.h: Likewise.
35007         * iconvdata/ibm1164.h: Likewise.
35008         * iconvdata/ibm1166.h: Likewise.
35009         * iconvdata/ibm1167.h: Likewise.
35010         * iconvdata/ibm12712.h: Likewise.
35011         * iconvdata/ibm1390.h: Likewise.
35012         * iconvdata/ibm1399.h: Likewise.
35013         * iconvdata/ibm16804.h: Likewise.
35014         * iconvdata/ibm4517.h: Likewise.
35015         * iconvdata/ibm4899.h: Likewise.
35016         * iconvdata/ibm4909.h: Likewise.
35017         * iconvdata/ibm4971.h: Likewise.
35018         * iconvdata/ibm5347.h: Likewise.
35019         * iconvdata/ibm803.h: Likewise.
35020         * iconvdata/ibm856.h: Likewise.
35021         * iconvdata/ibm901.h: Likewise.
35022         * iconvdata/ibm902.h: Likewise.
35023         * iconvdata/ibm9030.h: Likewise.
35024         * iconvdata/ibm9066.h: Likewise.
35025         * iconvdata/ibm921.h: Likewise.
35026         * iconvdata/ibm922.h: Likewise.
35027         * iconvdata/ibm9448.h: Likewise.
35028         * iconvdata/isiri-3342.h: Likewise.
35029         * iconvdata/jis0201.h: Likewise.
35030         * include/link.h: Likewise.
35031         * include/netdb.h: Likewise.
35032         * inet/check_native.c: Likewise.
35033         * inet/check_pf.c: Likewise.
35034         * inet/getipv4sourcefilter.c: Likewise.
35035         * inet/getnameinfo.c: Likewise.
35036         * inet/getsourcefilter.c: Likewise.
35037         * inet/htonl.c: Likewise.
35038         * inet/setipv4sourcefilter.c: Likewise.
35039         * inet/setsourcefilter.c: Likewise.
35040         * inet/test-inet6_opt.c: Likewise.
35041         * inet/tst-network.c: Likewise.
35042         * locale/C-collate.c: Likewise.
35043         * locale/C-ctype.c: Likewise.
35044         * locale/C-time.c: Likewise.
35045         * locale/C-translit.h: Likewise.
35046         * locale/loadarchive.c: Likewise.
35047         * locale/programs/3level.h: Likewise.
35048         * locale/programs/charmap.c: Likewise.
35049         * locale/programs/charmap.h: Likewise.
35050         * locale/programs/ld-address.c: Likewise.
35051         * locale/programs/ld-collate.c: Likewise.
35052         * locale/programs/ld-ctype.c: Likewise.
35053         * locale/programs/ld-identification.c: Likewise.
35054         * locale/programs/ld-measurement.c: Likewise.
35055         * locale/programs/ld-messages.c: Likewise.
35056         * locale/programs/ld-monetary.c: Likewise.
35057         * locale/programs/ld-name.c: Likewise.
35058         * locale/programs/ld-numeric.c: Likewise.
35059         * locale/programs/ld-paper.c: Likewise.
35060         * locale/programs/ld-telephone.c: Likewise.
35061         * locale/programs/ld-time.c: Likewise.
35062         * locale/programs/linereader.c: Likewise.
35063         * locale/programs/locale.c: Likewise.
35064         * locale/programs/locarchive.c: Likewise.
35065         * locale/programs/locfile.h: Likewise.
35066         * locale/programs/repertoire.c: Likewise.
35067         * locale/programs/simple-hash.c: Likewise.
35068         * locale/programs/simple-hash.h: Likewise.
35069         * malloc/memusage.c: Likewise.
35070         * malloc/memusagestat.c: Likewise.
35071         * nis/nis_defaults.c: Likewise.
35072         * nis/nis_hash.c: Likewise.
35073         * nis/nis_print.c: Likewise.
35074         * nis/nis_xdr.c: Likewise.
35075         * nscd/connections.c: Likewise.
35076         * nscd/hstcache.c: Likewise.
35077         * nscd/nscd_gethst_r.c: Likewise.
35078         * nscd/nscd_getserv_r.c: Likewise.
35079         * nscd/nscd_helper.c: Likewise.
35080         * nscd/servicescache.c: Likewise.
35081         * nss/makedb.c: Likewise.
35082         * nss/nss_db/db-XXX.c: Likewise.
35083         * nss/nss_db/db-initgroups.c: Likewise.
35084         * nss/nss_db/db-netgrp.c: Likewise.
35085         * nss/nss_files/files-network.c: Likewise.
35086         * nss/nss_files/files-parse.c: Likewise.
35087         * posix/bug-regex5.c: Likewise.
35088         * posix/fnmatch_loop.c: Likewise.
35089         * posix/regcomp.c: Likewise.
35090         * posix/regexec.c: Likewise.
35091         * posix/tst-rfc3484-2.c: Likewise.
35092         * posix/tst-rfc3484-3.c: Likewise.
35093         * posix/tst-rfc3484.c: Likewise.
35094         * resolv/nss_dns/dns-canon.c: Likewise.
35095         * resolv/nss_dns/dns-network.c: Likewise.
35096         * resolv/res_init.c: Likewise.
35097         * resolv/res_mkquery.c: Likewise.
35098         * resolv/tst-aton.c: Likewise.
35099         * stdlib/cxa_atexit.c: Likewise.
35100         * stdlib/cxa_finalize.c: Likewise.
35101         * stdlib/gen-fpioconst.c: Likewise.
35102         * stdlib/strtol_l.c: Likewise.
35103         * string/tst-endian.c: Likewise.
35104         * sunrpc/auth_des.c: Likewise.
35105         * sunrpc/clnt_udp.c: Likewise.
35106         * sunrpc/rtime.c: Likewise.
35107         * sunrpc/svcauth_des.c: Likewise.
35108         * sunrpc/xdr.c: Likewise.
35109         * sunrpc/xdr_intXX_t.c: Likewise.
35110         * sunrpc/xdr_rec.c: Likewise.
35111         * sysdeps/generic/ldconfig.h: Likewise.
35112         * sysdeps/generic/ldsodefs.h: Likewise.
35113         * sysdeps/generic/memusage.h: Likewise.
35114         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35115         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35116         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35117         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35118         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35119         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35120         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35121         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35122         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35123         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35124         * sysdeps/posix/getaddrinfo.c: Likewise.
35125         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35126         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35127         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35128         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35129         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35130         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35131         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35132         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35133         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35134         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35135         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35136         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35137         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35138         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35139         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35140         * sysdeps/x86_64/dl-tls.h: Likewise.
35141         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35142         * time/alt_digit.c: Likewise.
35143         * time/era.c: Likewise.
35144         * wcsmbs/tst-c16c32-1.c: Likewise.
35146 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35148         * math/libm-test.inc (struct test_sincos_data): New type.
35149         (RUN_TEST_LOOP_sincos): New macro.
35150         (sincos_test_data): New variable.
35151         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35153 2013-05-16  Richard Henderson  <rth@redhat.com>
35155         * math/atest-exp2.c (LIMB64): New macro.
35156         (CONSTSZ): New macro.
35157         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35158         (hexdig): Move ...
35159         (print_mpn_fp): ... to function scope.
35160         (read_mpn_hex): Remove.
35161         (get_log2): Remove.
35162         (exp2_mpn): Use mp_log2.
35163         (main): Use mp_exp1.
35165 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35167         * math/libm-test.inc: Remove comment about not testing "inexact"
35168         exceptions.
35169         (INEXACT_EXCEPTION): New macro.
35170         (NO_INEXACT_EXCEPTION): Likewise.
35171         (INVALID_EXCEPTION_OK): Update value.
35172         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35173         (OVERFLOW_EXCEPTION_OK): Likewise.
35174         (UNDERFLOW_EXCEPTION_OK): Likewise.
35175         (IGNORE_ZERO_INF_SIGN): Likewise.
35176         (ERRNO_UNCHANGED): Likewise.
35177         (ERRNO_EDOM): Likewise.
35178         (ERRNO_ERANGE): Likewise.
35179         (test_exceptions): Handle testing "inexact" exceptions.
35180         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35181         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35182         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35183         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35184         INEXACT_EXCEPTION.
35185         (rint_towardzero_test_data): Likewise.
35186         (rint_downward_test_data): Likewise.
35187         (rint_upward_test_data): Likewise.
35189         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35190         with OVERFLOW_EXCEPTION.
35191         (exp10_test_data): Likewise.
35192         (exp2_test_data): Likewise.
35193         (expm1_test_data): Likewise.
35194         (lgamma_test_data): Likewise.
35195         (pow_test_data): Likewise.
35196         (tgamma_test_data): Likewise.
35197         (yn_test_data): Remove duplicate test of overflow.
35199         * math/libm-test.inc (struct test_cc_c_data): New type.
35200         (RUN_TEST_LOOP_cc_c): New macro.
35201         (cpow_test_data): New variable.
35202         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35204         * math/libm-test.inc (struct test_f_L_data): New type.
35205         (RUN_TEST_LOOP_f_L): New macro.
35206         (llrint_test_data): New variable.
35207         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35208         (llrint_tonearest_test_data): New variable.
35209         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35210         (llrint_towardzero_test_data): New variable.
35211         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35212         (llrint_downward_test_data): New variable.
35213         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35214         (llrint_upward_test_data): New variable.
35215         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35216         (llround_test_data): New variable.
35217         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35219 2013-05-13  Peter Collingbourne  <pcc@google.com>
35221         * math/atest-exp2.c (get_log2): Remove const attribute.
35223 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35225         * math/libm-test.inc (struct test_f_l_data): New type.
35226         (RUN_TEST_LOOP_f_l): New macro.
35227         (lrint_test_data): New variable.
35228         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35229         (lrint_tonearest_test_data): New variable.
35230         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35231         (lrint_towardzero_test_data): New variable.
35232         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35233         (lrint_downward_test_data): New variable.
35234         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35235         (lrint_upward_test_data): New variable.
35236         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35237         (lround_test_data): New variable.
35238         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35240 2013-05-15  Peter Collingbourne  <pcc@google.com>
35242         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35243         (EXTRACT_WORDS64) Use where appropriate.
35244         (INSERT_WORDS64) Likewise.
35246         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35247         constraints with x constraints.
35248         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35250         * malloc/obstack.c (_obstack_compat): Add initializer.
35252 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35254         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35255         si_trapno and add si_addr_lsb to _sifields.sigfault.
35256         (si_trapno): Remove macro.
35257         (si_addr_lsb): Define new macro.
35258         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35260 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35262         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35263         instead of TEST_f_l.
35264         (llrint_test_tonearest): Likewise.
35265         (llrint_test_towardzero): Likewise.
35266         (llrint_test_downward): Likewise.
35267         (llrint_test_upward): Likewise.
35268         (llround_test): Likewise.
35270         * math/libm-test.inc (struct test_f_i_data): Add comment.
35271         (RUN_TEST_LOOP_f_b): New macro.
35272         (RUN_TEST_LOOP_f_b_tg): Likewise.
35273         (finite_test_data): New variable.
35274         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35275         (isfinite_test_data): New variable.
35276         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35277         (isinf_test_data): New variable.
35278         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35279         (isnan_test_data): New variable.
35280         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35281         (isnormal_test_data): New variable.
35282         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35283         (issignaling_test_data): New variable.
35284         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35285         (signbit_test_data): New variable.
35286         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35288         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35289         with INVALID_EXCEPTION.
35290         (acosh_test_data): Likewise.
35291         (asin_test_data): Likewise.
35292         (atanh_test_data): Likewise.
35293         (fmod_test_data): Likewise.
35294         (log_test_data): Likewise.
35295         (log10_test_data): Likewise.
35296         (log2_test_data): Likewise.
35297         (pow_test_data): Likewise.
35298         (sqrt_test_data): Likewise.
35299         (y0_test_data): Likewise.
35300         (y1_test_data): Likewise.
35301         (yn_test_data): Likewise.
35303         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35304         function contents.
35306         * math/libm-test.inc (struct test_ff_i_data): New type.
35307         (RUN_TEST_LOOP_ff_i_tg): New macro.
35308         (isgreater_test_data): New variable.
35309         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35310         (isgreaterequal_test_data): New variable.
35311         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35312         (isless_test_data): New variable.
35313         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35314         (islessequal_test_data): New variable.
35315         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35316         (islessgreater_test_data): New variable.
35317         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35318         (isunordered_test_data): New variable.
35319         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35321 2013-05-14  David S. Miller  <davem@davemloft.net>
35323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35325 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35327         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35329         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35330         extra_test to int.
35331         (struct test_f_i_data): Change type of max_ulp to int.
35333         * math/libm-test.inc (test_ffI_f1_data): New type.
35334         (RUN_TEST_LOOP_ffI_f1): New macro.
35335         (remquo_test_data): New variable.
35336         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35338         * setjmp/tst-setjmp-fp.c: New file.
35339         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35340         (link-libm): New variable.
35341         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35343         * math/libm-test.inc (struct test_f_i_data): New type.
35344         (RUN_TEST_LOOP_f_i): New macro.
35345         (RUN_TEST_LOOP_f_i_tg): Likewise.
35346         (fpclassify_test_data): New variable.
35347         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35348         (ilogb_test_data): New variable.
35349         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35351         * math/libm-test.inc (scalbln_test): Correct function name in END
35352         call.
35354         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35355         (RUN_TEST_LOOP_fI_f1): New macro.
35356         (frexp_test_data): New variable.
35357         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35359         * math/libm-test.inc (struct test_fF_f1_data): New type.
35360         (RUN_TEST_LOOP_fF_f1): New macro.
35361         (modf_test_data): New variable.
35362         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35364         * math/libm-test.inc (struct test_f_f1_data): New type.
35365         (RUN_TEST_LOOP_f_f1): New macro.
35366         (gamma_test_data): New variable.
35367         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35368         (lgamma_test_data): New variable.
35369         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35371 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35373         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35374         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35375         (main): Comment "tls" pseudo-hwcap.
35377 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35379         * math/libm-test.inc (struct test_fl_f_data): New type.
35380         (RUN_TEST_LOOP_fl_f): New variable.
35381         (scalbln_test_data): New variable.
35382         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35384         * math/libm-test.inc (struct test_fi_f_data): New type.
35385         (RUN_TEST_LOOP_fi_f): New macro.
35386         (ldexp_test_data): New variable.
35387         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35388         (scalbn_test_data): New variable.
35389         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35391         * math/libm-test.inc (struct test_c_f_data): New type.
35392         (RUN_TEST_LOOP_c_f): New macro.
35393         (cabs_test_data): New variable.
35394         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35395         (carg_test_data): New variable.
35396         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35397         (cimag_test_data): New variable.
35398         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35399         (creal_test_data): New variable.
35400         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35402         * math/libm-test.inc (struct test_if_f_data): New type.
35403         (RUN_TEST_LOOP_if_f): New macro.
35404         (jn_test_data): New variable.
35405         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35406         (yn_test_data): New variable.
35407         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35409         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35411 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35413         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35414         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35416 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35418         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35419         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35420         (bench-deps): Add bench-timing.h.
35421         * benchtests-bench-skeleton.c: Include bench-timing.h.
35422         (main): Use TIMING_* macros instead of clock_gettime.
35423         * benchtests/bench-timing.h: New file.
35425         [BZ #14582]
35426         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35427         Renamed from _LIB_VERSION.
35428         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35430 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35432         * math/libm-test.inc (struct test_fff_f_data): New type.
35433         (RUN_TEST_LOOP_fff_f): New macro.
35434         (fma_test_data): New variable.
35435         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35436         (fma_towardzero_test_data): New variable.
35437         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35438         (fma_downward_test_data): New variable.
35439         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35440         (fma_upward_test_data): New variable.
35441         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35443         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35444         (struct test_c_c_data): New type.
35445         (RUN_TEST_LOOP_c_c): New macro.
35446         (cacos_test_data): New variable.
35447         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35448         (cacosh_test_data): New variable.
35449         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35450         (casin_test_data): New variable.
35451         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35452         (casinh_test_data): New variable.
35453         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35454         (catan_test_data): New variable.
35455         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35456         (catanh_test_data): New variable.
35457         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35458         (ccos_test_data): New variable.
35459         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35460         (ccosh_test_data): New variable.
35461         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35462         (cexp_test_data): New variable.
35463         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35464         (clog_test_data): New variable.
35465         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35466         (clog10_test_data): New variable.
35467         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35468         (conj_test_data): New variable.
35469         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35470         (cproj_test_data): New variable.
35471         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35472         (csin_test_data): New variable.
35473         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35474         (csinh_test_data): New variable.
35475         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35476         (csqrt_test_data): New variable.
35477         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35478         (ctan_test_data): New variable.
35479         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35480         (ctan_tonearest_test_data): New variable.
35481         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35482         (ctan_towardzero_test_data): New variable.
35483         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35484         (ctan_downward_test_data): New variable.
35485         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35486         (ctan_upward_test_data): New variable.
35487         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35488         (ctanh_test_data): New variable.
35489         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35490         (ctanh_tonearest_test_data): New variable.
35491         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35492         (ctanh_towardzero_test_data): New variable.
35493         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35494         (ctanh_downward_test_data): New variable.
35495         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35496         (ctanh_upward_test_data): New variable.
35497         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35498         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35499         of BUILD_COMPLEX.
35501         * math/libm-test.inc (struct test_ff_f_data): New type.
35502         (struct test_ff_f_data_nexttoward): Likewise.
35503         (RUN_TEST_LOOP_2_f): New macro.
35504         (RUN_TEST_LOOP_ff_f): Likewise.
35505         (atan2_test_data): New variable.
35506         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35507         (copysign_test_data): New variable.
35508         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35509         (fdim_test_data): New variable.
35510         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35511         (fmax_test_data): New variable.
35512         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35513         (fmin_test_data): New variable.
35514         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35515         (fmod_test_data): New variable.
35516         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35517         (hypot_test_data): New variable.
35518         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35519         (nextafter_test_data): New variable.
35520         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35521         (nexttoward_test_data): New variable.
35522         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35523         (pow_test_data): New variable.
35524         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35525         (pow_tonearest_test_data): New variable.
35526         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35527         (pow_towardzero_test_data): New variable.
35528         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35529         (pow_downward_test_data): New variable.
35530         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35531         (pow_upward_test_data): New variable.
35532         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35533         (remainder_test_data): New variable.
35534         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35535         (scalb_test_data): New variable.
35536         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35537         * sysdeps/i386/fpu/libm-test-ulps: Update.
35539 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35541         * math/libm-test.inc (fma_test): Use max_value instead of local
35542         variable fltmax.
35543         (nextafter_test): Likewise.
35545         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35546         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35547         (acos_downward_test_data): New variable.
35548         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35549         (acos_upward_test_data): New variable.
35550         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35551         (acosh_test_data): New variable.
35552         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35553         (asin_test_data): New variable.
35554         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35555         (asin_tonearest_test_data): New variable.
35556         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35557         (asin_towardzero_test_data): New variable.
35558         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35559         (asin_downward_test_data): New variable.
35560         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35561         (asin_upward_test_data): New variable.
35562         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35563         (asinh_test_data): New variable.
35564         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35565         (atan_test_data): New variable.
35566         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35567         (atanh_test_data): New variable.
35568         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35569         (cbrt_test_data): New variable.
35570         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35571         (ceil_test_data): New variable.
35572         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35573         (cos_test_data): New variable.
35574         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35575         (cos_tonearest_test_data): New variable.
35576         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35577         (cos_towardzero_test_data): New variable.
35578         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35579         (cos_downward_test_data): New variable.
35580         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35581         (cos_upward_test_data): New variable.
35582         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35583         (cosh_test_data): New variable.
35584         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35585         (cosh_tonearest_test_data): New variable.
35586         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35587         (cosh_towardzero_test_data): New variable.
35588         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35589         (cosh_downward_test_data): New variable.
35590         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35591         (cosh_upward_test_data): New variable.
35592         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35593         (erf_test_data): New variable.
35594         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35595         (erfc_test_data): New variable.
35596         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35597         (exp_test_data): New variable.
35598         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35599         (exp_tonearest_test_data): New variable.
35600         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35601         (exp_towardzero_test_data): New variable.
35602         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35603         (exp_downward_test_data): New variable.
35604         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35605         (exp_upward_test_data): New variable.
35606         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35607         (exp10_test_data): New variable.
35608         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35609         (exp2_test_data): New variable.
35610         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35611         (expm1_test_data): New variable.
35612         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35613         (fabs_test_data): New variable.
35614         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35615         (floor_test_data): New variable.
35616         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35617         (j0_test_data): New variable.
35618         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35619         (j1_test_data): New variable.
35620         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35621         (log_test_data): New variable.
35622         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35623         (log10_test_data): New variable.
35624         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35625         (log1p_test_data): New variable.
35626         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35627         (log2_test_data): New variable.
35628         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35629         (logb_test_data): New variable.
35630         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35631         (logb_downward_test_data): New variable.
35632         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35633         (nearbyint_test_data): New variable.
35634         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35635         (rint_test_data): New variable.
35636         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35637         (rint_tonearest_test_data): New variable.
35638         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35639         (rint_towardzero_test_data): New variable.
35640         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35641         (rint_downward_test_data): New variable.
35642         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35643         (rint_upward_test_data): New variable.
35644         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35645         (round_test_data): New variable.
35646         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35647         (sin_test_data): New variable.
35648         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35649         (sin_tonearest_test_data): New variable.
35650         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35651         (sin_towardzero_test_data): New variable.
35652         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35653         (sin_downward_test_data): New variable.
35654         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35655         (sin_upward_test_data): New variable.
35656         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35657         (sinh_test_data): New variable.
35658         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35659         (sinh_tonearest_test_data): New variable.
35660         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35661         (sinh_towardzero_test_data): New variable.
35662         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35663         (sinh_downward_test_data): New variable.
35664         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35665         (sinh_upward_test_data): New variable.
35666         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35667         (sqrt_test_data): New variable.
35668         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35669         (tan_test_data): New variable.
35670         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35671         (tan_tonearest_test_data): New variable.
35672         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35673         (tan_towardzero_test_data): New variable.
35674         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35675         (tan_downward_test_data): New variable.
35676         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35677         (tan_upward_test_data): New variable.
35678         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35679         (tanh_test_data): New variable.
35680         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35681         (tgamma_test_data): New variable.
35682         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35683         (trunc_test_data): New variable.
35684         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35685         (y0_test_data): New variable.
35686         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35687         (y1_test_data): New variable.
35688         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35689         (significand_test_data): New variable.
35690         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35692 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35694         [BZ #12387]
35695         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35697 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35699         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35701 2013-05-10  Andreas Jaeger  <aj@suse.de>
35703         [BZ #15448]
35704         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35705         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35707 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35709         * math/gen-libm-test.pl (adjust_arg): New function.
35710         (special_functions): Handle generating output in both functions
35711         and arrays.
35712         (parse_args): Likewise.
35713         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35714         $in_func argument to parse_args.
35715         * math/libm-test.inc (struct test_f_f_data): New type.
35716         (IF_ROUND_INIT_): New macro.
35717         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35718         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35719         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35720         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35721         (ROUND_RESTORE_): Likewise.
35722         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35723         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35724         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35725         (ROUND_RESTORE_FE_UPWARD): Likewise.
35726         (RUN_TEST_LOOP_f_f): New macro.
35727         (acos_test_data): New variable.
35728         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35729         (acos_tonearest_test_data): New variable.
35730         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35732 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35734         * benchtests/bench-skeleton.c (startup): Fix coding style.
35736 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35738         [BZ #6809]
35739         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35740         negative infinity argument.
35741         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35742         negative infinity argument.
35743         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35744         negative infinity argument.
35745         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35746         domain errors.
35748 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35750         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35751         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35752         * iconv/iconv_prog.c (main): Likewise.
35753         * locale/programs/charmap-dir.c (charmap_readdir)
35754         (fopen_uncompressed): Likewise.
35755         * locale/programs/locfile.c (siblings_uncached)
35756         (write_locale_data): Use lstat64 instead of lstat.
35757         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35758         stat.
35760 2013-05-10  Andreas Jaeger  <aj@suse.de>
35762         [BZ #15395]
35763         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35764         localization.
35765         Include <locale.h>.
35767 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35769         * elf/dl-close.c (_dl_close_worker): Add comments.
35771 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35773         [BZ #15359]
35774         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35775         high part of pi/2.
35776         (__ieee754_rem_pio2l): Update comments.
35778         [BZ #15429]
35779         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35780         high part of pi/2.
35781         (__ieee754_rem_pio2l): Update comments.
35783         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35784         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35786         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35787         M_PI_4l.
35789         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35790         (M_PI_34_LOG10El): Likewise.
35791         (M_PI2_LOG10El): Likewise.
35792         (M_PI4_LOG10El): Likewise.
35793         (M_PI_LOG10El): Likewise.
35795 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35799 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35801         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35802         (MINUS_ZERO_INIT): Likewise.
35803         (PLUS_INFTY_INIT): Likewise.
35804         (MINUS_INFTY_INIT): Likewise.
35805         (QNAN_VALUE_INIT): Likewise.
35806         (MAX_VALUE_INIT): Likewise.
35807         (MIN_VALUE_INIT): Likewise.
35808         (MIN_SUBNORM_VALUE_INIT): Likewise.
35809         (plus_zero): Initialize with PLUS_ZERO_INIT.
35810         (minus_zero): Initialize with MINUS_ZERO_INIT.
35811         (plus_infty): Initialize with PLUS_INFTY_INIT.
35812         (minus_infty): Initialize with MINUS_INFTY_INIT.
35813         (qnan_value): Initialize with QNAN_VALUE_INIT.
35814         (max_value): Initialize with MAX_VALUE_INIT.
35815         (min_value): Initialize with MIN_VALUE_INIT.
35816         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35818         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35819         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35820         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35821         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35823         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35824         (RUN_TEST_2_f): Likewise.
35825         (RUN_TEST_ff_f): Likewise.
35826         (RUN_TEST_fi_f): Likewise.
35827         (RUN_TEST_fl_f): Likewise.
35828         (RUN_TEST_fff_f): Likewise.
35829         (RUN_TEST_c_f): Likewise.
35830         (RUN_TEST_f_f1): Likewise.
35831         (RUN_TEST_fF_f1): Likewise.
35832         (RUN_TEST_fI_f1): Likewise.
35833         (RUN_TEST_ffI_f1): Likewise.
35834         (RUN_TEST_c_c): Likewise.
35835         (RUN_TEST_cc_c): Likewise.
35836         (RUN_TEST_f_i): Likewise.
35837         (RUN_TEST_f_i_tg): Likewise.
35838         (RUN_TEST_ff_i_tg): Likewise.
35839         (RUN_TEST_f_b): Likewise.
35840         (RUN_TEST_f_b_tg): Likewise.
35841         (RUN_TEST_f_l): Likewise.
35842         (RUN_TEST_f_L): Likewise.
35843         (RUN_TEST_sincos): Likewise.
35844         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35845         whether to show exceptions.  Do not include ");\n" in return
35846         value.
35847         (special_functions): Output call to RUN_TEST_sincos instead of
35848         check_float calls.  Update calls to new_test.
35849         (parse_args): Output call to single RUN_TEST_* macro instead of
35850         check_* calls and other assignments.  Update calls to new_test.
35852         [BZ #2546]
35853         [BZ #2560]
35854         [BZ #5159]
35855         [BZ #15426]
35856         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35857         input to result for tgamma overflow.
35858         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35859         (gamma_coeff): New variable.
35860         (NCOEFF): New macro.
35861         (gamma_positive): New function.
35862         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35863         underflow here.  Use gamma_positive instead of exp (lgamma) for
35864         other arguments.
35865         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35866         (gamma_coeff): New variable.
35867         (NCOEFF): New macro.
35868         (gammaf_positive): New function.
35869         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35870         underflow here.  Use gamma_positive instead of exp (lgamma) for
35871         other arguments.
35872         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35873         (gamma_coeff): New variable.
35874         (NCOEFF): New macro.
35875         (gammal_positive): New function.
35876         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35877         underflow here.  Use gamma_positive instead of exp (lgamma) for
35878         other arguments.
35879         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35880         (gamma_coeff): New variable.
35881         (NCOEFF): New macro.
35882         (gammal_positive): New function.
35883         (__ieee754_gammal_r): Handle positive infinity, overflow and
35884         underflow here.  Handle NaN the same as positive infinity.  Remove
35885         check x < 0xffffffff for negative integers.  Use gamma_positive
35886         instead of exp (lgamma) for other arguments.
35887         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35888         (gamma_coeff): New variable.
35889         (NCOEFF): New macro.
35890         (gammal_positive): New function.
35891         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35892         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35893         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35894         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35895         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35896         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35897         * sysdeps/generic/math_private.h (__gamma_productf): New
35898         prototype.
35899         (__gamma_product): Likewise.
35900         (__gamma_productl): Likewise.
35901         * math/Makefile (libm-calls): Add gamma_product.
35902         * math/libm-test.inc (tgamma_test): Add more tests.
35903         * sysdeps/i386/fpu/libm-test-ulps: Update.
35904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35906 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35908         * benchtests/bench-skeleton.c (main): Preheat CPU.
35910 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35912         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35914 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35916         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35917         and _dl_skip_args_internal.
35919 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35921         * manual/message.texi (Message Translation): Talk about users.
35922         Message to key mapping impacts design.
35924 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35926         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35928         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35930         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35931         * sysdeps/wordsize-64/glob64.c: ... here.
35933         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35934         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35935         New macros.
35937         * debug/getlogin_r_chk.c: Moved to ...
35938         * login/getlogin_r_chk.c: ... here.
35939         * debug/Makefile (routines): Move getlogin_r_chk to ...
35940         * login/Makefile (routines): ... here.
35941         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35942         * login/Versions (libc: GLIBC_2.4): ... here.
35944         * io/poll.c (__poll): Renamed from poll.
35945         Add libc_hidden_def.
35946         (poll): Define as weak alias.
35948         * debug/ptsname_r_chk.c: Moved to ...
35949         * login/ptsname_r_chk.c: ... here.
35950         * debug/Makefile (routines): Move ptsname_r_chk to ...
35951         * login/Makefile (routines): ... here.
35952         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35953         * login/Versions (libc: GLIBC_2.4): ... here.
35955         * posix/getlogin.c: Moved to ...
35956         * login/getlogin.c: ... here.
35957         * posix/getlogin_r.c: Moved to ...
35958         * login/getlogin_r.c: ... here.
35959         * posix/getlogin_r.c: Moved to ...
35960         * login/getlogin_r.c: ... here.
35961         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35962         * login/Makefile (routines): ... here.
35963         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35964         * login/Versions (libc: GLIBC_2.0): ... here.
35966         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35967         (setrlimit): Define as weak alias.
35969         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35970         Call __ names for open, ftruncate, and close.
35971         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35972         (truncate): Define as weak alias.
35974 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35976         * math/gen-libm-test.pl (parse_args): Initialize x before each
35977         test of frexp, modf and remquo.
35979         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35980         test signgam value.
35982 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35984         [BZ #15418]
35985         [BZ #15419]
35986         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35987         internal tests.
35988         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35990 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35992         * elf/dl-writev.h: New file.
35993         * elf/dl-misc.c: Include it.
35994         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35995         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35997 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35999         * math/libm-test.inc (noXFails): Remove variable.
36000         (noXPasses): Likewise.
36001         (BUILD_COMPLEX_INT): Remove macro.
36002         (print_screen): Remove xfail argument.
36003         (print_screen_max_error): Likewise.
36004         (update_stats): Likewise.
36005         (print_max_error): Likewise.  Update calls to other affected
36006         functions.
36007         (print_complex_max_error): Likewise.
36008         (test_single_exception): Update calls to print_screen.
36009         (test_single_errno): Likewise.
36010         (check_float_internal): Remove xfail argument.  Update calls to
36011         other affected functions.
36012         (check_float): Likewise.
36013         (check_complex): Likewise.
36014         (check_int): Likewise.
36015         (check_long): Likewise.
36016         (check_bool): Likewise.
36017         (check_longlong): Likewise.
36018         (main): Don't print noXFails and noXPasses.
36019         * math/gen-libm-test.pl (top level): Don't mention expected
36020         failure handling in comment.
36021         (new_test): Don't handle expected failures.
36022         (parse_args): Don't mention expected failure handling in comment.
36023         (generate_testfile): Don't handle expected failures.
36024         (parse_ulps): Likewise.
36025         (print_ulps_file): Likewise.
36026         (get_failure): Remove function.
36027         (output_test): Don't handle expected failures.
36028         * make/README.libm-test: Don't mention expected failure handling.
36030         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36031         (minus_zero): Likewise.
36032         (plus_infty): Likewise.
36033         (minus_infty): Likewise.
36034         (qnan_value): Likewise.
36035         (max_value): Likewise.
36036         (min_value): Likewise.
36037         (min_subnorm_value): Likewise.
36038         (initialize): Do not initialize those variables dynamically.
36040 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36042         * io/open.c (__open_2): Moved to ...
36043         * io/open_2.c: ... this new file.
36044         * io/open64.c (__open64_2): Moved to ...
36045         * io/open64_2.c: ... this new file.
36046         * io/openat.c (__openat_2): Moved to ...
36047         * io/openat_2.c: ... this new file.
36048         * io/openat64.c (__openat64_2): Moved to ...
36049         * io/openat64_2.c: ... this new file.
36050         * io/Makefile (routines): Add them.
36051         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36052         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36053         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36054         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36055         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36056         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36057         (__openat64): Add hidden_ver.
36058         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36059         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36061         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36062         Separately conditionalize setting of GLRO(dl_sysinfo) so
36063         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36064         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36066 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36068         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36069         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36070         definition.
36071         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36072         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36073         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36074         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36075         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36077 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36079         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36080         test signgam value.
36082         * math/libm-test.inc (hypot_test): Do not use
36083         IGNORE_ZERO_INF_SIGN.
36085 2013-05-03  Andreas Jaeger  <aj@suse.de>
36087         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36088         Linux 3.9.
36089         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36090         (PF_MAX): Adjust for VSOCK change.
36092 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36096 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36098         [BZ #15264]
36099         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36100         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36101         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36103 2013-05-02  David S. Miller  <davem@davemloft.net>
36105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36107 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36109         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36111 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36113         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36115 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36117         [BZ #14952]
36118         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36119         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36120         Use __attribute__ ((__gnu_inline__)).
36121         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36122         Don't use __attribute__ ((__gnu_inline__)).
36124 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36126         [BZ #15423]
36127         * math/s_catan.c (__catan): Handle small real or imaginary part of
36128         input specially to avoid spurious underflow.
36129         * math/s_catanf.c (__catanf): Likewise.
36130         * math/s_catanh.c (__catanh): Likewise.
36131         * math/s_catanhf.c (__catanhf): Likewise.
36132         * math/s_catanhl.c (__catanhl): Likewise.
36133         * math/s_catanl.c (__catanl): Likewise.
36134         * math/libm-test.inc (catan_test): Add more tests.
36135         (catanh_test): Likewise.
36136         * sysdeps/i386/fpu/libm-test-ulps: Update.
36137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36139 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36143 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36145         [BZ #15416]
36146         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36147         accurately for denominator in atan2.
36148         * math/s_catanf.c (__catanf): Likewise.
36149         * math/s_catanh.c (__catanh): Likewise.
36150         * math/s_catanhf.c (__catanhf): Likewise.
36151         * math/s_catanhl.c (__catanhl): Likewise.
36152         * math/s_catanl.c (__catanl): Likewise.
36153         * math/libm-test.inc (catan_test): Add more tests.
36154         (catanh_test): Likewise.
36155         * sysdeps/i386/fpu/libm-test-ulps: Update.
36156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36158 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36160         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36162         * benchtests/Makefile (bench): Remove slow benchmarks.
36163         * benchtests/atan-inputs: Add slow benchmark inputs.
36164         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36165         (BENCH_FUNC): Accept variant offset.
36166         (VARIANT): Define.
36167         * benchtests/bench-skeleton.c (main): Run benchmark for each
36168         variant.
36169         * benchtests/cos-inputs: Add slow benchmark inputs.
36170         * benchtests/exp-inputs: Likewise.
36171         * benchtests/pow-inputs: Likewise.
36172         * benchtests/sin-inputs: Likewise.
36173         * benchtests/slowatan-inputs: Remove.
36174         * benchtests/slowatan.c: Remove.
36175         * benchtests/slowcos-inputs: Remove.
36176         * benchtests/slowcos.c: Remove.
36177         * benchtests/slowexp-inputs: Remove.
36178         * benchtests/slowexp.c: Remove.
36179         * benchtests/slowpow-inputs: Remove.
36180         * benchtests/slowpow.c: Remove.
36181         * benchtests/slowsin-inputs: Remove.
36182         * benchtests/slowsin.c: Remove.
36183         * benchtests/slowtan-inputs: Remove.
36184         * benchtests/slowtan.c: Remove.
36185         * benchtests/tan-inputs: Add slow benchmark inputs.
36186         * scripts/bench.pl: Parse comments and directives.
36188         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36189         in CPPFLAGS.
36190         ($(objpfx)bench-%.c): Remove *-ITER.
36191         * benchtests/bench-modf.c: Remove definition of ITER.
36192         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36193         (main): Loop for DURATION seconds instead of fixed number of
36194         iterations.
36195         * scripts/bench.pl: Don't expect iterations in parameters.
36197 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36199         * io/fchdir.c (__fchdir): Renamed from fchdir.
36200         (fchdir): Define as weak alias.
36202 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36204         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36205         (ERRNO_EDOM): Likewise.
36206         (ERRNO_ERANGE): Likewise.
36207         (noErrnoTests): New variable.
36208         (init_max_error): Set errno to 0.
36209         (test_single_errno): New function.
36210         (test_errno): Likewise.
36211         (check_float_internal): Call test_errno.  Set errno to 0.
36212         (check_complex): Refer to errno tests in comment.
36213         (check_int): Call test_errno.  Set errno to 0.
36214         (check_long): Likewise.
36215         (check_bool): Likewise.
36216         (check_longlong): Likewise.
36217         (cos_test): Use ERRNO_* flags for errno tests instead of
36218         check_int.
36219         (expm1_test): Likewise.
36220         (fmod_test): Likewise.
36221         (ilogb_test): Likewise.
36222         (lgamma_test): Likewise.
36223         (pow_test): Likewise.
36224         (remainder_test): Likewise.
36225         (sin_test): Likewise.
36226         (tan_test): Likewise.
36227         (yn_test): Likewise.
36228         (initialize): Set errno to 0.
36229         (main): Print number of errno tests.
36230         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36232 2013-04-29  Andreas Jaeger  <aj@suse.de>
36234         [BZ #15084]
36235         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36236         and RES_USEVC.
36238         [BZ #15085]
36239         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36240         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36241         unimplemented.
36243         [BZ #15380]
36244         * stdlib/random.c (__initstate): Return NULL if
36245         __initstate fails.
36247         [BZ #15086]
36248         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36249         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36250         RES_SNGLKUPREOP.
36252 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36256 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36258         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36259         of individual tests.
36260         (casin_test): Likewise.
36261         (casinh_test): Likewise.
36263 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36265         [BZ #15409]
36266         * math/s_catan.c (__catan): Handle arguments with large real or
36267         imaginary part separately without squaring.
36268         * math/s_catanf.c (__catanf): Likewise.
36269         * math/s_catanh.c (__catanh): Likewise.
36270         * math/s_catanhf.c (__catanhf): Likewise.
36271         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36272         and redefine.
36273         (__catanhl): Handle arguments with large real or imaginary part
36274         separately without squaring.
36275         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36276         and redefine.
36277         (__catanl): Handle arguments with large real or imaginary part
36278         separately without squaring.
36279         * math/libm-test.inc (catan_test): Add more tests.
36280         (catanh_test): Likewise.
36281         * sysdeps/i386/fpu/libm-test-ulps: Update.
36282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36284 2013-04-27  Andreas Jaeger  <aj@suse.de>
36286         [BZ #15007]
36287         * stdlib/stdlib.h: Update guards for qecvt.
36288         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36289         <stdlib.h>.
36291 2013-04-27  Allan McRae  <allan@archlinux.org>
36293         * sysdeps/i386/fpu/libm-test-ulps: Update.
36295 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36297         [BZ #15406]
36298         * math/s_catan.c: Include <float.h>.
36299         (__catan): Ensure underflow exception occurs for underflowed
36300         result.
36301         * math/s_catanf.c: Include <float.h>.
36302         (__catanf): Ensure underflow exception occurs for underflowed
36303         result.
36304         * math/s_catanh.c: Include <float.h>.
36305         (__catanh): Ensure underflow exception occurs for underflowed
36306         result.
36307         * math/s_catanhf.c: Include <float.h>.
36308         (__catanhf): Ensure underflow exception occurs for underflowed
36309         result.
36310         * math/s_catanhl.c: Include <float.h>.
36311         (__catanhl): Ensure underflow exception occurs for underflowed
36312         result.
36313         * math/s_catanl.c: Include <float.h>.
36314         (__catanl): Ensure underflow exception occurs for underflowed
36315         result.
36316         * math/libm-test.inc (catan_test): Add more tests.
36317         (catanh_test): Likewise.
36319         [BZ #15405]
36320         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36321         underflowed result.
36322         * math/s_ccoshf.c (__ccoshf): Likewise.
36323         * math/s_ccoshl.c (__ccoshl): Likewise.
36324         * math/s_csin.c (__csin): Likewise.
36325         * math/s_csinf.c (__csinf): Likewise.
36326         * math/s_csinh.c (__csinh): Likewise.
36327         * math/s_csinhf.c (__csinhf): Likewise.
36328         * math/s_csinhl.c (__csinhl): Likewise.
36329         * math/s_csinl.c (__csinl): Likewise.
36330         * math/libm-test.inc (ccos_test): Add more tests.
36331         (ccosh_test): Likewise.
36332         (csin_test): Likewise.
36333         (csinh_test): Likewise.
36335 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36337         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36338         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36339         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36340         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36341         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36342         powerpc/power5+/fpu folders.
36343         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36346 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36350 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36352         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36353         additions to variable.
36354         [$(config-machine) = x86_64] (modules-names): Likewise.
36355         ($(objpfx)tst-audit3): Remove dependency.
36356         ($(objpfx)tst-audit3.out): Likewise.
36357         ($(objpfx)tst-audit4): Likewise.
36358         ($(objpfx)tst-audit4.out): Likewise.
36359         ($(objpfx)tst-audit5): Likewise.
36360         ($(objpfx)tst-audit5.out): Likewise.
36361         ($(objpfx)tst-audit6): Likewise.
36362         ($(objpfx)tst-audit6.out): Likewise.
36363         ($(objpfx)tst-audit7): Likewise.
36364         ($(objpfx)tst-audit7.out): Likewise.
36365         (tst-audit3-ENV): Remove variable.
36366         (tst-audit4-ENV): Likewise.
36367         (tst-audit5-ENV): Likewise.
36368         (tst-audit6-ENV): Likewise.
36369         (tst-audit7-ENV): Likewise.
36370         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36371         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36372         addition to variable.
36373         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36374         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36375         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36376         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36377         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36378         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36379         tst-audit3, tst-audit4 and tst-audit5.
36380         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36381         tst-audit6 and tst-audit7.
36382         [$(subdir) = elf] (modules-names): Add audit modules for those
36383         tests.
36384         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36385         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36386         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36387         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36388         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36389         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36390         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36391         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36392         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36393         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36394         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36395         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36396         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36397         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36398         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36399         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36400         Likewise.
36401         [$(subdir) = elf && $(config-cflags-avx) = yes]
36402         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36403         [$(subdir) = elf && $(config-cflags-avx) = yes]
36404         (CFLAGS-tst-auditmod4a.c): Likewise.
36405         [$(subdir) = elf && $(config-cflags-avx) = yes]
36406         (CFLAGS-tst-auditmod4b.c): Likewise.
36407         [$(subdir) = elf && $(config-cflags-avx) = yes]
36408         (CFLAGS-tst-auditmod6b.c): Likewise.
36409         [$(subdir) = elf && $(config-cflags-avx) = yes]
36410         (CFLAGS-tst-auditmod6c.c): Likewise.
36411         [$(subdir) = elf && $(config-cflags-avx) = yes]
36412         (CFLAGS-tst-auditmod7b.c): Likewise.
36413         * elf/tst-audit3.c: Move to ...
36414         * sysdeps/x86_64/tst-audit3.c: ... here.
36415         * elf/tst-audit4.c: Move to ...
36416         * sysdeps/x86_64/tst-audit4.c: ... here.
36417         * elf/tst-audit5.c: Move to ...
36418         * sysdeps/x86_64/tst-audit5.c: ... here.
36419         * elf/tst-audit6.c: Move to ...
36420         * sysdeps/x86_64/tst-audit6.c: ... here.
36421         * elf/tst-audit7.c: Move to ...
36422         * sysdeps/x86_64/tst-audit7.c: ... here.
36423         * elf/tst-auditmod3a.c: Move to ...
36424         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36425         * elf/tst-auditmod3b.c: Move to ...
36426         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36427         * elf/tst-auditmod4a.c: Move to ...
36428         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36429         * elf/tst-auditmod4b.c: Move to ...
36430         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36431         * elf/tst-auditmod5a.c: Move to ...
36432         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36433         * elf/tst-auditmod5b.c: Move to ...
36434         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36435         * elf/tst-auditmod6a.c: Move to ...
36436         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36437         * elf/tst-auditmod6b.c: Move to ...
36438         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36439         * elf/tst-auditmod6c.c: Move to ...
36440         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36441         * elf/tst-auditmod7a.c: Move to ...
36442         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36443         * elf/tst-auditmod7b.c: Move to ...
36444         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36446 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36448         [BZ #15366]
36449         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36450         define unconditionally.
36451         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36452         define unconditionally.
36453         (INT8_C, INT16_C, etc.): Likewise.
36455 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36457         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36458         __ehdr_start with hidden visibility.
36460         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36462 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36464         * math/libm-test.inc (cos_test): Use accurate hex constants.
36465         (sincost_test): Likewise.
36467 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36469         * math/libm-test.inc (catan_test): Add more tests.
36470         (catanh_test): Likewise.
36472         * math/s_catanf.c (__catanf): Use suffixed floating-point
36473         constants.
36474         * math/s_catanhf.c (__catanhf): Likewise.
36475         * math/s_catanhl.c (__catanhl): Likewise.
36476         * math/s_catanl.c (__catanl): Likewise.
36478         [BZ #15394]
36479         * math/s_catan.c (__catan): Calculate imaginary part of result
36480         with log1p not log unless computing log of number close to 0.
36481         * math/s_catanf.c (__catanf): Likewise.
36482         * math/s_catanl.c (__catanl): Likewise.
36483         * math/s_catanh.c (__catanh): Calculate real part of result with
36484         log1p not log unless computing log of number close to 0.
36485         * math/s_catanhf.c (__catanhf): Likewise.
36486         * math/s_catanhl.c (__catanhl): Likewise.
36487         * math/libm-test.inc (catan_test): Add more tests.
36488         (catanh_test): Likewise.
36489         * sysdeps/i386/fpu/libm-test-ulps: Update.
36490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36492 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36494         * benchtests/Makefile: Mention files in which fast and slow
36495         paths of math functions are implemented.
36497 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36499         * sysdeps/posix/timespec_get.c: New file.
36501 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36503         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36504         POWER.
36505         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36506         for POWER.
36507         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36508         powerpc/power5/fpu folders.
36509         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36510         * benchtests/Makefile: Add modf testcase.
36511         * benchtests/bench-modf.c: New file: Benchmark test for mo
36513 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36515         [BZ #14888]
36516         * time/Makefile (tests): Add tst-strptime-whitespace.
36517         * time/strptime_l.c (get_number): Use ISSPACE.
36518         (__strptime_internal): Likewise.
36519         * time/tst-strptime-whitespace.c: New test case.
36521 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36523         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36524         member.
36525         (_nss_files_init): Set it here.
36527 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36529         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36530         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36531         unsigned.
36533 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36535         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36537 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36539         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36540         size just once.
36542 2013-04-21  David S. Miller  <davem@davemloft.net>
36544         * po/ru.po: Update Russion translation from translation project.
36546 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36548         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36549         and setfsgid.
36551 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36553         * configure.in: Remove i386 configure warning. Remove i386 case.
36554         * configure: Regenerate.
36555         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36556         Add example to error message.
36557         * sysdeps/i386/configure: Regenerate.
36559 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36561         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36562         slowtan.
36563         * benchtests/cos-inputs: New file.
36564         * benchtests/slowcos-inputs: New file.
36565         * benchtests/slowcos.c: New file.
36566         * benchtests/slowtan-inputs: New file.
36567         * benchtests/slowtan.c: New file.
36568         * benchtests/tan-inputs: New file.
36570 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36572         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36573         considered kosher.
36575 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36577         * benchtests/Makefile: Include cppflags-iterator.mk to add
36578         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36580         * Makefile.in (bench-clean): New target.
36581         * benchtests/Makefile (bench-clean): Likewise.
36583 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36585         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36587 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36589         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36591 2013-04-15  Andreas Schwab  <schwab@suse.de>
36593         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36594         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36595         * nscd/pwdcache.c (cache_addpw): Likewise.
36596         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36597         more than recsize.
36599 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36601         * benchtests/Makefile (bench): Write all output to
36602         bench-out.tmp together.
36604 2013-04-15  Andreas Schwab  <schwab@suse.de>
36606         * nscd/nscd.c (main): Don't fork again after closing files.
36608 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36610         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36612         * benchtests/Rules (bench-deps): Collect dependencies into a
36613         single variable.  Add Makefile to dependencies.
36614         ($(objpfx)bench-%.c): Depend on bench-deps.
36616 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36617             Xavier Roche  <roche+kml2@exalead.com>
36619         [BZ #15361]
36620         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36621         just that it's a file descriptor.
36622         * manual/llio.texi (Synchronizing AIO Operations): Update description
36623         for EBADF error from aio_fsync.
36625 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36627         * Rules (bench): Move target definition...
36628         * benchtests/Makefile: ... here.
36630 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36632         * math/libm-test.inc (cos_test): Fix PI/2 test.
36633         (sincos_test): Likewise.
36634         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36635         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36637 2013-04-11  Andreas Schwab  <schwab@suse.de>
36639         [BZ #13988]
36640         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36641         accept exponent character only when digits were seen.
36642         * stdio-common/Makefile (tests): Add bug26.
36643         * stdio-common/bug26.c: New file.
36645         [BZ #14293]
36646         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36647         non-freeable.
36649 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36651         * Makeconfig (rtld-prefix): Define built linker prefix.
36652         * Rules (run-bench): Use it.
36653         * math/Makefile (run-regen-ulps): Likewise.
36655         * Rules (bench): Remove eval.
36657 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36658             Roland McGrath  <roland@hack.frob.com>
36659             Ondrej Bilka  <neleai@seznam.cz>
36661         [BZ #15346]
36662         * time/getdate.c: Include ctype.h and alloca.h.
36663         (__getdate_r): Trim leading and trailing spaces of input.
36664         * time/tst-getdate.c (tests): Add tests with leading and
36665         trailing spaces.
36667 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36669         [BZ #14280]
36670         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36671         when computing value.
36673 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36675         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36676         Use testrun.sh to run libm tests.
36678         [BZ #15309]
36679         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36681 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36683         [BZ #15264]
36684         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36686 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36688         * Makefile.in (regen-ulps): New target.
36689         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36690         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36691         [ifneq (no,$(PERL)] (regen-ulps): New target.
36692         [ifeq (no,$(PERL)] (regen-ulps): New target.
36693         * math/libm-test.inc (ulps_file_name): Define.
36694         (output_dir): New variable.
36695         (options): Add "output-dir" option.
36696         (parse_opt): Handle 'o' case.
36697         (main): If output_dir is non-NULL use it as a prefix
36698         otherwise use "".
36699         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36701 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36703         [BZ #10060, #10062]
36704         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36705         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36706         fail configure if __sync_val_compare_and_swap is not inlined.
36707         * sysdeps/i386/configure: Regenerate.
36708         * configure.in: Build for i686 when configured for i386.
36709         * configure: Regenerate.
36710         * README: Remove i386 reference.
36712 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36714         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36715         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36717 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36719         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36720         (lmsnanval): New variables.
36721         (F): Add conversion tests.
36722         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36723         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36725         * stdio-common/tstdiomisc.c (F): Properly collect individual
36726         tests' results.
36728         [BZ #14686, #15336]
36729         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36730         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36731         Instead, use input NaN values or generate a qNaN by arithmetic
36732         operation.  Also fix bugs to comply with the standard.
36733         * math/libm-test.inc (remainder_test): Add more tests.
36735         [BZ #15335, #15342]
36736         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36737         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36738         input NaN values or generate a qNaN by arithmetic operation.
36740         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36741         unreachable code.
36743         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36744         definitions.
36746 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36748         [BZ #14478]
36749         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36750         underflowed result.
36751         * math/s_cexpf.c (__cexpf): Likewise.
36752         * math/s_cexpl.c (__cexpl): Likewise.
36753         * math/libm-test.inc (cexp_test): Add more tests.
36755 2013-04-03  Andreas Schwab  <schwab@suse.de>
36757         [BZ #15330]
36758         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36759         order arrays from heap if bigger than alloca cutoff.
36761 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36763         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36764         (SNAN_TESTS_double): Refer to GCC PR56831.
36765         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36766         GCC PR56828.
36768 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36770         * Rules (bench): Move bench.out after the run is complete.
36772         * Rules (bench): Echo currently running benchmark.
36774         * benchtests/Makefile (bench): Add atan and slowatan.
36775         * benchtests/atan-inputs: New file.
36776         * benchtests/slowatan-inputs: New file.
36777         * benchtests/slowatan.c: New file.
36779         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36780         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36781         its value.
36783         [BZ #15305]
36784         * sysdeps/unix/sysv/linux/kernel-features.h
36785         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36786         __ASSUME_XFS_RESTRICTED_CHOWN.
36787         * sysdeps/unix/sysv/linux/pathconf.c
36788         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36789         Save and restore errno.
36791 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36793         [BZ #15327]
36794         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36795         arguments using __kernel_casinh.
36796         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36797         arguments using __kernel_casinhf.
36798         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36799         arguments using __kernel_casinhl.
36800         * math/libm-test.inc (cacosh_test): Add more tests.
36801         * sysdeps/i386/fpu/libm-test-ulps: Update.
36802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36804 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36806         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36809         * bench/Makefile (bench): Add sin and slowsin.
36810         * benchtests/sin-inputs: New file.
36811         * benchtests/slowsin-inputs: New file.
36812         * benchtests/slowsin.c: New file.
36814         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36815         (bench): Add slowexp and slowpow.
36816         (exp-ITER): Increase iterations.
36817         (pow-ITER): Likewise.
36818         * benchtests/exp-inputs: Change input.
36819         * benchtests/pow-inputs: Likewise.
36820         * benchtests/slowexp-inputs: New file.
36821         * benchtests/slowexp.c: New file.
36822         * benchtests/slowpow-inputs: New file.
36823         * benchtests/slowpow.c: New file.
36825 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36827         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36828         instructions.
36829         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36830         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36831         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36832         * benchtests/Makefile: Add rint benchtest.
36833         * benchtests/rint-inputs: Input for rint benchtest.
36835 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36837         * Versions.def (libm): Add GLIBC_2.18.
36838         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36839         hidden libm prototypes.
36840         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36841         * math/Makefile (libm-calls): Add s_issignaling.
36842         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36843         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36844         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36845         declaration.
36846         * math/math.h [__USE_GNU] (issignaling): New macro.
36847         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36848         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36849         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36850         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36851         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36852         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36853         * manual/arith.texi (issignaling): New section.
36854         * manual/libm-err-tab.pl (@all_functions): Update comment.
36855         * math/gen-libm-test.pl (parse_args): Apply special handling for
36856         issignaling.
36857         * math/libm-test.inc (print_float, issignaling_test): New
36858         functions.
36859         (check_float_internal): Add issignaling checks.
36860         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36861         default definition.
36862         * sysdeps/powerpc/math-tests.h: New file.
36863         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36864         tests.
36865         * math/test-snan.c (TEST_FUNC): Likewise.
36867 2013-03-30  David S. Miller  <davem@davemloft.net>
36869         * po/de.po: Update from translation team.
36871 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36873         [BZ #10357]
36874         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36875         imaginary part less than 1.0 and real part less than 0.5
36876         specially.
36877         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36878         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36879         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36880         (cacos_test): Add more tests.
36881         (casin_test): Likewise.
36882         (casinh_test): Likewise.
36883         * sysdeps/i386/fpu/libm-test-ulps: Update.
36884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36886 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36888         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36889         ONE with its value.
36891         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36892         (__pow_mp): Replace ONE and MONE with their values.
36893         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36894         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36895         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36896         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36897         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36898         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36900         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36902         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36903         (__pow_mp): Replace ZERO and MZERO with their values.
36904         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36905         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36906         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36907         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36908         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36909         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36910         (__sqr): Likewise.
36912         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36914         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36916 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36918         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36919         Declare with __attribute__ ((weak)).
36920         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36921         Call __call_tls_dtors only if it's not NULL.
36923 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36925         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36926         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36927         magic __ehdr_start linker symbol if it's defined.
36928         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36929         them up here if it was already done.
36931         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36932         (_dl_aux_init): Use const in cast when setting it.
36933         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36934         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36935         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36937         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36938         Declare them here.
36939         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36940         * csu/libc-tls.c: Nor here.
36941         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36943         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36944         (__libc_message): Never call vsyslog.
36946 2013-03-28  Alan Modra  <amodra@gmail.com>
36948         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36949         Define as empty.
36950         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36951         Likewise.
36953 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36955         [BZ #15214]
36956         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36957         underflow.
36958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36960 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36962         [BZ #15304]
36963         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36964         Don't add gid passed as argument.
36966         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36968 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36970         [BZ #15307]
36971         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36972         imaginary part between 1.0 and 1.5 and real part less than 0.5
36973         specially.
36974         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36975         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36976         * math/libm-test.inc (cacos_test): Add more tests.
36977         (casin_test): Likewise.
36978         (casinh_test): Likewise.
36979         * sysdeps/i386/fpu/libm-test-ulps: Update.
36980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36982 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36984         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36985         constants.
36986         (norm): Likewise.
36987         (denorm): Likewise.
36988         (__dbl_mp): Likewise.
36989         (add_magnitudes): Likewise.
36990         (sub_magnitudes): Likewise.
36991         (__add): Likewise.
36992         (__sub): Likewise.
36993         (__mul): Likewise.
36994         (__sqr): Likewise.
36995         (__inv): Likewise.
36996         (__dvd): Likewise.
36998         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36999         commented code.
37000         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37001         (__dubcos): Likewise.
37002         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37003         (__ieee754_acos): Likewise.
37004         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37005         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37006         (__exp1): Likewise.
37007         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37008         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37009         (log1): Likewise.
37010         (my_log2): Likewise.
37011         (checkint): Likewise.
37012         * sysdeps/ieee754/dbl-64/e_remainder.c
37013         (__ieee754_remainder): Likewise.
37014         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37015         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37016         (bsloww): Likewise.
37017         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37019         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37020         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37021         MANTISSA_STORE_T to store computations on mantissa.  Use
37022         macros for rounding and division.
37023         (denorm): Likewise.
37024         (__dbl_mp): Likewise.
37025         (add_magnitudes): Likewise.
37026         (sub_magnitudes): Likewise.
37027         (__mul): Likewise.
37028         (__sqr): Likewise.
37029         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37030         powers of two in terms of TWOPOW macro.
37031         (mp_no): Make type of mantissa as MANTISSA_T.
37032         [!RADIXI]: Define RADIXI.
37033         [!TWO52]: Define TWO52.
37034         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37036 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37038         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37039         llroundl symbol when building for PPC32.
37041 2013-03-24  Mark H Weaver  <mhw@netris.org>
37043         * manual/arith.texi (Normalization Functions): Fix prototypes for
37044         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37046 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37048         [BZ #13889]
37049         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37050         high value to check if expl overflow.
37051         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37052         to check for underflow and overflow.
37053         * math/libm-test.inc: Add exp test.
37055 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37057         [BZ #11120]
37058         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37059         with NOT_IN_libc.
37061 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37063         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37064         symbol.
37066 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37068         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37069         wrap blocks consisting of several statements.
37071         * sysdeps/generic/math-tests.h: New file.
37072         * sysdeps/i386/fpu/math-tests.h: Likewise.
37073         * math/test-snan.c: Include it.
37074         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37076 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37078         [BZ #15285]
37079         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37080         (__ieee754_j0l): Do not improve calculations using cos of twice
37081         input for inputs above LDBL_MAX / 2.0L.
37082         (__ieee754_y0l): Likewise.
37083         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37084         (__ieee754_j1l): Do not improve calculations using cos of twice
37085         input for inputs above LDBL_MAX / 2.0L.
37086         (__ieee754_y1l): Likewise.
37087         * math/libm-test.inc (j0_test): Add another test.
37088         (j1_test): Likewise.
37089         (y0_test): Likewise.
37090         (y1_test): Likewise.
37091         * sysdeps/i386/fpu/libm-test-ulps: Update.
37093 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37095         * Rules ($(objpfx)bench-%.c): Include code from a C source
37096         file.
37098 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37100         [BZ #15287]
37101         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37102         imaginary part 1.0 and real part less than 0.5 specially.
37103         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37104         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37105         * math/libm-test.inc (cacos_test): Add more tests.
37106         (casin_test): Likewise.
37107         (casinh_test): Likewise.
37108         * sysdeps/i386/fpu/libm-test-ulps: Update.
37109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37111 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37113         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37114         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37116 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37118         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37119         * config.make.in (config-cflags-sse4): Remove variable.
37120         (config-cflags-avx): Likewise.
37121         (config-cflags-sse2avx): Likewise.
37122         (config-cflags-novzeroupper): Likewise.
37123         (config-asflags-i686): Likewise.
37124         (have-mfma4): Likewise.
37125         (have-as-vis3): Likewise.
37126         (MIG): Likewise.
37127         * configure.in (MIG): Do not AC_SUBST.
37128         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37129         (libc_cv_cc_sse4): Do not AC_SUBST.
37130         (libc_cv_cc_avx): Likewise.
37131         (libc_cv_cc_sse2avx): Likewise.
37132         (libc_cv_cc_novzeroupper): Likewise.
37133         (libc_cv_cc_fma4): Likewise.
37134         (libc_cv_as_i686): Likewise.
37135         (libc_cv_sparc_as_vis3): Likewise.
37136         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37137         LIBC_CONFIG_VAR.
37138         (config-asflags-i686): Likewise.
37139         (config-cflags-avx): Likewise.
37140         (config-cflags-sse2avx): Likewise.
37141         (have-mfma4): Likewise.
37142         (config-cflags-novzeroupper): Likewise.
37143         * sysdeps/mach/configure.in (MIG): Likewise.
37144         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37145         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37146         LIBC_CONFIG_VAR.
37147         (config-cflags-avx): Likewise.
37148         (config-cflags-sse2avx): Likewise.
37149         (have-mfma4): Likewise.
37150         (config-cflags-novzeroupper): Likewise.
37151         * configure: Regenerated.
37152         * sysdeps/i386/configure: Likewise.
37153         * sysdeps/mach/configure: Likewise.
37154         * sysdeps/sparc/configure: Likewise.
37155         * sysdeps/x86_64/configure: Likewise.
37157 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37159         [BZ #14812]
37160         * locale/programs/localedef.c (options): Put N_ translation marker
37161         on argument names, not just descriptions.
37163 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37165         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37167 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37169         [BZ #14176]
37170         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37172 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37174         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37175         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37176         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37177         [!BEFORE_ABORT] (before_abort): New function.
37178         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37179         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37180         (writev_for_fatal): New function.
37181         (WRITEV_FOR_FATAL): New macro; call that.
37182         (backtrace_and_maps): New function.
37183         (BEFORE_ABORT): New macro; call that.
37184         (struct str_list): Type removed.
37185         (__libc_message, __libc_fatal): Functions removed.
37186         Include <sysdeps/posix/libc_fatal.c> instead.
37188 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37190         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37191         constants.
37192         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37193         double constants.
37195 2013-03-19  Andreas Schwab  <schwab@suse.de>
37197         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37198         * sysdeps/gnu/configure: Regenerate.
37200         * configure.in: Substitute libc_cv_rtlddir.
37201         * configure: Regenerate.
37202         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37203         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37204         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37205         * elf/Makefile (install-others, CFLAGS-interp.c)
37206         (ldso_install, common-ldd-rewrite): Likewise.
37207         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37208         $(inst_slibdir)/$(rtld-installed-name).
37209         * scripts/rellns-sh: Add -p option.
37210         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37211         for source.
37213 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37215         * manual/nptl.texi: Renamed to ...
37216         * manual/threads.texi: ... this.
37217         * manual/Makefile (chapters): Update.
37219 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37221         [BZ #14812]
37222         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37223         on argument names, not just descriptions.
37224         * malloc/memusagestat.c (options): Likewise.
37225         * nss/getent.c (options): Likewise.
37227 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37229         [BZ #14812]
37230         * iconv/iconv_prog.c (options): Put N_ translation marker
37231         on argument names, not just descriptions.
37232         * iconv/iconvconfig.c (options): Likewise.
37234 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37236         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37237         implementation which is faster on all x86_64 architectures.
37238         Tested on AMD, Intel Nehalem, SNB, IVB.
37239         * sysdeps/x86_64/strnlen.S: Likewise.
37241         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37242         Remove all multiarch strlen and strnlen versions.
37243         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37244         Remove strlen and strnlen related parts.
37246         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37247         Inline strlen part.
37248         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37250         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37251         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37252         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37253         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37254         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37255         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37257 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37259         * manual/memory.texi (Malloc Tunable Parameters):
37260         Sort parameters alphabetically. Add comments for missing entries.
37262 2013-03-17  David S. Miller  <davem@davemloft.net>
37264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37266 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37268         [BZ #15283]
37269         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37270         for arguments at most half maximum finite value.
37271         * math/libm-test.inc (j0_test): Add more tests.
37272         (j1_test): Likewise.
37273         (y0_test): Likewise.
37274         (y1_test): Likewise.
37275         * sysdeps/i386/fpu/libm-test-ulps: Update.
37276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37278         [BZ #14155]
37279         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37280         1 / x and functions P and Q for arguments above 0x1p256L.
37281         (__ieee754_y0l): Likewise.
37282         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37283         (__ieee754_y1l): Likewise.
37284         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37285         (j1_test): Likewise.
37286         (y0_test): Likewise.
37287         (y1_test): Likewise.
37289 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37291         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37292         variable.
37294 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37296         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37297         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37298         zero since it's initialized to EXEC_PAGESIZE.
37300         * sysdeps/unix/sysv/linux/ldsodefs.h
37301         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37302         * sysdeps/generic/ldsodefs.h: ... here.
37304 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37306         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37308         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37309         math/test-snan.c.
37310         * math/test-snan.c: Renamed from
37311         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37312         * math/Makefile (tests): Add test-snan.
37313         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37314         test-powerpc-snan.
37316         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37317         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37318         functions.
37319         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37320         __builtin_nan family of functions.
37321         * math/libm-test.inc (initialize): Initialize qnan_value with
37322         __builtin_nan family of functions.
37323         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37324         Remove variables.
37325         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37326         Remove functions.
37327         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37328         storage class.  Initialize qNaN_var and sNaN_var with
37329         __builtin_nan and __builtin_nans families of functions,
37330         respectively.
37332         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37333         (sqrt_test): Remove duplicate test with qNaN input.
37334         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37335         (round_test, signbit_test, significand_test): Note missing +/-Inf
37336         as well as qNaN tests.
37338         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37339         qNaN_var.  Fix a few strings, too.
37340         * math/libm-test.inc (nan_value): Rename to qnan_value.
37341         * math/gen-libm-test.pl (%beautify): Adjust to that.
37342         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37343         * math/test-misc.c (main): Likewise.
37344         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37345         to __qnan_bytes, and __qnan_union, respectively.
37346         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37347         Likewise.
37348         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37349         and lqnanval, respectively.
37350         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37351         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37352         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37353         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37355         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37356         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37357         doubles.
37359         * math/test-misc.c (main): Fix copy'n'pastos.
37360         * misc/tst-efgcvt.c (special): Likewise.
37362         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37363         Remove declarations.
37365 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37367         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37368         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37369         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37370         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37372 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37374         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37375         macro to return vdso values correctly in IFUNC implementations.
37376         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37377         Optimization by using IFUNC.
37379 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37380             Richard Henderson  <rth@redhat.com>
37381             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37383         * Makefile.in (bench): New target.
37384         * NEWS: Mention the benchmark framework.
37385         * Rules (bench): Likewise.
37386         (binaries-bench): Generate binaries for functions to
37387         benchmark.
37388         * benchtests/Makefile: New makefile for benchmark tests.
37389         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37390         programs.
37391         * benchtests/exp-inputs: New input file for EXP function.
37392         * benchtests/pow-inputs: New input file for POW function.
37393         * scripts/bench.pl: New script to generate source files for
37394         benchmark programs.
37396 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37398         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37399         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37400         computations on mantissa.  Use macros for rounding and
37401         division.
37402         (denorm): Likewise.
37403         (__dbl_mp): Likewise.
37404         (add_magnitudes): Likewise.
37405         (sub_magnitudes): Likewise.
37406         (__mul): Likewise.
37407         (__sqr): Likewise.
37408         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37409         powers of two in terms of TWOPOW macro.
37410         (mp_no): Make type of mantissa as MANTISSA_T.
37411         [!RADIXI]: Define RADIXI.
37412         [!TWO52]: Define TWO52.
37413         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37415         * manual/nptl.texi (cindex): Modify threads to pthreads.
37417 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37419         * sysdeps/x86_64/preconfigure: Regenerated.
37421 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37423         [BZ #14155]
37424         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37425         0x1p28 and above.
37426         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37427         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37428         0x1p28 and above.
37429         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37430         * math/libm-test.inc (j0_test): Do not allow one spurious
37431         underflow exception.
37432         (y1_test): Likewise.
37434 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37436         * manual/Makefile (chapters): Add nptl.
37437         * manual/debug.texi (Debugging Support): Add link to Threads
37438         chapter.
37439         * manual/nptl.texi: New file.
37441         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37443 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37445         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37446         for non-NULL pointer before the memory validity test. Pointed
37447         out by Holger Brunck <holger.brunck@keymile.com>.
37449 2013-03-13  Andreas Schwab  <schwab@suse.de>
37451         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37452         instead of .os.
37454 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37456         * timezone/zic.c: Update from tzcode 2013b.
37458 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37460         * manual/install.texi (Configuring and compiling):
37461         Mention i686 and i586.
37462         * INSTALL: Regenerate.
37464 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37466         * sysdeps/init_array/elf-init.c: New file.
37467         * csu/elf-init.c
37468         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37469         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37471         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37472         __gmon_start__ as global, but as static with a .preinit_array pointer.
37473         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37474         * sysdeps/init_array/crti.S: New file, empty except for comments.
37475         * sysdeps/init_array/crtn.S: Likewise.
37477 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37479         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37480         definining bcopy.
37481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37482         Remove Prefer_SSE_for_memop.
37483         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37484         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37485         HAS_PREFER_SSE_FOR_MEMOP.
37486         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37487         memset-x86-64.
37488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37489         Remove bzero, memset ifunc support.
37490         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37491         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37492         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37493         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37495 2013-03-11  Andreas Schwab  <schwab@suse.de>
37497         [BZ #15234]
37498         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37499         by SHLIB_COMPAT.
37500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37501         (GLIBC_2.16): Remove pthread_atfork.
37503 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37505         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37506         (ptestcases.h): Likewise.
37508 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37510         * Makeconfig ($(common-objpfx)config.status): Depend on
37511         sysdeps/*/preconfigure{,.in} too.
37513 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37515         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37516         (__free_hook): Use void * instead of __malloc_ptr_t.
37517         (__malloc_hook): Likewise.
37518         (__realloc_hook): Likewise.
37519         (__memalign_hook): Likewise.
37520         (__after_morecore_hook): Likewise.
37521         * malloc/arena.c (save_malloc_hook): Likewise.
37522         (save_free_hook): Likewise.
37523         * malloc/hooks.c (malloc_hook_ini): Likewise.
37524         (realloc_hook_ini): Likewise.
37525         (memalign_hook_ini): Likewise.
37526         * malloc/malloc.c (malloc_hook_ini): Likewise.
37527         (realloc_hook_ini): Likewise.
37528         (memalign_hook_ini): Likewise.
37529         (__free_hook): Likewise.
37530         (__malloc_hook): Likewise.
37531         (__realloc_hook): Likewise.
37532         (__memalign_hook): Likewise.
37533         (__libc_malloc): Likewise.
37534         (__libc_free): Likewise.
37535         (__libc_realloc): Likewise.
37536         (__libc_memalign): Likewise.
37537         (__libc_valloc): Likewise.
37538         (__libc_pvalloc): Likewise.
37539         (__libc_calloc): Likewise.
37540         (__posix_memalign): Likewise.
37541         * malloc/morecore.c (__sbrk): Likewise.
37542         (__default_morecore): Likewise.
37544         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37546         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37547         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37548         __malloc_ptrdiff_t.
37550         * malloc/malloc.h (__malloc_size_t): Remove macro.
37551         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37552         __malloc_size_t.
37553         (old_memalign_hook): Likewise.
37554         (old_realloc_hook): Likewise.
37555         (struct hdr): Likewise.
37556         (flood): Likewise.
37557         (mallochook): Likewise.
37558         (memalignhook): Likewise.
37559         (reallochook): Likewise.
37560         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37561         (tr_old_realloc_hook): Likewise.
37562         (tr_old_memalign_hook): Likewise.
37563         (tr_mallochook): Likewise.
37564         (tr_reallochook): Likewise.
37565         (tr_memalignhook): Likewise.
37567 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37569         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37570         default_ldbl_pack and using as default implementation.
37571         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37572         implementation.
37573         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37574         redundant definition.
37575         (ldbl_insert_mantissa): Likewise.
37576         (ldbl_canonicalize): Likewise.
37577         (ldbl_nearbyint): Likewise.
37578         (ldbl_pack): Rename to ldbl_pack_ppc.
37579         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37580         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37581         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37583 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37586         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37587         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37588         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37590         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37591         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37592         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37594 2013-03-07  Andreas Jaeger  <aj@suse.de>
37596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37597         bits/mman-linux.h.
37599 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37601         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37602         Include mpa.h and declare __MPEXP.
37603         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37604         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37605         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37606         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37607         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37608         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37609         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37611         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37612         (__slowpow): Use long double EXPL and LOGL functions to
37613         compute POW.
37614         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37615         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37616         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37617         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37618         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37619         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37621         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37622         intermediate variable to calculate exponent.
37623         (__sqr): Likewise.
37624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37625         Likewise.
37626         (__sqr): Likewise.
37628         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37629         [!NO__SQR]: Define __sqr.
37630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37631         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37632         sysdeps/ieee754/dbl-64/mpa.c.
37633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37635         [BZ #12723]
37636         * posix/Makefile (tests): Add tst-pathconf.
37637         * posix/tst-pathconf.c: New test case.
37638         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37639         _PC_PIPE_BUF.
37640         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37642 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37644         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37646 2013-03-06  Andreas Jaeger  <aj@suse.de>
37648         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37649         definition via __MAP_ANONYMOUS.
37651         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37652         it's not part of Linux headers.
37654         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37655         (MAP_HUGE_MASK): Define.
37657         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37658         Define.
37659         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37660         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37661         Define.
37662         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37663         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37664         Define.
37665         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37666         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37667         Define.
37668         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37670         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37671         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37672         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37673         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37674         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37675         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37677         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37678         Handle f2fs.
37680         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37681         Handle f2fs and efivarfs.
37683         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37684         f2fs.
37686         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37687         (EFIVARFS_MAGIC): Add.
37688         (F2FS_LINK_MAX): Add.
37690 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37692         * stdio-common/vfprintf.c: Replace __builtin_expect with
37693         __glibc_unlikely.
37695 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37697         [BZ #13550]
37698         * sysdeps/generic/bp-sym.h: Remove file.
37699         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37700         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37701         <bp-sym.h> and <bp-asm.h>.
37702         (__longjmp): Don't use BP_SYM.
37703         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37704         and <bp-asm.h>.
37705         (memcpy): Don't use BP_SYM.
37706         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37707         <bp-sym.h> and <bp-asm.h>.
37708         (memcpy): Don't use BP_SYM.
37709         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37710         <bp-asm.h>.
37711         (memcpy): Don't use BP_SYM.
37712         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37713         <bp-asm.h>.
37714         (memset): Don't use BP_SYM.
37715         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37716         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37717         (__bzero): Don't use BP_SYM.
37718         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37719         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37720         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37721         <bp-sym.h> and <bp-asm.h>.
37722         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37723         pointers.
37724         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37725         <bp-sym.h> and <bp-asm.h>.
37726         (memcpy): Don't use BP_SYM.
37727         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37728         <bp-sym.h> and <bp-asm.h>.
37729         (memset): Don't use BP_SYM.
37730         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37731         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37732         (__bzero): Don't use BP_SYM.
37733         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37734         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37735         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37736         <bp-sym.h> and <bp-asm.h>.
37737         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37738         pointers.
37739         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37740         <bp-sym.h> and <bp-asm.h>.
37741         (memcpy): Don't use BP_SYM.
37742         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37743         <bp-sym.h> and <bp-asm.h>.
37744         (memset): Don't use BP_SYM.
37745         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37746         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37747         (__bzero): Don't use BP_SYM.
37748         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37749         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37750         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37751         <bp-sym.h> and <bp-asm.h>.
37752         (__memchr): Don't use BP_SYM.
37753         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37754         <bp-sym.h> and <bp-asm.h>.
37755         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37756         pointers.
37757         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37758         <bp-sym.h> and <bp-asm.h>.
37759         (memcpy): Don't use BP_SYM.
37760         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37761         <bp-sym.h> and <bp-asm.h>.
37762         (__mempcpy): Don't use BP_SYM.
37763         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37764         <bp-sym.h> and <bp-asm.h>.
37765         (__memrchr): Don't use BP_SYM.
37766         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37767         <bp-sym.h> and <bp-asm.h>.
37768         (memset): Don't use BP_SYM.
37769         (__bzero): Likewise.
37770         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37771         <bp-sym.h> and <bp-asm.h>.
37772         (__rawmemchr): Don't use BP_SYM.
37773         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37774         <bp-sym.h> and <bp-asm.h>.
37775         (__STRCMP): Don't use BP_SYM.
37776         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37777         <bp-sym.h> and <bp-asm.h>.
37778         (strchr): Don't use BP_SYM.
37779         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37780         <bp-sym.h> and <bp-asm.h>.
37781         (__strchrnul): Don't use BP_SYM.
37782         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37783         <bp-sym.h> and <bp-asm.h>.
37784         (strlen): Don't use BP_SYM.
37785         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37786         <bp-sym.h> and <bp-asm.h>.
37787         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37788         pointers.
37789         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37790         <bp-sym.h> and <bp-asm.h>.
37791         (__strnlen): Don't use BP_SYM.
37792         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37793         <bp-sym.h> and <bp-asm.h>.
37794         (__GI__setjmp): Don't use BP_SYM.
37795         (_setjmp): Likewise.
37796         (__sigsetjmp): Likewise.
37797         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37798         (L(start_addresses)): Don't use BP_SYM.
37799         (_start): Likewise.
37800         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37801         <bp-asm.h>.
37802         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37803         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37804         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37805         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37806         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37807         <bp-asm.h>.
37808         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37809         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37810         about bounded pointers.
37811         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37812         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37813         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37814         <bp-asm.h>.
37815         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37816         about bounded pointers.  Remove GKM FIXME comments.
37817         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37818         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37819         <bp-asm.h>.
37820         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37821         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37822         Remove GKM FIXME comments.
37823         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37824         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37825         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37826         <bp-asm.h>.
37827         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37828         about bounded pointers.  Remove GKM FIXME comment.
37829         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37830         and <bp-asm.h>.
37831         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37832         pointers.
37833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37834         <bp-sym.h> and <bp-asm.h>.
37835         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37837         <bp-sym.h> and <bp-asm.h>.
37838         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37839         comment.
37841 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37843         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37844         call free(NULL).
37846 2013-03-05  David S. Miller  <davem@davemloft.net>
37848         * po/es.po: Update from translation team.
37850 2013-03-05  Andreas Jaeger  <aj@suse.de>
37852         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37853         <bits/mman-linux.h>.
37854         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37855         is fine.
37856         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37857         <bits/mman-linux.h> to end of file.
37858         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37859         is fine.
37860         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37861         <bits/mman-linux.h> to end of file.
37862         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37863         is fine.
37864         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37865         <bits/mman-linux.h> to end of file.
37867         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37868         (MCL_CURRENT, MCL_FUTURE): Define here.
37870 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37872         [BZ #15232]
37873         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37874         attribute_hidden.
37875         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37877 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37879         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37880         fourth parameter needed for rt_sigprocmask syscall.
37881         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37882         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37883         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37884         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37885         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37886         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37888 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37890         [BZ #13550]
37891         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37892         comment about bounded pointers.
37893         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37894         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37896 2013-03-04  Andreas Jaeger  <aj@suse.de>
37898         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37899         common definitions.
37901         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37902         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37903         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37904         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37905         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37906         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37908 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37910         [BZ #15055]
37911         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37912         __ieee754_sqrl instead of __sqrl.
37914 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37916         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37917         * sysdeps/powerpc/fpu_control.h: ... here.
37918         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37919         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37920         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37921         * sysdeps/powerpc/bits/mathinline.h: ... here.
37923 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37925         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37926         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37927         to just [NEED_DL_SYSINFO_DSO].
37928         * elf/dl-support.c: Likewise.
37929         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37930         * elf/rtld.c (dl_main): Likewise.
37931         * elf/setup-vdso.h (setup_vdso): Likewise.
37932         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37933         * sysdeps/unix/sysv/linux/dl-sysdep.c
37934         (_dl_discover_osversion): Likewise.
37936 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37938         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37939         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37941 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37943         * NEWS: Mention libm performance improvements and non-x86 PI
37944         futex support.
37946         * csu/libc-start.c (__pthread_initialize_minimal): Change
37947         function arguments.
37948         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37950 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37952         [BZ #13550]
37953         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37954         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37955         <bp-sym.h> and <bp-asm.h>.
37956         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37957         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37958         and <bp-asm.h>.
37959         (memcpy): Don't use BP_SYM.
37960         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37961         <bp-asm.h>.
37962         (__mpn_add_n): Don't use BP_SYM.
37963         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37964         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37965         and <bp-asm.h>.
37966         (__mpn_addmul_1): Don't use BP_SYM.
37967         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37968         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37969         <bp-sym.h>.
37970         (_setjmp): Don't use BP_SYM.
37971         (__novmx_setjmp): Likewise.
37972         (__GI__setjmp): Likewise.
37973         (__vmx_setjmp): Likewise.
37974         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37975         <bp-sym.h>.
37976         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37977         (__bzero): Don't use BP_SYM.
37978         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37979         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37980         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37981         <bp-sym.h> and <bp-asm.h>.
37982         (memcpy): Don't use BP_SYM.
37983         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37984         <bp-sym.h> and <bp-asm.h>.
37985         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37986         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37987         <bp-sym.h> and <bp-asm.h>.
37988         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37989         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37990         <bp-asm.h>.
37991         (__mpn_lshift): Don't use BP_SYM.
37992         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37993         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37994         <bp-asm.h>.
37995         (memset): Don't use BP_SYM.
37996         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37997         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37998         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37999         <bp-asm.h>.
38000         (__mpn_mul_1): Don't use BP_SYM.
38001         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38002         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38003         <bp-sym.h> and <bp-asm.h>.
38004         (memcmp): Don't use BP_SYM.
38005         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38006         <bp-sym.h> and <bp-asm.h>.
38007         (memcpy): Don't use BP_SYM.
38008         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38009         <bp-sym.h> and <bp-asm.h>.
38010         (memset): Don't use BP_SYM.
38011         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38012         <bp-sym.h> and <bp-asm.h>.
38013         (strncmp): Don't use BP_SYM.
38014         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38015         <bp-sym.h> and <bp-asm.h>.
38016         (memcpy): Don't use BP_SYM.
38017         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38018         <bp-sym.h> and <bp-asm.h>.
38019         (memset): Don't use BP_SYM.
38020         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38021         <bp-sym.h> and <bp-asm.h>.
38022         (__memchr): Don't use BP_SYM.
38023         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38024         <bp-sym.h> and <bp-asm.h>.
38025         (memcmp): Don't use BP_SYM.
38026         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38027         <bp-sym.h> and <bp-asm.h>.
38028         (memcpy): Don't use BP_SYM.
38029         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38030         <bp-sym.h> and <bp-asm.h>.
38031         (__mempcpy): Don't use BP_SYM.
38032         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38033         <bp-sym.h> and <bp-asm.h>.
38034         (__memrchr): Don't use BP_SYM.
38035         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38036         <bp-sym.h> and <bp-asm.h>.
38037         (memset): Don't use BP_SYM.
38038         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38039         <bp-sym.h> and <bp-asm.h>.
38040         (__rawmemchr): Don't use BP_SYM.
38041         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38042         <bp-sym.h> and <bp-asm.h>.
38043         (__STRCMP): Don't use BP_SYM.
38044         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38045         <bp-sym.h> and <bp-asm.h>.
38046         (strchr): Don't use BP_SYM.
38047         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38048         <bp-sym.h> and <bp-asm.h>.
38049         (__strchrnul): Don't use BP_SYM.
38050         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38051         <bp-sym.h> and <bp-asm.h>.
38052         (strlen): Don't use BP_SYM.
38053         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38054         <bp-sym.h> and <bp-asm.h>.
38055         (strncmp): Don't use BP_SYM.
38056         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38057         <bp-sym.h> and <bp-asm.h>.
38058         (__strnlen): Don't use BP_SYM.
38059         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38060         <bp-asm.h>.
38061         (__mpn_rshift): Don't use BP_SYM.
38062         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38063         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38064         <bp-sym.h> and <bp-asm.h>.
38065         (__sigsetjmp): Don't use BP_SYM.
38066         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38067         (L(start_addresses)): Don't use BP_SYM.
38068         (_start): Likewise.
38069         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38070         <bp-asm.h>.
38071         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38072         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38073         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38074         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38075         <bp-asm.h>.
38076         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38077         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38078         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38079         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38080         <bp-asm.h>.
38081         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38082         comments.
38083         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38084         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38085         <bp-asm.h>.
38086         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38087         FIXME comments.
38088         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38089         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38090         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38091         <bp-asm.h>.
38092         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38093         comment.
38094         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38095         and <bp-asm.h>.
38096         (strncmp): Don't use BP_SYM,
38097         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38098         <bp-asm.h>.
38099         (__mpn_sub_n): Don't use BP_SYM.
38100         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38101         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38102         and <bp-asm.h>.
38103         (__mpn_submul_1): Don't use BP_SYM.
38104         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38106         <bp-sym.h> and <bp-asm.h>.
38107         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38109         <bp-sym.h> and <bp-asm.h>.
38110         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38111         comment.
38113 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38115         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38116         Use ZK to minimize writes to Z.
38117         (sub_magnitudes): Simplify code a bit.
38118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38119         Use ZK to minimize writes to Z.
38120         (sub_magnitudes): Simplify code a bit.
38122 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38124         * csu/gmon-start.c: Add special exception to license text.
38126 2013-02-27  Richard Henderson  <rth@redhat.com>
38128         * scripts/config.guess: Update from config.git.
38129         * scripts/config.sub: Likewise.
38131 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38133         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38135         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38137         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38139         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38141         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38143 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38145         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38146         [$(build-shared = yes].
38148 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38150         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38151         (__mul): Reduce iterations for calculating mantissa.
38153         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38154         MPTWO.
38155         (__mpranred): Likewise.
38157         [BZ #15160]
38158         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38159         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38161 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38163         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38164         Define __attribute__.
38166 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38168         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38169         unused.
38170         * posix/regex_internal.h (__attribute): Remove.
38171         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38172         (re_string_context_at): Likewise.
38173         (bitset_not): Use __attribute__ and mark function as possibly
38174         unused.
38175         (bitset_merge): Likewise.
38176         (bitset_mask): Likewise.
38177         (re_string_char_size_at): Likewise.
38178         (re_string_wchar_at): Likewise.
38179         (re_string_elem_size_at): Likewise.
38181 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38183         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38184         code.
38185         (cc32): Likewise.
38187         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38188         (__acr): Likewise.
38189         (__cpy): Likewise.
38190         (norm): Likewise.
38191         (denorm): Likewise.
38192         (__dbl_mp): Likewise.
38193         (add_magnitudes): Likewise.
38194         (sub_magnitudes): Likewise.
38195         (__mul): Likewise.
38196         (__inv): Likewise.
38198         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38199         style.
38201         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38202         style.
38204         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38205         code.
38207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38208         up changes with default code.
38209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38210         Likewise.
38212 2013-02-24  Allan McRae  <allan@archlinux.org>
38214         * manual/socket.texi (The Internet Namespace): Order menu items
38215         to match that in the file.
38217         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38218         node listing of the info page menu.
38220 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38222         [BZ #13550]
38223         * sysdeps/i386/bp-asm.h: Remove file.
38224         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38225         (PARMS): Do not use macros from bp-asm.h.
38226         (S1): Likewise.
38227         (S2): Likewise.
38228         (SIZE): Likewise.
38229         (__mpn_add_n): Do not use BP_SYM
38230         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38231         "bp-asm.h".
38232         (PARMS): Do not use macros from bp-asm.h.
38233         (S1): Likewise.
38234         (SIZE): Likewise.
38235         (__mpn_addmul_1): Do not use BP_SYM
38236         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38237         "bp-asm.h".
38238         (PARMS): Do not use macros from bp-asm.h.
38239         (SIGMSK): Likewise.
38240         (_setjmp): Likewise.  Do not use BP_SYM.
38241         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38242         "bp-asm.h".
38243         (PARMS): Do not use macros from bp-asm.h.
38244         (SIGMSK): Likewise.
38245         (setjmp): Likewise.  Do not use BP_SYM.
38246         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38247         "bp-asm.h".
38248         (PARMS): Do not use macros from bp-asm.h.
38249         (__frexp): Do not use BP_SYM.
38250         (frexp): Likewise.
38251         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38252         "bp-asm.h".
38253         (PARMS): Do not use macros from bp-asm.h.
38254         (__frexpf): Do not use BP_SYM.
38255         (frexpf): Likewise.
38256         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38257         "bp-asm.h".
38258         (PARMS): Do not use macros from bp-asm.h.
38259         (__frexpl): Do not use BP_SYM.
38260         (frexpl): Likewise.
38261         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38262         "bp-asm.h".
38263         (PARMS): Do not use macros from bp-asm.h.
38264         (__remquo): Do not use BP_SYM.
38265         (remquo): Likewise.
38266         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38267         "bp-asm.h".
38268         (PARMS): Do not use macros from bp-asm.h.
38269         (__remquof): Do not use BP_SYM.
38270         (remquof): Likewise.
38271         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38272         "bp-asm.h".
38273         (PARMS): Do not use macros from bp-asm.h.
38274         (__remquol): Do not use BP_SYM.
38275         (remquol): Likewise.
38276         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38277         "bp-asm.h".
38278         (PARMS): Do not use macros from bp-asm.h.
38279         (DEST): Likewise.
38280         (SRC): Likewise.
38281         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38282         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38283         "bp-asm.h".
38284         (PARMS): Do not use macros from bp-asm.h.
38285         (strlen): Do not use BP_SYM.
38286         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38287         "bp-asm.h".
38288         (PARMS): Do not use macros from bp-asm.h.
38289         (S1): Likewise.
38290         (S2): Likewise.
38291         (SIZE): Likewise.
38292         (__mpn_add_n): Do not use BP_SYM.
38293         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38294         "bp-asm.h".
38295         (PARMS): Do not use macros from bp-asm.h.
38296         (S1): Likewise.
38297         (SIZE): Likewise.
38298         (__mpn_addmul_1): Do not use BP_SYM.
38299         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38300         weak_alias.
38301         (bzero): Likewise.
38302         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38303         "bp-asm.h".
38304         (PARMS): Do not use macros from bp-asm.h.
38305         (S): Likewise.
38306         (SIZE): Likewise.
38307         (__mpn_lshift): Do not use BP_SYM.
38308         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38309         "bp-asm.h".
38310         (PARMS): Do not use macros from bp-asm.h.
38311         (DEST): Likewise.
38312         (SRC): Likewise.
38313         (LEN): Likewise.
38314         (memcpy): Likewise.  Do not use BP_SYM.
38315         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38316         libc_hidden_def and weak_alias.
38317         (mempcpy): Do not use BP_SYM in weak_alias.
38318         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38319         "bp-asm.h".
38320         (PARMS): Do not use macros from bp-asm.h.
38321         (DEST): Likewise.
38322         (LEN): Likewise.
38323         [!BZERO_P] (CHR): Likewise.
38324         (memset): Likewise.  Do not use BP_SYM.
38325         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38326         "bp-asm.h".
38327         (PARMS): Do not use macros from bp-asm.h.
38328         (S1): Likewise.
38329         (SIZE): Likewise.
38330         (__mpn_mul_1): Do not use BP_SYM.
38331         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38332         "bp-asm.h".
38333         (PARMS): Do not use macros from bp-asm.h.
38334         (S): Likewise.
38335         (SIZE): Likewise.
38336         (__mpn_rshift): Do not use BP_SYM.
38337         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38338         "bp-asm.h".
38339         (PARMS): Do not use macros from bp-asm.h.
38340         (STR): Likewise.
38341         (CHR): Likewise.
38342         (strchr): Likewise.  Do not use BP_SYM.
38343         (index): Do not use BP_SYM in weak_alias.
38344         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38345         "bp-asm.h".
38346         (PARMS): Do not use macros from bp-asm.h.
38347         (DEST): Likewise.
38348         (SRC): Likewise.
38349         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38350         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38351         "bp-asm.h".
38352         (PARMS): Do not use macros from bp-asm.h.
38353         (strlen): Do not use BP_SYM.
38354         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38355         "bp-asm.h".
38356         (PARMS): Do not use macros from bp-asm.h.
38357         (S1): Likewise.
38358         (S2): Likewise.
38359         (SIZE): Likewise.
38360         (__mpn_sub_n): Do not use BP_SYM.
38361         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38362         "bp-asm.h".
38363         (PARMS): Do not use macros from bp-asm.h.
38364         (S1): Likewise.
38365         (SIZE): Likewise.
38366         (__mpn_submul_1): Do not use BP_SYM.
38367         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38368         "bp-asm.h".
38369         (PARMS): Do not use macros from bp-asm.h.
38370         (S1): Likewise.
38371         (S2): Likewise.
38372         (SIZE): Likewise.
38373         (__mpn_add_n): Do not use BP_SYM.
38374         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38375         weak_alias.
38376         (bzero): Likewise.
38377         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38378         "bp-asm.h".
38379         (PARMS): Do not use macros from bp-asm.h.
38380         (BLK2): Likewise.
38381         (LEN): Likewise.
38382         (memcmp): Do not use BP_SYM.
38383         (bcmp): Do not use BP_SYM in weak_alias.
38384         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38385         "bp-asm.h".
38386         (PARMS): Do not use macros from bp-asm.h.
38387         (DEST): Likewise.
38388         (SRC): Likewise.
38389         (LEN): Likewise.
38390         (memcpy): Likewise.  Do not use BP_SYM.
38391         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38392         "bp-asm.h".
38393         (PARMS): Do not use macros from bp-asm.h.
38394         (DEST): Likewise.
38395         (SRC): Likewise.
38396         (LEN): Likewise.
38397         (memmove): Likewise.  Do not use BP_SYM.
38398         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38399         "bp-asm.h".
38400         (PARMS): Do not use macros from bp-asm.h.
38401         (DEST): Likewise.
38402         (SRC): Likewise.
38403         (LEN): Likewise.
38404         (__mempcpy): Likewise.  Do not use BP_SYM.
38405         (mempcpy): Do not use BP_SYM in weak_alias.
38406         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38407         "bp-asm.h".
38408         (PARMS): Do not use macros from bp-asm.h.
38409         (DEST): Likewise.
38410         (LEN): Likewise.
38411         [!BZERO_P] (CHR): Likewise.
38412         (memset): Likewise.  Do not use BP_SYM.
38413         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38414         "bp-asm.h".
38415         (PARMS): Do not use macros from bp-asm.h.
38416         (STR2): Likewise.
38417         (strcmp): Do not use BP_SYM.
38418         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38419         "bp-asm.h".
38420         (PARMS): Do not use macros from bp-asm.h.
38421         (STR): Likewise.
38422         (DELIM): Likewise.
38423         [USE_AS_STRTOK_R] (SAVE): Likewise.
38424         (FUNCTION): Likewise.  Do not use BP_SYM.
38425         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38426         aliases.
38427         (strtok_r): Likewise.
38428         (__GI___strtok_r): Likewise.
38429         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38430         (PARMS): Do not use macros from bp-asm.h.
38431         (S): Likewise.
38432         (SIZE): Likewise.
38433         (__mpn_lshift): Do not use BP_SYM.
38434         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38435         (PARMS): Do not use macros from bp-asm.h.
38436         (STR): Likewise.
38437         (CHR): Likewise.
38438         (__memchr): Do not use BP_SYM.
38439         (memchr): Do not use BP_SYM in weak_alias.
38440         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38441         (PARMS): Do not use macros from bp-asm.h.
38442         (BLK2): Likewise.
38443         (LEN): Likewise.
38444         (memcmp): Do not use BP_SYM.
38445         (bcmp): Do not use BP_SYM in weak_alias.
38446         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38447         (PARMS): Do not use macros from bp-asm.h.
38448         (S1): Likewise.
38449         (SIZE): Likewise.
38450         (__mpn_mul_1): Do not use BP_SYM.
38451         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38452         "bp-asm.h".
38453         (PARMS): Do not use macros from bp-asm.h.
38454         (STR): Likewise.
38455         (CHR): Likewise.
38456         (__rawmemchr): Do not use BP_SYM.
38457         (rawmemchr): Do not use BP_SYM in weak_alias.
38458         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38459         (PARMS): Do not use macros from bp-asm.h.
38460         (S): Likewise.
38461         (SIZE): Likewise.
38462         (__mpn_rshift): Do not use BP_SYM.
38463         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38464         (PARMS): Do not use macros from bp-asm.h.
38465         (SIGMSK): Likewise.
38466         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38467         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38468         (_start): Do not use BP_SYM.
38469         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38470         (PARMS): Do not use macros from bp-asm.h.
38471         (DEST): Likewise.
38472         (SRC): Likewise.
38473         (__stpcpy): Likewise.  Do not use BP_SYM.
38474         (stpcpy): Do not use BP_SYM in weak_alias.
38475         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38476         "bp-asm.h".
38477         (PARMS): Do not use macros from bp-asm.h.
38478         (DEST): Likewise.
38479         (SRC): Likewise.
38480         (LEN): Likewise.
38481         (__stpncpy): Likewise.  Do not use BP_SYM.
38482         (stpncpy): Do not use BP_SYM in weak_alias.
38483         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38484         (PARMS): Do not use macros from bp-asm.h.
38485         (STR): Likewise.
38486         (CHR): Likewise.
38487         (strchr): Likewise.  Do not use BP_SYM.
38488         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38489         "bp-asm.h".
38490         (PARMS): Do not use macros from bp-asm.h.
38491         (STR): Likewise.
38492         (CHR): Likewise.
38493         (__strchrnul): Likewise.  Do not use BP_SYM.
38494         (strchrnul): Do not use BP_SYM in weak_alias.
38495         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38496         "bp-asm.h".
38497         (PARMS): Do not use macros from bp-asm.h.
38498         (STOP): Likewise.
38499         (strcspn): Do not use BP_SYM.
38500         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38501         "bp-asm.h".
38502         (PARMS): Do not use macros from bp-asm.h.
38503         (STR): Likewise.
38504         (STOP): Likewise.
38505         (strpbrk): Likewise.  Do not use BP_SYM.
38506         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38507         "bp-asm.h".
38508         (PARMS): Do not use macros from bp-asm.h.
38509         (STR): Likewise.
38510         (CHR): Likewise.
38511         (strrchr): Likewise.  Do not use BP_SYM.
38512         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38513         (PARMS): Do not use macros from bp-asm.h.
38514         (SKIP): Likewise.
38515         (strspn): Do not use BP_SYM.
38516         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38517         (PARMS): Do not use macros from bp-asm.h.
38518         (STR): Likewise.
38519         (DELIM): Likewise.
38520         (SAVE): Likewise.
38521         (FUNCTION): Likewise.  Do not use BP_SYM.
38522         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38523         aliases.
38524         (strtok_r): Likewise.
38525         (__GI___strtok_r): Likewise.
38526         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38527         (PARMS): Do not use macros from bp-asm.h.
38528         (S1): Likewise.
38529         (S2): Likewise.
38530         (SIZE): Likewise.
38531         (__mpn_sub_n): Do not use BP_SYM.
38532         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38533         "bp-asm.h".
38534         (PARMS): Do not use macros from bp-asm.h.
38535         (S1): Likewise.
38536         (SIZE): Likewise.
38537         (__mpn_submul_1): Do not use BP_SYM.
38538         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38539         <bp-sym.h>.
38540         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38541         and <bp-asm.h>.
38542         (PARMS): Do not use macros from bp-asm.h.
38543         (FLAGS): Likewise.
38544         (PTID): Likewise.
38545         (TLS): Likewise.
38546         (CTID): Likewise.
38547         (__clone): Do not use BP_SYM.
38548         (clone): Do not use BP_SYM in weak_alias.
38549         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38550         and <bp-asm.h>.
38551         (PARMS): Do not use macros from bp-asm.h.
38552         (LEN): Likewise.
38553         (__mmap64): Do not use BP_SYM.
38554         (mmap64): Do not use BP_SYM in weak_alias.
38555         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38556         <bp-sym.h> and <bp-asm.h>.
38557         (PARMS): Do not use macros from bp-asm.h.
38558         (__posix_fadvise64_l64): Do not use BP_SYM.
38559         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38560         (PARMS): Do not use macros from bp-asm.h.
38561         (NSOPS): Likewise.
38562         (semtimedop): Do not use BP_SYM.
38563         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38564         and <bp-asm.h>.
38566 2013-02-21  Allan McRae  <allan@archlinux.org>
38568         * manual/message.texi (Charset conversion in gettext):
38569         Move @end statement to beginning of line.
38571 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38573         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38574         static.
38575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38576         Likewise.
38578         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38579         (denorm): Likewise.
38580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38583 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38585         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38586         tail-call to the resolved function if pltexit isn't needed.
38588 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38591         or Y being zero as being unlikely.
38592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38593         Likewise.
38595 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38597         * manual/nss.texi (System Databases and Name Service Switch):
38598         Remove frobnicate @pxref.
38600 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38602         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38603         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38605 2013-02-20  Petr Machata  <pmachata@redhat.com>
38607         * elf/elf.h (R_ARM_TARGET1): New macro.
38608         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38609         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38610         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38611         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38612         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38613         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38614         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38615         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38616         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38617         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38618         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38619         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38620         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38621         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38622         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38623         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38624         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38625         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38626         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38627         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38628         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38629         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38630         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38631         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38632         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38633         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38634         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38635         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38636         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38637         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38638         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38639         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38640         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38641         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38642         (R_ARM_THM_GOT_BREL12): Likewise.
38643         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38644         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38645         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38646         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38647         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38648         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38649         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38650         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38651         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38653 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38655         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38656         __attribute_used__ to __attribute__ ((unused)).
38658 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38660         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38661         powerpc mpa.c.
38662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38663         comment formatting.
38664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38666 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38668         [BZ #13550]
38669         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38670         Remove macro.
38671         (ENTER): Remove both macro definitions.
38672         (LEAVE): Likewise.
38673         (CHECK_BOUNDS_LOW): Likewise.
38674         (CHECK_BOUNDS_HIGH): Likewise.
38675         (CHECK_BOUNDS_BOTH): Likewise.
38676         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38677         (RETURN_BOUNDED_POINTER): Likewise.
38678         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38679         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38680         (POP_ERRNO_LOCATION_RETURN): Likewise.
38681         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38682         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38683         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38684         macros.
38685         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38686         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38687         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38688         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38689         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38690         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38691         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38692         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38693         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38694         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38695         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38696         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38697         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38698         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38699         removed macros.
38700         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38701         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38702         macros.
38703         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38704         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38705         * sysdeps/i386/i586/memset.S (memset): Likewise.
38706         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38707         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38708         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38709         macros.
38710         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38711         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38712         Change uses of L(2) to L(out).
38713         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38714         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38715         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38716         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38717         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38718         removed macros.
38719         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38720         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38721         macros.
38722         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38723         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38724         (RETURN): Do not use macro LEAVE.
38725         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38726         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38727         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38728         * sysdeps/i386/i686/memset.S (memset): Likewise.
38729         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38730         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38731         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38732         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38733         Likewise.
38734         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38735         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38736         L(1_2) and L(1_3) into L(1).
38737         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38738         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38739         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38740         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38741         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38742         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38743         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38744         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38745         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38746         macros.
38747         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38748         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38749         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38750         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38751         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38752         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38753         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38754         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38755         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38756         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38757         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38758         * sysdeps/i386/strspn.S (strspn): Likewise.
38759         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38760         conditional code.
38761         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38762         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38763         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38764         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38765         L(1_3) into L(1_1).
38766         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38767         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38768         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38769         macros.
38770         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38772 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38774         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38775         macro.
38777 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38779         * math/atest-exp.c (exp_mpn): Remove ROUND.
38780         * math/atest-exp2.c (exp_mpn): Likewise.
38781         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38783         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38784         * stdlib/tst-tls-atexit-lib.c: Likewise.
38785         * stdlib/tst-tls-atexit.c: Likewise.
38787 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38789         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38790         and __attribute_alloc_size__.
38792 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38794         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38795         __attribute_alloc_size__.
38796         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38797         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38799 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38801         * include/programs/xmalloc.h: New file.
38802         * catgets/gencat.c: Include it.
38803         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38804         * elf/pldd.c: Likewise.
38805         * iconv/iconv_charmap.c: Likewise.
38806         * iconv/iconvconfig.c: Likewise.
38807         * iconv/strtab.c: Likewise.
38808         * locale/programs/locale.c: Likewise.
38809         * locale/programs/localedef.h: Likewise.
38810         * locale/programs/simple-hash.c: Likewise.
38811         * nscd/nscd.h: Likewise.
38812         * nss/makedb.c: Likewise.
38813         * sysdeps/generic/ldconfig.h: Likewise.
38815 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38817         * Versions.def: Add GLIBC_2.18.
38818         * include/link.h (struct link_map): New member l_tls_dtor_count.
38819         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38820         (__call_tls_dtors): Likewise.
38821         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38822         __cxa_thread_atexit_impl.
38823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38824         Likewise.
38825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38826         Likewise.
38827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38828         Likewise.
38829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38830         Likewise.
38831         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38833         Likewise.
38834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38835         Likewise.
38836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38838         Likewise.
38839         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38840         (tests): Add test case tst-tls-atexit.
38841         (modules-names): Add shared library for tst-tls-atexit.
38842         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38843         (GLIBC_PRIVATE): Add __call_tls_dtors.
38844         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38845         for libstdc++.
38846         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38847         * stdlib/tst-tls-atexit.c: New test case.
38848         * stdlib/tst-tls-atexit-lib.c: New test case.
38850         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38852         * elf/Versions (ld): Add _dl_find_dso_for_object.
38853         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38854         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38855         (dl_open_worker): Use _dl_find_dso_for_object.
38856         * elf/dl-sym.c (do_sym): Likewise.
38857         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38859 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38861         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38862         Syntactic changes only.
38863         (_dl_runtime_profile): Do a tail-call to the resolved function.
38865 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38867         [BZ #13550]
38868         * sysdeps/x86_64/bp-asm.h: Remove file.
38869         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38870         <bp-sym.h> and <bp-asm.h>.
38871         (__clone): Do not use BP_SYM.
38872         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38873         <bp-sym.h> and <bp-asm.h>.
38874         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38875         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38876         "bp-asm.h".
38877         (_setjmp): Do not use BP_SYM.
38878         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38879         "bp-asm.h".
38880         (setjmp): Do not use BP_SYM.
38881         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38882         libc_hidden_def.
38883         (mempcpy): Do not use BP_SYM in weak_alias.
38884         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38885         "bp-asm.h".
38886         (strchr): Do not use BP_SYM.
38887         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38888         "bp-asm.h".
38889         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38890         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38891         (_start): Do not use BP_SYM.
38892         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38893         "bp-asm.h".
38894         (strcat): Do not use BP_SYM.
38895         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38896         "bp-asm.h".
38897         (STRCMP): Do not use BP_SYM.
38898         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38899         "bp-asm.h".
38900         (STRCPY): Do not use BP_SYM.
38901         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38902         "bp-asm.h".
38903         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38904         "bp-asm.h".
38905         (FUNCTION): Do not use BP_SYM.
38906         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38907         weak_alias.
38908         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38910 2013-02-17  Andreas Jaeger  <aj@suse.de>
38912         * time/Versions: Sort entries.
38913         * string/Versions: Likewise.
38914         * resolv/Versions: Likewise.
38915         * posix/Versions: Likewise.
38916         * iconv/Versions: Likewise.
38917         * elf/Versions: Likewise.
38918         * wcsmbs/Versions: Likewise.
38920 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38922         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38923         loop termination condition.
38925         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38926         variable to calculate EZ.
38927         (__sqr): Likewise.
38929         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38930         the lower precision input.
38932 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38934         [BZ #13550]
38935         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38936         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38937         (run-via-rtld-prefix): Do not handle %-bp tests.
38938         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38939         (all-object-suffixes): Remove .ob.
38940         (bppfx): Remove variable.
38941         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38942         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38943         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38944         [$(build-bounded) = yes] (libtype.ob): Likewise.
38945         * Makerules (elide-routines.ob): Remove variable.
38946         (do-tests-clean): Do not handle *-bp.out.
38947         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38948         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38949         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38950         (tests): Do not include $(tests-bp.out).
38951         (xtests): Do not include $(xtests-bp.out).
38952         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38953         [$(build-bounded) = yes] ($(addprefix
38954         $(objpfx),$(binaries-bounded))): Remove rule.
38955         ($(objpfx)%-bp.out): Remove rule.
38956         * config.make.in (build-bounded): Remove variable.
38957         * crypt/Makefile [$(build-bounded) = yes]
38958         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38959         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38960         append to variable.
38961         [$(build-bounded) = yes] (install-lib): Likewise.
38962         [$(build-bounded) = yes] (generated): Likewise.
38963         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38964         Remove rule.
38965         * intl/Makefile [$(build-bounded) = yes]
38966         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38967         * math/Makefile [$(build-bounded) = yes]
38968         ($(tests:%=$(objpfx)%-bp): Likewise.
38969         * misc/Makefile [$(build-bounded) = yes]
38970         ($(objpfx)tst-tsearch-bp): Likewise.
38971         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38972         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38973         Remove dependency.
38974         * string/Makefile (o-objects.ob): Remove variable.
38975         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38976         (CFLAGS-.ob): Remove variable.
38977         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38978         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38979         both definitions of variable.
38980         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38981         (ASFLAGS-.ob): Remove variable.
38983 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38985         [BZ #13550]
38986         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38987         Remove __BOUNDED_POINTERS__ from condition.
38988         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38989         * string/bits/string2.h [!__NO_STRING_INLINES &&
38990         !__BOUNDED_POINTERS__]: Likewise.
38991         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38992         Likewise.
38993         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38994         Remove conditional code.
38995         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38996         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38997         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38998         condition.
39000         [BZ #13550]
39001         * csu/libc-start.c: Do not include <bp-sym.h>.
39002         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39003         * elf/dl-open.c: Do not include <bp-sym.h>.
39004         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39005         * math/fegetenv.c: Do not include <bp-sym.h>.
39006         (fegetenv): Do not use BP_SYM in versioned symbols.
39007         * nptl/sysdeps/pthread/bits/libc-lockP.h
39008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39009         <bp-sym.h>.
39010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39011         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39013         (__pthread_mutex_destroy): Likewise.
39014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39015         (__pthread_mutex_lock): Likewise.
39016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39017         (__pthread_mutex_trylock): Likewise.
39018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39019         (__pthread_mutex_unlock): Likewise.
39020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39021         (__pthread_mutexattr_init): Likewise.
39022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39023         (__pthread_mutexattr_destroy): Likewise.
39024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39025         (__pthread_mutexattr_settype): Likewise.
39026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39027         (__pthread_rwlock_init): Likewise.
39028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39029         (__pthread_rwlock_destroy): Likewise.
39030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39031         (__pthread_rwlock_rdlock): Likewise.
39032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39033         (__pthread_rwlock_tryrdlock): Likewise.
39034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39035         (__pthread_rwlock_wrlock): Likewise.
39036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39037         (__pthread_rwlock_trywrlock): Likewise.
39038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39039         (__pthread_rwlock_unlock): Likewise.
39040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39041         (__pthread_key_create): Likewise.
39042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39043         (__pthread_setspecific): Likewise.
39044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39045         (__pthread_getspecific): Likewise.
39046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39047         Likewise.
39048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39049         (_pthread_cleanup_push_defer): Likewise.
39050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39051         (_pthread_cleanup_pop_restore): Likewise.
39052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39053         (pthread_setcancelstate): Likewise.
39054         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39055         <bp-sym.h>.
39056         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39057         (memchr): Do not use BP_SYM in weak_alias.
39058         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39059         (fegetenv): Do not use BP_SYM in versioned symbols.
39060         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39061         (fesetenv): Do not use BP_SYM in versioned symbols.
39062         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39063         (feupdateenv): Do not use BP_SYM in versioned symbols.
39064         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39065         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39066         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39067         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39068         (open64): Do not use BP_SYM in weak_alias.
39069         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39070         (fegetenv): Do not use BP_SYM in versioned symbols.
39071         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39072         (fesetenv): Do not use BP_SYM in versioned symbols.
39073         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39074         (feupdateenv): Do not use BP_SYM in versioned symbols.
39075         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39076         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39077         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39078         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39079         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39080         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39081         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39082         <bp-sym.h>.
39083         (__libc_start_main): Do not use BP_SYM.
39085 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39088         redundant return line.
39089         (norm): Likewise.
39090         (denorm): Likewise.
39091         (dbl_mp): Likewise.
39092         (sub_magnitudes): Likewise.
39093         (__add): Likewise.
39094         (__sub): Likewise.
39095         (__mul): Likewise.
39096         (__inv): Likewise.
39097         (__dvd): Likewise.
39098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39099         (norm): Likewise.
39100         (denorm): Likewise.
39101         (dbl_mp): Likewise.
39102         (sub_magnitudes): Likewise.
39103         (__add): Likewise.
39104         (__sub): Likewise.
39105         (__mul): Likewise.
39106         (__inv): Likewise.
39107         (__dvd): Likewise.
39109         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39110         instead of __mul.
39111         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39112         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39113         (cc32): Likewise.
39115         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39116         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39117         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39118         of __mul for squares.
39119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39120         function
39121         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39122         Likewise.
39123         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39124         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39126 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39128         [BZ #13550]
39129         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39130         code.
39131         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39132         prototype or function definition.  Rename ubp_* variables and
39133         parameters.  Remove argv definitions conditional on
39134         [__BOUNDED_POINTERS__].
39135         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39136         * elf/dl-runtime.c (_dl_fixup): Likewise.
39137         * include/set-hooks.h (RUN_HOOK): Likewise.
39138         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39139         definition.
39140         * string/strcpy.c (strcpy): Do not use __unbounded.
39141         * sysdeps/generic/frame.h (struct layout): Likewise.
39142         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39143         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39144         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39145         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39146         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39147         (__backtrace): Likewise.
39148         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39149         use __ptrvalue.
39150         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39151         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39152         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39153         Likewise.
39154         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39155         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39156         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39157         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39158         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39159         Do not use __unbounded.
39160         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39161         Rename __unboundedrlimits parameter to rlimits in prototype.
39162         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39163         Do not use __unbounded.
39164         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39165         not use __ptrvalue.
39166         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39167         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39168         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39169         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39170         __ptrvalue or __unbounded.
39171         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39172         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39173         use __unbounded.
39174         (__new_msgctl): Do not use __ptrvalue.
39175         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39176         __unbounded.
39177         (__libc_msgrcv): Do not use __ptrvalue.
39178         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39179         startup_info): Do not use __unbounded.
39180         (__libc_start_main): Likewise.  Rename ubp_* variables and
39181         parameters.  Remove argv definitions conditional on
39182         [__BOUNDED_POINTERS__].
39183         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39184         __ptrvalue.
39185         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39186         use __unbounded.
39187         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39188         or __ptrvalue.
39189         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39190         use __unbounded.
39191         (__new_shmctl): Do not use __ptrvalue.
39192         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39193         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39194         Likewise.
39195         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39196         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39197         (__libc_sigaction): Likewise.
39198         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39199         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39200         Likewise.
39201         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39203 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39205         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39207         * string/mempcpy.c: Implement by calling memcpy.
39209 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39211         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39213         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39214         evaluation.
39216         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39217         values in the mantissa.
39219         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39220         minimize writes to Z.
39221         (sub_magnitudes): Simplify code a bit.
39223 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39225         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39226         from the message.  The linker prefixes all warnings with that already.
39228 2013-02-12  Andreas Schwab  <schwab@suse.de>
39230         [BZ #15078]
39231         * posix/regexec.c (extend_buffers): Add parameter min_len.
39232         (check_matching): Pass minimum needed length.
39233         (clean_state_log_if_needed): Likewise.
39234         (get_subexp): Likewise.
39235         * posix/Makefile (tests): Add bug-regex34.
39236         (bug-regex34-ENV): Define.
39237         * posix/bug-regex34.c: New file.
39239         [BZ #11561]
39240         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39241         elements compare against the byte sequence of it, not its name.
39242         * posix/Makefile (tests): Add bug-regex35.
39243         (bug-regex35-ENV): Define.
39244         * posix/bug-regex35.c: New file.
39246 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39248         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39249         comment.
39250         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39251         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39252         (CHECK_EOL): Add undef.
39254 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39256         * bits/stdlib-bsearch.h: New file.
39257         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39258         * stdlib/stdlib.h: Likewise.
39260 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39262         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39263         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39264         declaration.
39265         * manual/search.texi (Array Search Function): Add missing const in
39266         lfind prototype.
39267         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39268         declaration to use rlim_t.
39269         (Basic Scheduling Functions): Remove erroneous const from
39270         sched_getparam prototype.  Remove erroneous * from
39271         sched_get_priority_max and sched_get_priority_min prototypes.
39272         (Resource Usage): Fix summary @comment on vtimes to refer to
39273         sys/vtimes.h rather than vtimes.h.
39274         Add missing *s in vtimes prototype.
39275         (Limits on Resources): Fix ulimit prototype to return long int.
39276         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39277         prototypes to use long int rather than double.
39278         (BSD Random): Fix initstate and setstate to use char *, not void *.
39279         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39280         prototype to make second argument 'struct aiocb64 *const[]'.
39281         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39282         (Status of AIO Operations): Remove erroneous const in aio_return and
39283         aio_return64 prototypes.
39284         (Synchronizing I/O): Fix sync prototype to return void.
39285         * manual/startup.texi (Suboptions): Remove an erroneous const in
39286         getsubopt prototype.
39287         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39288         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39289         use size_t rather than int.
39290         (Scanning All Users): Likewise for getpwent_r.
39291         (Setting Groups): Add missing const to setgroups prototype.
39292         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39293         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39294         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39295         'const void *' rather than 'const char *'.
39296         (Host Address Functions): Likewise for inet_ntop.
39297         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39298         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39299         ssize_t for return value.
39300         (Sending Data): Likewise for send, sendto, sendmsg.
39301         (Socket Option Functions): Add a missing const in setsockopt prototype.
39302         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39303         use wchar_t for the argument.
39304         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39305         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39306         take no arguments.
39307         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39308         double/float/long double for second argument.
39309         Fix return types of significand, significandf, significandl.
39310         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39311         argument in fchmod prototype.
39312         (File Owner): Use uid_t and gid_t in fchown prototype.
39313         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39314         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39315         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39316         use 'const struct dirent **' as argument types to CMP function pointer
39317         argument.
39318         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39319         (File Times): Fix summary magic @comment for struct utimbuf and utime
39320         to refer to utime.h, not time.h.
39321         * manual/string.texi (Argz Functions): Add missing const in
39322         argz_extract and argz_next prototypes.
39323         (Finding Tokens in a String): Likewise for basename.
39324         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39325         (Copying and Concatenation): Fix typo in wmemmove prototype.
39326         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39327         (Signal Stack): Remove erroneous const in sigstack prototype.
39328         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39329         prototype.
39330         (Simple Calendar Time): Likewise for stime.
39331         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39332         prototype.
39333         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39334         say sys/sysctl.h instead.
39335         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39336         and vsyslog prototypes.
39338 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39340         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39341         Remove.
39343 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39345         * misc/sys/mman.h: Fix typo in mremap comment.
39347 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39349         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39350         the '\0' terminator.
39352 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39354         [BZ #13550]
39355         * debug/segfault.c: Don't include <bp-checks.h>.
39356         * sysdeps/generic/bp-checks.h: Remove file.
39357         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39358         (__GETDENTS): Don't use CHECK_N.
39359         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39360         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39361         (__getgroups): Don't use CHECK_N.
39362         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39363         (setgroups): Don't use CHECK_N.
39364         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39365         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39366         (__libc_msgrcv): Don't use CHECK_N.
39367         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39368         (__libc_msgsnd): Don't use CHECK_N.
39369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39370         <bp-checks.h>.
39371         (__libc_pread): Don't use CHECK_N.
39372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39373         include <bp-checks.h>.
39374         (__libc_pread64): Don't use CHECK_N.
39375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39376         include <bp-checks.h>.
39377         (__libc_pwrite): Don't use CHECK_N.
39378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39379         include <bp-checks.h>.
39380         (__libc_pwrite64): Don't use CHECK_N.
39381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39382         <bp-checks.h>.
39383         (__libc_pread): Don't use CHECK_N.
39384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39385         include <bp-checks.h>.
39386         (__libc_pread64): Don't use CHECK_N.
39387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39388         include <bp-checks.h>.
39389         (__libc_pwrite): Don't use CHECK_N.
39390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39391         include <bp-checks.h>.
39392         (__libc_pwrite64): Don't use CHECK_N.
39393         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39394         (do_pread): Don't use CHECK_N.
39395         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39396         (do_pread64): Don't use CHECK_N.
39397         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39398         (do_pwrite): Don't use CHECK_N.
39399         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39400         (do_pwrite64): Don't use CHECK_N.
39401         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39402         (__libc_readv): Don't use CHECK_N.
39403         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39404         (semop): Don't use CHECK_N.
39405         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39406         <bp-checks.h>.
39407         (semtimedop): Don't use CHECK_N.
39408         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39409         (__libc_pread): Don't use CHECK_N.
39410         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39411         <bp-checks.h>.
39412         (__libc_pread64): Don't use CHECK_N.
39413         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39414         <bp-checks.h>.
39415         (__libc_pwrite): Don't use CHECK_N.
39416         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39417         <bp-checks.h>.
39418         (__libc_pwrite64): Don't use CHECK_N.
39419         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39420         <bp-checks.h>.
39421         (__libc_msgrcv): Don't use CHECK_N.
39422         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39423         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39424         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39425         (__libc_writev): Don't use CHECK_N.
39427 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39429         * string/strcpy.c: Removed unused variable.
39431         * Makeconfig (+sysdep-includes): Define with := rather than =.
39432         Use an existing include/ subdir of each sysdeps dir before it.
39434 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39436         * nscd/connection.c (register_traced_file): Comment function.
39437         [HAVE_INOTIFY] (union __inev): Define.
39438         [HAVE_INOTIFY] (inotify_check_files): New function.
39439         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39440         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39441         clear_db_cache.
39442         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39444 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39446         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39447         loaded if not already and that a failure is permanent.
39449 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39451         [BZ #15006]
39452         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39453         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39455 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39457         [BZ #13550]
39458         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39459         (CHECK_1_NULL_OK): Likewise.
39460         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39461         (__fxstat): Do not use CHECK_1.
39462         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39463         <bp-checks.h>.
39464         (___fxstat64): Do not use CHECK_1.
39465         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39466         <bp-checks.h>.
39467         (__fxstatat): Do not use CHECK_1.
39468         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39469         <bp-checks.h>.
39470         (__fxstatat64): Do not use CHECK_1.
39471         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39472         <bp-checks.h>.
39473         (__fxstat): Do not use CHECK_1.
39474         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39475         <bp-checks.h>.
39476         (__fxstatat): Do not use CHECK_1.
39477         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39478         <bp-checks.h>.
39479         (__getresgid): Do not use CHECK_1.
39480         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39481         <bp-checks.h>.
39482         (__getresuid): Do not use CHECK_1.
39483         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39484         <bp-checks.h>.
39485         (__lxstat): Do not use CHECK_1.
39486         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39487         <bp-checks.h>.
39488         (__old_msgctl): Do not use CHECK_1.
39489         (__new_msgctl): Likewise.
39490         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39491         <bp-checks.h>.
39492         (__new_setrlimit): Do not use CHECK_1.
39493         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39494         <bp-checks.h>.
39495         (__old_shmctl): Do not use CHECK_1.
39496         (__new_shmctl): Likewise.
39497         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39498         <bp-checks.h>.
39499         (__xstat): Do not use CHECK_1.
39500         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39501         (__lxstat): Do not use CHECK_1.
39502         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39503         <bp-checks.h>.
39504         (___lxstat64): Do not use CHECK_1.
39505         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39506         (__old_msgctl): Do not use CHECK_1.
39507         (__new_msgctl): Likewise.
39508         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39509         <bp-checks.h>.
39510         (__gettimeofday): Do not use CHECK_1.
39511         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39512         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39513         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39514         <bp-checks.h>.
39515         (__gettimeofday): Do not use CHECK_1.
39516         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39517         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39518         (__new_shmctl): Do not use CHECK_1.
39519         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39520         <bp-checks.h>.
39521         (do_sigtimedwait): Do not use CHECK_1.
39522         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39523         <bp-checks.h>.
39524         (do_sigwaitinfo): Do not use CHECK_1.
39525         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39526         <bp-checks.h>.
39527         (msgctl): Do not use CHECK_1.
39528         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39529         <bp-checks.h>.
39530         (shmctl): Do not use CHECK_1.
39531         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39532         (ustat): Do not use CHECK_1.
39533         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39534         <bp-checks.h>.
39535         (__fxstat): Do not use CHECK_1.
39536         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39537         <bp-checks.h>.
39538         (__fxstatat): Do not use CHECK_1.
39539         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39540         <bp-checks.h>.
39541         (__lxstat): Do not use CHECK_1.
39542         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39543         <bp-checks.h>.
39544         (__xstat): Do not use CHECK_1.
39545         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39546         (__xstat): Do not use CHECK_1.
39547         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39548         (___xstat64): Do not use CHECK_1.
39550         [BZ #13550]
39551         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39552         definitions.
39553         (CHECK_BOUNDS_HIGH): Likewise.
39554         * string/strcpy.c: Do not include <bp-checks.h>.
39555         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39557 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39559         * nscd/nscd-client.h (__nscd_drop_map_ref):
39560         Add __attribute__ ((unused)).
39561         * nis/nss-nisplus.h (niserr2nss): Likewise.
39563         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39564         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39566         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39567         Remove inline keyword.
39568         * include/rounding-mode.h (round_away): Likewise.
39569         * libio/wfileops.c (adjust_wide_data): Likewise.
39570         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39571         (__m128i_strloadu_tolower): Likewise.
39572         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39573         (__m128i_strloadu_tolower): Likewise.
39574         * time/mktime.c (ydhms_diff): Likewise.
39575         * locale/elem-hash.h (elem_hash): Likewise.
39576         * locale/setlocale.c (setdata): Likewise.
39577         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39578         (re_string_wchar_at): Likewise.
39579         (bitset_not, bitset_merge, bitset_mask): Likewise.
39580         [!(__GNUC__ > 3)] (inline): Remove macro.
39581         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39582         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39583         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39584         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39585         * string/memcmp.c (memcmp_bytes): Likewise.
39586         * locale/programs/locarchive.c (compute_hashval): Likewise.
39587         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39588         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39589         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39590         * nss/getent.c (print_rpc, print_protocols): Likewise.
39591         (print_passwd, print_group, print_aliases): Likewise.
39592         * nis/nss-nisplus.h (niserr2nss): Likewise.
39593         * nscd/connections.c (restart_p): Likewise.
39594         Change return type to bool.
39596 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39598         * Makeconfig (all-Depend-files): Add existing
39599         $(sorted-subdirs:=/Depend) files.
39600         (all-subdirs): Remove nss.
39601         * sysdeps/unix/inet/Subdirs: Add it here instead.
39602         * hesiod/Depend: New file.
39604         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39605         instead of calling alloca.
39607         * io/lseek.c (__lseek): Rename to __libc_lseek.
39608         Define __lseek as an alias.
39610         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39612 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39614         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39615         else clause and remove check for non-standard endianness.
39617 2013-02-04  David S. Miller  <davem@davemloft.net>
39619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39621 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39623         [BZ #13550]
39624         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39625         (__ubp_memchr): Remove prototype.
39626         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39627         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39628         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39629         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39630         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39631         Remove alias.
39632         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39633         (__ubp_memchr): Likewise.
39634         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39635         (__ubp_memchr): Likewise.
39636         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39637         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39638         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39639         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39640         CHECK_STRING.
39641         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39642         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39643         (__getcwd): Do not use CHECK_STRING.
39644         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39645         <bp-checks.h>.
39646         (__real_chown): Do not use CHECK_STRING.
39647         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39648         <bp-checks.h>.
39649         (fchownat): Do not use CHECK_STRING.
39650         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39651         CHECK_STRING.
39652         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39653         <bp-checks.h>.
39654         (__lchown): Do not use CHECK_STRING.
39655         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39656         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39657         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39658         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39660         include <bp-checks.h>.
39661         (truncate64): Do not use CHECK_STRING.
39662         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39663         <bp-checks.h>.
39664         (__real_chown): Do not use CHECK_STRING.
39665         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39666         <bp-checks.h>.
39667         (__lchown): Do not use CHECK_STRING.
39668         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39669         <bp-checks.h>.
39670         (__chown): Do not use CHECK_STRING.
39671         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39672         <bp-checks.h>.
39673         (truncate64): Do not use CHECK_STRING.
39674         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39675         Likewise.
39676         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39677         (__xmknod): Do not use CHECK_STRING.
39678         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39679         <bp-checks.h>.
39680         (__xmknodat): Do not use CHECK_STRING.
39681         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39682         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39684 2013-02-04  Andreas Schwab  <schwab@suse.de>
39686         [BZ #14142]
39687         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39688         * include/netdb.h: Likewise for h_errno.
39689         * elf/tst-stackguard1.c: Include <tls.h>.
39691 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39693         * elf/link.h (struct link_map): Extend the l_addr comment.
39694         * include/link.h (struct link_map): Likewise.
39696 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39698         [BZ #13550]
39699         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39700         (BOUNDED_1): Remove macro.
39701         * debug/backtrace.c: Don't include <bp-checks.h>.
39702         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39703         (__backtrace): Likewise.
39704         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39705         <bp-checks.h>.
39706         (__backtrace): Don't use BOUNDED_1.
39707         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39708         <bp-checks.h>.
39709         (__backtrace): Don't use BOUNDED_1.
39710         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39711         (__backtrace): Don't use BOUNDED_1.
39712         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39713         (shmat): Don't use BOUNDED_N.
39715 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39717         [BZ #13550]
39718         * sysdeps/generic/bp-start.h: Remove file.
39719         * csu/libc-start.c: Don't include <bp-start.h>.
39720         (LIBC_START_MAIN): Set up __environ directly instead of using
39721         INIT_ARGV_and_ENVIRON.
39722         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39723         <bp-start.h>.
39725         [BZ #13550]
39726         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39727         definitions.
39728         (CHECK_FCNTL): Likewise.
39729         (CHECK_N_PAGES): Likewise.
39731         [BZ #13550]
39732         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39733         definitions.
39734         (CHECK_SIGSET_NULL_OK): Likewise.
39735         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39736         <bp-checks.h>.
39737         (sigpending): Don't use CHECK_SIGSET.
39738         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39739         <bp-checks.h>.
39740         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39741         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39742         <bp-checks.h>.
39743         (do_sigsuspend): Don't use CHECK_SIGSET.
39744         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39745         use CHECK_SIGSET.
39746         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39747         (do_sigwait): Don't use CHECK_SIGSET.
39748         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39749         use CHECK_SIGSET.
39750         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39751         include <bp-checks.h>.
39752         (sigpending): Don't use CHECK_SIGSET.
39753         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39754         include <bp-checks.h>.
39755         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39756         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39757         <bp-checks.h>.
39758         (sigpending): Don't use CHECK_SIGSET.
39759         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39760         <bp-checks.h>.
39761         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39763         [BZ #13550]
39764         * sysdeps/generic/bp-semctl.h: Remove file.
39765         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39766         <bp-checks.h> and <bp-semctl.h>.
39767         (__old_semctl): Don't use CHECK_SEMCTL.
39768         (__new_semctl): Likewise.
39769         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39770         and <bp-semctl.h>.
39771         (__old_semctl): Don't use CHECK_SEMCTL.
39772         (__new_semctl): Likewise.
39773         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39774         <bp-checks.h> and <bp-semctl.h>.
39775         (__old_semctl): Don't use CHECK_SEMCTL.
39776         (__new_semctl): Likewise.
39777         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39778         <bp-checks.h> and <bp-semctl.h>.
39779         (semctl): Don't use CHECK_SEMCTL.
39781         [BZ #13550]
39782         * Makerules (elide-bp-thunks): Remove variable.
39783         (elide-routines.oS): Don't use $(elide-bp-thunks).
39784         (elide-routines.os): Likewise.
39785         (elide-routines.o): Likewise.
39786         (elide-routines.op): Likewise.
39787         (elide-routines.og): Likewise.
39788         (objects): Don't use $(bp-thunks).
39789         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39790         include.
39791         (common-generated): Do not add s-proto-bp.d.
39792         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39793         (int): Likewise.
39794         (typ): Likewise.
39795         Do not generate makefile rules for bounded-pointer thunks.
39796         * sysdeps/generic/bp-thunks.h: Remove file.
39797         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39798         * sysdeps/unix/s-proto-bp.S: Likewise.
39800         [BZ #15062]
39801         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39802         parts of result separately when argument is not close to line from
39803         -i to i and one part of argument is small.
39804         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39805         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39806         * math/libm-test.inc (cacos_test): Add more tests.
39807         (casin_test): Likewise.
39808         (casinh_test): Likewise.
39809         * sysdeps/i386/fpu/libm-test-ulps: Update.
39810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39812 2013-01-31  David S. Miller  <davem@davemloft.net>
39814         * po/de.po: Update from translation team.
39816 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39818         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39820 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39822         * configure.in (_AC_PROG_CC_C89): New definition.
39823         * configure: Regenerate.
39825         * configure.in (AC_PROG_CPP): New definition.
39826         * configure: Regenerate.
39828 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39830         * debug/tst-backtrace.h: New file.
39831         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39832         (ret): Remove variable.
39833         (x): Likewise.
39834         (FAIL): Remove macro.
39835         (NO_INLINE): Likewise.
39836         (fn1): Use match function instead of strstr.
39837         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39838         (ret): Remove variable.
39839         (x): Likewise.
39840         (FAIL): Remove macro.
39841         (NO_INLINE): Likewise.
39842         (fn): Use match function instead of strstr.
39843         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39844         (ret): Remove variable.
39845         (x): Likewise.
39846         (FAIL): Remove macro.
39847         (NO_INLINE): Likewise.
39848         (handle_signal): Use match function instead of strstr.
39849         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39850         (ret): Remove variable.
39851         (x): Likewise.
39852         (FAIL): Remove macro.
39853         (NO_INLINE): Likewise.
39854         (handle_signal): Use match function instead of strstr.
39856 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39858         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39860 2013-01-23  David S. Miller  <davem@davemloft.net>
39862         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39863         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39864         argument of CAS if possible.
39865         * sysdeps/sparc/sparc64/bits/atomic.h
39866         (__arch_compare_and_exchange_val_32_acq): Likewise.
39867         (__arch_compare_and_exchange_val_64_acq): Likewise.
39869 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39871         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39872         * sysdeps/posix/ulimit.c: ... this.
39873         Include <limits.h>.
39874         * sysdeps/unix/bsd/ulimit.c: Remove file.
39876 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39878         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39879         (LDFLAGS-tst-array5): Likewise.
39881 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39883         [BZ #15036]
39884         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39885         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39886         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39887         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39889 2013-01-21  David S. Miller  <davem@davemloft.net>
39891         * sysdeps/sparc/backtrace.c: New file.
39892         * sysdeps/sparc/sparc32/backtrace.h: New file.
39893         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39894         * sysdeps/sparc/sparc64/backtrace.h: New file.
39895         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39896         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39897         -funwind-tables.
39899 2013-01-21  Andreas Schwab  <schwab@suse.de>
39901         [BZ #15020]
39902         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39903         closed its stdout.
39905 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39908         "mpa2.h".
39909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39911 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39912             Mark Mitchell  <mark@codesourcery.com>
39913             Tom de Vries  <tom@codesourcery.com>
39914             Paul Pluzhnikov  <ppluzhnikov@google.com>
39916         * debug/tst-backtrace2.c: New file.
39917         * debug/tst-backtrace3.c: Likewise.
39918         * debug/tst-backtrace4.c: Likewise.
39919         * debug/tst-backtrace5.c: Likewise.
39920         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39921         (CFLAGS-tst-backtrace3.c): Likewise.
39922         (CFLAGS-tst-backtrace4.c): Likewise.
39923         (CFLAGS-tst-backtrace5.c): Likewise.
39924         (LDFLAGS-tst-backtrace2): Likewise.
39925         (LDFLAGS-tst-backtrace3): Likewise.
39926         (LDFLAGS-tst-backtrace4): Likewise.
39927         (LDFLAGS-tst-backtrace5): Likewise.
39928         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39929         tst-backtrace4 and tst-backtrace5.
39931 2013-01-18  Anton Blanchard  <anton@samba.org>
39932             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39934         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39935         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39936         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39937         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39939         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39940         "+r" and remove output regs list as redundant.  Add explicit inline
39941         asm to specify register of return val to work around compiler codegen
39942         bug.  Remove (int) cast on return value.  Add return type parameter to
39943         use in macro so that this macro does not truncate return value for
39944         64-bit values.
39945         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39946         pass to INTERNAL_VSYSCALL_NCS.
39947         (INLINE_VSYSCALL): Add 'long int' as return type to
39948         INTERNAL_VSYSCALL_NCS macro invocation.
39949         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39950         INTERNAL_VSYSCALL_NCS macro invocation.
39951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39953 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39955         [BZ #14496]
39956         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39957         Fix application of SIMD FP exception mask.
39959         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39960         mp_no from a power of two.
39961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39962         __mpexp_twomm1.  Use __pow_mp.
39964         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39965         multiplication.
39967 2013-01-17  David S. Miller  <davem@davemloft.net>
39969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39971 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39973         [BZ #15023]
39974         * include/complex.h: Condition contents on [!_COMPLEX_H].
39975         (__kernel_casinhf): New prototype.
39976         (__kernel_casinh): Likewise.
39977         (__kernel_casinhl): Likewise.
39978         * math/Makefile (libm_calls): Add k_casinh.
39979         * math/k_casinh.c: New file.
39980         * math/k_casinhf.c: Likewise.
39981         * math/k_casinhl.c: Likewise.
39982         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39983         finite nonzero arguments.
39984         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39985         finite nonzero arguments.
39986         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39987         finite nonzero arguments.
39988         * math/s_casinh.c: Do not include <float.h>.
39989         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39990         * math/s_casinhf.c: Do not include <float.h>.
39991         (__casinhf): Move code for finite nonzero arguments to
39992         k_casinhf.c.
39993         * math/s_casinhl.c: Do not include <float.h>.
39994         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39995         redefine.
39996         (__casinhl): Move code for finite nonzero arguments to
39997         k_casinhl.c.
39998         * math/libm-test.inc (cacos_test): Add more tests.
39999         * sysdeps/i386/fpu/libm-test-ulps: Update.
40000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40002 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
40004         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40005         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40006         [!HAVE_MREMAP]: Remove [defined linux] case.
40007         * malloc/arena.c: Do not include <malloc-sysdep.h>.
40009 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40011         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40013 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
40015         * elf/elf.h (R_386_SIZE32): New relocation.
40016         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40017         R_386_SIZE32.
40018         (elf_machine_rela): Likewise.
40019         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40020         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40022 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40024         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40025         (FP_FAST_FMA): Do not define.
40026         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40027         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40028         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40029         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40030         !_SOFT_FLOAT]: Likewise.
40031         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40032         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40033         value.
40034         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40035         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40036         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40037         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40038         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40039         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40040         file.
40042 2013-01-16  Andreas Schwab  <schwab@suse.de>
40044         [BZ #14327]
40045         * include/stdlib.h (__mktemp): Add declaration.
40046         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40047         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40049 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40051         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40052         definitions.
40053         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40054         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40055         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40056         definitions here.
40057         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40058         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40059         definitions.
40060         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40061         and ONE.
40062         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40063         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40064         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40065         definitions.
40066         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40067         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40068         definitions.
40069         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40071         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40073 2013-01-15  David S. Miller  <davem@davemloft.net>
40075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40076         trunc{,f} to libm-sysdep_routes.
40077         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40079         file.
40080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40082         file.
40083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40084         file.
40085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40087         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40088         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40089         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40090         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40091         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40092         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40095         nearbyint{,f} to libm-sysdep_routes.
40096         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40098         New file.
40099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40100         file.
40101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40102         New file.
40103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40104         file.
40105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40107         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40108         file.
40109         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40110         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40111         file.
40112         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40113         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40114         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40116         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40117         libc_feholdexcept and libc_fesetenv.
40119 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40121         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40123 2013-01-14  David S. Miller  <davem@davemloft.net>
40125         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40126         (SPARC_ASM_VIS2_IFUNC): Likewise.
40127         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40129         use of 'siam' instruction.
40130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40131         Likewise.
40132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40133         Likewise.
40134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40135         Likewise.
40136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40141         file.
40142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40143         file.
40144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40145         file.
40146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40147         file.
40148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40153         new VIS2 routines.
40154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40157         Likewise.
40158         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40163         routines to libm-sysdep_routines.
40164         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40167         fdim/fdimf to libm-sysdep_routines.
40168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40169         file.
40170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40172         file.
40173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40176         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40177         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40178         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40179         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40181 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40183         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40184         to optimize copies.
40186         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40190         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40191         local variable MPTWO.
40192         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40193         Likewise.
40195 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40197         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40198         GLOB_NOESCAPE.
40200 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40202         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40204 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40206         * manual/pattern.texi (glob_t): Document gl_flags.
40207         (glob64_t): Likewise.
40209 2013-01-11  David S. Miller  <davem@davemloft.net>
40211         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40212         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40213         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40214         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40215         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40216         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40217         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40218         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40219         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40220         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40221         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40222         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40223         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40225         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40226         sparc V9 rather than using V8 code.
40227         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40228         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40230         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40231         Move to...
40232         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40233         Here.
40235 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40237         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40238         not in the main loop.
40239         * configure: Regenerated.
40241 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40243         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40244         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40245         to just #else.
40246         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40247         [!__GLIBC_HAVE_LONG_LONG] case.
40248         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40249         condition to just #else.
40250         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40251         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40252         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40253         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40254         unconditional.
40255         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40256         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40257         #elif condition to just #else.
40258         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40259         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40260         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40261         #elif condition to just #else.
40263 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40265         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40266         (EF_MIPS_ARCH_64): Fix value.
40267         (EF_MIPS_ARCH_32R2): New.
40268         (EF_MIPS_ARCH_64R2): New.
40270 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40272         * Makeconfig (+link-pie-before-libc): New.
40273         (+link-pie-after-libc): Likewise.
40274         (+link-pie-tests): Likewise.
40275         (+link-pie): Rewritten.
40276         (link-before-libc): Remove $(config-LDFLAGS).
40277         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40278         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40279         (config-LDFLAGS): Renamed to ...
40280         (rtld-LDFLAGS): This.
40281         (rtld-tests-LDFLAGS): New macro.
40282         (link-libc-rpath-link): Likewise.
40283         (link-libc-tests-rpath-link): Likewise.
40284         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40285         (link-libc): Prepand $(link-libc-rpath-link).
40286         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40287         (test-program-prefix): New macro.
40288         (test-via-rtld-prefix): Likewise.
40289         (test-program-cmd): Likewise.
40290         (host-test-program-cmd): Likewise.
40291         * Makefile ($(common-objpfx)testrun.sh): Replace
40292         $(run-program-prefix) with $(test-program-prefix).
40293         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40294         $(rtld-LDFLAGS).
40295         ($(common-objpfx)shlib.lds): Likewise.
40296         (build-module-helper): Likewise.
40297         ($(common-objpfx)format.lds): Likewise.
40298         * Rules (binaries-pie-tests): New.
40299         (binaries-pie-notests): Likewise.
40300         (binaries-pie): Rewritten.
40301         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40302         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40303         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40304         (make-test-out): Replace $(host-built-program-cmd) with
40305         $(host-test-program-cmd).
40306         * config.make.in (build-hardcoded-path-in-tests): New variable.
40307         * configure.in (--enable-hardcoded-path-in-tests): New configure
40308         option.
40309         (hardcoded_path_in_tests): New AC_SUBST.
40310         * configure: Regenerated.
40311         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40312         $(built-program-cmd) with $(test-program-cmd).
40313         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40314         (test_program_cmd): This.
40315         * elf/Makefile ($(objpfx)order.out): Run test with
40316         $(test-program-prefix).
40317         ($(objpfx)order2.out): Likewise.
40318         ($(objpfx)tst-initorder.out): Likewise.
40319         ($(objpfx)tst-initorder2.out): Likewise.
40320         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40321         $(test-program-cmd).
40322         ($(objpfx)tst-array1-static.out): Likewise.
40323         ($(objpfx)tst-array2.out): Likewise.
40324         ($(objpfx)tst-array3.out): Likewise.
40325         ($(objpfx)tst-array4.out): Likewise.
40326         ($(objpfx)tst-array5.out): Likewise.
40327         ($(objpfx)tst-array5-static.out): Likewise.
40328         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40329         $(test-program-cmd).
40330         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40331         $(run-program-prefix) with $(test-program-prefix).
40332         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40333         (test_program_prefix): This.
40334         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40335         $(run-program-prefix) with $(test-program-prefix).
40336         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40337         (test_program_prefix): This.
40338         * iconvdata/tst-tables.sh: Likewise.
40339         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40340         $(run-program-prefix) with $(test-program-prefix).
40341         ($(objpfx)tst-translit.out): Likewise.
40342         ($(objpfx)tst-gettext2.out): Likewise.
40343         ($(objpfx)tst-gettext4.out): Likewise.
40344         ($(objpfx)tst-gettext6.out): Likewise.
40345         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40346         (test_program_prefix): This.
40347         * intl/tst-gettext2.sh: Likewise.
40348         * intl/tst-gettext4.sh  Likewise.
40349         * intl/tst-gettext6.sh: Likewise.
40350         * intl/tst-translit.sh: Likewise.
40351         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40352         with $(test-program-cmd).
40353         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40354         $(run-program-prefix) with $(test-program-prefix).
40355         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40356         (test_program_prefix): This.
40357         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40358         $(run-program-prefix) with $(test-program-prefix).
40359         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40360         (test_program_prefix): This.
40361         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40362         * posix/Makefile ($(objpfx)globtest.out): Replace
40363         $(run-via-rtld-prefix) and $(test-wrapper) with
40364         $(test-program-prefix) and $(test-via-rtld-prefix).
40365         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40366         $(test-program-prefix).
40367         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40368         $(host-test-program-cmd).
40369         (tst-spawn-ARGS): Likewise.
40370         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40371         $(test-program-prefix).
40372         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40373         (test_via_rtld_prefix): This.
40374         (test_wrapper): Renamed to ...
40375         (test_program_prefix): This.
40376         (run_program_prefix): Replaced by test_program_prefix.
40377         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40378         (test_program_prefix): This.
40379         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40380         with $(host-test-program-cmd).
40381         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40382         $(run-program-prefix) with $(test-program-prefix).
40383         ($(objpfx)tst-printf.out): Likewise.
40384         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40385         $(test-program-cmd).
40386         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40387         (test_program_prefix): This.
40388         * stdio-common/tst-unbputc.sh: Likewise.
40389         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40390         $(run-program-prefix) with $(test-program-prefix).
40391         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40392         (test_program_prefix): This.
40393         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40394         $(built-program-cmd) with $(test-program-cmd).
40396 2013-01-11  Andreas Jaeger  <aj@suse.de>
40398         [BZ #15003]
40399         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40400         value. Sync with Linux 3.7.
40402 2013-01-10  David S. Miller  <davem@davemloft.net>
40404         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40405         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40406         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40408 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40410         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40411         never set.
40412         * configure: Regenerated.
40414 2013-01-10  David S. Miller  <davem@davemloft.net>
40416         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40417         sparc V9 rather than using V8 code.
40418         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40419         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40421 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40423         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40424         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40425         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40426         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40427         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40428         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40429         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40430         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40431         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40432         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40433         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40434         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40435         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40436         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40437         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40438         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40439         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40440         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40441         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40442         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40443         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40444         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40445         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40446         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40447         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40448         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40449         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40451 2013-01-10  David S. Miller  <davem@davemloft.net>
40453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40455 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40457         * posix/Makefile (tests-static): New variable.
40458         (tests): Add $(tests-static).
40459         (tst-exec-static-ARGS): New variable.
40460         (tst-spawn-static-ARGS): Likewise.
40461         * posix/tst-exec-static.c: New file.
40462         * posix/tst-spawn-static.c: Likewise.
40463         * posix/tst-exec.c: Support run directly.
40464         * posix/tst-spawn.c: Likewise.
40466 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40468         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40469         long.
40470         * math/bits/mathcalls.h (llrint): Likewise.
40471         (llround): Likewise.
40472         * stdlib/stdlib.h (struct drand48_data): Likewise.
40473         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40474         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40475         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40476         Likewise.
40477         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40478         Likewise.
40479         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40480         (elf_greg_t): Likewise.
40481         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40482         (__jmp_buf): Likewise.
40483         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40484         definitions.
40485         (llrint): Likewise, for all definitions.
40486         (llrintl): Likewise.
40488         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40489         Remove [__GNUC__] condition.
40490         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40491         condition to just [__USE_ISOC99].
40492         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40494 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40496         [BZ #14200]
40497         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40498         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40499         defined.
40500         (_POSIX_V6_ILP32_OFF32): Likewise.
40501         (_XBS5_ILP32_OFF32): Likewise.
40502         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40503         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40505 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40507         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40509         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40510         doubles __mpexp_twomm1.  Adjust usage.
40511         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40512         Remove.
40514 2013-01-10  Andreas Schwab  <schwab@suse.de>
40516         [BZ #14964]
40517         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40518         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40520 2013-01-09  David S. Miller  <davem@davemloft.net>
40522         [BZ #15003]
40523         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40524         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40525         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40526         (TCP_FASTOPEN): Define.
40527         (tcp_repair_opt): New structure.
40528         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40529         enum values.
40530         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40531         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40532         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40533         (tcp_cookie_transactions): New structure.
40535 2013-01-09  Anton Blanchard  <anton@samba.org>
40537         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40538         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40539         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40540         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40542 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40544         * include/features.h (__USE_ANSI): Remove.
40546 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40548         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40550         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40552 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40554         * sysdeps/s390/fpu/libm-test-ulps: Update.
40556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40558         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40559         (__acr): Likewise.
40560         (__cpy): Likewise.
40561         (norm): Likewise.
40562         (denorm): Likewise.
40563         (__mp_dbl): Likewise.
40564         (__dbl_mp): Likewise.
40565         (add_magnitudes): Likewise.
40566         (sub_magnitudes): Likewise.
40567         (__add): Likewise.
40568         (__sub): Likewise.
40569         (__mul): Likewise.
40570         (__inv): Likewise.
40571         (__dvd): Likewise.
40572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40573         (__acr): Likewise.
40574         (__cpy): Likewise.
40575         (norm): Likewise.
40576         (denorm): Likewise.
40577         (__mp_dbl): Likewise.
40578         (__dbl_mp): Likewise.
40579         (add_magnitudes): Likewise.
40580         (sub_magnitudes): Likewise.
40581         (__add): Likewise.
40582         (__sub): Likewise.
40583         (__mul): Likewise.
40584         (__inv): Likewise.
40585         (__dvd): Likewise.
40586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40587         (__acr): Likewise.
40588         (__cpy): Likewise.
40589         (norm): Likewise.
40590         (denorm): Likewise.
40591         (__mp_dbl): Likewise.
40592         (__dbl_mp): Likewise.
40593         (add_magnitudes): Likewise.
40594         (sub_magnitudes): Likewise.
40595         (__add): Likewise.
40596         (__sub): Likewise.
40597         (__mul): Likewise.
40598         (__inv): Likewise.
40599         (__dvd): Likewise.
40601 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40603         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40604         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40605         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40606         2 && __USE_EXTERN_INLINES]: Likewise.
40608 2013-01-08  Andreas Jaeger  <aj@suse.de>
40610         [BZ# 14985]
40611         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40612         Remove.
40613         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40614         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40616 2013-01-07  Anton Blanchard  <anton@samba.org>
40618         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40619         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40620         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40621         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40622         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40623         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40624         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40625         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40626         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40627         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40628         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40629         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40630         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40631         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40632         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40633         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40634         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40635         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40636         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40637         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40638         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40639         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40640         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40641         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40642         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40643         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40644         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40645         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40646         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40647         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40648         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40650         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40651         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40652         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40653         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40654         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40655         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40656         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40657         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40658         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40659         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40660         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40662 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40664         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40665         (__MALLOC_PMT): Likewise.
40666         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40667         [__GNUC__], only on [_LIBC].
40668         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40669         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40670         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40671         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40672         forward declaration.
40673         (realloc_hook_ini): Likewise.
40674         (memalign_hook_ini): Likewise.
40675         (__libc_memalign): Do not use __MALLOC_PMT in variable
40676         declaration.
40677         (__libc_valloc): Likewise.
40678         (__libc_pvalloc): Likewise.
40679         (__libc_calloc): Likewise.
40680         (__posix_memalign): Likewise.
40682         [BZ #14996]
40683         * math/s_casinh.c: Include <float.h>.
40684         (__casinh): Do not do computation with squaring and square root
40685         for large arguments.
40686         * math/s_casinhf.c: Include <float.h>.
40687         (__casinhf): Do not do computation with squaring and square root
40688         for large arguments.
40689         * math/s_casinhl.c: Include <float.h>.
40690         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40691         (__casinhl): Do not do computation with squaring and square root
40692         for large arguments.
40693         * math/libm-test.inc (casin_test): Add more tests.
40694         (casinh_test): Likewise.
40695         * sysdeps/i386/fpu/libm-test-ulps: Update.
40696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40698 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40700         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40701         (__x86_64_raw_data_cache_size): Likewise.
40702         (__x86_64_data_cache_size_half): Likewise.
40703         (__x86_64_raw_data_cache_size_half): Likewise.
40704         (__x86_64_shared_cache_size): Likewise.
40705         (__x86_64_raw_shared_cache_size): Likewise.
40706         (__x86_64_shared_cache_size_half): Likewise.
40707         (__x86_64_raw_shared_cache_size_half): Likewise.
40708         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40709         to ...
40710         (__x86_data_cache_size): This.
40711         (__x86_64_raw_data_cache_size): Renamed to ...
40712         (__x86_raw_data_cache_size): This.
40713         (__x86_64_data_cache_size_half): Renamed to ...
40714         (__x86_data_cache_size_half): This.
40715         (__x86_64_raw_data_cache_size_half): Renamed to ...
40716         (__x86_raw_data_cache_size_half): This.
40717         (__x86_64_shared_cache_size): Renamed to ...
40718         (__x86_shared_cache_size): This.
40719         (__x86_64_raw_shared_cache_size): Renamed to ...
40720         (__x86_raw_shared_cache_size): This.
40721         (__x86_64_shared_cache_size_half): Renamed to ...
40722         (__x86_shared_cache_size_half): This.
40723         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40724         (__x86_raw_shared_cache_size_half): This.
40725         * sysdeps/x86_64/memcpy.S: Updated.
40726         * sysdeps/x86_64/memset.S: Likewise.
40727         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40728         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40729         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40731 2013-01-04  David S. Miller  <davem@davemloft.net>
40733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40735 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40737         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40738         1 to avoid redefinition warning.
40739         (__USE_GNU): Don't define.
40740         (init_signaling_nan): Protoize.
40742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40744 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40746         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40748         (__cpymn): Likewise.
40749         (norm): Remove commented code.
40750         (denorm): Likewise.
40751         (__mp_dbl): Likewise.
40752         (__inv): Likewise.
40753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40754         (__cpymn): Likewise.
40755         (norm): Remove commented code.
40756         (denorm): Likewise.
40757         (__mp_dbl): Likewise.
40758         (__inv): Likewise.
40760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40761         mp_no value for 1.0 and 2.0.
40762         (norm): Use RADIXI instead of radixi.d.
40763         (denorm): Likewise.
40764         (__mul): Use 0.0 instead of zero.d.
40765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40766         mp_no value for 1.0 and 2.0.
40767         (norm): Use RADIXI instead of radixi.d.
40768         (denorm): Likewise.
40769         (__mul): Use 0.0 instead of zero.d.
40771 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40773         [BZ #14994]
40774         * math/s_casinh.c (__casinh): Reduce finite argument to first
40775         quadrant then set signs of results at the end.
40776         * math/s_casinhf.c (__casinhf): Likewise.
40777         * math/s_casinhl.c (__casinhl): Likewise.
40778         * math/libm-test.inc (casin_test): Add more tests.
40779         (casinh_test): Likewise.
40780         * sysdeps/i386/fpu/libm-test-ulps: Update.
40781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40783 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40785         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40787         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40789         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40790         declarations.
40791         (denorm): Likewise.
40792         (__mp_dbl): Likewise.
40793         (__inv): Likewise.
40795         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40796         and adjust the header comment.
40798         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40799         variable name from declaration.
40801 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40804         Initialize COMMON_CPUID_INDEX_7 element.
40805         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40806         (CPUID_RTM): Likewise.
40807         (HAS_RTM): Likewise.
40808         (COMMON_CPUID_INDEX_7): New enum.
40810 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40812         [BZ #14981]
40813         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40814         size is zero, record memory as freed.
40816 2013-01-03  Andreas Jaeger  <aj@suse.de>
40818         * po/ia.po: Add new Interlingua translation.
40820 2012-01-03  Allan McRae  <allan@archlinux.org>
40822         * locale/programs/localedef.c: Fix description of '--posix' flag.
40824 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40826         * NEWS: Update dates in second copyright notice.
40827         * README: Update copyright dates in example.
40828         * manual/libc.texinfo: Update copyright dates.
40829         * scripts/test-installation.pl: Update copyright date in --version
40830         output.
40832         * hurd/ctty-input.c: Fix copyright notice formatting.
40833         * hurd/ctty-output.c: Likewise.
40834         * hurd/dtable.c: Likewise.
40835         * hurd/hurd-raise.c: Likewise.
40836         * hurd/hurdprio.c: Likewise.
40837         * hurd/msgportdemux.c: Likewise.
40838         * misc/sys/file.h: Likewise.
40839         * misc/sys/ioctl.h: Likewise.
40840         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40841         * sysdeps/mach/hurd/chdir.c: Likewise.
40842         * sysdeps/mach/hurd/fchdir.c: Likewise.
40843         * sysdeps/mach/hurd/rename.c: Likewise.
40844         * sysdeps/mach/hurd/rmdir.c: Likewise.
40845         * sysdeps/mach/hurd/seekdir.c: Likewise.
40846         * sysdeps/mach/hurd/setsid.c: Likewise.
40847         * sysdeps/posix/wait3.c: Likewise.
40849         * All files with FSF copyright notices: Update copyright dates
40850         using scripts/update-copyrights.
40851         * intl/plural.c: Regenerated.
40852         * locale/programs/charmap-kw.h: Likewise.
40853         * locale/programs/locfile-kw.h: Likewise.
40855 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40857         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40858         four values.
40860         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40861         calculation loop and add branch prediction.
40863         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40864         check access beyond bounds of m1np.
40866         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40867         MPTWO.
40868         (__inv): Remove local variable MPTWO to use the global
40869         constant.
40870         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40871         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40872         variable MPTWO.
40873         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40874         MP3HALFS static const.
40876 2013-01-01  David S. Miller  <davem@davemloft.net>
40878         * po/ca.po: Update from translation team.
40880 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40882         * scripts/update-copyrights: New file.
40883         * Makeconfig: Reformat copyright notice.
40884         * ctype/ctype.h: Likewise.
40885         * debug/swprintf_chk.c: Likewise.
40886         * elf/dl-cache.c: Likewise.
40887         * elf/dl-debug.c: Likewise.
40888         * elf/dl-object.c: Likewise.
40889         * grp/initgroups.c: Likewise.
40890         * hurd/Makefile: Likewise.
40891         * hurd/hurd/signal.h: Likewise.
40892         * hurd/hurdfault.c: Likewise.
40893         * hurd/hurdioctl.c: Likewise.
40894         * hurd/hurdlookup.c: Likewise.
40895         * hurd/intr-msg.c: Likewise.
40896         * iconv/gconv_open.c: Likewise.
40897         * libio/swprintf.c: Likewise.
40898         * locale/lc-ctype.c: Likewise.
40899         * locale/nl_langinfo.c: Likewise.
40900         * mach/Machrules: Likewise.
40901         * mach/Makefile: Likewise.
40902         * malloc/obstack.h: Likewise.
40903         * manual/Makefile: Likewise.
40904         * manual/tsort.awk: Likewise.
40905         * misc/bits/stab.def: Likewise.
40906         * nis/nis_print_group_entry.c: Likewise.
40907         * nis/nis_table.c: Likewise.
40908         * nis/nss_compat/compat-pwd.c: Likewise.
40909         * nis/nss_compat/compat-spwd.c: Likewise.
40910         * po/Makefile: Likewise.
40911         * posix/fnmatch.c: Likewise.
40912         * posix/regex.h: Likewise.
40913         * resolv/Makefile: Likewise.
40914         * resolv/nss_dns/dns-network.c: Likewise.
40915         * resolv/res_hconf.c: Likewise.
40916         * scripts/gen-sorted.awk: Likewise.
40917         * soft-fp/soft-fp.h: Likewise.
40918         * stdio-common/printf.h: Likewise.
40919         * stdlib/monetary.h: Likewise.
40920         * stdlib/random.c: Likewise.
40921         * stdlib/random_r.c: Likewise.
40922         * sysdeps/generic/Makefile: Likewise.
40923         * sysdeps/gnu/Makefile: Likewise.
40924         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40925         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40926         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40927         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40928         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40929         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40930         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40931         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40932         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40933         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40934         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40935         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40936         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40937         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40938         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40939         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40940         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40941         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40942         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40943         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40944         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40945         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40946         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40947         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40948         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40949         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40950         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40951         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40952         * sysdeps/mach/hurd/errnos.awk: Likewise.
40953         * sysdeps/mach/hurd/fork.c: Likewise.
40954         * sysdeps/mach/hurd/getcwd.c: Likewise.
40955         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40956         * sysdeps/mach/hurd/mmap.c: Likewise.
40957         * sysdeps/mach/hurd/utimes.c: Likewise.
40958         * sysdeps/mach/hurd/xmknod.c: Likewise.
40959         * sysdeps/posix/profil.c: Likewise.
40960         * sysdeps/posix/readdir_r.c: Likewise.
40961         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40962         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40963         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40964         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40966         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40967         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40968         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40970         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40971         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40972         * sysdeps/pthread/lio_listio.c: Likewise.
40973         * sysdeps/sparc/dl-procinfo.h: Likewise.
40974         * sysdeps/unix/i386/sysdep.S: Likewise.
40975         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40976         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40977         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40978         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40980         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40981         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40982         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40983         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40984         * sysdeps/wordsize-32/divdi3.c: Likewise.
40985         * time/sys/time.h: Likewise.
40986         * wcsmbs/Makefile: Likewise.
40988 2013-01-01  David S. Miller  <davem@davemloft.net>
40990         * po/fr.po: Update from translation team.
40992         * catgets/gencat.c: Update copyright year.
40993         * csu/version.c: Likewise.
40994         * debug/catchsegv.sh: Likewise.
40995         * debug/pcprofiledump.c: Likewise.
40996         * debug/xtrace.sh: Likewise.
40997         * elf/ldconfig.c: Likewise.
40998         * elf/ldd.bash.in: Likewise.
40999         * elf/pldd.c: Likewise.
41000         * elf/sotruss.ksh: Likewise.
41001         * elf/sprof.c: Likewise.
41002         * iconv/iconv_prog.c: Likewise.
41003         * iconv/iconvconfig.c: Likewise.
41004         * locale/programs/locale.c: Likewise.
41005         * locale/programs/localedef.c: Likewise.
41006         * login/programs/pt_chown.c: Likewise.
41007         * malloc/memusage.sh: Likewise.
41008         * malloc/memusagestat.c: Likewise.
41009         * malloc/mtrace.pl: Likewise.
41010         * nscd/nscd.c: Likewise.
41011         * nss/getent.c: Likewise.
41012         * nss/makedb.c: Likewise.
41013         * posix/getconf.c: Likewise.
41015 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41017         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41018         numbers.
41020 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41022         * math/bits/mathcalls.h (modf): Use __nonnull.
41024 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41026         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41027         (split): Use macro CN instead of the bare value.
41028         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41029         could be used.
41030         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41031         instead of the bare value.
41032         (power1): Likewise.
41034 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41036         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41037         __ATAN_TWOM.
41038         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41040         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41041         their values.
41042         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41043         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41044         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41045         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41047 2012-12-28  Andreas Jaeger  <aj@suse.de>
41049         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41050         values are from Linux 3.7.
41052         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41053         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41055 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41057         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41058         TRUE case.
41060         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41061         (norm): Likewise.
41062         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41063         variables with preprocessor constants.
41064         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41065         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41066         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41068 2012-12-27  Bruno Haible  <bruno@clisp.org>
41070         [BZ #14317]
41071         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41072         only if needed.
41074 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41076         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41077         and use variable directly.
41078         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41080         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41081         MPONE.
41082         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41083         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41084         variable MPONE.
41085         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41087         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41088         include directive.  Remove local variable MPONE.
41089         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41090         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41091         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41093 2012-12-25  David S. Miller  <davem@davemloft.net>
41095         * version.h (RELEASE): Set to "development".
41096         (VERSION): Set to "2.17.90".
41097         * NEWS: Add 2.18 section.
41099 2012-12-21  David S. Miller  <davem@davemloft.net>
41101         * po/hr.po: Update from translation team.
41103 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41105         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41107 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41109         * NEWS:  Mention new memcpy for MIPS.
41111 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41113         * manual/contrib.texi (Contributors): Spelling correction.
41115 2012-12-15  David S. Miller  <davem@davemloft.net>
41117         * po/ru.po: Update from translation team.
41119 2012-12-13  David S. Miller  <davem@davemloft.net>
41121         * NEWS: Mention IFUNC testsuite enhancements.
41123         * po/pl.po: Update from translation team.
41124         * po/bg.po: Likewise.
41126         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41127         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41129 2012-12-11  David S. Miller  <davem@davemloft.net>
41131         * po/sv.po: Update from translation team.
41133         * po/vi.po: Update from translation team.
41135         * po/cs.po: Update from translation team.
41137         * po/de.po: Update from translation team.
41138         * po/eo.po: Likewise.
41139         * po/nl.po: Likewise.
41141 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41143         [BZ #14246]
41144         * manual/argp.texi (Argp Helper Functions): Move node to follow
41145         Argp Parsing State.
41147         [BZ #14872]
41148         * manual/conf.texi (Limits on File System Capacity): Mention if
41149         terminating null is included in the max size.
41151 2012-12-10  Andreas Jaeger  <aj@suse.de>
41153         * po/cs.po: Update from translation team.
41155 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41157         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41158         void pointer and cast to uintptr_t.
41159         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41160         path.
41161         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41162         * sysdeps/s390/s390-64/memset.S: Likewise.
41164 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41166         [BZ #14833]
41167         * menual/message.texi (Message Translation): Fix typos.
41168         (Helper programs for gettext): Likewise.
41170 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41172         [BZ #14898]
41173         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41174         Change to -1.
41176 2012-12-07  David S. Miller  <davem@davemloft.net>
41178         * po/libc.pot: Update.
41180 2012-12-07  Richard Henderson  <rth@redhat.com>
41182         [BZ #10114]
41183         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41184         normal/normal case to before the switch.
41185         (_FP_DIV): Likewise.
41187 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41188             Mike Frysinger  <vapier@gentoo.org>
41190         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41191         check for __NR_fadvise64_64.
41193 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41195         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41196         0, not just to plain "0" as a statement.
41197         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41198         with cw.
41200 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41202         * NEWS: Use sourceware.org in Bugzilla URL.
41204 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41207         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41209         * stdio-common/tst-put-error.c (do_test): Add newline to the
41210         padded test to ensure flush.
41212 2012-12-05  Jeff Law  <law@redhat.com>
41214         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41216 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41218         * README: Don't refer to ports add-on as distributed separately.
41219         Mention AArch64 in list of systems supported in the ports add-on.
41221         * LICENSES: Add more non-FSF copyright and license notices.
41223         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41224         ((unused)).
41226         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41228         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41229         10000 as width of padded output.
41231 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41233         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41235         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41236         variable LX with __attribute__ ((unused)).
41237         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41238         Likewise.
41239         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41240         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41241         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41242         with __attribute__ ((unused)).
41244 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41246         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41248 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41250         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41251         (CFLAGS-nldbl-acos.c): New variable.
41252         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41253         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41254         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41255         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41256         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41257         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41258         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41259         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41260         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41261         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41262         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41263         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41264         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41265         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41266         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41267         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41268         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41269         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41270         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41271         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41272         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41273         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41274         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41275         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41276         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41277         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41278         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41279         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41280         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41281         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41282         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41283         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41284         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41285         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41286         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41287         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41288         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41289         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41290         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41291         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41292         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41293         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41294         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41295         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41296         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41297         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41298         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41299         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41300         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41301         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41302         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41303         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41304         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41305         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41306         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41307         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41308         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41309         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41310         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41311         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41312         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41313         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41314         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41315         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41316         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41317         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41318         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41319         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41320         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41321         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41322         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41323         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41324         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41325         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41326         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41327         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41328         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41329         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41330         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41331         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41332         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41333         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41334         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41335         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41336         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41337         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41338         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41339         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41340         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41341         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41342         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41343         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41344         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41345         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41346         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41347         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41348         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41351         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41353         [BZ #14914]
41354         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41355         whole low double instead of just low 47 bits when splitting values
41356         into two parts.
41358 2012-12-03  Allan McRae  <allan@archlinux.org>
41360         * manual/stdio.texi (Predefined Printf Handlers): Remove
41361         @hsep and @vsep usage.
41363 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41365         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41366         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41368 2012-12-03  Jeff Law  <law@redhat.com>
41370         * time/sys/time.h (settimeofday): Do not mark TV argument
41371         as __nonnull.
41373 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41375         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41376         when currently writing and seek to current position when not.
41377         * libio/Makefile (tests): Remove bug-fclose1.
41378         * libio/bug-fclose1.c: Delete.
41380 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41382         * manual/arith.texi (feenableexcept): Fix typo.
41383         (fedisableexcept): Likewise.
41385 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41387         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41388         second, differently-typed declaration, rather than a cast.
41390 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41392         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41393         * include/rpc/svc.h: ... here.
41395 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41397         [BZ #13013]
41398         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41399         depending n and resplen2 to catch cases where answer
41400         equals answerp2.
41402 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41404         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41405         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41407 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41409         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41411 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41413         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41415 2012-11-28  Jeff Law  <law@redhat.com>
41417         [BZ #13761]
41418         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41419         dataset_temporary.  Track alloca usage into alloca_used.
41420         If dataset is large allocate and release it via malloc/free.
41422 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41424         [BZ #14197]
41425         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41427 2012-11-28  David S. Miller  <davem@davemloft.net>
41429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41431 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41433         [BZ #14803]
41434         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41435         of pi/2 rounded to nearest to 64 bits.
41436         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41437         nearest to 64 bits.
41438         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41439         bits.
41441 2012-11-28  Jeff Law <law@redhat.com>
41442             Martin Osvald <mosvald@redhat.com>
41444         [BZ #14889]
41445         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41446         * sunrpc/svc.c: Include time.h.
41447         (__svc_accept_failed): New function.
41448         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41449         any reason other than EINTR, call __svc_accept_failed.
41450         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41451         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41453 2012-11-28  Andreas Schwab  <schwab@suse.de>
41455         * scripts/abilist.awk: Also handle indirect functions in .opd
41456         section.
41458 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41460         [BZ #13881]
41461         * sysdeps/x86/fpu/powl_helper.c: New file.
41462         * sysdeps/x86/fpu/Makefile: Likewise.
41463         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41464         (p3): New object.
41465         (__ieee754_powl): Use __powl_helper for finite arguments except
41466         integer exponents below 8.
41467         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41468         (p3): New object.
41469         (__ieee754_powl): Use __powl_helper for finite arguments except
41470         integer exponents below 8.
41471         * math/libm-test.inc (pow_test): Add more tests and enable some
41472         previously disabled tests.
41473         * sysdeps/i386/fpu/libm-test-ulps: Update.
41474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41476 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41477             Carlos O'Donell  <carlos_odonell@mentor.com>
41479         * nss/makedb.c (is_prime): Assert that input is odd and greater
41480         than 4.  Note that fact in a comment too.
41481         (next_prime): Add 4 to input.
41483 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41485         [BZ #11741]
41486         * libio/Makefile (tests): Add test case tst-fwrite-error.
41487         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41488         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41489         * libio/tst-fwrite-error.c: New test case.
41491 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41493         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41494         before casting to void *.
41495         * include/libc-internal.h (__pointer_type): New macro.
41496         (__integer_if_pointer_type_sub): Likewise.
41497         (__integer_if_pointer_type): Likewise.
41498         (cast_to_integer): Likewise.
41499         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41500         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41501         before casting to atomic64_t.
41502         (atomic_exchange_acq): Likewise.
41503         (__arch_exchange_and_add_body): Likewise.
41504         (__arch_add_body): Likewise.
41505         (atomic_add_negative): Likewise.
41506         (atomic_add_zero): Likewise.
41508 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41510         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41511         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41512         (add_fdes): Likewise.
41513         (linear_search_fdes): Likewise.
41514         (binary_search_unencoded_fdes): Likewise.
41516 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41518         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41520 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41522         * configure.in: Autodetect C++ header directories.
41523         * configure: Regenerated.
41525 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41527         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41529 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41533 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41535         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41536         LDBL_MANT_DIG == 106]: Disable some tests.
41537         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41538         Likewise.
41539         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41540         Likewise.
41542         [BZ #14871]
41543         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41544         input for small inputs.  Return +/- pi/2 for large inputs.
41545         * math/libm-test.inc (atan_test): Add more tests.
41547         * sysdeps/generic/unwind-dw2-fde-glibc.c
41548         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41549         __attribute__ ((unused)).
41551         [BZ #14645]
41552         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41553         x * y if x and y are nonzero and z is zero.
41555         [BZ #14811]
41556         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41557         nonzero exponents with absolute value below 0x1p-117 to +/-
41558         0x1p-117.
41560         [BZ #14869]
41561         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41562         up arguments below 2**-450, not just those below 2**-500.
41563         * math/libm-test.inc (hypot_test): Add another test.
41565         [BZ #14868]
41566         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41567         Return a+b for ratio over 2**120, not 2**60.
41568         * math/libm-test.inc (hypot_test): Add another test.
41570         * math/libm-test.inc (clog_test): Use
41571         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41572         (clog10_test): Likewise.
41574         [BZ #6778]
41575         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41577 2012-11-22  Andreas Schwab  <schwab@suse.de>
41579         * sysdeps/i386/fpu/libm-test-ulps: Update.
41581 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41583         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41584         printf output with newline.
41586 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41588         [BZ #14865]
41589         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41590         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41591         -z nodlopen, -z initfirst and -z execstack support.
41592         * configure: Regenerated.
41594         * elf/elf.h (DF_1_NODIRECT): New macro.
41595         (DF_1_IGNMULDEF): Likewise.
41596         (DF_1_NOKSYMS): Likewise.
41597         (DF_1_NOHDR): Likewise.
41598         (DF_1_EDITED): Likewise.
41599         (DF_1_NORELOC): Likewise.
41600         (DF_1_SYMINTPOSE): Likewise.
41601         (DF_1_GLOBAUDIT): Likewise.
41602         (DF_1_SINGLETON): Likewise.
41603         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41604         DT_1_SUPPORTED_MASK bits.
41605         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41607 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41609         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41611 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41613         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41614         macro.
41616         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41617         (sendmmsg): Move declarations...
41618         * socket/sys/socket.h: ... here.
41619         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41620         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41621         include it from...
41622         * socket/recvmmsg.c: ... this new file.
41623         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41624         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41625         definition of __sendmmsg hidden.
41626         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41627         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41628         Move ENOSYS stub into and include it from...
41629         * socket/sendmmsg.c: ... this new file.
41630         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41631         (sysdep_routines): Move recvmmsg and sendmmsg...
41632         * socket/Makefile (routines): ... here.
41633         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41634         (GLIBC_PRIVATE): Add __sendmmsg.
41635         * include/sys/socket.h (__sendmmsg): Add declarations.
41636         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41637         sendmmsg.
41639 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41641         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41642         variable I1 with __attribute__ ((unused)).
41643         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41645 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41647         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41648         DUMMY variables with __attribute__ ((unused)).
41650         * bits/byteswap.h: Include <bits/types.h>.
41651         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41653 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41655         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41656         string_t.  Do not manually set errno.
41657         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41658         length with __strnlen.  Make sure to both set errno and return it on
41659         failure.
41661 2012-11-19  David S. Miller  <davem@davemloft.net>
41663         With help from Joseph Myers.
41664         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41665         very large arguments properly.
41666         * math/libm-test.inc (atan_test): New tests.
41667         (atan2_test): New tests.
41668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41669         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41671 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41673         [BZ #14856]
41674         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41675         Define to 3.
41677         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41678         [POSIX] (EADDRNOTAVAIL): Likewise.
41679         [POSIX] (EAFNOSUPPORT): Likewise.
41680         [POSIX] (EALREADY): Likewise.
41681         [POSIX] (ECONNABORTED): Likewise.
41682         [POSIX] (ECONNREFUSED): Likewise.
41683         [POSIX] (ECONNRESET): Likewise.
41684         [POSIX] (EDESTADDRREQ): Likewise.
41685         [POSIX] (EDQUOT): Likewise.
41686         [POSIX] (EHOSTUNREACH): Likewise.
41687         [POSIX] (EIDRM): Likewise.
41688         [POSIX] (EISCONN): Likewise.
41689         [POSIX] (ELOOP): Likewise.
41690         [POSIX] (EMULTIHOP): Likewise.
41691         [POSIX] (ENETDOWN): Likewise.
41692         [POSIX] (ENETUNREACH): Likewise.
41693         [POSIX] (ENOBUFS): Likewise.
41694         [POSIX] (ENODATA): Likewise.
41695         [POSIX] (ENOLINK): Likewise.
41696         [POSIX] (ENOMSG): Likewise.
41697         [POSIX] (ENOPROTOOPT): Likewise.
41698         [POSIX] (ENOSR): Likewise.
41699         [POSIX] (ENOSTR): Likewise.
41700         [POSIX] (ENOTCONN): Likewise.
41701         [POSIX] (ENOTSOCK): Likewise.
41702         [POSIX] (EOPNOTSUPP): Likewise.
41703         [POSIX] (EOVERFLOW): Likewise.
41704         [POSIX] (EPROTO): Likewise.
41705         [POSIX] (EPROTONOSUPPORT): Likewise.
41706         [POSIX] (EPROTOTYPE): Likewise.
41707         [POSIX] (ESTALE): Likewise.
41708         [POSIX] (ETIME): Likewise.
41709         [POSIX] (ETXTBSY): Likewise.
41710         [POSIX] (EWOULDBLOCK): Likewise.
41711         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41712         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41713         [POSIX] (SEEK_CUR): Likewise.
41714         [POSIX] (SEEK_END): Likewise.
41715         [POSIX || UNIX98] (mode_t): Do not require.
41716         [POSIX] (off_t): Likewise.
41717         [POSIX] (pid_t): Likewise.
41718         [POSIX] (sys/stat.h): Do not allow header.
41719         [POSIX] (unistd.h): Likewise.
41720         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41721         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41722         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41723         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41724         require.
41725         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41726         sigevent): Specify elements.
41727         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41728         entry.
41729         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41730         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41732         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41733         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41734         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41735         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41736         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41737         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41738         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41739         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41740         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41741         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41742         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41743         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41744         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41745         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41746         Likewise.
41747         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41748         Likewise.
41749         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41750         Likewise.
41751         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41752         Likewise.
41753         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41754         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41755         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41756         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41757         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41758         Specify lower bound on value.
41759         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41760         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41761         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41762         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41763         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41764         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41765         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41766         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41767         value.
41768         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41769         as optional.
41770         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41771         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41772         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41773         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41774         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41775         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41776         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41777         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41778         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41779         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41780         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41781         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41782         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41783         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41784         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41785         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41786         entry.
41787         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41788         optional.
41789         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41790         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41791         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41792         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41793         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41794         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41795         Likewise.
41796         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41797         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41798         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41799         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41800         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41801         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41802         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41803         as optional.
41804         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41805         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41806         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41807         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41808         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41809         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41810         specify as optional.
41811         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41812         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41813         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41814         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41815         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41816         [XPG3] (NL_LANGMAX): Likewise.
41817         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41818         [POSIX || XPG3] (NL_NMAX): Likewise.
41819         [POSIX || XPG3] (NL_SETMAX): Likewise.
41820         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41821         [XPG3] (NZERO): Likewise.
41822         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41823         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41824         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41825         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41826         (REG_ERANGE): Expect.
41827         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41828         optional-constant.
41829         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41830         Use (void) in prototype.
41831         [POSIX] (*_t): Allow.
41832         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41833         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41834         (WRDE_BADVAL): Expect.
41836         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41837         expect.
41838         [XPG3 || XPG4] (O_RSYNC): Likewise.
41839         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41840         Likewise.
41841         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41842         [XPG3 || XPG4] (sigqueue): Likewise.
41843         [XPG3 || XPG4] (sigtimedwait): Likewise.
41844         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41845         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41846         [XPG3 || XPG4] (vsnprintf): Likewise.
41847         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41848         Likewise.
41849         [XPG3 || XPG4] (blksize_t): Likewise.
41850         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41851         Likewise.
41852         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41853         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41854         [XPG3 || XPG4] (struct itimerspec): Likewise.
41855         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41856         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41857         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41858         [XPG3 || XPG4] (clockid_t): Likewise.
41859         [XPG3 || XPG4] (timer_t): Likewise.
41860         [XPG3 || XPG4] (clock_getres): Likewise.
41861         [XPG3 || XPG4] (clock_gettime): Likewise.
41862         [XPG3 || XPG4] (clock_settime): Likewise.
41863         [XPG3 || XPG4] (nanosleep): Likewise.
41864         [XPG3 || XPG4] (timer_create): Likewise.
41865         [XPG3 || XPG4] (timer_delete): Likewise.
41866         [XPG3 || XPG4] (timer_gettime): Likewise.
41867         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41868         [XPG3 || XPG4] (timer_settime): Likewise.
41869         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41870         [XPG3 || XPG4] (getlogin_r): Likewise.
41871         [XPG3 || XPG4] (pread): Likewise.
41872         [XPG3 || XPG4] (pthread_atfork): Likewise.
41873         [XPG3 || XPG4] (pwrite): Likewise.
41875         [BZ #14835]
41876         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41877         <bits/siginfo.h>.
41879 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41881         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41882         finalizing MALLSTREAM.
41884         * sysdeps/mach/hurd/syncfs.c: New file.
41886 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41888         [BZ #14719]
41889         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41890         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41891         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41892         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41893         (_nss_dns_gethostbyname4_r): Likewise.
41894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41895         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41897 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41899         [BZ #13763]
41900         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41902 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41904         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41905         * elf/cache.c (print_entry): Print ",AArch64" for
41906         FLAG_AARCH64_LIB64
41908         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41909         * elf/cache.c (print_entry): Print ",hard-float" for
41910         FLAG_ARM_LIBHF.
41912 2012-11-18  David S. Miller  <davem@davemloft.net>
41914         With help from Joseph Myers.
41915         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41916         cutoff to 2**-13.
41917         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41918         cutoff to 2**-25.
41919         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41920         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41921         small.
41922         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41923         * math/libm-test.inc (y0_test): New tests.
41924         (y1_test): New tests.
41925         * sysdeps/i386/fpu/libm-test-ulps: Update.
41926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41929 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41931         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41932         64-bit targets.
41933         * configure: Regenerated.
41935 2012-11-17  David S. Miller  <davem@davemloft.net>
41937         [BZ #14811]
41938         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41939         nonzero exponents with absolute value below 0x1p-128 to +/-
41940         0x1p-128.
41942 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41944         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41946         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41948         * posix/getconf-speclist.c: New file.
41949         * posix/posix-envs.def: Likewise.
41950         * posix/confstr.c (START_ENV_GROUP): New macro.
41951         (END_ENV_GROUP): Likewise.
41952         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41953         (KNOWN_PRESENT_ENV_STRING): Likewise.
41954         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41955         (UNKNOWN_ENVIRONMENT): Likewise.
41956         (confstr): Include posix-envs.def instead of handling
41957         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41958         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41959         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41960         (END_ENV_GROUP): Likewise.
41961         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41962         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41963         (UNKNOWN_ENVIRONMENT): Likewise.
41964         (__sysconf): Include posix-envs.def instead of handling associated
41965         cases directly here.
41966         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41967         preprocessing getconf-speclist.c rather than running getconf or
41968         generating empty file.
41970 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41972         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41974 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41976         [BZ #14672]
41977         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41979 2012-11-16  David S. Miller  <davem@davemloft.net>
41981         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41982         smaller than LDBL_EPSILON/2.0L, just return xm1.
41984 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41986         * elf/tst-array1.c (init): Set constructor priority to 1000.
41987         (fini): Set destructor priority to 1000.
41988         * elf/tst-array2dep.c: Likewise.
41990 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41992         [BZ #11741]
41993         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41994         (_IO_new_file_xsputn): Also return EOF if none of the input
41995         data was written when overflow failed.
41996         * libio/iopadn.c (_IO_padn): Likewise.
41997         * libio/iowpadn.c (_IO_wpadn): Likewise.
41998         * stdio-common/tst-put-error.c: Add copyright notice.
41999         (do_test): Add case for printing padded string.
42000         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42001         _IO_padn returned error.
42002         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42003         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42004         return EOF.
42006 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42008         * libio/libioP.h: Add comment note that the references to C++
42009         bits are now obsolete.
42011 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42013         * math/libm-test.inc (check_complex): Use asprintf.
42015 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
42017         * debug/pcprofiledump.c (print_version): Update copyright year.
42018         * malloc/memusagestat.c (print_version): Likewise.
42020 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42022         [BZ #14831]
42023         * elf/Makefile (tests): Add tst-audit8.
42024         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42025         ($(objpfx)tst-audit8.out): New target.
42026         (tst-audit8-ENV): New variable.
42027         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42028         audit if l_reloc_result is NULL.
42029         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42030         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42031         * elf/tst-audit8.c: New file.
42033 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42035         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42036         * misc/Makefile (CFLAGS-select.c): Define.
42037         * posix/Makefile (CFLAGS-pause.c): Define.
42039 2012-11-13  David S. Miller  <davem@davemloft.net>
42041         * crypt/Makefile: Move test targets after toplevel Rules
42042         inclusion.  Grab any necessary sysdep routines when linking.
42043         * crypt/md5.c (md5_process_block): Remove define, we will always
42044         name it __md5_process_block.
42045         (md5_finish_ctx): Update md5_process_block call.
42046         (md5_stream): Likewise.
42047         (md5_process_bytes): Likewise.
42048         (md5_process_block): Rename to __md5_process_block and move to ...
42049         * crypt/md5-block.c: ... here.
42050         * crypt/sha256.c (sha256_process_block): Move to ...
42051         * crypt/sha256-block.c: ... here.
42052         * crypt/sha512.c (sha512_process_block): Move to ...
42053         * crypt/sha512-block.c: ... here.
42054         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42055         path.
42056         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42057         * sysdeps/sparc/sparc64/multiarch/Makefile
42058         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42059         crypt subdir.
42060         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42061         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42062         multiarch changes.
42063         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42064         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42065         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42066         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42067         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42068         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42069         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42070         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42071         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42072         file.
42073         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42074         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42075         file.
42076         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42078 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42080         * timezone/tzselect.ksh: Update from tzcode git revision
42081         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42082         * timezone/zdump.c: Likewise.
42083         * timezone/zic.c: Likewise.
42084         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42085         in TZVERSION setting, not $(PKGVERSION).
42086         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42087         REPORT_BUGS_TO settings.
42089         [BZ #14838]
42090         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42091         macro.
42093 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42095         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42096         detection to immediately after _FP_ROUND().
42097         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42098         bits are 0.
42100 2012-11-11  David S. Miller  <davem@davemloft.net>
42102         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42103         inttypes.h
42104         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42105         __close rather than their public counterparts.
42107 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42109         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42110         file.
42111         [UNIX98] (sem_timedwait): Do not expect.
42112         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42113         [XPG4 || UNIX98] (sockatmark): Do not expect.
42114         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42115         (clock_getcpuclockid): Do not expect.
42116         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42117         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42118         Do not expect.
42119         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42120         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42121         [UNIX98] (vwscanf): Likewise.
42122         [UNIX98] (vswscanf): Likewise.
42124 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42126         * timezone/version.h: Remove file.
42127         * timezone/README: Do not refer to version.h.
42128         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42129         $(objpfx)version.h.
42130         ($(objpfx)zdump.o): Likewise.
42131         ($(objpfx)version.h): New target.
42133         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42134         2012i.
42135         * timezone/README: Don't mention modification to tzselect.ksh.
42136         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42137         work on unmodified tzselect.ksh.  Substitute version numbers in
42138         tzselect.ksh.
42140         * Makefile (format-me): Remove.
42141         (INSTALL): Adjust indentation.  Use commands directly instead of
42142         using $(format-me).
42144         * aclocal.m4 (ACX_PKGVERSION): New macro.
42145         (ACX_BUGURL): Likewise.
42146         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42147         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42148         (REPORT_BUGS_TO): Likewise.
42149         * configure: Regenerated.
42150         * config.h.in (PKGVERSION): New macro.
42151         (REPORT_BUGS_TO): Likewise.
42152         * config.make.in (PKGVERSION): New variable.
42153         (PKGVERSION_TEXI): Likewise.
42154         (REPORT_BUGS_TO): Likewise.
42155         (REPORT_BUGS_TEXI): Likewise.
42156         * Makefile (format-me): Use -I$(common-objpfx)manual.
42157         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42158         ($(common-objpfx)manual/%): New target.
42159         (manual/%): Remove target.
42160         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42161         (print_version): Use PKGVERSION.
42162         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42163         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42164         and REPORT_BUGS_TO.
42165         ($(objpfx)xtrace): Likewise.
42166         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42167         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42168         (print_version): Use PKGVERSION.
42169         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42170         (do_version): Use PKGVERSION.
42171         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42172         REPORT_BUGS_TO.
42173         (common-ldd-rewrite): Likewise.
42174         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42175         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42176         (print_version): Use PKGVERSION.
42177         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42178         * elf/pldd.c (argp_program_bug_address): Remove variable.
42179         (more_help): New function.
42180         (argp): Use more_help.
42181         (print_version): Use PKGVERSION.
42182         * elf/sln.c (main): Use PKGVERSION.
42183         (usage): Use REPORT_BUGS_TO.
42184         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42185         (top level): Use PKGVERSION.
42186         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42187         (print_version): Use PKGVERSION.
42188         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42189         (print_version): Use PKGVERSION.
42190         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42191         (print_version): Use PKGVERSION.
42192         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42193         (print_version): Use PKGVERSION.
42194         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42195         (print_version): Use PKGVERSION.
42196         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42197         (print_version): Use PKGVERSION.
42198         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42199         and BUGURL.
42200         ($(objpfx)memusage): Likewise.
42201         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42202         (do_version): Use PKGVERSION.
42203         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42204         (print_version): Use PKGVERSION.
42205         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42206         ($PKGVERSION): New variable.
42207         ($REPORT_BUGS_TO): Likewise.
42208         (usage): Use $REPORT_BUGS_TO.
42209         (top level): Use $PKGVERSION.
42210         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42211         ($(objpfx)pkgvers.texi): New rule.
42212         ($(objpfx)stamp-pkgvers): Likewise.
42213         * manual/install.texi: Include pkgvers.texi.
42214         (--with-pkgversion): Document new configure option.
42215         (--with-bugurl): Likewise.
42216         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42217         than necessarily for this particular distribution.  Use
42218         REPORT_BUGS_TO for where to report bugs.
42219         * INSTALL: Regenerated.
42220         * manual/libc.texinfo: Include pkgvers.texi.
42221         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42222         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42223         (print_version): Use PKGVERSION.
42224         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42225         (print_version): Use PKGVERSION.
42226         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42227         (print_version): Use PKGVERSION.
42228         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42229         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42230         macro.
42231         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42232         (print_version): Use PKGVERSION.
42233         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42234         (print_version): Use PKGVERSION.
42235         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42236         and PKGVERSION.
42238         * timezone/checktab.awk: Update from tzcode 2012i.
42239         * timezone/ialloc.c: Likewise.
42240         * timezone/private.h: Likewise.
42241         * timezone/scheck.c: Likewise.
42242         * timezone/tzfile.h: Likewise.
42243         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42244         (TZVERSION): Hardcode tzcode version number.
42245         * timezone/zdump.c: Update from tzcode 2012i.
42246         * timezone/zic.c: Likewise.
42247         * timezone/version.h: New file.
42248         * timezone/README: Describe version.h.  Update upstream location.
42250         [BZ #14824]
42251         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42252         (mktemp): Enable declaration.
42253         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42254         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42255         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42256         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42257         Likewise.
42258         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42259         Likewise.
42260         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42261         Likewise.
42262         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42263         Likewise.
42264         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42265         Likewise.
42266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42267         Likewise.
42269         [BZ #14821]
42270         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42271         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42272         for copies of such integer values.
42273         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42274         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42276 2012-11-09  Andreas Jaeger  <aj@suse.de>
42278         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42279         definitions and declarations that are provided by
42280         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42282 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42284         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42285         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42286         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42287         definition.
42289 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42291         * elf/elf.h: Update comment before AArch64 relocations.
42293 2012-11-07  David S. Miller  <davem@davemloft.net>
42295         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42296         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42297         (__start_context): Declare.
42298         (__makecontext_ret): Delete.
42299         (__makecontext): Hook up __start_context instead of
42300         __makecontext_ret.
42301         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42302         (sysdep_routines): Add __start_context when in stdlib.
42304 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42306         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42307         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42308         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42309         hardcoded "nm".
42310         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42311         (READELF): New variable.  Use it instead of hardcoded "readelf".
42313 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42315         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42316         * sysdeps/x86/Makefile: Here.
42317         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42318         * sysdeps/x86/tst-xmmymm.sh: This.
42320 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42322         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42323         expectations.
42324         [UNIX98] (pthread_barrier_t): Do not expect.
42325         [UNIX98] (pthread_barrierattr_t): Likewise.
42326         [UNIX98] (pthread_spinlock_t): Likewise.
42327         [UNIX98] (pthread_barrier_destroy): Likewise.
42328         [UNIX98] (pthread_barrier_init): Likewise.
42329         [UNIX98] (pthread_barrier_wait): Likewise.
42330         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42331         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42332         [UNIX98] (pthread_barrierattr_init): Likewise.
42333         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42334         [UNIX98] (pthread_getcpuclockid): Likewise.
42335         [UNIX98] (pthread_mutex_timedlock): Likewise.
42336         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42337         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42338         [UNIX98] (pthread_sigmask): Likewise.
42339         [UNIX98] (pthread_spin_destroy): Likewise.
42340         [UNIX98] (pthread_spin_init): Likewise.
42341         [UNIX98] (pthread_spin_lock): Likewise.
42342         [UNIX98] (pthread_spin_trylock): Likewise.
42343         [UNIX98] (pthread_spin_unlock): Likewise.
42344         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42345         Do not expect.
42346         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42347         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42348         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42349         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42350         [XPG3 || XPG4] (pthread_key_t): Likewise.
42351         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42352         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42353         [XPG3 || XPG4] (pthread_once_t): Likewise.
42354         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42355         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42356         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42357         [XPG3 || XPG4] (pthread_t): Likewise.
42359         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42360         not expect.
42361         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42363         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42364         Change function return type to int.
42366         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42367         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42368         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42369         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42370         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42371         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42372         [!POSIX] (posix_madvise): Likewise.
42373         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42374         && !UNIX98].
42375         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42376         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42377         (mode_t): Likewise.
42378         (posix_mem_offset): Likewise.
42379         (posix_typed_mem_get_info): Likewise.
42380         (posix_typed_mem_open): Likewise.
42382         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42383         Change condition to [XOPEN2K8].
42385         * conform/conformtest.pl: Preprocess allow-header data with -x c
42386         instead of from stdin.
42387         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42388         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42389         [C99-based standards] (cerfc): Likewise.
42390         [C99-based standards] (cexp2): Likewise.
42391         [C99-based standards] (cexpm1): Likewise.
42392         [C99-based standards] (clog10): Likewise.
42393         [C99-based standards] (clog1p): Likewise.
42394         [C99-based standards] (clog2): Likewise.
42395         [C99-based standards] (clgamma): Likewise.
42396         [C99-based standards] (ctgamma): Likewise.
42397         [C99-based standards] (cerff): Likewise.
42398         [C99-based standards] (cerfcf): Likewise.
42399         [C99-based standards] (cexp2f): Likewise.
42400         [C99-based standards] (cexpm1f): Likewise.
42401         [C99-based standards] (clog10f): Likewise.
42402         [C99-based standards] (clog1pf): Likewise.
42403         [C99-based standards] (clog2f): Likewise.
42404         [C99-based standards] (clgammaf): Likewise.
42405         [C99-based standards] (ctgammaf): Likewise.
42406         [C99-based standards] (cerfl): Likewise.
42407         [C99-based standards] (cerfcl): Likewise.
42408         [C99-based standards] (cexp2l): Likewise.
42409         [C99-based standards] (cexpm1l): Likewise.
42410         [C99-based standards] (clog10l): Likewise.
42411         [C99-based standards] (clog1pl): Likewise.
42412         [C99-based standards] (clog2l): Likewise.
42413         [C99-based standards] (clgammal): Likewise.
42414         [C99-based standards] (ctgammal): Likewise.
42415         * conform/data/inttypes.h-data [C99-based standards]: Include
42416         stdint.h-data.  Remove all expectations for stdint.h contents.
42417         [C99-based standards] (PRI*): Do not allow.
42418         [C99-based standards] (SCN*): Likewise.
42419         [C99-based standards] (*_t): Likewise.
42420         [C99-based-standards] (PRId8): Expect macro.
42421         [C99-based-standards] (PRIi8): Likewise.
42422         [C99-based-standards] (PRIo8): Likewise.
42423         [C99-based-standards] (PRIu8): Likewise.
42424         [C99-based-standards] (PRIx8): Likewise.
42425         [C99-based-standards] (PRIX8): Likewise.
42426         [C99-based-standards] (SCNd8): Likewise.
42427         [C99-based-standards] (SCNi8): Likewise.
42428         [C99-based-standards] (SCNo8): Likewise.
42429         [C99-based-standards] (SCNu8): Likewise.
42430         [C99-based-standards] (SCNx8): Likewise.
42431         [C99-based-standards] (PRIdLEAST8): Likewise.
42432         [C99-based-standards] (PRIiLEAST8): Likewise.
42433         [C99-based-standards] (PRIoLEAST8): Likewise.
42434         [C99-based-standards] (PRIuLEAST8): Likewise.
42435         [C99-based-standards] (PRIxLEAST8): Likewise.
42436         [C99-based-standards] (PRIXLEAST8): Likewise.
42437         [C99-based-standards] (SCNdLEAST8): Likewise.
42438         [C99-based-standards] (SCNiLEAST8): Likewise.
42439         [C99-based-standards] (SCNoLEAST8): Likewise.
42440         [C99-based-standards] (SCNuLEAST8): Likewise.
42441         [C99-based-standards] (SCNxLEAST8): Likewise.
42442         [C99-based-standards] (PRIdFAST8): Likewise.
42443         [C99-based-standards] (PRIiFAST8): Likewise.
42444         [C99-based-standards] (PRIoFAST8): Likewise.
42445         [C99-based-standards] (PRIuFAST8): Likewise.
42446         [C99-based-standards] (PRIxFAST8): Likewise.
42447         [C99-based-standards] (PRIXFAST8): Likewise.
42448         [C99-based-standards] (SCNdFAST8): Likewise.
42449         [C99-based-standards] (SCNiFAST8): Likewise.
42450         [C99-based-standards] (SCNoFAST8): Likewise.
42451         [C99-based-standards] (SCNuFAST8): Likewise.
42452         [C99-based-standards] (SCNxFAST8): Likewise.
42453         [C99-based-standards] (PRId16): Likewise.
42454         [C99-based-standards] (PRIi16): Likewise.
42455         [C99-based-standards] (PRIo16): Likewise.
42456         [C99-based-standards] (PRIu16): Likewise.
42457         [C99-based-standards] (PRIx16): Likewise.
42458         [C99-based-standards] (PRIX16): Likewise.
42459         [C99-based-standards] (SCNd16): Likewise.
42460         [C99-based-standards] (SCNi16): Likewise.
42461         [C99-based-standards] (SCNo16): Likewise.
42462         [C99-based-standards] (SCNu16): Likewise.
42463         [C99-based-standards] (SCNx16): Likewise.
42464         [C99-based-standards] (PRIdLEAST16): Likewise.
42465         [C99-based-standards] (PRIiLEAST16): Likewise.
42466         [C99-based-standards] (PRIoLEAST16): Likewise.
42467         [C99-based-standards] (PRIuLEAST16): Likewise.
42468         [C99-based-standards] (PRIxLEAST16): Likewise.
42469         [C99-based-standards] (PRIXLEAST16): Likewise.
42470         [C99-based-standards] (SCNdLEAST16): Likewise.
42471         [C99-based-standards] (SCNiLEAST16): Likewise.
42472         [C99-based-standards] (SCNoLEAST16): Likewise.
42473         [C99-based-standards] (SCNuLEAST16): Likewise.
42474         [C99-based-standards] (SCNxLEAST16): Likewise.
42475         [C99-based-standards] (PRIdFAST16): Likewise.
42476         [C99-based-standards] (PRIiFAST16): Likewise.
42477         [C99-based-standards] (PRIoFAST16): Likewise.
42478         [C99-based-standards] (PRIuFAST16): Likewise.
42479         [C99-based-standards] (PRIxFAST16): Likewise.
42480         [C99-based-standards] (PRIXFAST16): Likewise.
42481         [C99-based-standards] (SCNdFAST16): Likewise.
42482         [C99-based-standards] (SCNiFAST16): Likewise.
42483         [C99-based-standards] (SCNoFAST16): Likewise.
42484         [C99-based-standards] (SCNuFAST16): Likewise.
42485         [C99-based-standards] (SCNxFAST16): Likewise.
42486         [C99-based-standards] (PRId32): Likewise.
42487         [C99-based-standards] (PRIi32): Likewise.
42488         [C99-based-standards] (PRIo32): Likewise.
42489         [C99-based-standards] (PRIu32): Likewise.
42490         [C99-based-standards] (PRIx32): Likewise.
42491         [C99-based-standards] (PRIX32): Likewise.
42492         [C99-based-standards] (SCNd32): Likewise.
42493         [C99-based-standards] (SCNi32): Likewise.
42494         [C99-based-standards] (SCNo32): Likewise.
42495         [C99-based-standards] (SCNu32): Likewise.
42496         [C99-based-standards] (SCNx32): Likewise.
42497         [C99-based-standards] (PRIdLEAST32): Likewise.
42498         [C99-based-standards] (PRIiLEAST32): Likewise.
42499         [C99-based-standards] (PRIoLEAST32): Likewise.
42500         [C99-based-standards] (PRIuLEAST32): Likewise.
42501         [C99-based-standards] (PRIxLEAST32): Likewise.
42502         [C99-based-standards] (PRIXLEAST32): Likewise.
42503         [C99-based-standards] (SCNdLEAST32): Likewise.
42504         [C99-based-standards] (SCNiLEAST32): Likewise.
42505         [C99-based-standards] (SCNoLEAST32): Likewise.
42506         [C99-based-standards] (SCNuLEAST32): Likewise.
42507         [C99-based-standards] (SCNxLEAST32): Likewise.
42508         [C99-based-standards] (PRIdFAST32): Likewise.
42509         [C99-based-standards] (PRIiFAST32): Likewise.
42510         [C99-based-standards] (PRIoFAST32): Likewise.
42511         [C99-based-standards] (PRIuFAST32): Likewise.
42512         [C99-based-standards] (PRIxFAST32): Likewise.
42513         [C99-based-standards] (PRIXFAST32): Likewise.
42514         [C99-based-standards] (SCNdFAST32): Likewise.
42515         [C99-based-standards] (SCNiFAST32): Likewise.
42516         [C99-based-standards] (SCNoFAST32): Likewise.
42517         [C99-based-standards] (SCNuFAST32): Likewise.
42518         [C99-based-standards] (SCNxFAST32): Likewise.
42519         [C99-based-standards] (PRId64): Likewise.
42520         [C99-based-standards] (PRIi64): Likewise.
42521         [C99-based-standards] (PRIo64): Likewise.
42522         [C99-based-standards] (PRIu64): Likewise.
42523         [C99-based-standards] (PRIx64): Likewise.
42524         [C99-based-standards] (PRIX64): Likewise.
42525         [C99-based-standards] (SCNd64): Likewise.
42526         [C99-based-standards] (SCNi64): Likewise.
42527         [C99-based-standards] (SCNo64): Likewise.
42528         [C99-based-standards] (SCNu64): Likewise.
42529         [C99-based-standards] (SCNx64): Likewise.
42530         [C99-based-standards] (PRIdLEAST64): Likewise.
42531         [C99-based-standards] (PRIiLEAST64): Likewise.
42532         [C99-based-standards] (PRIoLEAST64): Likewise.
42533         [C99-based-standards] (PRIuLEAST64): Likewise.
42534         [C99-based-standards] (PRIxLEAST64): Likewise.
42535         [C99-based-standards] (PRIXLEAST64): Likewise.
42536         [C99-based-standards] (SCNdLEAST64): Likewise.
42537         [C99-based-standards] (SCNiLEAST64): Likewise.
42538         [C99-based-standards] (SCNoLEAST64): Likewise.
42539         [C99-based-standards] (SCNuLEAST64): Likewise.
42540         [C99-based-standards] (SCNxLEAST64): Likewise.
42541         [C99-based-standards] (PRIdFAST64): Likewise.
42542         [C99-based-standards] (PRIiFAST64): Likewise.
42543         [C99-based-standards] (PRIoFAST64): Likewise.
42544         [C99-based-standards] (PRIuFAST64): Likewise.
42545         [C99-based-standards] (PRIxFAST64): Likewise.
42546         [C99-based-standards] (PRIXFAST64): Likewise.
42547         [C99-based-standards] (SCNdFAST64): Likewise.
42548         [C99-based-standards] (SCNiFAST64): Likewise.
42549         [C99-based-standards] (SCNoFAST64): Likewise.
42550         [C99-based-standards] (SCNuFAST64): Likewise.
42551         [C99-based-standards] (SCNxFAST64): Likewise.
42552         [C99-based-standards] (PRIdMAX): Likewise.
42553         [C99-based-standards] (PRIiMAX): Likewise.
42554         [C99-based-standards] (PRIoMAX): Likewise.
42555         [C99-based-standards] (PRIuMAX): Likewise.
42556         [C99-based-standards] (PRIxMAX): Likewise.
42557         [C99-based-standards] (PRIXMAX): Likewise.
42558         [C99-based-standards] (SCNdMAX): Likewise.
42559         [C99-based-standards] (SCNiMAX): Likewise.
42560         [C99-based-standards] (SCNoMAX): Likewise.
42561         [C99-based-standards] (SCNuMAX): Likewise.
42562         [C99-based-standards] (SCNxMAX): Likewise.
42563         [C99-based-standards] (PRIdPTR): Likewise.
42564         [C99-based-standards] (PRIiPTR): Likewise.
42565         [C99-based-standards] (PRIoPTR): Likewise.
42566         [C99-based-standards] (PRIuPTR): Likewise.
42567         [C99-based-standards] (PRIxPTR): Likewise.
42568         [C99-based-standards] (PRIXPTR): Likewise.
42569         [C99-based-standards] (SCNdPTR): Likewise.
42570         [C99-based-standards] (SCNiPTR): Likewise.
42571         [C99-based-standards] (SCNoPTR): Likewise.
42572         [C99-based-standards] (SCNuPTR): Likewise.
42573         [C99-based-standards] (SCNxPTR): Likewise.
42574         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42575         allow.
42576         * conform/data/stdint.h-data: Update comments to clarify
42577         requirements.
42578         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42579         type.
42580         [C99-based standards] (INT8_MAX): Likewise.
42581         [C99-based standards] (INT16_MIN): Likewise.
42582         [C99-based standards] (INT16_MAX): Likewise.
42583         [C99-based standards] (INT32_MIN): Likewise.
42584         [C99-based standards] (INT32_MAX): Likewise.
42585         [C99-based standards] (INT64_MIN): Likewise.
42586         [C99-based standards] (INT64_MAX): Likewise.
42587         [C99-based standards] (UINT8_MAX): Likewise.
42588         [C99-based standards] (UINT16_MAX): Likewise.
42589         [C99-based standards] (UINT32_MAX): Likewise.
42590         [C99-based standards] (UINT64_MAX): Likewise.
42591         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42592         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42593         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42594         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42595         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42596         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42597         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42598         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42599         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42600         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42601         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42602         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42603         [C99-based standards] (INT_FAST8_MIN): Likewise.
42604         [C99-based standards] (INT_FAST8_MAX): Likewise.
42605         [C99-based standards] (INT_FAST16_MIN): Likewise.
42606         [C99-based standards] (INT_FAST16_MAX): Likewise.
42607         [C99-based standards] (INT_FAST32_MIN): Likewise.
42608         [C99-based standards] (INT_FAST32_MAX): Likewise.
42609         [C99-based standards] (INT_FAST64_MIN): Likewise.
42610         [C99-based standards] (INT_FAST64_MAX): Likewise.
42611         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42612         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42613         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42614         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42615         [C99-based standards] (INTPTR_MIN): Likewise.
42616         [C99-based standards] (INTPTR_MAX): Likewise.
42617         [C99-based standards] (UINTPTR_MAX): Likewise.
42618         [C99-based standards] (INTMAX_MIN): Likewise.
42619         [C99-based standards] (INTMAX_MAX): Likewise.
42620         [C99-based standards] (UINTMAX_MAX): Likewise.
42621         [C99-based standards] (PTRDIFF_MIN): Likewise.
42622         [C99-based standards] (PTRDIFF_MAX): Likewise.
42623         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42624         [C99-based standards] (SIZE_MAX): Likewise.
42625         [C99-based standards] (WCHAR_MAX): Likewise.
42626         [C99-based standards] (WINT_MAX): Likewise.
42627         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42628         constraint on value.
42629         [C99-based standards] (WCHAR_MIN): Likewise.
42630         [C99-based standards] (WINT_MIN): Likewise.
42631         [C99-based standards] (*_t): Allow.
42632         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42633         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42634         Include math.h-data and complex.h-data.  Remove all expectations
42635         of math.h and complex.h contents.
42636         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42637         at end of line.
42638         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42639         (struct tm): Expect tag.
42640         [C99-based-standards] (wcstof): Expect function.
42641         [C99-based-standards] (wcstold): Likewise.
42642         [C99-based-standards] (wcstoll): Likewise.
42643         [C99-based-standards] (wcstoull): Likewise.
42644         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42645         macro-int-constant.  Specify type.
42646         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42647         constraint on value.
42648         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42649         Specify type.
42650         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42651         Specify value.
42652         [ISO C standards]: Do not allow headers.
42653         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42654         wcs[abcdefghijklmnopqrstuvwxyz]*.
42655         [ISO C standards] (*_t): Do not allow.
42656         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42657         Expect function.
42658         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42659         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42660         Specify type.
42661         [ISO C standards]: Do not allow headers.
42662         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42663         is[abcdefghijklmnopqrstuvwxyz]*.
42664         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42665         to[abcdefghijklmnopqrstuvwxyz]*.
42666         [ISO C standards] (*_t): Do not allow.
42667         * conform/data/stdalign.h-data: New file.
42668         * conform/data/stdbool.h-data: Likewise.
42669         * conform/data/stdnoreturn.h-data: Likewise.
42671 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42673         [BZ #14815]
42674         * manual/filesys.texi (Directory Entries): Typo fix.
42675         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42677 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42679         * elf/elf.h (EM_AARCH64): New macro.
42680         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42681         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42682         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42683         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42684         (R_AARCH64_TLSDESC): Likewise.
42685         (NT_ARM_TLS): Likewise.
42686         (NT_ARM_HW_BREAK): Likewise.
42687         (NT_ARM_HW_WATCH): Likewise.
42689 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42691         [BZ #14811]
42692         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42693         (__ieee754_powl): Saturate nonzero exponents with absolute value
42694         below 0x1p-79 to +/- 0x1p-79.
42695         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42696         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42697         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42698         nonzero exponents with absolute value below 0x1p-32 to +/-
42699         0x1p-32.
42700         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42701         (__ieee754_powl): Saturate nonzero exponents with absolute value
42702         below 0x1p-79 to +/- 0x1p-79.
42703         * math/libm-test.inc (pow_test): Add more tests.
42705 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42707         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42708         _dl_s390_cap_flags with kernel. Increase string length.
42709         (_dl_s390_platforms): Add z196 and zEC12.
42711 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42713         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42714         Change XOPEN21K to XOPEN2K.
42716 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42718         * string/memmove.c: Use memcpy when possible.
42720 2012-11-06  Andreas Jaeger  <aj@suse.de>
42722         * po/eo.po: Update from translation team.
42724 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42726         [BZ #14793]
42727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42728         exponent and small x and y exponents, scale x or y up.  Increase
42729         by 2 the exponent used in scaling up.
42730         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42731         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42732         * math/libm-test.inc (fma_test): Add more tests.
42733         (fma_test_towardzero): Likewise.
42734         (fma_test_downward): Likewise.
42735         (fma_test_upward): Likewise.
42737 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42739         [BZ #14805]
42740         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42741         fenv_t *.
42743         [BZ #14801]
42744         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42745         namespace for names of struct fields.
42746         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42747         fenv_t fields.
42748         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42749         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42751 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42753         [BZ #3665]
42754         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42756 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42758         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42759         PTR_DEMANGLE.
42761         [BZ #5246]
42762         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42763         PTR_DEMANGLE.
42765 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42767         [BZ #14797]
42768         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42769         definitely overflow as x * y not x * y + z.
42770         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42771         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42772         * math/libm-test.inc (fma_test): Add more tests.
42773         (fma_test_towardzero): Likewise.
42774         (fma_test_downward): Likewise.
42775         (fma_test_upward): Likewise.
42777 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42779         [BZ #157]
42781         * include/stub-tag.h: Remove file.
42782         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42783         '#include' of it.
42784         * manual/maint.texi (Porting): Don't reference it.
42785         * Makerules ($(objpfx)stubs): Likewise.
42786         * dirent/closedir.c: Don't include <stub-tag.h>.
42787         * dirent/dirfd.c: Likewise.
42788         * dirent/fdopendir.c: Likewise.
42789         * dirent/getdents.c: Likewise.
42790         * dirent/getdents64.c: Likewise.
42791         * dirent/opendir.c: Likewise.
42792         * dirent/readdir.c: Likewise.
42793         * dirent/readdir64.c: Likewise.
42794         * dirent/readdir64_r.c: Likewise.
42795         * dirent/readdir_r.c: Likewise.
42796         * dirent/rewinddir.c: Likewise.
42797         * dirent/seekdir.c: Likewise.
42798         * dirent/telldir.c: Likewise.
42799         * gmon/profil.c: Likewise.
42800         * grp/setgroups.c: Likewise.
42801         * inet/if_index.c: Likewise.
42802         * io/access.c: Likewise.
42803         * io/chdir.c: Likewise.
42804         * io/chmod.c: Likewise.
42805         * io/chown.c: Likewise.
42806         * io/close.c: Likewise.
42807         * io/dup.c: Likewise.
42808         * io/dup2.c: Likewise.
42809         * io/dup3.c: Likewise.
42810         * io/euidaccess.c: Likewise.
42811         * io/faccessat.c: Likewise.
42812         * io/fchdir.c: Likewise.
42813         * io/fchmod.c: Likewise.
42814         * io/fchmodat.c: Likewise.
42815         * io/fchown.c: Likewise.
42816         * io/fchownat.c: Likewise.
42817         * io/fcntl.c: Likewise.
42818         * io/flock.c: Likewise.
42819         * io/fstatfs.c: Likewise.
42820         * io/fstatfs64.c: Likewise.
42821         * io/fstatvfs.c: Likewise.
42822         * io/fstatvfs64.c: Likewise.
42823         * io/futimens.c: Likewise.
42824         * io/fxstat.c: Likewise.
42825         * io/fxstat64.c: Likewise.
42826         * io/fxstatat.c: Likewise.
42827         * io/fxstatat64.c: Likewise.
42828         * io/getcwd.c: Likewise.
42829         * io/isatty.c: Likewise.
42830         * io/lchmod.c: Likewise.
42831         * io/lchown.c: Likewise.
42832         * io/link.c: Likewise.
42833         * io/linkat.c: Likewise.
42834         * io/lseek.c: Likewise.
42835         * io/lseek64.c: Likewise.
42836         * io/lxstat64.c: Likewise.
42837         * io/mkdir.c: Likewise.
42838         * io/mkdirat.c: Likewise.
42839         * io/mkfifo.c: Likewise.
42840         * io/mkfifoat.c: Likewise.
42841         * io/open.c: Likewise.
42842         * io/open64.c: Likewise.
42843         * io/openat.c: Likewise.
42844         * io/openat64.c: Likewise.
42845         * io/pipe.c: Likewise.
42846         * io/pipe2.c: Likewise.
42847         * io/poll.c: Likewise.
42848         * io/posix_fadvise.c: Likewise.
42849         * io/posix_fadvise64.c: Likewise.
42850         * io/posix_fallocate.c: Likewise.
42851         * io/posix_fallocate64.c: Likewise.
42852         * io/read.c: Likewise.
42853         * io/readlink.c: Likewise.
42854         * io/readlinkat.c: Likewise.
42855         * io/rmdir.c: Likewise.
42856         * io/sendfile.c: Likewise.
42857         * io/sendfile64.c: Likewise.
42858         * io/statfs.c: Likewise.
42859         * io/statfs64.c: Likewise.
42860         * io/statvfs.c: Likewise.
42861         * io/statvfs64.c: Likewise.
42862         * io/symlink.c: Likewise.
42863         * io/symlinkat.c: Likewise.
42864         * io/ttyname.c: Likewise.
42865         * io/ttyname_r.c: Likewise.
42866         * io/umask.c: Likewise.
42867         * io/unlink.c: Likewise.
42868         * io/unlinkat.c: Likewise.
42869         * io/utime.c: Likewise.
42870         * io/utimensat.c: Likewise.
42871         * io/write.c: Likewise.
42872         * io/xmknod.c: Likewise.
42873         * io/xmknodat.c: Likewise.
42874         * io/xstat.c: Likewise.
42875         * io/xstat64.c: Likewise.
42876         * login/getpt.c: Likewise.
42877         * login/grantpt.c: Likewise.
42878         * login/unlockpt.c: Likewise.
42879         * math/e_acoshl.c: Likewise.
42880         * math/e_acosl.c: Likewise.
42881         * math/e_asinl.c: Likewise.
42882         * math/e_atan2l.c: Likewise.
42883         * math/e_atanhl.c: Likewise.
42884         * math/e_coshl.c: Likewise.
42885         * math/e_expl.c: Likewise.
42886         * math/e_fmodl.c: Likewise.
42887         * math/e_gammal_r.c: Likewise.
42888         * math/e_hypotl.c: Likewise.
42889         * math/e_j0l.c: Likewise.
42890         * math/e_j1l.c: Likewise.
42891         * math/e_jnl.c: Likewise.
42892         * math/e_lgammal_r.c: Likewise.
42893         * math/e_log10l.c: Likewise.
42894         * math/e_log2l.c: Likewise.
42895         * math/e_logl.c: Likewise.
42896         * math/e_powl.c: Likewise.
42897         * math/e_rem_pio2l.c: Likewise.
42898         * math/e_sinhl.c: Likewise.
42899         * math/e_sqrtl.c: Likewise.
42900         * math/fclrexcpt.c: Likewise.
42901         * math/fedisblxcpt.c: Likewise.
42902         * math/feenablxcpt.c: Likewise.
42903         * math/fegetenv.c: Likewise.
42904         * math/fegetexcept.c: Likewise.
42905         * math/fegetround.c: Likewise.
42906         * math/feholdexcpt.c: Likewise.
42907         * math/fesetenv.c: Likewise.
42908         * math/fesetround.c: Likewise.
42909         * math/feupdateenv.c: Likewise.
42910         * math/fgetexcptflg.c: Likewise.
42911         * math/fraiseexcpt.c: Likewise.
42912         * math/fsetexcptflg.c: Likewise.
42913         * math/ftestexcept.c: Likewise.
42914         * math/k_cosl.c: Likewise.
42915         * math/k_rem_pio2l.c: Likewise.
42916         * math/k_sinl.c: Likewise.
42917         * math/k_tanl.c: Likewise.
42918         * math/s_asinhl.c: Likewise.
42919         * math/s_atanl.c: Likewise.
42920         * math/s_cbrtl.c: Likewise.
42921         * math/s_erfl.c: Likewise.
42922         * math/s_expm1l.c: Likewise.
42923         * math/s_log1pl.c: Likewise.
42924         * math/s_tanhl.c: Likewise.
42925         * misc/acct.c: Likewise.
42926         * misc/brk.c: Likewise.
42927         * misc/chflags.c: Likewise.
42928         * misc/chroot.c: Likewise.
42929         * misc/fchflags.c: Likewise.
42930         * misc/fgetxattr.c: Likewise.
42931         * misc/flistxattr.c: Likewise.
42932         * misc/fremovexattr.c: Likewise.
42933         * misc/fsetxattr.c: Likewise.
42934         * misc/fsync.c: Likewise.
42935         * misc/ftruncate.c: Likewise.
42936         * misc/futimes.c: Likewise.
42937         * misc/futimesat.c: Likewise.
42938         * misc/getdomain.c: Likewise.
42939         * misc/getdtsz.c: Likewise.
42940         * misc/gethostid.c: Likewise.
42941         * misc/gethostname.c: Likewise.
42942         * misc/getloadavg.c: Likewise.
42943         * misc/getpagesize.c: Likewise.
42944         * misc/getsysstats.c: Likewise.
42945         * misc/getxattr.c: Likewise.
42946         * misc/gtty.c: Likewise.
42947         * misc/ioctl.c: Likewise.
42948         * misc/lgetxattr.c: Likewise.
42949         * misc/listxattr.c: Likewise.
42950         * misc/llistxattr.c: Likewise.
42951         * misc/lremovexattr.c: Likewise.
42952         * misc/lsetxattr.c: Likewise.
42953         * misc/lutimes.c: Likewise.
42954         * misc/madvise.c: Likewise.
42955         * misc/mincore.c: Likewise.
42956         * misc/mlock.c: Likewise.
42957         * misc/mlockall.c: Likewise.
42958         * misc/mmap.c: Likewise.
42959         * misc/mprotect.c: Likewise.
42960         * misc/msync.c: Likewise.
42961         * misc/munlock.c: Likewise.
42962         * misc/munlockall.c: Likewise.
42963         * misc/munmap.c: Likewise.
42964         * misc/preadv.c: Likewise.
42965         * misc/preadv64.c: Likewise.
42966         * misc/ptrace.c: Likewise.
42967         * misc/pwritev.c: Likewise.
42968         * misc/pwritev64.c: Likewise.
42969         * misc/readv.c: Likewise.
42970         * misc/reboot.c: Likewise.
42971         * misc/remap_file_pages.c: Likewise.
42972         * misc/removexattr.c: Likewise.
42973         * misc/revoke.c: Likewise.
42974         * misc/select.c: Likewise.
42975         * misc/setdomain.c: Likewise.
42976         * misc/setegid.c: Likewise.
42977         * misc/seteuid.c: Likewise.
42978         * misc/sethostid.c: Likewise.
42979         * misc/sethostname.c: Likewise.
42980         * misc/setregid.c: Likewise.
42981         * misc/setreuid.c: Likewise.
42982         * misc/setxattr.c: Likewise.
42983         * misc/sstk.c: Likewise.
42984         * misc/stty.c: Likewise.
42985         * misc/swapoff.c: Likewise.
42986         * misc/swapon.c: Likewise.
42987         * misc/sync.c: Likewise.
42988         * misc/syncfs.c: Likewise.
42989         * misc/syscall.c: Likewise.
42990         * misc/truncate.c: Likewise.
42991         * misc/ualarm.c: Likewise.
42992         * misc/usleep.c: Likewise.
42993         * misc/ustat.c: Likewise.
42994         * misc/utimes.c: Likewise.
42995         * misc/vhangup.c: Likewise.
42996         * misc/writev.c: Likewise.
42997         * posix/_exit.c: Likewise.
42998         * posix/alarm.c: Likewise.
42999         * posix/execve.c: Likewise.
43000         * posix/fexecve.c: Likewise.
43001         * posix/fork.c: Likewise.
43002         * posix/fpathconf.c: Likewise.
43003         * posix/getaddrinfo.c: Likewise.
43004         * posix/getegid.c: Likewise.
43005         * posix/geteuid.c: Likewise.
43006         * posix/getgid.c: Likewise.
43007         * posix/getgroups.c: Likewise.
43008         * posix/getlogin.c: Likewise.
43009         * posix/getlogin_r.c: Likewise.
43010         * posix/getpgid.c: Likewise.
43011         * posix/getpid.c: Likewise.
43012         * posix/getppid.c: Likewise.
43013         * posix/getresgid.c: Likewise.
43014         * posix/getresuid.c: Likewise.
43015         * posix/getsid.c: Likewise.
43016         * posix/getuid.c: Likewise.
43017         * posix/glob64.c: Likewise.
43018         * posix/nanosleep.c: Likewise.
43019         * posix/pathconf.c: Likewise.
43020         * posix/pause.c: Likewise.
43021         * posix/posix_madvise.c: Likewise.
43022         * posix/pread.c: Likewise.
43023         * posix/pread64.c: Likewise.
43024         * posix/pwrite.c: Likewise.
43025         * posix/pwrite64.c: Likewise.
43026         * posix/sched_getaffinity.c: Likewise.
43027         * posix/sched_getp.c: Likewise.
43028         * posix/sched_gets.c: Likewise.
43029         * posix/sched_primax.c: Likewise.
43030         * posix/sched_primin.c: Likewise.
43031         * posix/sched_rr_gi.c: Likewise.
43032         * posix/sched_setaffinity.c: Likewise.
43033         * posix/sched_setp.c: Likewise.
43034         * posix/sched_sets.c: Likewise.
43035         * posix/sched_yield.c: Likewise.
43036         * posix/setgid.c: Likewise.
43037         * posix/setlogin.c: Likewise.
43038         * posix/setpgid.c: Likewise.
43039         * posix/setresgid.c: Likewise.
43040         * posix/setresuid.c: Likewise.
43041         * posix/setsid.c: Likewise.
43042         * posix/setuid.c: Likewise.
43043         * posix/sleep.c: Likewise.
43044         * posix/spawni.c: Likewise.
43045         * posix/sysconf.c: Likewise.
43046         * posix/times.c: Likewise.
43047         * posix/wait.c: Likewise.
43048         * posix/wait3.c: Likewise.
43049         * posix/wait4.c: Likewise.
43050         * posix/waitpid.c: Likewise.
43051         * resolv/gai_sigqueue.c: Likewise.
43052         * resource/getpriority.c: Likewise.
43053         * resource/getrlimit.c: Likewise.
43054         * resource/getrusage.c: Likewise.
43055         * resource/nice.c: Likewise.
43056         * resource/setpriority.c: Likewise.
43057         * resource/setrlimit.c: Likewise.
43058         * resource/ulimit.c: Likewise.
43059         * rt/aio_cancel.c: Likewise.
43060         * rt/aio_fsync.c: Likewise.
43061         * rt/aio_read.c: Likewise.
43062         * rt/aio_sigqueue.c: Likewise.
43063         * rt/aio_suspend.c: Likewise.
43064         * rt/aio_write.c: Likewise.
43065         * rt/clock_getres.c: Likewise.
43066         * rt/clock_gettime.c: Likewise.
43067         * rt/clock_nanosleep.c: Likewise.
43068         * rt/clock_settime.c: Likewise.
43069         * rt/lio_listio.c: Likewise.
43070         * rt/mq_close.c: Likewise.
43071         * rt/mq_getattr.c: Likewise.
43072         * rt/mq_notify.c: Likewise.
43073         * rt/mq_open.c: Likewise.
43074         * rt/mq_receive.c: Likewise.
43075         * rt/mq_send.c: Likewise.
43076         * rt/mq_setattr.c: Likewise.
43077         * rt/mq_timedreceive.c: Likewise.
43078         * rt/mq_timedsend.c: Likewise.
43079         * rt/mq_unlink.c: Likewise.
43080         * rt/shm_open.c: Likewise.
43081         * rt/shm_unlink.c: Likewise.
43082         * rt/timer_create.c: Likewise.
43083         * rt/timer_delete.c: Likewise.
43084         * rt/timer_getoverr.c: Likewise.
43085         * rt/timer_gettime.c: Likewise.
43086         * rt/timer_settime.c: Likewise.
43087         * setjmp/__longjmp.c: Likewise.
43088         * setjmp/setjmp.c: Likewise.
43089         * signal/kill.c: Likewise.
43090         * signal/killpg.c: Likewise.
43091         * signal/raise.c: Likewise.
43092         * signal/sigaction.c: Likewise.
43093         * signal/sigaltstack.c: Likewise.
43094         * signal/sigblock.c: Likewise.
43095         * signal/sigignore.c: Likewise.
43096         * signal/sigintr.c: Likewise.
43097         * signal/signal.c: Likewise.
43098         * signal/sigpause.c: Likewise.
43099         * signal/sigpending.c: Likewise.
43100         * signal/sigqueue.c: Likewise.
43101         * signal/sigreturn.c: Likewise.
43102         * signal/sigset.c: Likewise.
43103         * signal/sigsetmask.c: Likewise.
43104         * signal/sigstack.c: Likewise.
43105         * signal/sigsuspend.c: Likewise.
43106         * signal/sigtimedwait.c: Likewise.
43107         * signal/sigvec.c: Likewise.
43108         * signal/sigwait.c: Likewise.
43109         * signal/sigwaitinfo.c: Likewise.
43110         * signal/sysv_signal.c: Likewise.
43111         * socket/accept.c: Likewise.
43112         * socket/accept4.c: Likewise.
43113         * socket/bind.c: Likewise.
43114         * socket/connect.c: Likewise.
43115         * socket/getpeername.c: Likewise.
43116         * socket/getsockname.c: Likewise.
43117         * socket/getsockopt.c: Likewise.
43118         * socket/isfdtype.c: Likewise.
43119         * socket/listen.c: Likewise.
43120         * socket/recv.c: Likewise.
43121         * socket/recvfrom.c: Likewise.
43122         * socket/recvmsg.c: Likewise.
43123         * socket/send.c: Likewise.
43124         * socket/sendmsg.c: Likewise.
43125         * socket/sendto.c: Likewise.
43126         * socket/setsockopt.c: Likewise.
43127         * socket/shutdown.c: Likewise.
43128         * socket/sockatmark.c: Likewise.
43129         * socket/socket.c: Likewise.
43130         * socket/socketpair.c: Likewise.
43131         * stdio-common/ctermid.c: Likewise.
43132         * stdio-common/cuserid.c: Likewise.
43133         * stdio-common/remove.c: Likewise.
43134         * stdio-common/rename.c: Likewise.
43135         * stdio-common/renameat.c: Likewise.
43136         * stdio-common/tempname.c: Likewise.
43137         * stdlib/getcontext.c: Likewise.
43138         * stdlib/makecontext.c: Likewise.
43139         * stdlib/setcontext.c: Likewise.
43140         * stdlib/swapcontext.c: Likewise.
43141         * stdlib/system.c: Likewise.
43142         * streams/fattach.c: Likewise.
43143         * streams/fdetach.c: Likewise.
43144         * streams/getmsg.c: Likewise.
43145         * streams/getpmsg.c: Likewise.
43146         * streams/putmsg.c: Likewise.
43147         * streams/putpmsg.c: Likewise.
43148         * sysdeps/unix/bsd/getpt.c: Likewise.
43149         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43150         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43151         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43153         Likewise.
43154         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43155         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43156         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43157         * sysvipc/msgctl.c: Likewise.
43158         * sysvipc/msgget.c: Likewise.
43159         * sysvipc/msgrcv.c: Likewise.
43160         * sysvipc/msgsnd.c: Likewise.
43161         * sysvipc/semctl.c: Likewise.
43162         * sysvipc/semget.c: Likewise.
43163         * sysvipc/semop.c: Likewise.
43164         * sysvipc/semtimedop.c: Likewise.
43165         * sysvipc/shmat.c: Likewise.
43166         * sysvipc/shmctl.c: Likewise.
43167         * sysvipc/shmdt.c: Likewise.
43168         * sysvipc/shmget.c: Likewise.
43169         * termios/tcdrain.c: Likewise.
43170         * termios/tcflow.c: Likewise.
43171         * termios/tcflush.c: Likewise.
43172         * termios/tcgetattr.c: Likewise.
43173         * termios/tcgetpgrp.c: Likewise.
43174         * termios/tcsendbrk.c: Likewise.
43175         * termios/tcsetattr.c: Likewise.
43176         * termios/tcsetpgrp.c: Likewise.
43177         * time/adjtime.c: Likewise.
43178         * time/clock.c: Likewise.
43179         * time/getitimer.c: Likewise.
43180         * time/gettimeofday.c: Likewise.
43181         * time/setitimer.c: Likewise.
43182         * time/settimeofday.c: Likewise.
43183         * time/stime.c: Likewise.
43184         * time/time.c: Likewise.
43186 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43188         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43189         /usr/old/bin.
43191         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43192         instead of spaces.
43193         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43195 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43197         [BZ #14796]
43198         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43199         FE_TONEAREST before applying Dekker multiplication and Knuth
43200         addition.  Clear inexact exceptions and check for exact zero
43201         results afterwards.
43202         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43203         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43205         * math/libm-test.inc (fma_test): Add more tests.
43206         (fma_test_towardzero): Likewise.
43207         (fma_test_downward): Likewise.
43208         (fma_test_upward): Likewise.
43209         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43210         function.
43211         (libc_fesetround): New macro.
43212         (libc_fesetroundf): Likewise.
43213         (libc_fesetroundl): Likewise.
43214         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43215         function.
43216         (libc_fesetround_387): Likewise.
43217         (libc_fesetroundf): New macro.
43218         (libc_fesetround): Likewise.
43219         (libc_fesetroundl): Likewise.
43220         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43221         function.
43222         (libc_fesetroundf): New macro.
43223         (libc_fesetround): Likewise.
43224         (libc_fesetroundl): Likewise.
43225         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43226         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43227         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43228         libm_hidden_ver.
43229         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43230         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43231         libm_hidden_def.
43232         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43233         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43234         libm_hidden_ver.
43235         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43236         libm_hidden_def.
43238         [BZ #3439]
43239         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43240         integer constant usable in #if and use that to give value to enum
43241         constant.
43242         (FE_DIVBYZERO): Likewise.
43243         (FE_UNDERFLOW): Likewise.
43244         (FE_OVERFLOW): Likewise.
43245         (FE_INVALID): Likewise.
43246         (FE_INVALID_SNAN): Likewise.
43247         (FE_INVALID_ISI): Likewise.
43248         (FE_INVALID_IDI): Likewise.
43249         (FE_INVALID_ZDZ): Likewise.
43250         (FE_INVALID_IMZ): Likewise.
43251         (FE_INVALID_COMPARE): Likewise.
43252         (FE_INVALID_SOFTWARE): Likewise.
43253         (FE_INVALID_SQRT): Likewise.
43254         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43255         (FE_TONEAREST): Likewise.
43256         (FE_TOWARDZERO): Likewise.
43257         (FE_UPWARD): Likewise.
43258         (FE_DOWNWARD): Likewise.
43259         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43260         (FE_DIVBYZERO): Likewise.
43261         (FE_OVERFLOW): Likewise.
43262         (FE_UNDERFLOW): Likewise.
43263         (FE_INEXACT): Likewise.
43264         (FE_TONEAREST): Likewise.
43265         (FE_DOWNWARD): Likewise.
43266         (FE_UPWARD): Likewise.
43267         (FE_TOWARDZERO): Likewise.
43268         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43269         (FE_UNDERFLOW): Likewise.
43270         (FE_OVERFLOW): Likewise.
43271         (FE_DIVBYZERO): Likewise.
43272         (FE_INVALID): Likewise.
43273         (FE_TONEAREST): Likewise.
43274         (FE_TOWARDZERO): Likewise.
43275         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43276         (FE_OVERFLOW): Likewise.
43277         (FE_UNDERFLOW): Likewise.
43278         (FE_DIVBYZERO): Likewise.
43279         (FE_INEXACT): Likewise.
43280         (FE_TONEAREST): Likewise.
43281         (FE_TOWARDZERO): Likewise.
43282         (FE_UPWARD): Likewise.
43283         (FE_DOWNWARD): Likewise.
43284         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43285         (FE_DIVBYZERO): Likewise.
43286         (FE_OVERFLOW): Likewise.
43287         (FE_UNDERFLOW): Likewise.
43288         (FE_INEXACT): Likewise.
43289         (FE_TONEAREST): Likewise.
43290         (FE_DOWNWARD): Likewise.
43291         (FE_UPWARD): Likewise.
43292         (FE_TOWARDZERO): Likewise.
43294 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43296         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43298 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43300         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43301         commands.  Quote $PWD.
43302         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43303         -x" by "export".
43304         (remove_newlines): Remove.
43306 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43308         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43309         * stdlib/stdlib.h (atof): Moved to ...
43310         * include/bits/stdlib-float.h: Here.  New file.
43311         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43312         * stdlib/bits/stdlib-float.h: New file.
43313         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43314         -mno-sse -mno-mmx.
43315         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43316         <xmmintrin.h>.
43318 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43320         * conform/conformtest.pl (@headers): Add fenv.h.
43321         * conform/data/fenv.h-data: New file.
43322         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43323         include of <math/fenv.h>.
43325         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43326         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43327         && !UNIX98].  Enables tests for XOPEN2K8.
43328         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43329         POSIX2008]: Likewise.
43331         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43332         (struct rusage): Do not expect type or its members.
43334         [BZ #3439]
43335         * math/math.h (FP_NAN): Define macro to integer constant usable in
43336         #if and use that to give value to enum constant.
43337         (FP_INFINITE): Likewise.
43338         (FP_ZERO): Likewise.
43339         (FP_SUBNORMAL): Likewise.
43340         (FP_NORMAL): Likewise.
43342 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43344         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43345         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43346         arguments.
43348 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43350         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43351         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43352         autoconf-time if not.
43353         * configure.in: Remove AC_PREREQ.
43355 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43357         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43358         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43359         of the internal implementation.
43361 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43363         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43364         except include of <misc/sys/syslog.h>.
43366 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43369         function returns with a NULL context exit with zero.
43371 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43373         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43375 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43377         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43378         (run_program_cmd): This.
43379         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43380         (tst_langinfo): New variable.  Use it.
43382 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43384         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43385         floating point opcodes.
43387 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43389         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43390         variable.
43392         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43394         * sysdeps/mach/hurd/powerpc: Remove directory.
43395         * sysdeps/mach/powerpc: Likewise.
43397 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43399         * scripts/check-local-headers.sh: Ignore c++ headers.
43401 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43403         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43404         __libc_cleanup_region_start argument.
43406 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43408         [BZ #14784]
43409         [BZ #14785]
43410         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43411         x * y using scaling, not as x * y + z.
43412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43413         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43414         * math/libm-test.inc (fma_test): Add more tests.
43415         (fma_test_towardzero): Likewise.
43416         (fma_test_downward): Likewise.
43417         (fma_test_upward): Likewise.
43419 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43421         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43423 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43425         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43426         New variable.
43428 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43430         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43432 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43435         Fix sort order.
43436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43437         Likewise.
43439 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43442         Fix the order of the list for glibc 2.17.
43443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43444         Likewise.
43446 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43450 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43452         [BZ #14610]
43453         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43454         for low part of x being zero before using __atanl (y).
43455         * math/libm-test.inc (atan2_test): Add another test.
43457         * manual/install.texi (Configuring and compiling): Document
43458         general use of test-wrapper and test-wrapper-env.
43459         * INSTALL: Regenerated.
43461         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43462         (__fma): Do not extract and scale down low bits on after-rounding
43463         systems when result rounded to normal precision would have normal
43464         exponent.
43465         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43466         (__fmal): Do not extract and scale down low bits on after-rounding
43467         systems when result rounded to normal precision would have normal
43468         exponent.
43469         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43470         (__fmal): Do not extract and scale down low bits on after-rounding
43471         systems when result rounded to normal precision would have normal
43472         exponent.
43473         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43474         macro.
43475         (fma_test): Add more tests.
43476         (fma_test_towardzero): Likewise.
43477         (fma_test_downward): Likewise.
43478         (fma_test_upward): Likewise.
43480 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43482         * sysdeps/i386/tininess.h: Renamed to ...
43483         * sysdeps/x86/tininess.h: This.
43484         * sysdeps/x86_64/tininess.h: Removed.
43486 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43488         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43489         input.  Use $(build-program-cmd).
43490         ($(objpfx)tst-array1-static.out): Likewise.
43491         ($(objpfx)tst-array2.out): Likewise.
43492         ($(objpfx)tst-array3.out): Likewise.
43493         ($(objpfx)tst-array4.out): Likewise.
43494         ($(objpfx)tst-array5.out): Likewise.
43495         ($(objpfx)tst-array5-static.out): Likewise.
43497 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43499         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43500         if defined.
43502         * nss/nsswitch.h (nss_interface_function): Provide new
43503         macro for use with NSS functions.
43504         * grp/initgroups.c: Use new macro.
43505         * nss/getXXbyYY.c: Likewise.
43506         * nss/getXXbyYY_r.c: Likewise.
43507         * nss/getXXent.c: Likewise.
43508         * nss/getXXent_r.c: Likewise.
43509         * sysdeps/posix/getaddrinfo.c: Likewise.
43511 2012-10-30  Andreas Jaeger  <aj@suse.de>
43513         * po/ru.po: Update Russion translation from translation project.
43515 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43517         [BZ #14152]
43518         [BZ #14783]
43519         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43520         result and shift together with sticky bit instead of replicating
43521         round-to-nearest rounding.
43522         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43523         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43524         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43525         missing underflow exceptions.
43526         (fma_test_towardzero): Add more tests.
43527         (fma_test_downward): Likewise.
43528         (fma_test_upward): Likewise.
43530         [BZ #14047]
43531         * sysdeps/generic/tininess.h: New file.
43532         * sysdeps/i386/tininess.h: Likewise.
43533         * sysdeps/sh/tininess.h: Likewise.
43534         * sysdeps/x86_64/tininess.h: Likewise.
43535         * stdlib/tst-strtod-underflow.c: Likewise.
43536         * stdlib/tst-tininess.c: Likewise.
43537         * stdlib/strtod_l.c: Include <tininess.h>.
43538         (round_and_return): Do not set errno for exact underflow cases.
43539         Force an underflow exception when setting errno for underflow.
43540         Determine underflow based on rounding to normal precision if
43541         TININESS_AFTER_ROUNDING.
43542         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43543         ERANGE for exact underflow cases.
43544         * stdlib/Makefile (tests): Add tst-tininess and
43545         tst-strtod-underflow.
43546         ($(objpfx)tst-tininess): Use $(link-libm).
43547         ($(objpfx)tst-strtod-underflow): Likewise.
43549 2012-10-30  Andreas Jaeger  <aj@suse.de>
43551         [BZ#14767]
43552         * elf/Makefile (tests): Remove conditional for have-initfini-array
43553         since this is now always required and the variable does not exist
43554         anymore.
43555         (tests-static): Likewise.
43556         (modules-names): Likewise.
43558         * po/eo.po: Add Esperanto translation from translation project.
43560         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43561         merged with constructor/destructor.
43562         (init_array): Likewise.
43563         * elf/tst-array2dep.c (fini_array): Likewise.
43564         (init_array): Likewise.
43566 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43568         * manual/message.texi: Delete @cartouche tags.
43570 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43572         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43573         EOPNOTSUPP.
43574         * sysdeps/mach/hurd/fsync.c: Likewise.
43576         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43577         [_POSIX_REALTIME_SIGNALS]: Change condition to
43578         [_POSIX_REALTIME_SIGNALS > 0].
43580 2012-10-27  Andreas Jaeger  <aj@suse.de>
43582         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43583         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43585         [__WORDSIZE != 64]: Likewise.
43587 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43589         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43590         *  iconvdata/tst-tables.sh: Likewise.
43592 2012-10-25  David S. Miller  <davem@davemloft.net>
43594         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43595         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43596         of strtoull.
43598         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43599         ifunc-impl-list.c
43600         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43601         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43602         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43603         file.
43605 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43607         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43608         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43609         __getdirentries.
43611 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43612             Jim Blandy  <jimb@codesourcery.com>
43614         * scripts/cross-test-ssh.sh: New file.
43615         * manual/install.texi (Configuring and compiling): Document use of
43616         cross-test-ssh.sh.
43617         * INSTALL: Regenerated.
43619 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43621         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43622         EOPNOTSUPP.
43624 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43626         * Makeconfig (run-program-prefix): Fix comment.
43628 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43629             Jim Blandy  <jimb@codesourcery.com>
43631         * Makeconfig (test-wrapper): New variable,
43632         (test-wrapper-env): Likewise.
43633         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43634         (run-built-tests): Define to yes.
43635         (run-program-prefix): Use $(test-wrapper).
43636         (built-program-cmd): Likewise.
43637         * Rules (make-test-out): Use $(test-wrapper-env) and
43638         $(host-built-program-cmd).
43639         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43640         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43641         tst-pathopt.sh.
43642         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43643         $(test-wrapper-env) to tst-rtld-load-self.sh.
43644         ($(objpfx)order2.out): Use $(test-wrapper).
43645         ($(objpfx)tst-initorder.out): Likewise.
43646         ($(objpfx)tst-initorder2.out): Likewise.
43647         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43648         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43649         (test_wrapper_env): New variable.  Use it to run ld.so.
43650         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43651         Use it to run ld.so.
43652         (test_wrapper_env): Likewise.
43653         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43654         $(test-wrapper) to run-iconv-test.sh.
43655         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43656         (ICONV): Use $test_wrapper.
43657         * posix/Makefile ($(objpfx)globtest.out): Pass
43658         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43659         globtest.sh, not $(run-program-prefix).
43660         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43661         (test_wrapper): Likewise.
43662         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43663         set together with run_via_rtld_prefix.
43664         (run_program_prefix): Define in terms of test_wrapper and
43665         run_via_rtld_prefix.
43667 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43669         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43670         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43671         Targets removed.
43673         [BZ #14743]
43674         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43675         Declare __clock_getres, __clock_gettime, __clock_settime,
43676         __clock_nanosleep, and __clock_getcpuclockid.
43677         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43678         Remove librt_hidden_def (clock_gettime).
43679         * sysdeps/unix/clock_gettime.c: Likewise.
43680         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43681         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43682         * rt/clock_getres.c: Define __clock_getres as an alias.
43683         * sysdeps/posix/clock_getres.c: Likewise.
43684         * rt/clock_settime.c: Define __clock_settime as an alias.
43685         * sysdeps/unix/clock_settime.c: Likewise.
43686         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43687         * sysdeps/unix/clock_nanosleep.c: Likewise.
43688         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43689         * rt/clock-compat.c: New file.
43690         * rt/Makefile (librt-routines): Add clock-compat and move
43691         $(clock-routines) to ...
43692         (routines): ... here, new variable.
43693         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43694         Don't add get_clockfreq here.
43695         * rt/Versions (libc: GLIBC_2.17): New version set.
43696         Add clock_* symbols here.
43697         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43698         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43699         (GLIBC_2.17): Add clock_* symbols.
43700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43702         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43704         Likewise.
43705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43706         Likewise.
43707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43711         * NEWS: Mention the move.
43713         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43714         Use __open, __read, __close rather than their public counterparts.
43715         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43716         (__get_clockfreq_via_cpuinfo): Likewise.
43717         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43718         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43720         * config.h.in (HAVE_IFUNC): New #undef.
43721         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43722         was successful.
43723         * configure: Regenerated.
43725 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43727         * configure.in: Move READELF check to start of file.
43728         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43729         libc_cv_asm_gnu_indirect_function in the process.
43730         * configure: Regenerated.
43732 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43734         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43735         send the output to /dev/null.
43736         (libc_cv_cc_with_libunwind): Likewise.
43737         (libc_cv_as_noexecstack): Likewise.
43738         * configure: Regenerate.
43740 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43742         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43744         * posix/globtest.sh (TMPDIR): Do not set.
43745         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43746         (testout): Likewise.
43748 2012-10-24  Andreas Jaeger  <aj@suse.de>
43750         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43751         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43752         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43753         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43754         posix_fadvise64, posix_fallocate64.
43756         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43757         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43758         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43759         Likewise.
43760         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43761         Likewise.
43762         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43764         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43765         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43766         <bits/fcntl-linux.h>.
43767         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43769         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43770         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43771         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43772         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43773         [__WORDSIZE != 64]: Likewise.
43775 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43777         * Makeconfig (run-built-tests): New variable.
43778         * Rules [$(cross-compiling) = yes]: Change condition to
43779         [$(run-built-tests) = no].
43780         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43781         to [$(run-built-tests) = yes].
43782         * elf/Makefile [$(cross-compiling) = no]: Likewise
43783         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43784         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43785         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43786         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43787         * io/Makefile [$(cross-compiling) = no]: Likewise.
43788         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43789         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43790         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43791         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43792         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43793         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43794         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43795         * string/Makefile [$(cross-compiling) = no]: Likewise.
43797         * posix/Makefile ($(objpfx)globtest.out): Pass
43798         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43799         $(rtld-installed-name).
43800         * posix/globtest.sh (elf_objpfx): Remove variable.
43801         (rtld_installed_name): Likewise.
43802         (library_path): Likewise.
43803         (run_program_prefix): New variable.  Use for running globtest
43804         binary.
43806 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43807             Joseph Myers  <joseph@codesourcery.com>
43809         * Makeconfig (host-built-program-cmd): New variable.
43810         * elf/Makefile (tst-stackguard1-ARGS): Use
43811         $(host-built-program-cmd).
43812         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43813         (tst-spawn-ARGS): Likewise.
43814         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43816 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43817             Jim Blandy  <jimb@codesourcery.com>
43819         * Makeconfig (run-via-rtld-prefix): New variable.
43820         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43821         (built-program-cmd): Likewise.
43823 2012-10-22  Andreas Jaeger  <aj@suse.de>
43825         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43826         __O_RSYNC if it exists, otherwise to O_SYNC.
43828 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43829             Joseph Myers  <joseph@codesourcery.com>
43831         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43832         /dev/null.
43833         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43834         from /dev/null
43835         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43836         /dev/null.
43838 2012-10-22  Andreas Jaeger  <aj@suse.de>
43840         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43841         Define always.
43842         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43844         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43845         bits/fcntl-linux.h.
43847         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43848         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43850         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43851         to __O_LARGEFILE.
43852         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43853         to __O_LARGEFILE.
43855 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43856             Joseph Myers  <joseph@codesourcery.com>
43858         * config.make.in (NM): New variable.
43860 2012-10-21  Andreas Jaeger  <aj@suse.de>
43862         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43863         definitions and declarations that are provided by
43864         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43866 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43868         [BZ #14683]
43869         * elf/Makefile (tests-static): Add tst-leaks1-static.
43870         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43871         ($(objpfx)tst-leaks1-static): New rule.
43872         ($(objpfx)tst-leaks1-static-mem): Likewise.
43873         (tst-leaks1-static-ENV): New macro.
43874         * elf/dl-open.c (dl_open_worker): Check the main application
43875         only if SHARED is defined.
43876         * elf/tst-leaks1-static.c: New file.
43878 2012-10-20  Andreas Jaeger  <aj@suse.de>
43880         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43881         generic values for Linux.
43882         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43883         and declarations that are provided by <bits/fcntl-linux.h> and
43884         include <bits/fcntl-linux.h>.
43885         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43886         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43888 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43890         * io/fcntl.h: Move include of <bits/types.h> to the top and
43891         include it unconditionally.
43893 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43895         * wcsmbs/Makefile (tests-ifunc): New variable.
43896         (tests): Add $(tests-ifunc).
43897         * wcsmbs/test-wcschr-ifunc.c: New file.
43898         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43899         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43900         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43901         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43902         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43904         * string/Makefile (tests-ifunc): New variable.
43905         (tests): Add $(tests-ifunc).
43906         * string/test-memccpy.c (TEST_NAME): New macro.
43907         * string/test-memchr.c (TEST_NAME): Likewise.
43908         * string/test-memcmp.c (TEST_NAME): Likewise.
43909         * string/test-memcpy.c (TEST_NAME): Likewise.
43910         * string/test-memmem.c (TEST_NAME): Likewise.
43911         * string/test-memmove.c (TEST_NAME): Likewise.
43912         * string/test-memset.c (TEST_NAME): Likewise.
43913         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43914         * string/test-stpcpy.c (TEST_NAME): Likewise.
43915         * string/test-stpncpy.c (TEST_NAME): Likewise.
43916         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43917         * string/test-strcasestr.c (TEST_NAME): Likewise.
43918         * string/test-strcat.c (TEST_NAME): Likewise.
43919         * string/test-strchr.c (TEST_NAME): Likewise.
43920         * string/test-strcmp.c(TEST_NAME): Likewise.
43921         * string/test-strcpy.c (TEST_NAME): Likewise.
43922         * string/test-strcspn.c (TEST_NAME): Likewise.
43923         * string/test-strlen.c (TEST_NAME): Likewise.
43924         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43925         * string/test-strncmp.c (TEST_NAME): Likewise.
43926         * string/test-strncpy.c (TEST_NAME): Likewise.
43927         * string/test-strnlen.c (TEST_NAME): Likewise.
43928         * string/test-strpbrk.c (TEST_NAME): Likewise.
43929         * string/test-strrchr.c (TEST_NAME): Likewise.
43930         * string/test-strspn.c (TEST_NAME): Likewise.
43931         * string/test-strstr.c (TEST_NAME): Likewise.
43932         * string/test-bcopy-ifunc.c: New file.
43933         * string/test-bzero-ifunc.c: Likewise.
43934         * string/test-memccpy-ifunc.c: Likewise.
43935         * string/test-memchr-ifunc.c: Likewise.
43936         * string/test-memcmp-ifunc.c: Likewise.
43937         * string/test-memcpy-ifunc.c: Likewise.
43938         * string/test-memmem-ifunc.c: Likewise.
43939         * string/test-memmove-ifunc.c: Likewise.
43940         * string/test-mempcpy-ifunc.c: Likewise.
43941         * string/test-memset-ifunc.c: Likewise.
43942         * string/test-rawmemchr-ifunc.c: Likewise.
43943         * string/test-stpcpy-ifunc.c: Likewise.
43944         * string/test-stpncpy-ifunc.c: Likewise.
43945         * string/test-strcasecmp-ifunc.c: Likewise.
43946         * string/test-strcasestr-ifunc.c: Likewise.
43947         * string/test-strcat-ifunc.c: Likewise.
43948         * string/test-strchr-ifunc.c: Likewise.
43949         * string/test-strchrnul-ifunc.c: Likewise.
43950         * string/test-strcmp-ifunc.c: Likewise.
43951         * string/test-strcpy-ifunc.c: Likewise.
43952         * string/test-strcspn-ifunc.c: Likewise.
43953         * string/test-strlen-ifunc.c: Likewise.
43954         * string/test-strncasecmp-ifunc.c: Likewise.
43955         * string/test-strncat-ifunc.c: Likewise.
43956         * string/test-strncmp-ifunc.c: Likewise.
43957         * string/test-strncpy-ifunc.c: Likewise.
43958         * string/test-strnlen-ifunc.c: Likewise.
43959         * string/test-strpbrk-ifunc.c: Likewise.
43960         * string/test-strrchr-ifunc.c: Likewise.
43961         * string/test-strspn-ifunc.c: Likewise.
43962         * string/test-strstr-ifunc.c: Likewise.
43964         * debug/Makefile (tests-ifunc): New variable.
43965         (tests): Add $(tests-ifunc).
43966         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43967         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43968         * debug/test-stpcpy_chk-ifunc.c: New file.
43969         * debug/test-strcpy_chk-ifunc.c: Likewise.
43971 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43973         [BZ #13601]
43974         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43975         header is not read in.
43977 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43979         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43980         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43981         directly.  Pass built executable to script as
43982         $(built-program-cmd).
43983         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43984         $testprogram without using LD_LIBRARY_PATH and $ldso.
43986         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43987         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43988         $(rtld-installed-name).
43989         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43990         (rtld_installed_name): Likewise.
43991         (library_path): Likewise.
43992         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43993         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43994         $(run-program-prefix) to tst-tables.sh.
43995         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43996         it to run tst-table-from and tst-table-to.
43997         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43998         Pass it to tst-table.sh.
43999         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44000         $(run-program-prefix) to tst-gettext.sh.
44001         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44002         tst-translit.sh.
44003         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44004         tst-gettext2.sh.
44005         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
44006         to run tst-gettext.
44007         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
44008         to run tst-gettext2.
44009         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
44010         to run tst-translit.
44011         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44012         $(run-program-prefix) to tst-mtrace.sh.
44013         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
44014         to run tst-mtrace.
44015         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44016         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44017         $(rtld-installed-name).
44018         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44019         (rtld_installed_name): Likewise.
44020         (run_program_prefix): New variable.  Use it to run wordexp-test.
44022         * Makeconfig (ARCH): Remove all definitions.
44023         (machine): Likewise.
44024         [ARCH]: Remove conditional code.
44025         [!objdir]: Give error.
44026         [!objdir] (objpfx): Remove.
44027         [!objdir] (common-objpfx): Likewise.
44028         [!objdir] (common-objdir): Likewise.
44029         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44030         AC_CONFIG_FILES call.
44031         * configure: Regenerated.
44033         [BZ #13888]
44034         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44035         or TMPDIR.
44036         (testout): Likewise.
44038         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44039         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44040         $(rtld-installed-name).
44041         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44042         (rtld_installed_name): Likwise.
44043         (runit): Remove function.
44044         (run_getconf): New variable,  Use it for running getconf binary.
44046 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44048         [BZ #14716]
44049         * string/test-memmem.c (check_result): New function.
44050         (do_one_test): Use it.
44051         (check1): New function.
44052         (test_main): Use it.
44054 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44056         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44058 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44060         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44061         (_G_LSEEK64): Likewise.
44062         (_G_MMAP64): Likewise.
44063         (_G_FSTAT64): Likewise.
44064         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44065         (_G_LSEEK64): Likewise.
44066         (_G_MMAP64): Likewise.
44067         (_G_FSTAT64): Likewise.
44068         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44069         unconditional.  Call __mmap64 directly.
44070         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44071         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44072         __lseek64 directly.
44073         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44074         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44075         __mmap64 directly.
44076         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44077         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44078         __lseek64 directly.
44079         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44080         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44081         __lseek64 directly.
44082         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44083         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44084         __lseek64 directly.
44085         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44086         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44087         __fxstat64 directly.
44088         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44089         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44090         unconditional.
44091         (freopen64) [!_G_OPEN64]: Remove conditional code.
44092         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44093         unconditional.
44094         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44095         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44096         unconditional.
44097         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44098         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44099         unconditional.
44100         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44101         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44102         unconditional.
44103         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44104         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44105         unconditional.
44106         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44107         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44108         unconditional.
44109         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44110         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44111         unconditional.
44112         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44114 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44116         [BZ #12140]
44117         * manual/memory.texi (Malloc Tunable Parameters): Add note
44118         about free list pointers overwriting some perturb bytes.
44119         Wording suggested by Roland McGrath.
44121 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44123         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44124         (lgamma_test): Likewise.
44125         (tgamma_test): Likewise.
44127 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44129         [BZ #14700]
44130         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44131         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44133 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44135         * NEWS: Mention BZ #14716.
44136         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44137         when removing AVAILABLE1_USES_J macro.
44139 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44141         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44142         (__bswap_64): __uint64_t for unsigned 64-bit int.
44144 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44146         * include/string.h (memmem): Declare libc hidden alias.
44147         * string/memmem.c (memmem): Define libc hidden alias.
44148         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44149         __read, __close instead of open, read, close.
44151 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44153         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44154         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44155         global and hidden.
44156         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44157         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44158         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44159         Likewise.
44160         (__rawmemchr_sse2): Likewise.
44161         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44162         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44163         (__strchr_sse2): Likewise.
44164         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44165         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44166         (__strcasecmp_sse2): Likewise.
44167         (__strncasecmp_sse2): Likewise.
44168         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44169         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44170         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44171         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44172         (__strrchr_sse2): Likewise.
44173         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44174         ifunc-impl-list.c.
44175         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44176         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44177         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44178         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44179         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44180         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44181         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44182         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44183         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44184         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44185         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44186         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44187         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44188         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44189         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44190         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44191         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44192         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44193         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44194         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44195         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44196         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44197         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44198         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44199         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44200         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44201         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44202         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44203         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44204         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44206         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44207         global and hidden.
44208         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44209         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44210         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44211         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44212         Likewise.
44213         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44214         Likewise.
44215         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44216         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44217         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44218         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44219         ifunc-impl-list.c.
44220         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44221         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44222         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44223         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44224         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44225         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44226         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44227         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44228         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44229         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44230         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44231         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44232         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44233         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44234         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44235         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44236         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44237         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44238         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44239         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44240         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44241         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44242         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44243         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44244         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44245         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44246         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44247         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44248         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44249         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44250         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44251         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44252         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44253         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44254         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44255         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44256         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44257         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44258         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44259         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44260         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44262         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44263         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44264         * include/ifunc-impl-list.h: New file.
44265         * misc/ifunc-impl-list.c: Likewise.
44266         * misc/Makefile (routines): Add ifunc-impl-list.
44267         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44268         * string/test-string.h: Include <ifunc-impl-list.h>.
44269         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44270         TEST_NAME]: New variables.
44271         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44272         are defined.
44273         (test_init): Call __libc_ifunc_impl_list to initialize
44274         func_list if TEST_IFUNC and TEST_NAME are defined.
44276         * string/Makefile (strop-tests): Add bcopy and bzero.
44277         * string/test-bcopy.c: New file.
44278         * string/test-bzero.c: Likewise.
44279         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44280         defined.
44281         * string/test-memset.c: Support bzero test if TEST_BZERO is
44282         defined.
44283         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44284         __libc_memmove.
44285         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44286         __libc_memset.
44287         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44288         of memset.
44290 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44292         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44293         * configure: Regenerated.
44295         * Makeconfig (+link-static-before-libc): Don't include
44296         $(link-static-libc).
44298         * libio/libio.h (_IO_pos_t): Remove.
44300 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44302         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44303         McGrath.
44305 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44307         * crypt/crypt-entry.c: Include fips-private.h.
44308         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44309         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44310         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44311         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44313 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44315         * crypt/crypt-private.h: Include stdbool.h.
44316         (_ufc_setup_salt_r): Return bool.
44317         * crypt/crypt-entry.c: Include errno.h.
44318         (__crypt_r): Return NULL with EINVAL for bad salt.
44319         * crypt/crypt_util.c (bad_for_salt): New.
44320         (_ufc_setup_salt_r): Check that salt is long enough and within
44321         the specified alphabet.
44322         * crypt/badsalttest.c: New file.
44323         * crypt/Makefile (tests): Add it.
44324         ($(objpfx)badsalttest): New.
44326 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44328         * NEWS: Add entry for BZ #14602.
44330 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44332         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44333         type-generic.
44334         * math/libm-test.inc: Update comment listing what functions and
44335         macros are tested.
44336         (isgreater_test): New function.
44337         (isgreaterequal_test): Likewise.
44338         (isless_test): Likewise.
44339         (islessequal_test): Likewise.
44340         (islessgreater_test): Likewise.
44341         (isunordered_test): Likewise.
44342         (main): Call the new functions.
44344 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44346         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44347         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44348         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44349         * sysdeps/i386/configure: Regenerated.
44350         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44351         * sysdeps/mach/configure: Regenerated.
44352         * sysdeps/mach/hurd/configure: Regenerated.
44353         * sysdeps/powerpc/configure: Regenerated.
44354         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44355         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44356         * sysdeps/s390/s390-32/configure: Regenerated.
44357         * sysdeps/s390/s390-64/configure: Regenerated.
44358         * sysdeps/sh/configure: Regenerated.
44359         * sysdeps/sparc/configure: Regenerated.
44360         * sysdeps/unix/sysv/linux/configure: Regenerated.
44361         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44362         * sysdeps/x86_64/configure: Regenerated.
44364         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44365         defined.  Don't check if MAP is NULL.
44367 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44369         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44370         (_G_stat64): Likewise.
44371         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44372         (_G_stat64): Likewise.
44373         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44374         instead of struct _G_stat64.
44375         * libio/fileops.c (mmap_remap_check): Likewise.
44376         (decide_maybe_mmap): Likewise.
44377         (_IO_new_file_seekoff): Likewise.
44378         (_IO_file_stat): Likewise.
44379         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44380         _G_off64_t.
44381         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44382         instead of struct _G_stat64.
44383         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44385 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44387         [BZ #14602]
44388         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44389         Replace with ...
44390         (CHECK_EOL): New macro.
44391         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44392         CHECK_EOL.
44393         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44394         Replace with CHECK_EOL.
44395         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44396         Replace with CHECK_EOL.
44398 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44400         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44401         type-generic.
44402         * math/libm-test.inc: Update comment listing what functions and
44403         macros are tested.
44404         (finite_test): New function.
44405         (isinf_test): Likewise.
44406         (isnan_test): Likewise.
44407         (fpclassify_test): Test subnormal input.
44408         (isfinite_test): Likewise.
44409         (isnormal_test): Likewise.
44410         (main): Call the new functions.
44412 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44414         [BZ #14660]
44415         * Makerules (%.dynsym): Force C locale when running
44416         $(OBJDUMP) --dynamic-syms.
44418 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44420         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44421         <stdint.h>.
44423 2012-10-06  David S. Miller  <davem@davemloft.net>
44425         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44426         upper 32-bits of the length value in %o2 since we use branch-on-register
44427         tests which consider the entire 64-bit register.
44429 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44431         * string/test-strstr.c (check2): Add a test for page boundary.
44433 2012-10-05  David S. Miller  <davem@davemloft.net>
44435         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44436         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44437         file.
44438         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44439         sysdep_routines.
44440         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44441         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44442         and bzero when HWCAP_SPARC_CRYPTO is present.
44444 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44446         [BZ #14602]
44447         * string/test-strstr.c (check2): New function.
44448         (test_main): Call check2.
44450         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44451         and bug-strchr1.
44452         * string/bug-strcasestr1.c (do_test): Moved to ...
44453         * string/test-strcasestr.c (check1): Here.  New function.
44454         (do_one_test): Break out result checking code into ...
44455         (check_result): This.  New function.
44456         (do_one_test): Call check_result.
44457         (test_main): Call check1.
44458         * string/bug-strchr1.c (do_test): Moved to ...
44459         * string/test-strchr.c (check1): Here.  New function.
44460         (do_one_test): Break out result checking code into ...
44461         (check_result): This.  New function.
44462         (do_one_test): Call check_result.
44463         (test_main): Call check1.
44464         * string/bug-strstr1.c (main): Moved to ...
44465         * string/test-strstr.c (check1): Here.  New function.
44466         (do_one_test): Break out result checking code into ...
44467         (check_result): This.  New function.
44468         (do_one_test): Call check_result.
44469         (test_main): Call check1.
44470         * string/bug-strcasestr1.c: Removed.
44471         * string/bug-strchr1.c: Likewise.
44472         * string/bug-strstr1.c: Likewise.
44474         * elf/Makefile (dl-routines): Add hwcaps.
44475         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44476         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44477         (_dl_important_hwcaps): Moved to ...
44478         * elf/dl-hwcaps.c: Here.  New file.
44479         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44481         [BZ #14557]
44482         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44483         if IS_IN_rtld isn't defined.
44485         * elf/dl-support.c (_dl_sysinfo_map): New.
44486         Include "get-dynamic-info.h" and "setup-vdso.h".
44487         (_dl_non_dynamic_init): Call setup_vdso.
44488         * elf/dynamic-link.h: Don't include <assert.h>.
44489         (elf_get_dynamic_info): Moved to ...
44490         * elf/get-dynamic-info.h: Here.  New file.
44491         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44492         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44493         * elf/setup-vdso.h: Here.  New file.
44494         * elf/rtld.c: Include "setup-vdso.h".
44495         (dl_main): Call setup_vdso.
44497 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44499         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44500         creal in comment listing functions tested.  List finite, isinf,
44501         isnan, isless, islessequal, isgreater, isgreaterequal,
44502         islessgreater, isunordered, lgamma_r and pow10 as functions and
44503         macros not tested.  Mention which functions not tested are aliases
44504         for other functions.  Fix typo.  Note that signs of NaNs are not
44505         tested.
44507         * scripts/config.guess: Update from config.git.
44508         * scripts/config.sub: Likewise.
44510 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44512         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44513         * misc/madvise.c (madvise): Renamed to __madvise.
44514         Make madvise a weak alias.
44515         * include/sys/mman.h: Declare __madvise.
44516         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44517         * sysdeps/unix/syscalls.list
44518         (madvise): Make __madvise the strong name, and madvise a weak alias.
44519         * sysdeps/unix/sysv/linux/syscalls.list
44520         (madvise, mmap): Remove redundant entries.
44521         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44522         * malloc/malloc.c (mtrim): Likewise.
44523         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44525 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44527         * sysdeps/mach/hurd/dl-cache.c: File removed.
44528         * config.h.in (USE_LDCONFIG): New #undef.
44529         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44530         * configure: Regenerated.
44531         * elf/Makefile (dl-routines): Add dl-cache only under
44532         [$(use-ldconfig) = yes].
44533         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44534         cache on [USE_LDCONFIG].
44535         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44536         [USE_LDCONFIG].
44537         * elf/rtld.c (dl_main): Likewise.
44539 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44541         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44542         _SC_LEVEL4_CACHE_LINESIZE.
44544 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44546         * sysdeps/unix/bsd/confstr.h: File removed.
44548 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44550         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44551         sys/sdt-config.h.
44553 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44555         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44556         Make 'mapoff' field ElfW(Off) rather than off_t.
44558 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44560         * nscd/Makefile: Remove nscd-cflags and all its users.
44561         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44562         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44564         [BZ #10631]
44565         * malloc.c (malloc_printerr): Clarify error message.
44567 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44569         [BZ #14648]
44570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44571         Set bit_FMA_Usable if FMA is supported.
44572         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44573         macro.
44574         (bit_FMA4_Usable): Updated.
44575         (index_FMA_Usable): New macro.
44576         (CPUID_FMA): Likewise
44577         (HAS_FMA): Defined with bit_FMA_Usable.
44579 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44581         * bits/types.h (__swblk_t): Type removed.
44582         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44583         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44584         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44585         (__SWBLK_T_TYPE): Likewise.
44586         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44587         (__SWBLK_T_TYPE): Likewise.
44588         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44589         (__SWBLK_T_TYPE): Likewise.
44590         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44591         (__SWBLK_T_TYPE): Likewise.
44593 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44594             Honza Horak <hhorak@redhat.com>
44596         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44597         (xdr_mapname): Use YPMAXMAP as maxsize.
44598         (xdr_peername): Use YPMAXPEER as maxsize.
44599         (xdr_keydat): Use YPAXRECORD as maxsize.
44600         (xdr_valdat): Use YPMAXRECORD as maxsize.
44602 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44604         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44606         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44607         * csu/init-first.c: ... here.
44608         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44609         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44610         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44611         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44612         * sysdeps/i386/init-first.c: File removed.
44613         * sysdeps/sh/init-first.c: File removed.
44615 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44617         [BZ #14645]
44618         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44619         if x * y might underflow to zero and z is zero.
44620         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44621         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44622         * math/libm-test.inc (min_subnorm_value): New variable.
44623         (fma_test): Add more tests.
44624         (fma_test_towardzero): Likewise.
44625         (fma_test_downward): Likewise
44626         (fma_test_upward): Likewise.
44627         (initialize): Set min_subnorm_value.
44629 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44631         [BZ #14638]
44632         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44633         0 + 0.
44634         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44635         mode for addition resulting in exact zero.
44636         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44637         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44638         exact 0 + 0.
44639         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44640         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44641         * math/libm-test.inc (fma_test): Add more tests.
44642         (fma_test_towardzero): New function.
44643         (fma_test_downward): Likewise.
44644         (fma_test_upward): Likewise.
44645         (main): Call the new functions.
44647 2012-09-28  David S. Miller  <davem@davemloft.net>
44649         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44651 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44653         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44654         instead of SIGALRM.
44656         * sysdeps/gnu/_G_config.h: Moved to ...
44657         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44658         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44659         * sysdeps/generic/_G_config.h: ... here.
44661         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44663         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44665         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44666         Conditionalize target on [libnss_test1.so-version].
44668         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44670         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44671         (elfobjdir): Move out of conditionals.
44673         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44674         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44675         (__nss_lookup_function): Conditionalize label remove_from_tree on
44676         [!DO_STATIC_NSS || SHARED], matching its only use.
44678 2012-09-28  David S. Miller  <davem@davemloft.net>
44680         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44681         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44682         file.
44683         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44684         sysdep_routines.
44685         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44686         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44687         when HWCAP_SPARC_CRYPTO is present.
44689 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44691         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44693 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44695         [BZ #6530]
44696         * stdio-common/vfprintf.c (process_string_arg): Revert
44697         2000-07-22 change.
44699 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44701         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44702         for testcase.
44703         * stdio-common/tst-sprintf.c: Include <locale.h>
44704         (main): Test sprintf's handling of incomplete multibyte
44705         characters.
44707 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44709         * elf/dl-runtime.c (VERSYMIDX): Removed.
44710         * elf/dl-version.c (VERSYMIDX): Likewise.
44711         * elf/do-rel.h (VERSYMIDX): Likewise.
44712         (VALIDX): Likewise.
44713         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44714         * elf/rtld.c (VALIDX): Likewise.
44715         (ADDRIDX): Likewise.
44716         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44717         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44718         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44719         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44720         (VALIDX): Likewise.
44721         (ADDRIDX): Likewise.
44723 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44725         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44727 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44729         [BZ #11438]
44730         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44731         to global scope.
44732         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44733         addresses are in the same scope as 192.0.2/24.
44734         * posix/gai.conf: Document new scope table defaults.
44736 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44738         [BZ #5298]
44739         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44740         for ftell.  Compute offsets from write pointers instead.
44741         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44743 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44745         [BZ #14543]
44746         * libio/Makefile (tests): New test case tst-fseek.
44747         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44748         combination works in wide mode.
44749         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44750         state when the external buffer state changes.
44752 2012-09-27  David S. Miller  <davem@davemloft.net>
44754         [BZ #14376]
44755         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44756         pass reloc->r_addend in as the 'high' argument to
44757         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44761 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44763         * rt/tst-aio2.c: Include <pthread.h>.
44764         * rt/tst-aio3.c: Likewise.
44766 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44768         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44770 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44772         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44773         contents on [SHARED].
44775 2012-09-26  Marek Polacek  <polacek@redhat.com>
44777         [BZ #14530]
44778         [BZ #13741]
44779         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44780         for C++ and GCC <4.3 as well as for non GCC compilers.
44782 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44784         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44786 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44788         * Makefile.in (all, install): Declare with .PHONY.
44789         Reported by Michael Hope <michael.hope@linaro.org>.
44791 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44793         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44794         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44795         system header.
44796         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44797         Likewise.
44798         (sydep_routines): Add the new and the internal functions.
44799         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44800         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44802         (GLIBC_2.17): Add the new function.
44803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44804         (GLIBC_2.17): Likewise.
44805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44806         (GLIBC_2.17): Likewise.
44807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44808         (GLIBC_2.17): Likewise.
44809         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44811 2012-09-25  Alan Modra  <amodra@gmail.com>
44813         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44814         Add release barrier before setting once_control to say
44815         initialisation is done.  Add hints on lwarx.  Use macro in
44816         place of isync.
44817         (clear_once_control): Add release barrier.
44819 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44821         [BZ #13629]
44822         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44823         specially.
44824         * math/s_clog10.c (__clog10): Likewise.
44825         * math/s_clog10f.c (__clog10f): Likewise.
44826         * math/s_clog10l.c (__clog10l): Likewise.
44827         * math/s_clogf.c (__clogf): Likewise.
44828         * math/s_clogl.c (__clogl): Likewise.
44829         * math/Makefile (libm-calls): Add x2y2m1.
44830         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44831         (__x2y2m1): Likewise.
44832         (__x2y2m1l): Likewise.
44833         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44834         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44835         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44836         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44837         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44838         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44839         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44840         * sysdeps/i386/fpu/libm-test-ulps: Update.
44841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44843         [BZ #14621]
44844         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44845         int as type of variable DEPTH.
44846         (glob): Use size_t instead of int as type of variables NEWCOUNT
44847         and OLD_PATHC.
44849 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44851         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44852         Add s_sincosf-sse2.
44853         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44854         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44855         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44856         macros for using routine as __sincosf_ia32.
44857         Use macro for function declaration and weak_alias.
44858         * sysdeps/i386/fpu/libm-test-ulps: Update.
44860         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44863         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44864         subnormal argument.
44865         * math/s_cexpf.c (__cexpf): Likewise.
44866         * math/s_csinf.c (__csinf): Likewise.
44867         * math/s_csinhf.c (__csinhf): Likewise.
44868         * math/s_ctanf.c (__ctanf): Likewise.
44869         * math/s_ctanhf.c (__ctanhf): Likewise.
44870         * math/s_ccosh.c (__ccoshf): Likewise.
44871         * math/s_cexp.c (__cexpl): Likewise.
44872         * math/s_csin.c (__csin): Likewise.
44873         * math/s_csinh.c (__csinh): Likewise.
44874         * math/s_ctan.c (__ctan): Likewise.
44875         * math/s_ctanh.c (ctanh): Likewise.
44876         * math/s_ccoshl.c (__ccoshl): Likewise.
44877         * math/s_cexpl.c (__cexpl): Likewise.
44878         * math/s_csinl.c (__csinl): Likewise.
44879         * math/s_csinhl.c (__csinhl): Likewise.
44880         * math/s_ctanl.c (__ctanl): Likewise.
44881         * math/s_ctanhl.c (__ctanhl): Likewise.
44883 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44885         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44886         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44887         (_IO_off_t): Define to __off_t, not _G_off_t.
44888         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44889         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44890         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44891         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44892         type of __dummy and __dummy2 fields.
44893         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44894         (_G_ssize_t): Likewise.
44895         (_G_off_t): Likewise.
44896         (_G_pid_t): Likewise.
44897         (_G_uid_t): Likewise.
44898         (_G_wchar_t): Likewise.
44899         (_G_wint_t): Likewise.
44900         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44901         (_G_ssize_t): Likewise.
44902         (_G_off_t): Likewise.
44903         (_G_pid_t): Likewise.
44904         (_G_uid_t): Likewise.
44905         (_G_wchar_t): Likewise.
44906         (_G_wint_t): Likewise.
44907         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44908         (_G_ssize_t): Likewise.
44909         (_G_off_t): Likewise.
44910         (_G_pid_t): Likewise.
44911         (_G_uid_t): Likewise.
44912         (_G_wchar_t): Likewise.
44913         (_G_wint_t): Likewise.
44915 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44917         * malloc/arena.c: Include malloc-sysdep.h.
44918         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44919         is sufficient to shrink the heap or an unmap is needed.
44920         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44921         new function check_may_shrink_heap.
44922         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44923         new function check_may_shrink_heap.
44925 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44927         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44928         comments.
44930 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44932         * catgets/test-gencat.sh: Add "set -e".
44933         * elf/tst-pathopt.sh: Likewise.
44934         * grp/tst_fgetgrent.sh: Likewise.
44935         * iconvdata/run-iconv-test.sh: Likewise.
44936         * intl/tst-gettext.sh: Likewise.
44937         * intl/tst-gettext2.sh: Likewise.
44938         * intl/tst-gettext4.sh: Likewise.
44939         * intl/tst-gettext6.sh: Likewise.
44940         * intl/tst-translit.sh: Likewise.
44941         * io/ftwtest-sh: Likewise.
44942         * libio/test-freopen.sh: Likewise.
44943         * malloc/tst-mtrace.sh: Likewise.
44944         * posix/globtest.sh: Likewise.
44945         * posix/tst-getconf.sh: Likewise.
44946         * posix/wordexp-tst.sh: Likewise.
44947         * stdio-common/tst-printf.sh: Likewise.
44948         * stdio-common/tst-unbputc.sh: Likewise.
44949         * stdlib/tst-fmtmsg.sh: Likewise.
44950         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44951         * catgets/Makefile: Do not specify -e option when running
44952         testsuite shell scripts.
44953         * elf/Makefile: Likewise.
44954         * grp/Makefile: Likewise.
44955         * iconvdata/Makefile: Likewise.
44956         * intl/Makefile: Likewise.
44957         * io/Makefile: Likewise.
44958         * libio/Makefile: Likewise.
44959         * malloc/Makefile: Likewise.
44960         * posix/Makefile: Likewise.
44961         * stdio-common/Makefile: Likewise.
44962         * stdlib/Makefile: Likewise.
44963         * sysdeps/x86_64/Makefile: Likewise.
44965         * io/ftwtest-sh: Add copyright header.
44966         * posix/globtest.sh: Likewise.
44967         * posix/tst-getconf.sh: Likewise.
44968         * posix/wordexp-tst.sh: Likewise.
44969         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44971 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44973         [BZ #13679]
44974         * Makeconfig (+link): Defined as $(+link-static) if
44975         $(build-shared) isn't yes.
44976         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44977         isn't yes.
44978         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44980         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44982         [BZ #14562]
44983         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44984         new chunk size with MALLOC_ALIGN_MASK.
44986 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44988         [BZ #5044]
44989         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44990         <rounding-mode.h>.
44991         (__printf_fphex): Determine rounding using get_rounding_mode and
44992         round_away.
44993         * stdio-common/tst-printf-round.c (struct hex_test): New
44994         structure.
44995         (hex_tests): New variable.
44996         (test_hex_in_one_mode): New function.
44997         (do_test): Also run tests for hex float output.
44999 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
45001         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45002         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45003         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45004         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45005         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45006         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45007         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45008         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45010 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
45012         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45013         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45014         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45015         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45017 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
45019         [BZ #14579]
45020         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45021         mode only.
45022         * elf/tst-rtld-load-self.sh: New test.
45023         * elf/Makefile: Run it.
45025 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45027         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45028         (tst-writev-ENV): Remove.
45029         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45031 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45033         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45035 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45037         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45038         unconditional.
45039         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45040         Likewise.
45041         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45042         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45043         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45044         Likewise.
45046 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45048         [BZ #14587]
45049         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45050         * config.make.in (have-cpp-asm-debuginfo): Removed.
45051         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45052         * configure: Regenerated.
45054 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45056         [BZ #5044]
45057         * stdio-common/printf_fp.c: Include <stdbool.h> and
45058         <rounding-mode.h>.
45059         (___printf_fp): Determine rounding using get_rounding_mode and
45060         round_away.
45061         * stdio-common/tst-printf-round.c: New file.
45062         * stdio-common/Makefile (tests): Add tst-printf-round.
45063         (link-libm): New variable.
45064         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45066 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45068         [BZ #14576]
45069         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45070         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45071         Likewise.
45072         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45073         Likewise.
45075 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45077         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45078         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45079         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45080         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45082 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45084         [BZ #14518]
45085         * include/rounding-mode.h: New file.
45086         * sysdeps/generic/get-rounding-mode.h: Likewise.
45087         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45088         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45089         (MAX_VALUE): New macro.
45090         (MIN_VALUE): Likewise.
45091         (overflow_value): New function.
45092         (underflow_value): Likewise.
45093         (round_and_return): Use overflow_value and underflow_value to
45094         determine return values in overflow and underflow cases.  Use
45095         round_away to determine rounding depending on rounding mode.
45096         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45097         determine return values in overflow and underflow cases.
45098         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45099         (struct test_results): New structure.
45100         (struct test): Use struct test_results to store expected results
45101         for all rounding modes.
45102         (TEST): Include expected results for all rounding modes.
45103         (test_in_one_mode): New function.
45104         (do_test): Use test_in_one_mode to compute and check results.
45105         Check results for all rounding modes.
45106         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45107         $(link-libm).
45109 2012-12-09  Allan McRae  <allan@archlinux.org>
45111         * sysdeps/i386/fpu/libm-test-ulps: Update
45113 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45115         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45116         (_G_int32_t): Likewise.
45117         (_G_uint16_t): Likewise.
45118         (_G_uint32_t): Likewise.
45119         (_G_HAVE_BOOL): Likewise.
45120         (_G_HAVE_ATEXIT): Likewise.
45121         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45122         (_G_HAVE_IO_FILE_OPEN): Likewise.
45123         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45124         (_G_int32_t): Likewise.
45125         (_G_uint16_t): Likewise.
45126         (_G_uint32_t): Likewise.
45127         (_G_HAVE_BOOL): Likewise.
45128         (_G_HAVE_ATEXIT): Likewise.
45129         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45130         (_G_HAVE_IO_FILE_OPEN): Likewise.
45131         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45132         (_G_int32_t): Likewise.
45133         (_G_uint16_t): Likewise.
45134         (_G_uint32_t): Likewise.
45135         (_G_HAVE_BOOL): Likewise.
45136         (_G_HAVE_ATEXIT): Likewise.
45137         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45138         (_G_HAVE_IO_FILE_OPEN): Likewise.
45140 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45142         * csu/libc-tls.c: Update copyright years.
45144 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45146         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45147         [!_G_USING_THUNKS]: Remove conditional code.
45148         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45149         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45151         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45152         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45153         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45154         (_G_VTABLE_LABEL_PREFIX): Likewise.
45155         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45156         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45157         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45158         (_G_VTABLE_LABEL_PREFIX): Likewise.
45159         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45160         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45161         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45162         (_G_VTABLE_LABEL_PREFIX): Likewise.
45163         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45165 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45167         * libio/Makefile: Include ../Makeconfig before tests.
45168         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45169         only if $(build-shared) is yes.
45171         * iconv/gconv_db.c: Update copyright years.
45173 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45175         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45176         unwind info if defined PIC. Fix special cases description.
45177         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45179         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45180         DP_HI_MASK entry.
45181         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45183 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45185         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45187         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45188         is NULL.
45190         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45191         (LDLIBS-tst-chk4): This.
45192         (LDFLAGS-tst-chk5): Renamed to ...
45193         (LDLIBS-tst-chk5): This.
45194         (LDFLAGS-tst-chk6): Renamed to ...
45195         (LDLIBS-tst-chk6): This.
45196         (LDFLAGS-tst-lfschk4): Renamed to ...
45197         (LDLIBS-tst-lfschk4): This.
45198         (LDFLAGS-tst-lfschk5): Renamed to ...
45199         (LDLIBS-tst-lfschk5): This.
45200         (LDFLAGS-tst-lfschk6): Renamed to ...
45201         (LDLIBS-tst-lfschk6): This.
45203         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45204         on $(common-objpfx)soversions.mk.
45206 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45208         [BZ #10014]
45209         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45210         example host name.
45212 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45214         * malloc/arena.c (arena_get_retry): New function that gets
45215         another arena for the caller to try its request on.
45216         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45217         current arena cannot fulfill the request.
45218         (__libc_memalign): Likewise.
45219         (__libc_memalign): Likewise.
45220         (__libc_pvalloc): Likewise.
45221         (__libc_calloc): Likewise.
45223 2012-09-05  John Tobey  <john.tobey@gmail.com>
45225         [BZ #13542]
45226         * manual/arith.texi (Operations on Complex): Fix description
45227         of carg branch cut.
45229 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45231         [BZ #10014]
45232         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45233         host name.
45235         [BZ #10038]
45236         * manual/memory.texi (Memory): Make order of menu items match
45237         order of sections.
45239 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45241         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45242         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45243         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45245 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45247         * csu/libc-tls.c (static_dtv): Renamed to ...
45248         (_dl_static_dtv): This.  Make it global.
45249         (_dl_initial_dtv): Removed.
45250         (__libc_setup_tls): Updated.
45251         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45252         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45253         DL_INITIAL_DTV.
45255 2012-09-06  Petr Machata  <pmachata@redhat.com>
45257         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45258         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45259         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45260         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45262 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45264         [BZ #14545]
45265         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45266         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45267         freeing dtv[-1].
45269 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45271         [BZ #14544]
45272         * Makeconfig (link-static-before-libc): Replace $(+prector)
45273         with $(+prectorT).
45274         (link-static-after-libc): Replace $(+postctor) with
45275         $(+postctorT).
45276         (link-bounded): Replace $(+prector)/$(+postctor) with
45277         $(+prectorT)/$(+postctorT).
45278         (+prectorT): New macro.
45279         (+postctorT): Likewise.
45281 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45283         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45284         (round_str): Handle values above the maximum for IBM long double
45285         as inexact.
45286         * stdlib/tst-strtod-round.c (tests): Regenerated.
45288 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45290         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45291         assembler flag.
45292         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45293         zarch_nohighgprs around the zarch optimized routines.
45294         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45295         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45296         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45297         for zarch.
45299 2012-09-05  David S. Miller  <davem@davemloft.net>
45301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45303         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45304         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45305         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45306         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45307         entries.
45309 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45311         * malloc/arena.c: Fold copyright years.
45312         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45314 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45316         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45318 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45320         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45322 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45324         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45325         change internal state upon failure.
45327 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45329         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45330         * malloc/memusage.c (mmap): Likewise.
45331         (mmap64, mremap): Likewise.  Adjust name in comment.
45333 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45335         * libio/fileops.c: Fix typos in comments.
45336         * libio/oldfileops.c: Likewise.
45337         * libio/wfileops.c: Likewise.
45339 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45341         [BZ #1349]
45342         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45343         (tst-malloc-usable-ENV): Set environment for test case.
45344         * malloc/hooks.c (malloc_check_get_size): New function to get
45345         requested size.
45346         * malloc/malloc.c (musable): Use malloc_check_get_size.
45347         * malloc/tst-malloc-usable.c: New test case.
45349 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45351         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45353 2012-09-05  Allan McRae  <allan@archlinux.org>
45355         [BZ #13966]
45356         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45357         determine header location.
45358         * configure: Regenerated.
45360 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45362         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45363         float format.
45364         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45365         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45366         format.
45367         (test): Regenerate.
45369 2012-09-04  David S. Miller  <davem@davemloft.net>
45371         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45372         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45373         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45375 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45377         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45378         failures.
45380         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45382 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45384         [BZ #9914]
45385         * libio/iogetdelim.c: Include <limits.h>.
45386         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45387         + len + 1 would overflow.
45389 2012-09-03  Andreas Jaeger  <aj@suse.de>
45391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45392         * sysdeps/i386/fpu/libm-test-ulps: Update.
45394 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45396         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45397         Add s_sinf-sse2, s_conf-sse2.
45399         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45400         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45401         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45402         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45404         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45405         for using routine as __sinf_ia32.
45406         Use macro for function declaration and weak_alias.
45407         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45408         for using routine as __cosf_ia32.
45409         Use macro for function declaration and weak_alias.
45411         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45412         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45414         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45415         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45418         * math/libm-test.inc (cos_test): Add more test cases.
45419         (sin_test): Likewise.
45420         (sincos_test): Likewise.
45422 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45424         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45425         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45426         hidden.
45427         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45429 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45431         [BZ #14538]
45432         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45433         first element of the GOT.
45434         (elf_machine_load_address): Return the difference between
45435         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45437 2012-09-01  Allan McRae  <allan@archlinux.org>
45439         [BZ #13412]
45440         * configure.in (AWK): Require gawk version 3.0 or later.
45441         * configure: Regenerated.
45443 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45445         * sysdeps/unix/sysv/linux/kernel-features.h
45446         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45447         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45448         [__NR_clock_getres]: Make code unconditional.
45449         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45450         (clock_getcpuclockid): Remove code left unreachable by removal of
45451         conditionals.
45452         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45453         code unconditional.
45454         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45455         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45456         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45457         Make code unconditional.
45458         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45459         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45460         * sysdeps/unix/sysv/linux/clock_settime.c
45461         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45462         conditional code.
45463         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45464         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45466 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45468         [BZ #14476]
45469         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45470         scripts/test-installation.pl.
45472         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45473         and $ld_so_version if it is set.
45475 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45477         [BZ #14516]
45478         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45479         failure if reading from procfs failed.
45480         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45482 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45484         * sysdeps/unix/sysv/linux/kernel-features.h
45485         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45486         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45487         Remove conditional code.
45488         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45489         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45490         Remove conditional code.
45491         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45492         * sysdeps/unix/sysv/linux/i386/fxstat.c
45493         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45494         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45495         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45496         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45497         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45498         * sysdeps/unix/sysv/linux/i386/lxstat.c
45499         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45500         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45501         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45502         Remove conditional code.
45503         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45504         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45505         Remove conditional code.
45506         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45507         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45508         <kernel-features.h>.
45509         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45510         Remove.
45511         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45512         Remove conditional code.
45513         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45514         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45515         Remove conditional.
45517 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45519         [BZ #5400]
45520         * NEWS: Add fixed bug number.
45522 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45524         [BZ #14519]
45525         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45526         underflowing exponent in case of negative sign.
45527         * stdlib/tst-strtod-round-data: Add more tests.
45528         * stdlib/tst-strtod-round.c (tests): Regenerated.
45530         [BZ #3479]
45531         * stdlib/strtod_l.c (NDIG): Remove.
45532         (HEXNDIG): Likewise.
45533         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45534         smallest representable value.
45535         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45536         lie within an exact representation of 1/2 ulp of the result.
45537         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45538         unconditionally.
45539         (TENS_P9_IDX): Define unconditionally.
45540         (TENS_P9_SIZE): Likewise.
45541         (TENS_P10_IDX): Likewise.
45542         (TENS_P10_SIZE): Likewise.
45543         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45544         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45545         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45546         entries for 10^2^13 and 10^2^14.
45547         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45548         (TENS_P13_IDX): Define.
45549         (TENS_P13_SIZE): Likewise.
45550         (TENS_P14_IDX): Likewise.
45551         (TENS_P14_SIZE): Likewise.
45552         (_fpioconst_pow10): Change array size to
45553         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45554         unconditional.
45555         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45556         1024]: Add entries for 10^2^13 and 10^2^14.
45557         [LAST_POW10 > _LAST_POW10]: Remove #error.
45558         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45559         (_fpioconst_pow10): Change array size to
45560         FPIOCONST_POW10_ARRAY_SIZE.
45561         * stdlib/gen-fpioconst.c: New file.
45562         * stdlib/gen-tst-strtod-round.c: Likewise.
45563         * stdlib/tst-strtod-round-data: Likewise.
45564         * stdlib/tst-strtod-round.c: Likewise.
45565         * stdlib/Makefile (tests): Add tst-strtod-round.
45567         [BZ #14459]
45568         * stdlib/strtod_l.c: Include <stdint.h>.
45569         (NDEBUG): Do not define.
45570         (round_and_return): Change EXPONENT parameter to type intmax_t.
45571         Rearrange calculations to avoid internal overflow possibilities.
45572         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45573         Rearrange calculations to avoid internal overflow possibilities.
45574         Assert that number fits inside MPNSIZE limbs.
45575         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45576         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45577         calculations and add assertions to avoid internal overflow
45578         possibilities.  Add casts to avoid signed/unsigned operations.
45579         * stdlib/tst-strtod-overflow.c: New file.
45580         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45582 2012-08-25  Marek Polacek  <polacek@redhat.com>
45584         * time/time.h: Fix some typos in comments.
45586 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45588         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45589         * posix/tst-rfc3484-2.c: Likewise.
45590         * posix/tst-rfc3484-3.c: Likewise.
45592 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45594         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45595         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45597 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45599         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45600         #include of fxstatat64.c.
45602 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45604         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45605         * shadow/getspent_r.c: Likewise.
45606         * shadow/getspnam.c: Likewise.
45607         * shadow/getspnam_r.c: Likewise.
45608         * gshadow/getsgent.c: Likewise.
45609         * gshadow/getsgent_r.c: Likewise.
45610         * gshadow/getsgnam.c: Likewise.
45611         * gshadow/getsgnam_r.c: Likewise.
45612         * inet/getnetbyad.c: Likewise.
45613         * inet/getnetbyad_r.c: Likewise.
45614         * inet/getnetbynm.c: Likewise.
45615         * inet/getnetbynm_r.c: Likewise.
45616         * inet/getnetent.c: Likewise.
45617         * inet/getnetent_r.c: Likewise.
45618         * inet/getproto.c: Likewise.
45619         * inet/getproto_r.c: Likewise.
45620         * inet/getprtent.c: Likewise.
45621         * inet/getprtent_r.c: Likewise.
45622         * inet/getprtname.c: Likewise.
45623         * inet/getprtname_r.c: Likewise.
45624         * inet/getrpcbyname.c: Likewise.
45625         * inet/getrpcbyname_r.c: Likewise.
45626         * inet/getrpcbynumber.c: Likewise.
45627         * inet/getrpcbynumber_r.c: Likewise.
45628         * inet/getrpcent.c: Likewise.
45629         * inet/getrpcent_r.c: Likewise.
45630         * inet/getaliasent.c: Likewise.
45631         * inet/getaliasent_r.c: Likewise.
45632         * inet/getaliasname.c: Likewise.
45633         * inet/getaliasname_r.c: Likewise.
45634         * nscd/getgrgid_r.c: Likewise.
45635         * nscd/getgrnam_r.c: Likewise.
45636         * nscd/gethstbyad_r.c: Likewise.
45637         * nscd/gethstbynm3_r.c: Likewise.
45638         * nscd/getpwnam_r.c: Likewise.
45639         * nscd/getpwuid_r.c: Likewise.
45640         * nscd/getsrvbynm_r.c: Likewise.
45641         * nscd/getsrvbypt_r.c: Likewise.
45642         * nscd/gai.c: Likewise.
45644         * configure.in (build_nscd): New substituted variable, set
45645         by --disable-build-nscd and defaults to $use_nscd.
45646         * configure: Regenerated.
45647         * config.make.in (build-nscd): New substituted variable.
45648         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45649         Change conditional to require [$(build-nscd) = yes] as well.
45650         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45652         [BZ# 13696]
45653         * configure.in (use_nscd): New substituted variable, set by
45654         --disable-nscd.  If enabled, define USE_NSCD.
45655         * configure: Regenerated.
45656         * config.h.in: Add USE_NSCD.
45657         * config.make.in (use-nscd): New substituted variable.
45658         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45659         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45660         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45661         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45662         (CFLAGS-getgrnam_r.c): Likewise.
45663         (CFLAGS-initgroups.c): Likewise.
45664         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45665         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45666         Variables removed.
45667         * inet/getnetgrent_r.c
45668         (nscd_setnetgrent): New function, broken out of ...
45669         (setnetgrent): ... here.  Call it.
45670         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45671         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45672         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45673         * nscd/Makefile (routines, aux): Move definitions after include of
45674         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45675         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45676         Conditionalize on [USE_NSCD].
45677         (is_nscd, nscd_init_cb): Likewise.
45678         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45679         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45680         * nss/nss_db/db-init.c: Likewise.
45681         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45682         [USE_NSCD].
45683         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45684         (make_request): Use it.
45685         (cache_valid_p): New function.
45686         (__check_pf): Use it.
45687         * NEWS: Add item for --disable-nscd.
45689 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45691         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45692         to support sed >= 4.2.1-20-ga9bf076.
45693         * configure: Regenerated.
45695 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45697         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45698         Conditionalize whole body on [IREL].
45700 2012-08-22  Jeff Law <law@redhat.com>
45702         [BZ #14505]
45703         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45704         if the family is PF_UNSPEC.
45706 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45708         * Makerules (lib-version): Rename from V.
45709         (install-lib-nosubdir): Change V to lib-version.
45711 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45713         [BZ #14252]
45714         * powerpc32/power6/wcschr.c: New file.
45715         * powerpc32/power6/wcscpy.c: New file.
45716         * powerpc32/power6/wcsrchr.c: New file.
45717         * powerpc64/power6/wcschr.c: New file.
45718         * powerpc64/power6/wcscpy.c: New file.
45719         * powerpc64/power6/wcsrchr.c: New file.
45721 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45723         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45724         (two_way_short_needle): Use it.
45725         * string/strstr.c (AVAILABLE1_USES_J): Define.
45726         * string/strcasestr.c: Likewise.
45728         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45729         array references.
45730         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45732         [BZ #11607]
45733         * NEWS: Add an entry.
45734         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45735         define their defaults.
45736         (two_way_short_needle): Detect end-of-string on-the-fly.
45737         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45738         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45739         * string/bug-strcasestr1.c: New test.
45740         * string/Makefile: Run it.
45742 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45744         [BZ #11607]
45745         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45746         the first character.
45748 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45750         * csu/elf-init.c (__libc_csu_irel): Function removed.
45751         * csu/libc-start.c (apply_irel): New function.
45752         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45754 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45756         * sysdeps/unix/sysv/linux/kernel-features.h
45757         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45758         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45759         <kernel-features.h>.
45760         [__NR_fadvise64_64]: Make code unconditional.
45761         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45762         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45763         !__NR_fadvise64_64)]: Likewise.
45764         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45765         !__NR_fadvise64_64))]: Likewise.
45766         [__NR_fadvise64]: Make code unconditional.
45767         [!__NR_fadvise64]: Remove conditional code.
45768         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45769         <kernel-features.h>.
45770         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45771         unconditional.
45772         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45773         conditional code.
45774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45775         not include <kernel-features.h>.
45776         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45777         unconditional.
45778         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45779         conditional code.
45780         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45781         include <kernel-features.h>.
45782         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45783         unconditional.
45784         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45785         conditional code.
45787 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45789         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45790         slight instruction rearrangements per scrollpipe analysis.
45791         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45793 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45795         * manual/syslog.texi (syslog; vsyslog, closelog):
45796         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45797         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45799         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45800         DSOCAPS to match condition on defining it.
45802 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45804         * sysdeps/unix/sysv/linux/kernel-features.h
45805         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45807         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45808         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45810         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45811         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45813         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45814         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45816         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45817         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45819         * sysdeps/unix/sysv/linux/kernel-features.h
45820         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45821         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45822         unconditional.
45823         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45824         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45825         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45826         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45827         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45828         Make code unconditional.
45829         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45830         (__mmap64) [!__NR_mmap2]: Likewise.
45831         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45832         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45833         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45834         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45835         [__NR_mmap2]: Make code unconditional.
45836         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45837         (__mmap64) [!__NR_mmap2]: Likewise.
45839 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45841         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45843 2012-08-18  Andreas Jaeger  <aj@suse.de>
45845         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45847 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45849         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45850         * include/unistd.h (__have_sock_cloexec): Likewise.
45851         (__have_pipe2): Likewise.
45852         (__have_dup3): Likewise.
45854 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45856         [BZ #9685]
45857         * include/unistd.h (__have_pipe2): Change define into an extern int.
45858         (__have_dup3): Likewise.
45859         * socket/have_sock_cloexec.c: Include fcntl.h.
45860         (__have_pipe2): New variable.
45861         (__have_dup3): Likewise.
45863 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45865         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45867 2012-08-17  Marek Polacek  <polacek@redhat.com>
45869         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45870         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45872 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45874         * configure.in: Add AC_SUBST for sysheaders.
45875         * configure: Regenerated.
45876         * config.make.in (sysheaders): New substituted variable.
45878         * sysdeps/unix/mkfifo.c: Moved ...
45879         * sysdeps/posix/mkfifo.c: ... here.
45880         * sysdeps/unix/mkfifoat.c: Moved ...
45881         * sysdeps/posix/mkfifoat.c: ... here.
45883         * sysdeps/unix/utime.c: Moved ...
45884         * sysdeps/posix/utime.c: ... here.
45886         * sysdeps/unix/time.c: Moved ...
45887         * sysdeps/posix/time.c: ... here.
45888         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45889         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45891         * sysdeps/unix/nice.c: Moved ...
45892         * sysdeps/posix/nice.c: ... here.
45894         * sysdeps/unix/alarm.c: Moved ...
45895         * sysdeps/posix/alarm.c: ... here.
45897         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45899 2012-08-17  Jeff Law <law@redhat.com>
45901         * intl/Makefile (codeset_mo): New variable.
45902         ($(codeset_mo)): New target.
45903         (tst-codeset.out): Depend on that.  Remove explicit rule.
45904         (tst-gettext3.out, tst-gettext5.out): Likewise.
45905         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45906         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45907         * intl/tst-codeset.sh: Remove.
45908         * intl/tst-gettext3.sh: Likewise.
45909         * intl/tst-gettext5.sh: Likewise.
45911 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45913         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45914         * sysdeps/unix/syscalls.list: ... here.
45916         * sysdeps/posix/getaddrinfo.c
45917         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45918         (gaiconf_init, gaiconf_reload): Use them.
45919         [!_STATBUF_ST_NSEC]
45920         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45921         Define using time_t rather than struct timespec.
45923         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45924         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45925         Macros removed.
45926         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45927         [!NO_THREADS].
45928         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45929         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45930         Likewise.
45932         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45933         __libc_cleanup_push argument.
45935         * bits/param.h: New file.
45936         * misc/sys/param.h: New file.
45937         * include/sys/param.h: New file.
45938         * misc/Makefile (headers): Add bits/param.h.
45939         * sysdeps/generic/sys/param.h: File removed.
45940         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45941         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45942         * sysdeps/mach/hurd/bits/param.h: New file.
45943         * sysdeps/mach/hurd/sys/param.h: File removed.
45945         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45946         last change.
45948         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45949         [_IO_MTSAFE_IO].
45950         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45951         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45952         New macros.
45954         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45955         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45956         rather than -D_IO_MTSAFE_IO conditionally.
45957         * stdio-common/Makefile (CPPFLAGS): Likewise.
45958         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45959         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45960         Use $(libio-mtsafe).
45961         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45962         of -D_IO_MTSAFE_IO.
45963         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45964         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45965         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45966         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45967         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45968         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45969         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45970         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45971         (CFLAGS-fread_u_chk.c): Likewise.
45972         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45973         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45974         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45975         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45976         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45977         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45978         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45979         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45980         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45982         * libio/Makefile: Test [$(libc-reentrant) = yes]
45983         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45985         * Makeconfig
45986         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45987         * sysdeps/pthread/configure: File removed.
45988         * sysdeps/pthread/Makeconfig: New file.
45989         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45990         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45992 2012-08-16  Gary Benson  <gbenson@redhat.com>
45994         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45995         unmapping the first object in a namespace.
45997 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45999         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46000         (__internal_setnetgrent): ... this.  Add internal_function to
46001         definition.  Add libc_hidden_def.
46002         (setnetgrent): Update caller.
46003         (internal_endnetgrent): Renamed to ...
46004         (__internal_endnetgrent): ... this.  Add internal_function to
46005         definition.  Add libc_hidden_def.
46006         (endnetgrent): Update caller.
46007         (internal_getnetgrent_r): Renamed to ...
46008         (__internal_getnetgrent_r): ... this.  Add internal_function to
46009         definition.  Add libc_hidden_def.
46010         (__getnetgrent_r): Update caller.
46011         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
46013 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46015         * stdlib/longlong.h: Update from GCC.
46017 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46019         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46020         on _QL, which is set by umul_ppmm but never used.
46021         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46022         variables, which are set by GMP macros but never used.
46023         * stdio-common/_itowa.c (_itowa): Likewise.
46024         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46025         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46027 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46029         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46030         struct La_sh_regs is not constant.
46031         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46032         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46033         and struct La_sparc64_regs are not constant.
46035 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46037         * sysdeps/unix/sysv/linux/kernel-features.h
46038         (__ASSUME_POSIX_TIMERS): Remove.
46039         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46040         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46041         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46042         Make code unconditional.
46043         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46044         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46045         Make code unconditional.
46046         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46047         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46048         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46049         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46050         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46051         Make code unconditional.
46052         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46053         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46054         (__libc_missing_posix_timers): Remove.
46056 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46058         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46059         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46061         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46063         * elf/dl-sym.c: Include <stdlib.h>.
46065         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46066         constants, which avoids warnings in 32-bit builds.
46068         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46069         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46071         * misc/lseek.c: File moved to ...
46072         * io/lseek.c: ... here.
46074         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46076         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46077         shifting LEN more than 31 bits at once.
46079 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46081         [BZ #14195]
46082         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46083         segmentation fault for a case of two empty input strings.
46084         * string/test-strncasecmp.c (check1): Renamed to...
46085         (bz12205): ...this.
46086         (bz14195): Add new testcase for two empty input strings and N > 0.
46087         (test_main): Call new testcase, adapt for renamed function.
46089 2012-08-15  Andreas Jaeger  <aj@suse.de>
46091         [BZ #14090]
46092         * crypt/md5test2.c: New test, based on test supplied by Serge
46093         Belyshev <belyshev@depni.sinp.msu.ru>.
46094         * crypt/Makefile (xtests): Add md5test-giant..
46095         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46097 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46099         [BZ #14090]
46100         * crypt/md5.c (md5_process_block): Don't assume the buffer
46101         length is less than 2**32.
46102         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46103         length is less than 2**64.
46105 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46107         * string/str-two-way.h: Include <sys/param.h>.
46108         (MAX): Macro removed.
46110         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46111         Move #define and #undef of memmove to just before and after
46112         including <string.h>.
46114         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46115         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46116         and after including <string.h>.  Move declarations of
46117         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46118         to before #include "string/memmove.c".
46120         * include/dirent.h: Declare __getdirentries.
46122         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46123         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46125 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46127         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46128         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46129         * sysdeps/i386/configure: Regenerated.
46130         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46131         STABS_CURRENT_FILE, and STABS_FUN.
46132         (END): Remove call to STABS_FUN_END.
46133         (STABS_CURRENT_FILE1): Delete.
46134         (STABS_CURRENT_FILE): Likewise.
46135         (STABS_FUN): Likewise.
46136         (STABS_FUN_END): Likewise.
46137         (STABS_FUN2): Likewise.
46138         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46139         * sysdeps/x86_64/configure: Regenerated.
46141 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46143         * elf/dl-open.c: Include <atomic.h>.
46144         * elf/dl-lookup.c: Likewise.
46146 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46148         * sysdeps/unix/sysv/linux/kernel-features.h
46149         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46150         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46151         unconditionally.
46152         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46153         unconditionally.
46154         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46155         condition on __ASSUME_CLONE_THREAD_FLAGS.
46157 2012-08-14  Andreas Jaeger  <aj@suse.de>
46159         * sysdeps/i386/fpu/libm-test-ulps: Update.
46161 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46163         * include/atomic.h (atomic_exchange_and_add): Split into ...
46164         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46165         New atomic macros.
46167 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46169         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46171 2012-08-13  Jeff Law <law@redhat.com>
46173         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46174         null byte in the output string.
46176 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46178         * sysdeps/unix/sysv/linux/kernel-features.h
46179         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46180         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46181         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46182         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46183         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46184         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46185         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46187 2012-08-09  Jeff Law <law@redhat.com>
46189         [BZ #13939]
46190         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46191         When avoid_arena is set, don't retry in the that arena.  Pick the
46192         next one, whatever it might be.
46193         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46194         (arena_lock): Pass in new parameter to arena_get2.
46195         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46196         arena_get2.
46197         (__libc_malloc): Unify retrying after main arena failure with
46198         __libc_memalign version.
46199         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46201 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46203         [BZ #14166]
46204         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46205         to __redirect_strstr.
46206         (__strstr_sse42): Use typeof __redirect_strstr.
46207         (__strstr_ia32): Likewise.
46208         (__libc_strstr): New prototype.
46209         (strstr): Renamed to ...
46210         (__libc_strstr): This.
46211         (strstr): New strong alias of __libc_strstr.
46212         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46213         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46214         __redirect_time.
46215         Include <time.h>.
46216         (__libc_time): New prototype.
46217         (time_ifunc): Replace time with __libc_time.
46218         (time): New strong alias and hidden definition of __libc_time.
46219         (__GI_time): Remove strong alias.
46220         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46221         Include <stddef.h>.
46222         (memmove): Redefined to __redirect_memmove.
46223         (__memmove_sse2): Use typeof __redirect_memmove.
46224         (__memmove_ssse3): Likewise.
46225         (__memmove_ssse3_back): Likewise.
46226         (__libc_memmove): New prototype.
46227         (memmove): Renamed to ...
46228         (__libc_memmove): This.
46229         (memmove): New strong alias of __libc_memmove.
46231 2012-08-08  Mark Salter  <msalter@redhat.com>
46233         * elf/elf.h
46234         (R_MN10300_TLS_GD): Define.
46235         (R_MN10300_TLS_LD): Likewise.
46236         (R_MN10300_TLS_LDO): Likewise.
46237         (R_MN10300_TLS_GOTIE): Likewise.
46238         (R_MN10300_TLS_IE): Likewise.
46239         (R_MN10300_TLS_LE): Likewise.
46240         (R_MN10300_TLS_DTPMOD): Likewise.
46241         (R_MN10300_TLS_DTPOFF): Likewise.
46242         (R_MN10300_TLS_TPOFF): Likewise.
46243         (R_MN10300_SYM_DIFF): Likewise.
46244         (R_MN10300_ALIGN): Likewise.
46245         (R_MN10300_NUM): Update.
46247 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46249         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46250         Remove.
46252 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46254         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46256         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46257         sysdeps/unix -> sysdeps/posix move.
46258         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46260 2012-08-07      Allan McRae     <allan@archlinux.org>
46262         [BZ #14303]
46263         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46264         (SUNOS_CPP): Likewise.
46265         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46266         not found.
46267         (open_input): Call CPP using execvp.
46269 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46271         * sysdeps/unix/sysv/linux/kernel-features.h
46272         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46273         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46274         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46275         (__ASSUME_WAITID_SYSCALL): Likewise.
46276         * sysdeps/unix/sysv/linux/dl-execstack.c
46277         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46278         code unconditional.
46279         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46280         conditional code.
46281         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46282         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46283         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46284         code.
46285         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46286         unconditional.
46287         [__ASSUME_WAITID_SYSCALL]: Likewise.
46288         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46290 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46292         * sysdeps/unix/closedir.c: Renamed to ...
46293         * sysdeps/posix/closedir.c: ... here.
46294         * sysdeps/unix/dirfd.c: Renamed to ...
46295         * sysdeps/posix/dirfd.c: ... here.
46296         * sysdeps/unix/dirstream.h: Renamed to ...
46297         * sysdeps/posix/dirstream.h: ... here.
46298         * sysdeps/unix/fdopendir.c: Renamed to ...
46299         * sysdeps/posix/fdopendir.c: ... here.
46300         * sysdeps/unix/opendir.c: Renamed to ...
46301         * sysdeps/posix/opendir.c: ... here.
46302         * sysdeps/unix/readdir.c: Renamed to ...
46303         * sysdeps/posix/readdir.c: ... here.
46304         * sysdeps/unix/readdir_r.c: Renamed to ...
46305         * sysdeps/posix/readdir_r.c: ... here.
46306         * sysdeps/unix/rewinddir.c: Renamed to ...
46307         * sysdeps/posix/rewinddir.c: ... here.
46308         * sysdeps/unix/seekdir.c: Renamed to ...
46309         * sysdeps/posix/seekdir.c: ... here.
46310         * sysdeps/unix/telldir.c: Renamed to ...
46311         * sysdeps/posix/telldir.c: ... here.
46312         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46313         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46314         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46315         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46317         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46318         * bits/fcntl.h: ... here.
46320         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46321         not 0.
46322         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46323         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46324         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46325         (struct flock): Move l_start, l_len to the beginning.
46326         Use __pid_t for l_pid.
46327         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46328         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46329         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46330         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46331         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46332         [__USE_LARGEFILE64] (struct flock64): New type.
46333         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46335         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46336         * bits/dirent.h: ... here.
46338         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46339         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46341 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46343         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46344         Change from 2.6.0 to 2.6.16.
46345         * sysdeps/unix/sysv/linux/configure: Regenerated.
46346         * sysdeps/unix/sysv/linux/kernel-features.h
46347         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46348         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46349         version.
46350         (__ASSUME_UTIMES): Likewise.
46351         (__ASSUME_CLONE_STOPPED): Remove.
46352         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46353         architectures, not kernel version.
46354         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46355         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46356         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46357         (__ASSUME_WAITID_SYSCALL): Likewise.
46358         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46359         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46360         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46361         refer to older versions.
46363 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46365         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46366         Define alphasort64 as an alias.
46367         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46368         Define versionsort64 as an alias.
46369         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46370         Define scandir64 as an alias.
46371         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46372         Define scandirat64 as an alias.
46373         * dirent/alphasort64.c (alphasort64):
46374         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46375         * dirent/versionsort64.c: Likewise.
46376         * dirent/scandir64.c: Likewise.
46377         * dirent/scandirat64.c: Likewise.
46378         * sysdeps/wordsize-64/alphasort.c: File removed.
46379         * sysdeps/wordsize-64/alphasort64.c: File removed.
46380         * sysdeps/wordsize-64/scandir.c: File removed.
46381         * sysdeps/wordsize-64/scandir64.c: File removed.
46382         * sysdeps/wordsize-64/scandirat.c: File removed.
46383         * sysdeps/wordsize-64/scandirat64.c: File removed.
46384         * sysdeps/wordsize-64/versionsort.c: File removed.
46385         * sysdeps/wordsize-64/versionsort64.c: File removed.
46386         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46387         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46388         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46389         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46390         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46391         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46392         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46393         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46395         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46396         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46397         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46398         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46399         [defined __arch64__ || defined __sparcv9]
46400         (__INO_T_MATCHES_INO64_T): New macro.
46401         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46402         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46403         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46404         * sysdeps/unix/sysv/linux/bits/dirent.h
46405         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46406         (_DIRENT_MATCHES_DIRENT64): New macro.
46408         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46409         Define lockf64 as an alias.
46410         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46411         Define fseeko64 as an alias.
46412         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46413         Define ftello64 as an alias.
46414         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46415         Define _IO_fgetpos64 and fgetpos64 as aliases.
46416         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46417         Define _IO_fsetpos64 and fsetpos64 as aliases.
46418         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46419         Conditionalize body on this.
46420         * libio/fseeko64.c: Likewise.
46421         * libio/ftello64.c: Likewise.
46422         * libio/iofgetpos64.c: Likewise.
46423         * libio/iofsetpos64.c: Likewise.
46424         * sysdeps/wordsize-64/lockf.c: File removed.
46425         * sysdeps/wordsize-64/lockf64.c: File removed.
46426         * sysdeps/wordsize-64/fseeko.c: File removed.
46427         * sysdeps/wordsize-64/fseeko64.c: File removed.
46428         * sysdeps/wordsize-64/ftello.c: File removed.
46429         * sysdeps/wordsize-64/ftello64.c: File removed.
46430         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46431         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46432         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46433         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46434         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46435         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46436         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46437         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46438         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46439         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46440         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46441         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46442         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46443         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46445         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46446         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46447         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46448         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46449         [defined __arch64__ || defined __sparcv9]
46450         (__OFF_T_MATCHES_OFF64_T): New macro.
46451         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46452         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46453         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46454         (__OFF_T_MATCHES_OFF64_T): New macro.
46456 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46458         * stdlib/secure-getenv.c (__secure_getenv): Replace
46459         GLIBC_2_16 with GLIBC_2_17.
46461 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46463         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46464         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46466 2012-08-03  David S. Miller  <davem@davemloft.net>
46468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46470 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46472         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46473         Remove.
46474         (__ASSUME_CORRECT_SI_PID): Likewise.
46475         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46476         (__ASSUME_TMPFS_NAME): Likewise.
46477         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46478         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46479         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46480         (HAVE_AUX_SECURE): Make definition unconditional.
46481         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46482         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46484 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46486         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46487         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46488         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46489         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46490         __eloop_threshold instead of SYMLOOP_MAX.
46492         * sysdeps/generic/eloop-threshold.h: New file.
46493         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46494         of MAXSYMLINKS.
46495         * elf/chroot_canon.c (chroot_canon): Likewise.
46497 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46499         [BZ #13717]
46500         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46501         Change to 2.6.0 everywhere.
46502         * sysdeps/unix/sysv/linux/configure: Regenerated.
46503         * sysdeps/unix/sysv/linux/kernel-features.h
46504         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46505         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46506         kernel versions.
46507         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46508         (__ASSUME_FUTEX_REQUEUE): Remove.
46509         (__ASSUME_STATFS64): Define unconditionally.
46510         (__ASSUME_AT_SECURE): Likewise.
46511         (__ASSUME_CORRECT_SI_PID): Likewise.
46512         (__ASSUME_TGKILL): Define without depending on kernel version for
46513         i386.
46514         (__ASSUME_UTIMES): Likewise.
46515         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46516         kernel version.
46517         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46518         (__ASSUME_TMPFS_NAME): Likewise.
46519         * README: Update reference to Linux kernel versions.
46521 2012-08-02  Marek Polacek  <polacek@redhat.com>
46523         [BZ# 14150]
46524         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46525         libc_cv_asm_type_prefix with %.
46526         * configure: Regenerated.
46527         * include/libc-symbols.h: Remove comment about
46528         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46529         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46530         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46531         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46532         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46533         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46534         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46535         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46536         * elf/tst-unique2mod1.c: Likewise.
46537         * elf/tst-unique1mod2.c: Likewise.
46538         * elf/tst-unique1mod1.c: Likewise.
46539         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46540         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46541         Replace ASM_TYPE_DIRECTIVE with .type.
46542         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46543         * sysdeps/i386/sysdep.h: Likewise.
46544         * sysdeps/x86_64/sysdep.h: Likewise.
46545         * sysdeps/sh/sysdep.h: Likewise.
46546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46547         Do not define ASM_TYPE_DIRECTIVE.
46548         * sysdeps/powerpc/sysdep.h: Likewise.
46549         * sysdeps/powerpc/powerpc32/sysdep.h:
46550         Replace ASM_TYPE_DIRECTIVE with .type.
46551         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46552         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46553         * sysdeps/i386/fpu/e_powf.S: Likewise.
46554         * sysdeps/i386/fpu/e_expl.S: Likewise.
46555         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46556         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46557         * sysdeps/i386/fpu/e_pow.S: Likewise.
46558         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46559         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46560         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46561         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46562         * sysdeps/i386/fpu/e_log2.S: Likewise.
46563         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46564         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46565         * sysdeps/i386/fpu/e_powl.S: Likewise.
46566         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46567         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46568         * sysdeps/i386/fpu/e_logl.S: Likewise.
46569         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46570         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46571         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46572         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46573         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46574         * sysdeps/i386/fpu/e_log.S: Likewise.
46575         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46576         * sysdeps/i386/fpu/e_logf.S: Likewise.
46577         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46578         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46579         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46580         * sysdeps/i386/fpu/e_log10.S: Likewise.
46581         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46582         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46583         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46584         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46585         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46586         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46587         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46588         * sysdeps/i386/i686/strtok.S: Likewise.
46589         * sysdeps/i386/i386-mcount.S: Likewise.
46590         * sysdeps/i386/strtok.S: Likewise.
46591         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46592         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46593         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46594         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46595         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46596         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46597         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46598         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46599         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46600         * sysdeps/x86_64/_mcount.S: Likewise.
46601         * sysdeps/x86_64/strtok.S: Likewise.
46602         * sysdeps/sh/_mcount.S: Likewise.
46604 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46606         * libio/iofopen.c: Include <fcntl.h>.
46607         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46608         (_IO_fopen64, fopen64): Define as aliases.
46609         * libio/iofopen64.c: Include <fcntl.h>.
46610         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46611         Conditionalize body on this.
46612         * sysdeps/wordsize-64/iofopen.c: File removed.
46613         * sysdeps/wordsize-64/iofopen64.c: File removed.
46615 2012-08-01  Marek Polacek  <polacek@redhat.com>
46617         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46618         Use dlfcn directly instead of a variable.
46619         (binfmt-subdir): Do not define.
46620         (dlfcn): Likewise.
46622 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46624         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46625         Remove all definitions.
46626         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46627         <kernel-features.h>.
46628         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46629         (miss_F_GETOWN_EX): Remove all definitions.
46630         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46631         macro definition.
46632         [!__ASSUME_FCNTL64]: Remove conditional code.
46633         [__ASSUME_FCNTL64]: Make code unconditional.
46634         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46635         <kernel-features.h>.
46636         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46637         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46638         (lockf64) [__NR_fcntl64]: Make code unconditional.
46639         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46641         * sysdeps/unix/sysv/linux/kernel-features.h
46642         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46643         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46644         Make code unconditional.
46645         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46646         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46648         [__NR_vfork]: Make code unconditional.
46649         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46650         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46652         [__NR_vfork]: Make code unconditional.
46653         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46654         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46656 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46658         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46659         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46661         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46662         Define mkstemp64 as an alias.
46663         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46664         Define mkstemps64 as an alias.
46665         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46666         Define mkostemp64 as an alias.
46667         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46668         Define mkostemps64 as an alias.
46669         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46670         Conditionalize body on this.
46671         * misc/mkostemp64.c: Likewise.
46672         * misc/mkostemps64.c: Likewise.
46673         * misc/mkstemps64.c: Likewise.
46674         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46675         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46676         * sysdeps/wordsize-64/mkostemp.c: File removed.
46677         * sysdeps/wordsize-64/mkstemp.c: File removed.
46678         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46679         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46680         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46681         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46683         [BZ #14138]
46684         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46685         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46686         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46687         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46689         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46690         compat_symbol macros from <shlib-compat.h> rather than the underlying
46691         default_symbol_version and symbol_version macros, so that DEFAULT
46692         lines in shlib-versions are respected.
46693         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46695 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46697         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46698         Declare with warn_unused_result.
46699         (setgid, setregid, setegid, setresgid): Likewise.
46700         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46701         Likewise.
46702         * WUR-REPORT: Remove set*id functions.
46704 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46706         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46708 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46710         [BZ #10191]
46711         * include/sys/socket.h (__libc_accept, __libc_accept4):
46712         Add attribute_hidden.
46713         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46715         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46716         use of PTR_MANGLE.
46717         * inet/getnetgrent_r.c (setup): Likewise.
46719         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46721 2012-07-31  David S. Miller  <davem@davemloft.net>
46723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46725 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46727         [BZ #13629]
46728         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46729         value between 1.0 and 2.0 and smaller part has absolute value less
46730         than 1.0.
46731         * math/s_clog10.c (__clog10): Likewise.
46732         * math/s_clog10f.c (__clog10f): Likewise.
46733         * math/s_clog10l.c (__clog10l): Likewise.
46734         * math/s_clogf.c (__clogf): Likewise.
46735         * math/s_clogl.c (__clogl): Likewise.
46736         * math/libm-test.inc (clog_test): Add more tests.
46737         (clog10_test): Likewise.
46738         * sysdeps/i386/fpu/libm-test-ulps: Update.
46739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46741 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46743         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46744         Exit with zero in case no suitable GID is found, and write a
46745         message to standard error.
46747 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46749         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46750         rather than to 1.
46751         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46752         (MAXPATHLEN): Removed.
46753         (NOGROUP, NODEV): New macros.
46754         (setbit, clrbit, isset, isclr): New macros.
46755         (howmany, roundup, powerof2): New macros.
46756         (DEV_BSIZE): New macro.
46758         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46759         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46761         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46762         definition on [!__NO_LONG_DOUBLE_MATH].
46764         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46765         PTR_MANGLE and PTR_DEMANGLE.
46767         * socket/accept4.c (accept4): Rename to __libc_accept4.
46768         Define accept4 as a weak alias.
46770         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46771         on [_DIRENT_HAVE_D_TYPE].
46772         * io/ftw.c (ftw_dir): Likewise.
46774         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46776         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46778         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46779         Use the BSD numbers rather than the arbitrary ones we had.
46780         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46781         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46782         (SIGXCPU, SIGXFSZ): New macros.
46783         (_NSIG): Now 32.
46785         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46786         initializer on [_LIBC_REENTRANT].
46788         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46789         definitions inside [_POSIX_MAPPED_FILES].
46791         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46793         * dirent/opendir.c: Include <fcntl.h>.
46795         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46796         (__libc_getspecific): Likewise.
46797         (__libc_key_create): Likewise.
46799         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46800         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46801         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46802         (tmpfile64): Define as alias.
46803         * sysdeps/wordsize-64/tmpfile.c: File removed.
46804         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46805         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46806         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46808         * stdio-common/vfscanf.c: Include <stdbool.h>.
46809         * nss/makedb.c: Likewise.
46810         * stdio-common/_i18n_number.h: Likewise.
46811         * argp/argp-help.c: Likewise.
46812         * posix/wordexp.c: Likewise.
46813         * sysdeps/posix/spawni.c: Likewise.
46814         * nss/nss_files/files-initgroups.c: Likewise.
46815         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46816         * nss/nss_files/files-initgroups.c: Likewise.
46817         * nss/nss_db/db-netgrp.c: Likewise.
46818         * nss/nss_db/db-initgroups.c: Likewise.
46819         * io/fchmodat.c: Include <sys/stat.h>.
46821         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46822         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46824         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46825         [HAVE_MMAP].
46827         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46828         Add multiple inclusion protection.
46830 2012-07-27  David S. Miller  <davem@davemloft.net>
46832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46834 2012-07-27  Gary Benson  <gbenson@redhat.com>
46836         [BZ #14298]
46837         * elf/rtld.c: Include <stap-probe.h>.
46838         (dl_main): Added static probes "init_start" and "init_complete".
46839         * elf/dl-load.c: Include <stap-probe.h>.
46840         (lose): Take new parameter "nsid".
46841         Added static probe "map_failed".
46842         (_dl_map_object_from_fd): Pass namespace id to lose.
46843         Added static probe "map_start".
46844         (open_verify): Pass namespace id to lose.
46845         * elf/dl-open.c: Include <stap-probe.h>.
46846         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46847         and "reloc_complete".
46848         * elf/dl-close.c: Include <stap-probe.h>.
46849         (_dl_close_worker): Added static probes "unmap_start" and
46850         "unmap_complete".
46851         * elf/rtld-debugger-interface.txt: New file documenting the above.
46853 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46855         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46856         rather than a string variable.
46857         * sunrpc/rpc_main.c (h_output): Likewise.
46858         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46860 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46862         * inet/check_native.c: New file.
46864 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46866         [BZ #13629]
46867         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46868         if larger part has absolute value 1.0.
46869         * math/s_clog10.c (__clog10): Likewise.
46870         * math/s_clog10f.c (__clog10f): Likewise.
46871         * math/s_clog10l.c (__clog10l): Likewise.
46872         * math/s_clogf.c (__clogf): Likewise.
46873         * math/s_clogl.c (__clogl): Likewise.
46874         * math/libm-test.inc (clog_test): Add more tests.
46875         (clog10_test): Likewise.
46876         * sysdeps/i386/fpu/libm-test-ulps: Update.
46877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46879         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46880         (pltexit): Likewise.
46881         (La_regs): Likewise.
46882         (La_retval): Likewise.
46883         (int_retval): Likewise.
46884         Update #error for removed macros to refer only to definitions in
46885         tst-audit.h.
46886         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46887         macro.
46888         (pltexit): Likewise.
46889         (La_regs): Likewise.
46890         (La_retval): Likewise.
46891         (int_retval): Likewise.
46892         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46893         macro.
46894         (pltexit): Likewise.
46895         (La_regs): Likewise.
46896         (La_retval): Likewise.
46897         (int_retval): Likewise.
46898         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46899         macro.
46900         (pltexit): Likewise.
46901         (La_regs): Likewise.
46902         (La_retval): Likewise.
46903         (int_retval): Likewise.
46904         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46905         macro.
46906         (pltexit): Likewise.
46907         (La_regs): Likewise.
46908         (La_retval): Likewise.
46909         (int_retval): Likewise.
46910         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46911         macro.
46912         (pltexit): Likewise.
46913         (La_regs): Likewise.
46914         (La_retval): Likewise.
46915         (int_retval): Likewise.
46916         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46917         macro.
46918         (pltexit): Likewise.
46919         (La_regs): Likewise.
46920         (La_retval): Likewise.
46921         (int_retval): Likewise.
46922         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46923         macro definitions in tst-audit.h.
46924         * sysdeps/i386/tst-audit.h: New file.
46925         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46926         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46927         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46928         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46929         * sysdeps/sh/tst-audit.h: Likewise.
46930         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46931         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46932         * sysdeps/x86_64/tst-audit.h: Likewise.
46934 2012-07-26  Andreas Jaeger  <aj@suse.de>
46936         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46937         ptrace.
46939         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46940         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46941         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46942         PTRACE_O_MASK.
46943         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46944         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46945         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46947         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46948         value.
46950         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46951         _sigsys.
46952         (si_call_addr, si_syscall, si_arch): Define new macro.
46953         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46954         _sigsys.
46955         (si_call_addr, si_syscall, si_arch): Define new marcro.
46956         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46957         _sigsys.
46958         (si_call_addr, si_syscall, si_arch): Define new macro.
46959         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46960         _sigsys.
46961         (si_call_addr, si_syscall, si_arch): Define new macro.
46963 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46965         [BZ #13717]
46966         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46967         Change to 2.4.21 where previously 2.4.1.
46968         * sysdeps/unix/sysv/linux/configure: Regenerated.
46969         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46970         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46971         Linux kernel version.
46972         (__ASSUME_STD_AUXV): Remove.
46973         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46974         kernel version.
46975         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46976         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46977         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46978         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46979         (__ASSUME_NETLINK_SUPPORT): Likewise.
46980         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46981         (__no_netlink_support): Remove conditional definition.
46982         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46983         Remove.
46984         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46985         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46986         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46987         (if_nameindex_ioctl): Remove.
46988         (if_nameindex_netlink): Do not handle __no_netlink_support.
46989         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46990         code.
46991         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46992         Remove conditional code.
46993         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46994         code.
46995         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46996         unconditional.
46997         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46998         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46999         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47000         Remove.
47001         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47002         [!__ASSUME_STD_AUXV]: Remove conditional code.
47003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47004         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47005         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47007         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47008         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47009         code.
47010         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47012         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47013         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47014         conditional code.
47015         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47017         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47018         code.
47019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47020         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47021         conditional code.
47022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47023         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47024         code unconditional.
47025         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47026         conditional code.
47027         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47028         unconditional.
47029         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47030         conditional code.
47031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47032         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47033         unconditional.
47034         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47035         conditional code.
47036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47037         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47038         code unconditional.
47039         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47040         conditional code.
47041         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47042         unconditional.
47043         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47044         conditional code.
47045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47046         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47047         code unconditional.
47048         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47049         conditional code.
47050         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47051         unconditional.
47052         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47053         conditional code.
47055 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47057         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47058         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47059         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47060         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47061         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47062         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47063         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47064         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47065         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47066         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47067         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47068         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47069         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47070         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47071         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47072         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47073         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47074         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47075         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47077         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47078         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47079         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47081 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47083         * Versions.def: Add GLIBC_2.17.
47084         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47085         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47086         Introduce __libc_secure_getenv.
47087         * stdlib/Versions (2.17): Add secure_getenv
47088         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47089         * stdlib/secure-getenv.c: Rename __secure_getenv to
47090         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47091         symbol __secure_getenv for GLIBC_2.0.
47092         * stdlib/tst-secure-getenv.c: New.
47093         * stdlib/Makefile (tests): Add testcase.
47094         * manual/startup.texi (Environment Access): Document
47095         secure_getenv.
47096         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47097         __libc_secure_getenv.
47098         * inet/ruserpass.c (ruserpass): Likewise.
47099         * malloc/mtrace.c (mtrace): Likewise.
47100         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47101         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47102         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47103         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47104         HAVE_SECURE_GETENV.
47105         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47106         __secure_getenv to __libc_secure_getenv.
47107         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47109         Likewise.
47110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47111         Likewise.
47112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47114         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47120 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47122         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47123         (struct La_i86_retval): Likewise.
47124         (struct La_x86_64_regs): Likewise.
47125         (struct La_x86_64_retval): Likewise.
47126         (struct La_x32_regs): Likewise.
47127         (struct La_x32_retval): Likewise.
47128         (struct La_ppc32_regs): Likewise.
47129         (struct La_ppc32_retval): Likewise.
47130         (struct La_ppc64_regs): Likewise.
47131         (struct La_ppc64_retval): Likewise.
47132         (struct La_sh_regs): Likewise.
47133         (struct La_sh_retval): Likewise.
47134         (struct La_s390_32_regs): Likewise.
47135         (struct La_s390_32_retval): Likewise.
47136         (struct La_s390_64_regs): Likewise.
47137         (struct La_s390_64_retval): Likewise.
47138         (struct La_sparc32_regs): Likewise.
47139         (struct La_sparc32_retval): Likewise.
47140         (struct La_sparc64_regs): Likewise.
47141         (struct La_sparc64_retval): Likewise.
47142         (struct audit_ifaces): Remove architecture-specific pltenter and
47143         pltexit members.
47144         * sysdeps/i386/ldsodefs.h: New file.
47145         * sysdeps/powerpc/ldsodefs.h: Likewise.
47146         * sysdeps/s390/ldsodefs.h: Likewise.
47147         * sysdeps/sh/ldsodefs.h: Likewise.
47148         * sysdeps/sparc/ldsodefs.h: Likewise.
47149         * sysdeps/x86_64/ldsodefs.h: Likewise.
47151 2012-07-25  Marek Polacek  <polacek@redhat.com>
47153         [BZ #6808]
47154         * math/libm-test.inc (yn_test): Add another test.
47155         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47156         to ERANGE when the result is +-Inf.
47157         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47158         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47159         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47160         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47162 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47164         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47165         equal to 0.
47166         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47167         clock_t.
47168         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47170 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47172         * configure.in <sysdeps resolving>: Correct printing
47173         Implies_before.
47174         * configure: Regenerate.
47176 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47178         * math/w_ilogb.c: Include <limits.h>.
47179         * math/w_ilogbl.c: Likewise.
47181 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47183         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47184         va_copy.  Document allowing for unavailable va_copy only as
47185         pre-C99 compatibility.
47186         * manual/string.texi (Copying and Concatenation): Use va_copy
47187         instead of __va_copy in concat example.
47189 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47191         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47192         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47193         it if not null.
47195         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47196         with O_NOLINK passed to __file_name_lookup.
47198         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47199         with O_NOLINK passed to __file_name_lookup.
47201         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47202         negative N or less than NGIDS.
47204         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47205         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47206         enough.  Use memcpy instead of strncpy.
47208 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47210         * elf/Makefile (check-data): Remove.
47211         (localplt.data): New vpath directive.
47212         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47213         instead of $(check-data).
47214         * scripts/data/localplt-generic.data: Move to ...
47215         * sysdeps/generic/localplt.data: ... here.
47216         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47217         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47218         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47220         ... here.
47221         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47223         ... here.
47224         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47226         ... here.
47227         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47229         ... here.
47230         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47232         ... here.
47233         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47235         ... here.
47237 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47239         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47240         PPC32 and PPC64 files.
47241         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47242         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47244 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47246         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47247         __makecontext_ret to ...
47248         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47249         ... here and call exit if uc_link is NULL.  New file.
47250         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47251         __makecontext_ret.S.
47252         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47253         __makecontext_ret to ...
47254         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47255         ... here and call exit if uc_link is NULL.  New file.
47256         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47257         __makecontext_ret.S.
47259 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47261         * elf/elf.h (R_390_IRELATIVE): New definition.
47262         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47263         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47264         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47265         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47266         (elf_machine_lazy_rel): Likewise.
47267         * sysdeps/s390/dl-irel.h: New file.
47268         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47269         * sysdeps/s390/s390-64/memset.S: New asm code.
47270         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47271         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47272         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47273         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47274         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47275         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47276         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47277         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47278         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47279         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47280         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47281         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47282         * sysdeps/s390/s390-32/memset.S: New asm code.
47283         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47285 2012-07-17  Marek Polacek  <polacek@redhat.com>
47287         [BZ #14349]
47288         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47289         * sysdeps/s390/s390-64/configure.in: Likewise.
47290         * sysdeps/sparc/configure.in: Likewise.
47291         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47292         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47293         * sysdeps/i386/configure.in: Likewise.
47294         * sysdeps/x86_64/configure.in: Likewise.
47295         * sysdeps/sh/configure.in: Likewise.
47296         * sysdeps/s390/s390-32/configure: Regenerated.
47297         * sysdeps/s390/s390-64/configure: Likewise.
47298         * sysdeps/x86_64/configure: Likewise.
47299         * sysdeps/sh/configure: Likewise.
47300         * sysdeps/powerpc/powerpc64/configure: Likewise.
47301         * sysdeps/powerpc/powerpc32/configure: Likewise.
47302         * sysdeps/sparc/configure: Likwise.
47303         * sysdeps/i386/configure: Likewise.
47305         * elf/dl-open.c: Comment fixes.
47307 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47309         * Makefile [CXX] (check-data): Remove.
47310         [CXX] (c++-types.data): New vpath directive.
47311         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47312         vpath.  Do not allow for C++ type data being missing.
47313         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47314         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47315         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47316         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47317         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47318         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47319         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47321         ... here.
47322         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47324         ... here.
47325         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47327         ... here.
47328         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47330         ... here.
47331         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47333         ... here.
47334         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47336         ... here.
47337         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47339         ... here.
47340         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47343         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47344         definitions to architecture-specific files.
47345         (TLS_IE): Likewise.
47346         (TLS_LD): Likewise.
47347         (TLS_GD): Likewise.
47348         * sysdeps/i386/tls-macros.h: New file.
47349         * sysdeps/powerpc/tls-macros.h: Likewise.
47350         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47351         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47352         * sysdeps/sh/tls-macros.h: Likewise.
47353         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47354         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47355         * sysdeps/x86_64/tls-macros.h: Likewise.
47357 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47359         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47360         zero value for regular exit case.
47362         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47363         (__start_context): Preserve zero value for regular exit case.
47365 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47366             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47368         * manual/setjmp.texi (setcontext): Clarify normal process
47369         termination when uc_link is the null pointer.
47370         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47371         exit call.
47373 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47375         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47376         preprocessor.  Test for each exception mask separately.
47378 2012-07-16  Andreas Jaeger  <aj@suse.de>
47380         * po/ru.po: Update from translation team.
47382 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47384         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47385         equal to 0.
47386         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47387         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47388         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47389         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47390         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47392 2012-07-13  Andreas Jaeger  <aj@suse.de>
47394         * po/fr.po: Update from translation team.
47396 2012-07-12  Marek Polacek  <polacek@redhat.com>
47398         [BZ #14173]
47399         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47400         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47401         loop condition.
47403 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47405         [BZ #13717]
47406         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47407         Change to 2.4.1 where previously 2.4.0.
47408         * sysdeps/unix/sysv/linux/configure: Regenerated.
47409         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47410         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47411         version.
47412         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47413         (__ASSUME_AT_CLKTCK): Remove.
47414         (__ASSUME_AT_PAGESIZE): Likewise.
47415         (__ASSUME_AT_XID): Likewise.
47416         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47417         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47418         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47419         unconditionally.
47420         (HAVE_AUX_PAGESIZE): Likewise.
47421         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47422         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47423         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47425 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47427         [BZ #14307]
47428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47429         the temporary buffer used to invoke __gethostbyname2_r,
47430         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47431         host_data / struct gaih_addrtuple.
47432         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47433         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47434         header file nss/nsswitch.h.
47435         * nss/nsswitch.h (global scope): Add definition of implementation
47436         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47437         resolv/nss_dns/dns-host.c).
47439 2012-07-11  Andreas Jaeger  <aj@suse.de>
47441         * po/fr.po: Update from translation team.
47443         * po/sv.po: Update from translation team
47444         * po/fr.po: Another update from translation team.
47446 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47448         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47449         for subnormals or multiply small sinh result by itself.
47450         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47453 2012-07-11  David S. Miller  <davem@davemloft.net>
47455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47457 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47459         [BZ #14347]
47460         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47461         (INTERNAL_MARK): Shift it here.
47463 2012-07-10  Marek Polacek  <polacek@redhat.com>
47465         [BZ #14151]
47466         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47467         libc_cv_asm_global_directive with .globl.
47468         * configure: Regenerated.
47469         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47470         with .globl.
47471         * sysdeps/i386/configure: Regenerated.
47472         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47473         with .globl.
47474         * sysdeps/x86_64/configure: Regenerated.
47475         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47476         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47477         * elf/tst-unique2mod2.c: Likewise.
47478         * elf/tst-unique2mod1.c: Likewise.
47479         * elf/tst-unique1mod2.c: Likewise.
47480         * elf/tst-unique1mod1.c: Likewise.
47481         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47482         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47483         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47484         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47485         * sysdeps/mach/sysdep.h: Likewise.
47486         * sysdeps/i386/sysdep.h: Likewise.
47487         * sysdeps/i386/i386-mcount.S: Likewise.
47488         * sysdeps/x86_64/_mcount.S: Likewise.
47489         * sysdeps/x86_64/sysdep.h: Likewise.
47490         * sysdeps/sh/_mcount.S: Likewise.
47491         * sysdeps/sh/sysdep.h: Likewise.
47492         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47493         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47494         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47495         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47496         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47497         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47498         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47499         * locale/localeinfo.h: Likewise.
47500         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47501         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47503 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47505         [BZ #14336]
47506         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47507         system".
47508         * manual/message.texi (The Uniforum approach): Likewise.
47509         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47510         (glibc iconv Implementation): Likewise.
47512 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47514         [BZ #14337]
47515         * math/s_clog.c (__clog): Avoid scaling a value down where that
47516         could result in underflow.
47517         * math/s_clog10.c (__clog10): Likewise.
47518         * math/s_clog10f.c (__clog10f): Likewise.
47519         * math/s_clog10l.c (__clog10l): Likewise.
47520         * math/s_clogf.c (__clogf): Likewise.
47521         * math/s_clogl.c (__clogl): Likewise.
47522         * math/libm-test.inc (clog_test): Add more tests.
47523         (clog10_test): Likewise.
47524         * sysdeps/i386/fpu/libm-test-ulps: Update.
47525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47527 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47529         [BZ #14283]
47530         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47531         by 7 not 8 to examine high bit of fractional part.
47533         [BZ #14042]
47534         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47535         for call to __mcount_internal.
47536         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47537         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47538         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47540 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47542         [BZ #14154]
47543         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47544         approximation for values within 0x1p-13f of an odd multiple of
47545         pi/4.
47546         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47547         exception.  Add more tests.
47548         * sysdeps/i386/fpu/libm-test-ulps: Update.
47550         [BZ #6778]
47551         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47552         inputs and return -1 for them.  Do not check for +Inf in case not
47553         reachable for +Inf.
47554         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47555         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47556         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47557         and return -1 for them.  Do not check for +Inf in case not
47558         reachable for +Inf.
47559         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47560         define.
47561         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47562         and return -1 for them.  Do not check for +Inf in case not
47563         reachable for +Inf.
47564         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47565         spurious underflow.
47566         * sysdeps/i386/fpu/libm-test-ulps: Update.
47567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47569 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47571         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47573 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47575         [BZ #14157]
47576         [BZ #14331]
47577         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47578         could result in spurious underflow.  Scale down values above
47579         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47580         * math/s_csqrtf.c (__csqrtf): Likewise.
47581         * math/s_csqrtl.c (__csqrtl): Likewise.
47582         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47583         spurious underflow.
47584         * sysdeps/i386/fpu/libm-test-ulps: Update.
47585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47587 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47589         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47590         xopen-msg.sed.
47591         * catgets/xopen-msg.awk: New file.
47592         * catgets/xopen-msg.sed: Removed.
47594         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47595         po2text.sed.
47596         * intl/po2test.awk: New file.
47597         * intl/po2test.sed: Removed.
47599 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47601         [BZ #14328]
47602         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47603         or multiply small sinh result by itself.
47604         * math/s_ctanf.c (__ctanf): Likewise.
47605         * math/s_ctanh.c (__ctanh): Likewise.
47606         * math/s_ctanhf.c (__ctanhf): Likewise.
47607         * math/s_ctanhl.c (__ctanhl): Likewise.
47608         * math/s_ctanl.c (__ctanl): Likewise.
47609         * math/libm-test.inc (ctan_test_tonearest): New function.
47610         (ctan_test_towardzero): Likewise.
47611         (ctan_test_downward): Likewise.
47612         (ctan_test_upward): Likewise.
47613         (ctanh_test_tonearest): Likewise.
47614         (ctanh_test_towardzero): Likewise.
47615         (ctanh_test_downward): Likewise.
47616         (ctanh_test_upward): Likewise.
47617         (main): Call these new functions.
47618         * sysdeps/i386/fpu/libm-test-ulps: Update.
47619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47621 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47623         * .gitignore: Delete /ports entry.
47625 2012-07-03  Andreas Jaeger  <aj@suse.de>
47627         * po/bg.po: Update from translation team.
47628         * po/cs.po: Likewise.
47629         * po/de.po: Likewise.
47630         * po/hr.po: Likewise.
47631         * po/nl.pl: Likewise.
47632         * po/pl.po: Likewise.
47633         * po/vi.po: Likewise.
47635 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47637         * Makeconfig [!+link] (+link-before-libc): New variable.
47638         [!+link] (+link-after-libc): Likewise.
47639         [!+link] (+link-tests): Likewise.
47640         [!+link] (+link): Define in terms of $(+link-before-libc) and
47641         $(+link-after-libc).
47642         [!+link-static] (+link-static-before-libc): New variable.
47643         [!+link-static] (+link-static-after-libc): Likewise.
47644         [!+link-static] (+link-static-tests): Likewise.
47645         [!+link-static] (+link-static): Define in terms of
47646         $(+link-static-before-libc) and $(+link-static-after-libc).
47647         [build-shared] (link-libc-before-gnulib): New variable.
47648         [build-shared] (link-libc-tests): Likewise.
47649         [build-shared] (link-libc): Define in terms of
47650         $(link-libc-before-gnulib).
47651         [!build-shared] (link-libc-tests): New variable.
47652         (link-libc-static-tests): New variable.
47653         [!gnulib] (gnulib-arch): New variable.
47654         [!gnulib] (gnulib-tests): Likewise.
47655         [!gnulib] (static-gnulib-arch): Likewise.
47656         [!gnulib] (static-gnulib-tests): Likewise.
47657         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47658         Define with "=" instead of ":=".
47659         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47660         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47661         * Rules (binaries-all-notests): New variable.
47662         (binaries-all-tests): Likewise.
47663         (binaries-static-notests): Likewise.
47664         (binaries-static-tests): Likewise.
47665         (binaries-all): Define using $(binaries-all-notests) and
47666         $(binaries-all-tests).
47667         (binaries-static): Define using $(binaries-static-notests) and
47668         $(binaries-static-tests).
47669         (binaries-shared-tests): New variable.
47670         (binaries-shared-notests): Likewise.
47671         (binaries-shared): Remove variable.
47672         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47673         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47674         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47675         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47676         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47677         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47678         * elf/Makefile (sln-modules): New variable.
47679         (extra-objs): Add $(sln-modules:=.o).
47680         (ldconfig-modules): Add static-stubs.
47681         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47682         * elf/static-stubs.c: New file.
47684         [BZ #14283]
47685         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47686         by 7 not 8 to examine high bit of fractional part.  Use volatile
47687         variables when splitting into final array of floats if
47688         __FLT_EVAL_METHOD__ != 0.
47689         * math/libm-test.inc (cos_test): Add another test.
47690         (sin_test): Likewise.
47691         * sysdeps/i386/fpu/libm-test-ulps: Update.
47693         [BZ #14273]
47694         * math/libm-test.inc (cosh_test): Add more tests.
47696         * version.h (RELEASE): Set to "development".
47697         (VERSION): Set to "2.16.90".
47699 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47701         * NEWS: Update copyright. Remove last-updated date.
47702         Mention math library bug fixes and timezone data changes.
47703         * README: Mention GNU/Hurd, x32, and HPPA support status.
47705 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47707         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47709 2012-06-27  Andreas Jaeger  <aj@suse.de>
47711         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47713 2012-06-25  Andreas Jaeger  <aj@suse.de>
47715         * sysdeps/s390/fpu/libm-test-ulps: Update.
47717 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47718             Thomas Schwinge  <thomas@codesourcery.com>
47720         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47721         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47722         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47723         fanotify_mark.
47725 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47727         * sysdeps/mach/start.c: Remove file.
47728         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47729         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47730         * sysdeps/sh/init-first.c: Likewise.
47732         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47733         registers for frame unwinding purposes, add CFI directives.
47734         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47735         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47736         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47737         Likewise.
47739         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47740         __fortify_fail returning.
47741         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47743         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47744         sysdeps/sh/____longjmp_chk.S.
47745         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47746         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47747         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47748         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47750         * sysdeps/sh/abort-instr.h: New file.
47751         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47752         process in case exit returns.
47754         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47755         initialize the GOT register before use.
47757         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47758         calculation of ARGC > 4.
47760         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47761         meaningful names to some local labels.
47763 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47764             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47766         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47767         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47768         (__arch_compare_and_exchange_val_16_acq): Likewise.
47769         (__arch_compare_and_exchange_val_32_acq): Likewise.
47770         (atomic_exchange_and_add): Fix gUSA sequence.
47771         (atomic_add): Likewise.
47772         (atomic_add_negative): Likewise.
47773         (atomic_add_zero): Likewise.
47774         (atomic_bit_test_set): Likewise.
47776 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47778         [BZ #13579]
47779         * include/link.h (struct link_map): Add l_free_initfini.
47780         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47781         l_initfini.
47782         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47783         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47784         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47785         set.
47787 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47789         * configure.in: Use AC_LANG_SOURCE.
47790         * configure: Regenerate.
47792 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47794         * configure.in (libc_cv_localstatedir): New substituted variable.
47795         * configure: Regenerated.
47796         * config.make.in (localstatedir): New variable, substituted from
47797         libc_cv_localstatedir.
47798         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47799         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47800         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47801         * sysdeps/gnu/configure: Regenerated.
47803 2012-06-21  Jeff Law  <law@redhat.com>
47805         [BZ #14277]
47806         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47807         free.  Simplify list management for _LIBC case.
47809 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47811         [BZ #14273]
47812         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47813         Clear sign bit of 64-bit integer value before comparing against
47814         overflow value.
47816         * sysdeps/mach/configure: Regenerated.
47818 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47820         [BZ #14278]
47821         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47823 2012-06-21  Jeff Law  <law@redhat.com>
47825         [BZ #13882]
47826         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47827         uint16_t for elements in the "seen" array to avoid char overflows.
47828         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47829         * elf/dl-open.c (dl_open_worker): Likewise.
47831 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47833         * scripts/list-sources.sh: Scan PORTS for translations.
47834         * po/libc.pot: Regenerated.
47836 2012-06-21  Andreas Jaeger  <aj@suse.de>
47838         [BZ #12194]
47839         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47840         warning.
47841         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47842         * bits/byteswap-16.h (__bswap_16): Likewise.
47843         * bits/byteswap.h (__bswap_constant_16): Likewise.
47845 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47847         [BZ #14117]
47848         * sysdeps/i386/fpu_control.h: Removed.
47849         * sysdeps/x86_64/fpu_control.h: Moved to ...
47850         * sysdeps/x86/fpu_control.h: Here.
47852         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47853         (_FPU_SETCW): Likewise.
47855 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47857         [BZ #14117]
47858         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47859         * sysdeps/x86/fpu/bits/mathinline.h: This.
47860         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47862         [BZ #14050]
47863         [BZ #14117]
47864         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47865         functions if __x86_64__ is defined.
47867 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47869         * string/endian.h: Add !__ASSEMBLER__ condition for including
47870         conversion interfaces.
47872 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47874         [BZ #14241]
47875         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47876         of ABS(x) in calculating zero to negative powers other than odd
47877         integers.
47878         * math/libm-test.inc (pow_test): Add more tests.
47880 2012-06-15  Andreas Jaeger  <aj@suse.de>
47882         * manual/contrib.texi (Contributors): Update entry of Liubov
47883         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47884         Machado Filho.
47886 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47888         * string/string.h: Add __wur to GNU version of strerror_r.
47890 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47892         [BZ #14229]
47893         * string/Makefile (tests): Add tst-strtok_r.
47894         * string/tst-strtok_r.c: New file.
47895         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47896         RAX_LP/RDX_LP on SAVE_PTR.
47898 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47900         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47902 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47904         * libm_test.inc (csqrt_test): Allow more spurious underflow
47905         exceptions.
47906         (j0_test): Likewise.
47907         (j1_test): Likewise.
47908         (y0_test): Likewise.
47909         (y1_test): Likewise.
47911 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47913         * po/Makefile (libc.pot): Use UTF-8 charset.
47915 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47917         [BZ #14210]
47918         Suppress sign-conversion warning from FD_SET.
47919         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47920         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47921         not unsigned long int.
47922         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47924 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47926         [BZ #14050]
47927         [BZ #14117]
47928         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47929         __extern_always_inline instead of __extern_inline.
47930         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47931         (__signbit): Likewise.
47932         (__signbitl): Support C++ namespace.
47933         (lrintf): New inline function.
47934         (lrint): Likewise.
47935         (llrintf): Likewise.
47936         (llrint): Likewise.
47937         (fmaxf): Likewise.
47938         (fmax): Likewise.
47939         (fminf): Likewise.
47940         (fmin): Likewise.
47941         (rint): Likewise.
47942         (rintf): Likewise.
47943         (ceil): Likewise.
47944         (ceilf): Likewise.
47945         (floor): Likewise.
47946         (floorf): Likewise.
47947         (nearbyint): Likewise.
47948         (nearbyintf): Likewise.
47950 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47952         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47953         non-default versions.
47955 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47957         [BZ #14218]
47958         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47960 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47962         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47963         (FE_UPWARD, FE_DOWNWARD): Don't define.
47964         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47965         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47967         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47968         reading it.
47969         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47970         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47972 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47974         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47975         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47976         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47977         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47979 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47981         [BZ #14117]
47982         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47983         * sysdeps/i386/fpu/Implies: New file.
47984         * sysdeps/x86_64/fpu/Implies: Likewise.
47985         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47986         * sysdeps/x86/fpu/bits/fenv.h: This.
47988         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47989         __SSE_MATH__.
47991 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47993         [BZ #14134]
47994         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47995         character 0xffff that matches the last element of the
47996         conversion table.
47998 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48000         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48001         fmodl commit.
48003 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48005         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48006         values higher than 25.6283.
48008 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48010         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48011         subnormal exponent extraction and add some __builtin_expect.
48012         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48013         Fix for subnormal mantissa calculation.
48015 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
48017         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48018         cpu2 is -1 and errno is not ENOSYS.
48020 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48022         [BZ #14117]
48023         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48024         * sysdeps/x86/bits/string.h: This.
48025         * sysdeps/x86_64/bits/string.h: Removed.
48027         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48028         if not compiling for x86-64, but compiling for >= i486.
48030         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48031         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48033         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48034         New macro from Linux kernel 3.4.0.
48035         (FP_XSTATE_MAGIC2): Likewise.
48036         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48037         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48038         (struct _fpx_sw_bytes): New struct.
48039         (struct _xsave_hdr): Likewise.
48040         (struct _ymmh_state): Likewise.
48041         (struct _xstate): Likewise.
48043         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48044         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48045         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48046         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48047         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48048         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48050         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48051         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48052         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48053         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48054         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48055         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48057 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48059         [BZ #13743]
48060         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48061         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48062         (sysdep_headers): Include sys/platform/ppc.h.
48063         * sysdeps/powerpc/test-gettimebase.c: Test for
48064         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48065         * manual/Makefile (appendices): Include platform.texi.
48066         * manual/contrib.texi (Contributors): Update @node pointers.
48067         * manual/maint.texi (Maintenance): Likewise.
48068         (Platform): New node.
48069         * manual/platform.texi: New file.  Document the new features.
48071 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48072             Jakub Jelinek  <jakub@redhat.com>
48074         [BZ #14188]
48075         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48076         where __builtin_expect is unavailable.
48078 2012-06-03  David S. Miller  <davem@davemloft.net>
48080         * stdlib/longlong.h: Updated from GCC.
48082 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48084         [BZ #14042]
48085         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48086         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48087         __mcount_internal.
48088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48089         (GLIBC_2.16): Likewise.
48091 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48093         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48095 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48098         (default-abi): New variable.
48099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48100         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48101         variable.
48102         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48103         Likewise.
48104         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48105         Likewise.
48106         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48107         Likewise.
48109         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48110         definition.  Document in comment.
48112 2012-06-01  David S. Miller  <davem@davemloft.net>
48114         * stdlib/longlong.h: Updated from GCC.
48116 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48118         [BZ #14117]
48119         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48120         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48121         sys/debugreg.h sys/io.h here.
48122         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48123         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48124         sys/io.h.
48125         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48126         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48127         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48128         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48129         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48130         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48132         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48133         Define only if __x86_64__ is defined.
48135 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48137         [BZ #14048]
48138         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48139         Use int64_t for variable i.
48140         * math/libm-test.inc (fmod_test): Add more tests.
48142         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48143         z computation is not scheduled after fetestexcept.
48144         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48145         Use math_force_eval instead of asm to ensure calculation scheduled
48146         before exception test.
48147         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48148         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48150 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48153         computation is not scheduled after fetestexcept.
48155 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48157         [BZ #14117]
48158         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48159         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48161 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48163         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48164         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48166 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48168         [BZ #14117]
48169         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48170         <bits/wordsize.h>.
48171         (__WCHAR_MIN): Support __WORDSIZE == 64.
48172         (__WCHAR_MAX): Likewise.
48174         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48175         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48177         [BZ #14183]
48178         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48179         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48181         [BZ #14117]
48182         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48183         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48185         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48186         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48188         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48189         Defined to 1 if __x86_64__ isn't defined.
48190         (_STAT_VER_LINUX_OLD): New.
48191         (st_atime): Remove duplicate.
48192         (st_mtime): Likewise.
48193         (st_ctime): Likewise.
48195 2012-05-31  David S. Miller  <davem@davemloft.net>
48197         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48198         entries.
48200 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48202         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48203         gen-libm-test.pl.
48205         [BZ #14132]
48206         * elf/dl-reloc.c: Include <_itoa.h>.
48207         (_dl_reloc_bad_type): Remove use of INTUSE.
48208         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48209         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48210         * stdio-common/psiginfo.c (psiginfo): Likewise.
48211         * stdio-common/psignal.c (psignal): Likewise.
48212         * string/strsignal.c (strsignal): Likewise.
48213         * include/signal.h (_sys_siglist): Declare hidden proto.
48214         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48215         INTVARDEF with libc_hidden_data_def.
48216         * stdio-common/itoa-udigits.c: Likewise.
48217         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48218         (_itoa_lower_digits_internal): Remove declaration.
48219         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48220         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48221         (_sys_sigabbrev_internal): Remove aliases.
48222         (_sys_siglist): Define hidden alias.
48224 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48226         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48227         bits/sysctl.h.
48229 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48231         [BZ #14117]
48232         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48233         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48235         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48236         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48237         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48238         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48239         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48240         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48242         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48243         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48244         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48246         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48247         with __addr.
48248         (insw): Likewise.
48249         (insl): Likewise.
48250         (outsb): Likewise.
48251         (outsw): Likewise.
48252         (outsl): Likewise.
48254         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48255         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48256         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48258         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48259         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48260         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48261         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48262         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48263         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48265         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48266         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48268         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48269         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48271         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48272         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48273         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48275         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48276         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48277         to ...
48278         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48280         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48281         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48282         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48284         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48285         for x86-64.
48286         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48288 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48290         * math/math.h (M_El): Use two more decimal places.
48291         (M_LOG2El): Likewise.
48292         (M_LOG10El): Likewise.
48293         (M_LN2l): Likewise.
48294         (M_LN10l): Likewise.
48295         (M_PIl): Likewise.
48296         (M_PI_2l): Likewise.
48297         (M_PI_4l): Likewise.
48298         (M_1_PIl): Likewise.
48299         (M_2_PIl): Likewise.
48300         (M_2_SQRTPIl): Likewise.
48301         (M_SQRT2l): Likewise.
48302         (M_SQRT1_2l): Likewise.
48304 2012-05-31  David S. Miller  <davem@davemloft.net>
48306         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48307         values between float registers.
48308         * sysdeps/sparc/sparc64/memset.S: Likewise.
48309         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48311 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48313         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48314         -D_FORTIFY_SOURCE=1.
48315         (CPPFLAGS-tst-longjmp_chk.c): Define.
48316         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48317         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48318         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48319         CFLAGS-tst-wchar-h.c.
48321 2012-05-31  Marek Polacek  <polacek@redhat.com>
48323         [BZ #14132]
48324         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48325         __endmntent_internal): Remove declaration.
48326         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48327         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48328         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48330 2012-05-30  David S. Miller  <davem@davemloft.net>
48332         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48333         (___Q_simulate_exceptions): Use real FP ops rather than writing
48334         into the %fsr.
48335         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48336         Likewise.
48338 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48340         [BZ #14117]
48341         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48342         * sysdeps/x86/bits/xtitypes.h: This.
48344         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48345         * sysdeps/x86/bits/wordsize.h: This.
48347         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48348         * sysdeps/x86/bits/huge_vall.h: This.
48350         * sysdeps/i386/bits/select.h: Removed.
48351         * sysdeps/x86_64/bits/select.h: Renamed to ...
48352         * sysdeps/x86/bits/select.h: This.
48354         * sysdeps/i386/bits/setjmp.h: Removed.
48355         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48356         * sysdeps/x86/bits/setjmp.h: This.
48358         * sysdeps/i386/bits/mathdef.h: Removed.
48359         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48360         * sysdeps/x86/bits/mathdef.h: This.
48362 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48364         [BZ #14132]
48365         * include/sys/socket.h (__connect_internal)
48366         (__libc_sa_len_internal): Remove declaration.
48367         (__connect, __libc_sa_len): Declare hidden_proto.
48368         (SA_LEN): Remove use of INTUSE.
48369         * socket/connect.c: Add libc_hidden_def.
48370         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48371         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48372         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48373         alias.
48374         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48375         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48376         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48377         of adding _internal alias.
48379 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48381         [BZ #14117]
48382         * sysdeps/i386/bits/link.h: Removed.
48383         * sysdeps/i386/bits/linkmap.h: Likewise.
48384         * sysdeps/x86_64/bits/link.h: Renamed to ...
48385         * sysdeps/x86/bits/link.h: This.
48386         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48387         * sysdeps/x86/bits/linkmap.h: This.
48389         * sysdeps/i386/bits/endian.h: Removed.
48390         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48391         * sysdeps/x86/bits/endian.h: This.
48393         * sysdeps/i386/bits/byteswap.h: Removed.
48394         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48395         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48396         * sysdeps/x86/bits/byteswap.h: This.
48397         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48398         * sysdeps/x86/bits/byteswap-16.h: This.
48399         * sysdeps/i386/Implies: Add x86.
48400         * sysdeps/x86_64/Implies: Likewise.
48402 2012-05-30  David S. Miller  <davem@davemloft.net>
48404         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48405         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48406         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48407         (FP_TRAPPING_EXCEPTIONS): Define.
48408         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48409         (FP_TRAPPING_EXCEPTIONS): Define.
48410         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48411         subnormals only when inexact has been signalled or underflow
48412         exceptions are enabled.
48413         (_FP_PACK_CANONICAL): Likewise.
48415 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48417         [BZ #14183]
48418         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48419         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48421 2012-05-30  Richard Henderson  <rth@twiddle.net>
48423         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48424         with #ifndef NOT_IN_libc.
48426         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48427         marked to avoid plt entry.
48429 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48431         [BZ #14112]
48432         * Makeconfig (default-abi): New macro.
48433         (abi-includes): Likewise.
48434         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48435         $(abi-$(default-abi)-lib-soname) for soname if defined.
48436         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48437         abi-variants.
48438         * Makefile (installed-stubs): Likewise.
48439         * include/stubs-biarch.h: Removed.
48440         * scripts/lib-names.awk: Only handle one library at a time.
48441         * scripts/soversions.awk: Remove WORDSIZE support.
48442         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48443         entries.
48444         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48445         Removed.
48446         (syscall-list-default-condition): Likewise.
48447         (syscall-list-default-condition): Likewise.
48448         (syscall-list-includes): Likewise.
48449         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48450         syscall-list-* with abi-*.  Handle undefined abi-variants.
48451         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48452         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48453         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48454         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48455         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48456         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48457         Removed.
48458         (syscall-list-32-options): Likewise.
48459         (syscall-list-32-condition): Likewise.
48460         (syscall-list-64-options): Likewise.
48461         (syscall-list-64-condition): Likewise.
48462         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48463         macro.
48464         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48465         Renamed to ...
48466         (abi-*): This.
48467         (abi-64-ld-soname): New macro.
48468         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48469         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48470         Renamed to ...
48471         (abi-*): This.
48472         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48473         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48475 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48477         * sysdeps/unix/sysv/linux/kernel-features.h
48478         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48479         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48480         include <kernel-features.h>.
48481         [!__NR_ftruncate64]: Remove conditional code.
48482         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48483         [__NR_ftruncate64]: Make code unconditional.
48484         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48485         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48486         include <kernel-features.h>.
48487         [!__NR_ftruncate64]: Remove conditional code.
48488         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48489         [__NR_ftruncate64]: Make code unconditional.
48490         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48492         include <kernel-features.h>.
48493         [!__NR_ftruncate64]: Remove conditional code.
48494         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48495         [__NR_ftruncate64]: Make code unconditional.
48496         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48498         include <kernel-features.h>.
48499         [!__NR_ftruncate64]: Remove conditional code.
48500         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48501         [__NR_ftruncate64]: Make code unconditional.
48502         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48504         * configure.in (libc_cv_fpie): Weaken to a compile test using
48505         LIBC_TRY_CC_OPTION.
48506         * configure: Regenerated.
48508 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48514         Refreshed.
48515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48521         Refreshed.
48523 2012-05-27  David S. Miller  <davem@davemloft.net>
48525         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48526         (___Q_zero): New.
48527         (__Q_simulate_exceptions): Return void.  Change to simulate
48528         exceptions by writing into the %fsr.
48529         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48530         (__Qp_handle_exceptions): Likewise.
48531         (numbers): Delete.
48532         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48533         __Qp_handle_exceptions.
48534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48535         __Qp_handle_exceptions.
48536         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48537         as unused and give dummy FP_RND_NEAREST initializer.
48538         (FP_INHIBIT_RESULTS): Define.
48539         (___Q_simulate_exceptions): Update declaration.
48540         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48541         formatting.
48542         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48543         as unused and give dummy FP_RND_NEAREST initializer.
48544         (__Qp_handle_exceptions): Update declaration.
48545         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48546         formatting.
48548 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48550         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48551         the temporary FPU control word.
48552         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48553         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48554         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48555         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48556         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48557         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48558         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48559         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48560         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48561         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48562         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48564 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48566         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48567         fields.
48569 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48571         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48572         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48573         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48574         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48575         Likewise.
48576         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48577         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48578         Likewise.
48580 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48582         * po/h.po: Update from translation team.
48584 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48586         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48588         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48589         handling of denormals.
48590         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48591         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48592         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48593         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48594         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48595         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48596         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48597         Likewise.
48599 2012-05-26  Marek Polacek  <polacek@redhat.com>
48601         [BZ #14152]
48602         * math/libm-test.inc (fma_test): Don't always expect underflow
48603         exception.
48605 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48607         [BZ #12416]
48608         * elf/tst-execstack.c: Include stackinfo.h.
48609         (do_test): Adjust test case to ensure that pthread_getattr_np
48610         behaviour remains the same after marking stack executable.
48612 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48614         * sysdeps/unix/sysv/linux/kernel-features.h
48615         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48616         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48617         kernel-features.h.
48618         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48619         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48620         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48621         kernel-features.h.
48622         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48623         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48625 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48627         * configure.in: Define the default includes to being none.
48628         * configure: Regenerated.
48630 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48632         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48633         * sysdeps/x86_64/setjmp.S: Likewise.
48634         * sysdeps/i386/bsd-setjmp.S: Likewise.
48635         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48636         * sysdeps/i386/setjmp.S: Likewise.
48637         * sysdeps/i386/__longjmp.S: Likewise.
48638         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48639         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48641         * include/stap-probe.h: New file.
48642         * configure.in: Handle --enable-systemtap.
48643         * configure: Regenerated.
48644         * config.h.in (USE_STAP_PROBE): New #undef.
48645         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48646         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48647         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48649 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48651         [BZ #13717]
48652         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48653         to 2.4.0 where earlier.
48654         * sysdeps/unix/sysv/linux/configure: Regenerated.
48655         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48656         <kernel-features.h>.
48657         [__ASSUME_32BITUIDS]: Make code unconditional.
48658         [!__ASSUME_32BITUIDS]: Remove conditional code.
48659         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48660         <kernel-features.h>.
48661         [__ASSUME_32BITUIDS]: Make code unconditional.
48662         [!__ASSUME_32BITUIDS]: Remove conditional code.
48663         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48664         [__ASSUME_32BITUIDS]: Make code unconditional.
48665         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48666         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
48687         <kernel-features.h>.
48688         [__ASSUME_32BITUIDS]: Make code unconditional.
48689         [!__ASSUME_32BITUIDS]: Remove conditional code.
48690         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48691         <kernel-features.h>.
48692         [__ASSUME_32BITUIDS]: Make code unconditional.
48693         [!__ASSUME_32BITUIDS]: Remove conditional code.
48694         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48695         <kernel-features.h>.
48696         [__ASSUME_32BITUIDS]: Make code unconditional.
48697         [!__ASSUME_32BITUIDS]: Remove conditional code.
48698         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48699         <kernel-features.h>.
48700         [__ASSUME_32BITUIDS]: Make code unconditional.
48701         [!__ASSUME_32BITUIDS]: Remove conditional code.
48702         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48703         <kernel-features.h>.
48704         [__ASSUME_32BITUIDS]: Make code unconditional.
48705         [!__ASSUME_32BITUIDS]: Remove conditional code.
48706         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48707         <kernel-features.h>.
48708         [__NR_setresgid] (__setresgid): Do not declare.
48709         [__ASSUME_32BITUIDS]: Make code unconditional.
48710         [!__ASSUME_32BITUIDS]: Remove conditional code.
48711         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48712         <kernel-features.h>.
48713         [__NR_setresuid] (__setresuid): Do not declare.
48714         [__ASSUME_32BITUIDS]: Make code unconditional.
48715         [!__ASSUME_32BITUIDS]: Remove conditional code.
48716         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.c: Do not include
48733         <kernel-features.h>.
48734         [__ASSUME_32BITUIDS]: Make code unconditional.
48735         [!__ASSUME_32BITUIDS]: Remove conditional code.
48736         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48737         <kernel-features.h>.
48738         [__ASSUME_32BITUIDS]: Make code unconditional.
48739         [!__ASSUME_32BITUIDS]: Remove conditional code.
48740         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48741         <kernel-features.h>.
48742         [__ASSUME_32BITUIDS]: Make code unconditional.
48743         [!__ASSUME_32BITUIDS]: Remove conditional code.
48744         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48745         <kernel-features.h>.
48746         [__ASSUME_32BITUIDS]: Make code unconditional.
48747         [!__ASSUME_32BITUIDS]: Remove conditional code.
48748         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48749         <kernel-features.h>.
48750         [__ASSUME_32BITUIDS]: Make code unconditional.
48751         [!__ASSUME_32BITUIDS]: Remove conditional code.
48752         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48753         <kernel-features.h>.
48754         [__ASSUME_32BITUIDS]: Make code unconditional.
48755         [!__ASSUME_32BITUIDS]: Remove conditional code.
48756         * sysdeps/unix/sysv/linux/kernel-features.h
48757         (__ASSUME_SETRESUID_SYSCALL): Remove.
48758         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48759         (__ASSUME_32BITUIDS): Likewise.
48760         (__ASSUME_LDT_WORKS): Likewise.
48761         (__ASSUME_O_DIRECTORY): Likewise.
48762         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48763         architecture but not kernel version.
48764         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48765         (__ASSUME_MMAP2_SYSCALL): Likewise.
48766         (__ASSUME_STAT64_SYSCALL): Likewise.
48767         (__ASSUME_IPC64): Likewise.
48768         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48769         <kernel-features.h>.
48770         [__ASSUME_32BITUIDS]: Make code unconditional.
48771         [!__ASSUME_32BITUIDS]: Remove conditional code.
48772         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48773         <kernel-features.h>.
48774         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48775         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48776         132096]: Remove conditional code.
48777         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48778         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48779         <kernel-features.h>.
48780         [__ASSUME_32BITUIDS]: Make code unconditional.
48781         [!__ASSUME_32BITUIDS]: Remove conditional code.
48782         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48783         <kernel-features.h>.
48784         [__ASSUME_32BITUIDS]: Make code unconditional.
48785         [!__ASSUME_32BITUIDS]: Remove conditional code.
48786         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48787         <kernel-features.h>.
48788         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48789         unconditional.
48790         (__setresgid): Do not declare.
48791         [__ASSUME_32BITUIDS]: Make code unconditional.
48792         [!__ASSUME_32BITUIDS]: Remove conditional code.
48793         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48794         <kernel-features.h>.
48795         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48796         unconditional.
48797         (__setresuid): Do not declare.
48798         [__ASSUME_32BITUIDS]: Make code unconditional.
48799         [!__ASSUME_32BITUIDS]: Remove conditional code.
48800         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48801         <kernel-features.h>.
48802         [__ASSUME_32BITUIDS]: Make code unconditional.
48803         [!__ASSUME_32BITUIDS]: Remove conditional code.
48804         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48805         <kernel-features.h>.
48806         [__ASSUME_32BITUIDS]: Make code unconditional.
48807         [!__ASSUME_32BITUIDS]: Remove conditional code.
48809 2012-05-25  Richard Henderson  <rth@twiddle.net>
48811         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48812         dl_hwcap to ifunc resolver.
48813         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48814         elf_ifunc_invoke.
48815         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48816         dl_hwcap to ifunc resolver.
48817         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48819 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48821         [BZ #14153]
48822         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48823         for |x| <= 2**-26, not 2**-57.
48824         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48825         exception.
48827 2012-05-24  Jeff Law  <law@redhat.com>
48829         * stdio-common/Makefile (tests): Add bug25.
48830         * stdio-common/bug25.c: New test.
48832 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48834         [BZ #13576]
48835         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48836         multiple of MALLOC_ALIGNMENT in size.
48837         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48839 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48841         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48842         Require >= 256.
48843         (FILENAME_MAX): Use macro-int-constant.
48844         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48845         (_IOFBF): Use macro-int-constant.
48846         (_IOLBF): Likewise.
48847         (_IONBF): Likewise.
48848         (SEEK_CUR): Likewise.
48849         (SEEK_END): Likewise.
48850         (SEEK_SET): Likewise.
48851         (TMP_MAX): Likewise.
48852         (EOF): Use macro-int-constant.  Require < 0.
48853         (NULL): Use macro-constant.  Require == 0.
48854         (stdin): Require type to be FILE *.
48855         (stdout): Likewise.
48856         (stderr): Likewise.
48857         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48858         macro-int-constant.
48859         (EXIT_SUCCESS): Likewise.
48860         (NULL): Use macro-constant.  Require == 0.
48861         (RAND_MAX): Use macro-int-constant.
48862         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48863         [C99-based standards] (strtof): Require function.
48864         [C99-based standards] (strtold): Likewise.
48865         [C99-based standards] (strtoll): Likewise.
48866         [C99-based standards] (strtoull): Likewise.
48867         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48868         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48869         [ISO || ISO99 || ISO11] (math.h): Likewise.
48870         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48871         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48872         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48874 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48876         [BZ #14132]
48877         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48878         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48879         * intl/dgettext.c (DCGETTEXT): Likewise.
48880         * intl/gettext.c (DCGETTEXT): Likewise.
48881         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48882         * posix/regex_internal.h (gettext): Likewise.
48883         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48884         Remove declaration.
48885         * include/argz.h (__argz_count_internal)
48886         (__argz_stringify_internal): Remove declaration.
48887         (__argz_count, __argz_stringify): Declare hidden proto.
48888         * intl/dcgettext.c: Remove use of INTDEF.
48889         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48890         * string/argz-stringify.c: Likewise.
48891         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48892         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48893         Declare hidden proto.
48894         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48895         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48896         Declare hidden proto.
48897         * include/stdio.h (__asprintf_internal): Don't declare.
48898         (__asprintf): Don't define as macro.  Declare hidden proto.
48899         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48900         (__fsetlocking): Declare hidden proto.
48901         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48902         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48903         hidden proto.
48904         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48905         (_IO_setlinebuf): Remove use of INTUSE.
48906         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48907         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48908         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48909         Remove declaration.
48910         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48911         (_IO_do_flush): Remove use of INTUSE.
48912         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48913         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48914         (_IO_adjust_column, _IO_least_wmarker)
48915         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48916         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48917         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48918         (_IO_default_doallocate, _IO_wdefault_doallocate)
48919         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48920         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48921         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48922         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48923         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48924         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48925         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48926         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48927         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48928         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48929         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48930         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48931         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48932         proto.
48933         (_IO_flush_all_internal, _IO_adjust_column_internal)
48934         (_IO_default_uflow_internal, _IO_default_finish_internal)
48935         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48936         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48937         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48938         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48939         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48940         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48941         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48942         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48943         (_IO_file_close_internal, _IO_file_close_it_internal)
48944         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48945         (_IO_file_init_internal, _IO_file_attach_internal)
48946         (_IO_file_fopen_internal, _IO_file_read_internal)
48947         (_IO_file_sync_internal, _IO_file_seek_internal)
48948         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48949         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48950         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48951         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48952         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48953         (_IO_list_all_internal, _IO_link_in_internal)
48954         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48955         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48956         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48957         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48958         (_IO_do_write_internal, _IO_padn_internal)
48959         (_IO_getline_info_internal, _IO_getline_internal)
48960         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48961         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48962         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48963         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48964         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48965         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48966         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48967         with libc_hidden_ver, remove use of INTUSE.
48968         * libio/genops.c: Likewise.
48969         * libio/freopen.c: Likewise.
48970         * libio/freopen64.c: Likewise.
48971         * libio/iofclose.c: Likewise.
48972         * libio/iofdopen.c: Likewise.
48973         * libio/iofflush.c: Likewise.
48974         * libio/iofflush_u.c: Likewise.
48975         * libio/iofgets.c: Likewise.
48976         * libio/iofgets_u.c: Likewise.
48977         * libio/iofopen.c: Likewise.
48978         * libio/iofopncook.c: Likewise.
48979         * libio/iofread.c: Likewise.
48980         * libio/iofread_u.c: Likewise.
48981         * libio/ioftell.c: Likewise.
48982         * libio/iofwrite.c: Likewise.
48983         * libio/iogetline.c: Likewise.
48984         * libio/iogets.c: Likewise.
48985         * libio/iogetwline.c: Likewise.
48986         * libio/iopadn.c: Likewise.
48987         * libio/iopopen.c: Likewise.
48988         * libio/ioseekoff.c: Likewise.
48989         * libio/ioseekpos.c: Likewise.
48990         * libio/iosetbuffer.c: Likewise.
48991         * libio/iosetvbuf.c: Likewise.
48992         * libio/ioungetc.c: Likewise.
48993         * libio/ioungetwc.c: Likewise.
48994         * libio/iovdprintf.c: Likewise.
48995         * libio/iovsprintf.c: Likewise.
48996         * libio/iovsscanf.c: Likewise.
48997         * libio/memstream.c: Likewise.
48998         * libio/obprintf.c: Likewise.
48999         * libio/oldfileops.c: Likewise.
49000         * libio/oldiofclose.c: Likewise.
49001         * libio/oldiofdopen.c: Likewise.
49002         * libio/oldiofopen.c: Likewise.
49003         * libio/oldiopopen.c: Likewise.
49004         * libio/oldstdfiles.c: Likewise.
49005         * libio/putc.c: Likewise.
49006         * libio/setbuf.c: Likewise.
49007         * libio/setlinebuf.c: Likewise.
49008         * libio/stdfiles.c: Likewise.
49009         * libio/strops.c: Likewise.
49010         * libio/vasprintf.c: Likewise.
49011         * libio/vscanf.c: Likewise.
49012         * libio/vsnprintf.c: Likewise.
49013         * libio/vswprintf.c: Likewise.
49014         * libio/wfiledoalloc.c: Likewise.
49015         * libio/wfileops.c: Likewise.
49016         * libio/wgenops.c: Likewise.
49017         * libio/wmemstream.c: Likewise.
49018         * libio/wstrops.c: Likewise.
49019         * libio/__fpurge.c: Likewise.
49020         * libio/__fsetlocking.c: Likewise.
49021         * assert/assert.c: Likewise.
49022         * debug/fgets_chk.c: Likewise.
49023         * debug/fgets_u_chk.c: Likewise.
49024         * debug/fread_chk.c: Likewise.
49025         * debug/fread_u_chk.c: Likewise.
49026         * debug/gets_chk.c: Likewise.
49027         * debug/obprintf_chk.c: Likewise.
49028         * debug/vasprintf_chk.c: Likewise.
49029         * debug/vdprintf_chk.c: Likewise.
49030         * debug/vsnprintf_chk.c: Likewise.
49031         * debug/vsprintf_chk.c: Likewise.
49032         * malloc/mtrace.c: Likewise.
49033         * misc/error.c: Likewise.
49034         * misc/syslog.c: Likewise.
49035         * stdio-common/asprintf.c: Likewise.
49036         * stdio-common/fxprintf.c: Likewise.
49037         * stdio-common/getw.c: Likewise.
49038         * stdio-common/isoc99_fscanf.c: Likewise.
49039         * stdio-common/isoc99_scanf.c: Likewise.
49040         * stdio-common/isoc99_vfscanf.c: Likewise.
49041         * stdio-common/isoc99_vscanf.c: Likewise.
49042         * stdio-common/isoc99_vsscanf.c: Likewise.
49043         * stdio-common/printf-prs.c: Likewise.
49044         * stdio-common/printf_fp.c: Likewise.
49045         * stdio-common/printf_fphex.c: Likewise.
49046         * stdio-common/printf_size.c: Likewise.
49047         * stdio-common/putw.c: Likewise.
49048         * stdio-common/scanf.c: Likewise.
49049         * stdio-common/sprintf.c: Likewise.
49050         * stdio-common/tmpfile.c: Likewise.
49051         * stdio-common/vfprintf.c: Likewise.
49052         * stdio-common/vfscanf.c: Likewise.
49053         * stdlib/strfmon_l.c: Likewise.
49054         * sunrpc/openchild.c: Likewise.
49055         * sunrpc/xdr_stdio.c: Likewise.
49056         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49057         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49059 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49061         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49063         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49064         in the third column, to generate for the shared library an IFUNC
49065         that uses _dl_vdso_vsym.
49066         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49067         * Makeconfig (object-suffixes-noshared): New variable.
49069         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49070         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49071         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49072         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49074         [BZ #14132]
49075         * include/sys/time.h (__gettimeofday): Remove macro.
49076         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49077         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49078         Remove INTDEF.
49079         (__gettimeofday): Add libc_hidden_def.
49080         (gettimeofday): Add libc_hidden_weak.
49081         * sysdeps/mach/gettimeofday.c: Likewise.
49082         * sysdeps/posix/gettimeofday.c: Likewise.
49083         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49084         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49085         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49086         (__gettimeofday_internal): Remove strong_alias.
49087         (__gettimeofday): Add libc_hidden_def.
49088         (gettimeofday): Add libc_hidden_weak.
49089         * sysdeps/unix/syscalls.list (gettimeofday):
49090         Remove __gettimeofday_internal alias.
49092 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49093             H.J. Lu  <hongjiu.lu@intel.com>
49095         [BZ #12495]
49096         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49097         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49098         (largebin_index_32_big): New.
49099         (largebin_index): Use it for 16-byte alignment.
49100         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49101         correction with front_misalign.
49103 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49107         Likewise.
49108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49109         Likewise.
49110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49111         Likewise.
49112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49113         Likewise.
49114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49115         Likewise.
49116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49117         Likewise.
49118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49119         Likewise.
49120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49121         Likewise.
49122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49123         Likewise.
49124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49125         Likewise.
49126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49127         Likewise.
49128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49129         Likewise.
49131         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49132         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49134 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49136         [BZ #10846]
49137         [BZ #14036]
49138         * math/libm-test.inc (exp_test): Add test from bug 14036.
49139         (pow_test): Add test from bug 10846.
49141         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49142         and other flags.
49143         (special_function): Do not include flags in test name.
49144         (parse_args): Likewise.
49145         * sysdeps/i386/fpu/libm-test-ulps: Update.
49146         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49147         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49148         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49151         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49152         exceptions.
49153         * math/libm-test.inc ("Philosophy"): Update comment about
49154         exception testing.
49155         (UNDERFLOW_EXCEPTION): New macro.
49156         (UNDERFLOW_EXCEPTION_OK): Likewise.
49157         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49158         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49159         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49160         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49161         (INVALID_EXCEPTION_OK): Update value.
49162         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49163         (OVERFLOW_EXCEPTION_OK): Likewise.
49164         (IGNORE_ZERO_INF_SIGN): Likewise.
49165         (test_exceptions): Handle underflow exceptions.
49166         (acos_test): Update for underflow exception expectations.
49167         (cexp_test): Likewise.
49168         (clog_test): Likewise.
49169         (clog10_test): Likewise.
49170         (csqrt_test): Likewise.
49171         (ctan_test): Likewise.
49172         (ctanh_test): Likewise.
49173         (exp_test): Likewise.
49174         (exp10_test): Likewise.
49175         (exp2_test): Likewise.
49176         (expm1_test): Likewise.
49177         (fma_test): Likewise.
49178         (j0_test): Likewise.
49179         (jn_test): Likewise.
49180         (nexttoward_test): Likewise.
49181         (pow_test): Likewise.
49182         (scalbn_test): Likewise.
49183         (scalbln_test): Likewise.
49184         (tan_test): Likewise.
49185         (y1_test): Likewise.
49186         * sysdeps/i386/fpu/libm-test-ulps: Update.
49187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49189 2012-05-23  David S. Miller  <davem@davemloft.net>
49191         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49192         (__libc_sigaction): Remove unused local variables.
49194 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49196         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49198 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49200         mktime: avoid signed integer overflow
49201         * time/mktime.c (__mktime_internal): Do not mishandle the case
49202         where diff == INT_MIN.
49204         mktime: simplify computation of average
49205         * time/mktime.c (ranged_convert): Use new time_t_avg function
49206         instead of rolling our own (probably-slower) code.
49208         mktime: do not assume signed right shift propagates sign bit
49209         * time/mktime.c (isdst_differ): New static function.
49210         (__mktime_internal): No need to normalize tm_isdst now.
49211         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49212         tm_isdst values.
49214         mktime: merge another wrapv change from gnulib
49215         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49216         from some compilers.
49218         mktime: remove incorrect attempt at unusual arithmetics
49219         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49220         The code didn't really work on such machines anyway.
49221         (TYPE_MINIMUM): Assume two's complement.
49222         (twos_complement_arithmetic): Verify that long_int and time_t
49223         are two's complement (or unsigned, in the latter case).
49225         mktime: check signed shifts on long_int and time_t, too
49226         * time/mktime.c (SHR): Check that shifts work as desired
49227         on the types long_int and time_t too, as SHR is used on
49228         such types.
49230         mktime: do not assume 'long' is wide enough
49231         * time/mktime.c (verify): Move decl up.
49232         (long_int): New type.
49233         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49234         to remove assumption in the code that 'long' is wide enough to
49235         store year values.  This assumption is not true on x32 and on
49236         some non-glibc platforms.
49238         mktime: merge wrapv change from gnulib
49239         * time/mktime.c (WRAPV): New macro.
49240         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49241         (guess_time_tm, __mktime_internal): Do not assume that signed
49242         integer overflow wraps around; modern compilers generate code
49243         where this assumption is no longer valid.
49245 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49247         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49248         Replace "jmp L(pseudo_end)" with "ret".
49249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49250         Likewise.
49252 2012-05-23  Andreas Jaeger  <aj@suse.de>
49254         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49255         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49257 2012-05-23  Andreas Jaeger  <aj@suse.de>
49258             Maximilian Attems  <max@stro.at>
49260         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49261         New macros.
49263 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49265         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49266         code so that pseudo_end is just ret and the stack pointer is
49267         correct also for static library in error case.
49269 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49271         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49272         move to syscalls.list.
49273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49278         * manual/install.texi (Running make install): Do not mention Linux
49279         kernel version for which pt_chown is not needed.
49280         (Linux): Do not mention problems with nscd with 2.0 kernels.
49281         * INSTALL: Regenerated.
49283 2012-05-23  Andreas Jaeger  <aj@suse.de>
49285         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49286         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49287         macro.
49288         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49289         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49290         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49291         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49292         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49293         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49294         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49295         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49296         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49297         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49298         * sysdeps/unix/sysv/linux/bits/in.h
49299         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49301 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49303         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49304         (PREPARE_VERSION): Just use assert instead, it will be elided
49305         under [NDEBUG] anyway.
49307 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49309         * sysdeps/unix/sysv/linux/Makefile: Include
49310         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49311         (sysdep_routines): Remove sysctl.
49312         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49313         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49314         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49315         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49316         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49318 2012-05-22  Andreas Jaeger  <aj@suse.de>
49320         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49321         that pseudo_end is just ret and the stack pointer is correct also
49322         for static library in error case.
49324 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49326         [BZ #14122]
49327         * nss/nsswitch.c (defconfig_entries): New variable.
49328         (__nss_database_lookup): Don't leak defconfig entries.
49329         (nss_parse_service_list): Don't leak on error paths.
49330         (free_database_entries): New function.
49331         (free_defconfig): New function.
49332         (free_mem): Move common code to free_database_entries.
49334 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49336         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49337         Add arch_prctl.
49338         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49340         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49341         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49343         New macro.
49344         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49345         (INTERNAL_SYSCALL_TYPES): Likewise.
49346         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49347         (LOAD_REGS_TYPES_[1-6]): Likewise.
49348         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49349         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49351 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49353         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49354         copysignl for GLIBC_2_0.
49355         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49356         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49357         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49358         logbl for GLIBC_2_0.
49359         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49360         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49362 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49364         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49365         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49367         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49368         Use "neg %eax".
49370         * time/mktime.c: Update copyright years.
49372 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49374         mktime: merge comment-quoting-style change from gnulib
49375         * time/mktime.c: Quote 'like this' in comments.
49376         The GNU coding standards suggest that we no longer quote `like this',
49377         as "`" and "'" are typically rendered asymmetrically nowadays.
49378         The typical gnulib style is to quote 'like this' when quoting
49379         code, and "like this" when quoting English.
49381         * time/mktime.c (compile-command): Add "-I.".
49383         mktime: merge mktime-internal.h change from gnulib
49384         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49386         mktime: merge time_r change from gnulib
49387         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49389         mktime: merge DEBUG change from gnulib
49390         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49391         case system <time.h> has a #define.
49393         mktime: merge <sys/types.h> change from gnulib
49394         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49395         since <time.t> is now guaranteed to define time_t.
49397         mktime: merge HAVE_CONFIG_H change from gnulib
49398         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49400 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49402         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49403         Use "neg %eax".
49405         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49406         __rlim_t cast.
49407         (struct rusage): Use anonymous union to pad each field to
49408         __syscall_slong_t.
49410 2012-05-21  David S. Miller  <davem@davemloft.net>
49412         * Makefules (o-iterator): Remove .s cases.
49413         (compile-command.s): Delete.
49414         (COMPILE.s): Delete.
49415         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49417 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49419         * configure.in (libc_cv_predef_stack_protector): Only consider
49420         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49421         * configure: Regenerated.
49423 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49425         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49426         New macro.  Use R*LP on int and pointer.
49427         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49428         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49429         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49430         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49432         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49433         [__WORDSIZE_TIME64_COMPAT32] instead of
49434         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49435         (struct utmp): Likewise.
49436         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49437         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49438         Renamed to ...
49439         (__WORDSIZE_TIME64_COMPAT32): This.
49440         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49441         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49442         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49443         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49444         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49445         (__WORDSIZE_TIME64_COMPAT32): New macro.
49447 2012-05-21  Andreas Jaeger  <aj@suse.de>
49449         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49450         only if [SHARED]. Add prototype for __wcschr_ia32.
49452 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49454         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49455         of %rbp unmolested in the jmp_buf while mangling the low bits.
49456         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49457         unmolested high bits of %rbp while demangling the low bits.
49458         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49460 2012-05-21  Andreas Jaeger  <aj@suse.de>
49462         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49463         * sunrpc/svc_simple.c: Use it for registerrpc.
49464         * sunrpc/xcrypt.c: Use it for passwd2des.
49466         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49468 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49470         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49471         Don't define if [__SYSCALL_WORDSIZE != 32].
49472         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49473         New macro.
49475 2012-05-21  Bruno Haible  <bruno@clisp.org>
49476             Andreas Jaeger  <aj@suse.de>
49478         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49479         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49480         inptr and inend for must_buffer_ch.
49481         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49482         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49483         * stdio-common/Makefile (tests): Remove bug15.
49484         (bug15-ENV): Remove macro.
49485         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49486         anymore.
49488 2012-05-19  Andreas Jaeger  <aj@suse.de>
49489             Roland McGrath  <roland@hack.frob.com>
49491         * manual/contrib.texi: Completely rewritten. It contains now an
49492         alphabetical list of contributors and their contributions.
49494 2012-05-21  Richard Henderson  <rth@twiddle.net>
49496         * misc/getauxval.c (__getauxval): Use unsigned long int.
49497         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49498         (getauxval): Use unsigned long int.
49500 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49502         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49504 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49506         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49507         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49508         __alignof__ (long double).
49510 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49514 2012-05-20  Richard Henderson  <rth@twiddle.net>
49516         * misc/getauxval.c: New file.
49517         * misc/sys/auxv.h: New file.
49518         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49519         (routines): Add getauxval.
49520         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49521         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49522         * elf/dl-sysdep.c (_dl_auxv): Remove.
49523         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49524         * elf/dl-support.c (_dl_auxv): New variable.
49525         (_dl_aux_init): Initialize it.
49526         * manual/startup.texi (Auxiliary Vector): New node.
49527         * sysdeps/generic/bits/hwcap.h: New file.
49528         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49529         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49530         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49531         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49532         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49533         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49535         Update.
49536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49539         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49545 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49549 2012-05-19  David S. Miller  <davem@davemloft.net>
49551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49553 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49555         [BZ #14123]
49556         * math/s_ccosh.c: Include <float.h>
49557         (__ccosh): Avoid internal overflow calculating sinh and cosh
49558         values before multiplying by sin and cos values.
49559         * math/s_ccoshf.c: Likewise.
49560         * math/s_ccoshl.c: Likewise.
49561         * math/s_csin.c: Likewise.
49562         * math/s_csinf.c: Likewise.
49563         * math/s_csinl.c: Likewise.
49564         * math/s_csinh.c: Likewise.
49565         * math/s_csinhf.c: Likewise.
49566         * math/s_csinhl.c: Likewise.
49567         * math/libm-test.inc (ccos_test): Add more tests.
49568         (ccosh_test): Likewise.
49569         (csin_test): Likewise.
49570         (csinh_test): Likewise.
49571         * sysdeps/i386/fpu/libm-test-ulps: Update.
49572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49574 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49576         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49577         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49579         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49581 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49583         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49584         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49585         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49586         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49587         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49588         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49589         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49590         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49591         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49592         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49593         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49594         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49595         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49596         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49597         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49598         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49599         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49600         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49601         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49602         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49603         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49604         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49605         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49606         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49607         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49608         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49609         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49610         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49611         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49612         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49613         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49615 2012-05-18  Andreas Jaeger  <aj@suse.de>
49617         * csu/.gitignore: Delete.
49619 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49621         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49622         (timex): Use __syscall_slong_t.
49624 2012-05-18  Andreas Jaeger  <aj@suse.de>
49625             Carlos O'Donell  <carlos_odonell@mentor.com>
49627         * manual/install.texi (Configuring and compiling): Update
49628         description about files modified in the source directory.
49629         * INSTALL: Regenerated.
49631 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49633         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49634         value.  Use "or" to set return value to -1.
49635         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49636         negate return value.
49638 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49640         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49641         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49642         failure if the compiler has Graphite support disabled.
49643         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49644         Likewise.
49645         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49646         (CFLAGS-memmove.c): Likewise.
49647         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49648         Likewise.
49650 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49652         * sysdeps/x86_64/x32/_itoa.h: New file.
49654         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49655         getdents system call only if kernel and user dirents have the
49656         same d_ino and d_off.
49658         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49659         LLONG_MAX != LONG_MAX.
49660         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49661         (_fitoa_word): Likewise.
49663         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49664         years.
49665         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49666         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49667         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49669         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49670         include <bits/wordsize.h>.  Check __x86_64__ instead of
49671         __WORDSIZE.
49672         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49673         if __x86_64__ is defined.  Use anonymous union on fpstate.
49675         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49676         anonymous union.
49678 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49680         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49681         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49682         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49683         Refer to _rtld_local_ro instead of _rtld_global_ro.
49684         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49685         Likewise.
49686         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49687         Likewise.
49688         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49689         Likewise.
49690         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49691         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49692         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49694         [BZ #10882]
49695         * sysdeps/powerpc/powerpc32/dl-machine.c
49696         (__elf_machine_runtime_setup) [PROF]: Don't reference
49697         _dl_prof_resolve.
49699 2012-05-18  Andreas Jaeger  <aj@suse.de>
49701         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49702         function only available for GCCs before 3.4 since GCC 3.4
49703         introduced a builtin.
49704         (lrint): Likewise.
49705         (llrintf): Likewise.
49706         (llrint): Likewise.
49707         (fmaxf): Likewise.
49708         (fmax): Likewise.
49709         (fminf): Likewise.
49710         (fmin): Likewise.
49711         (rint): Likewise.
49712         (rintf): Likewise.
49713         (nearbyint): Likewise.
49714         (nearbyintf): Likewise.
49715         (ceil): Likewise.
49716         (ceilf): Likewise.
49717         (floor): Likewise.
49718         (floorf): Likewise.
49720 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49722         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49723         on both fields and cast pointer to __syscall_ulong_t.
49725         * bits/types.h (__fsword_t): New type.
49726         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49727         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49729         (__FSWORD_T_TYPE): Likewise.
49730         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49731         (__FSWORD_T_TYPE): Likewise.
49732         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49733         (__FSWORD_T_TYPE): Likewise.
49734         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49735         (__FSWORD_T_TYPE): Likewise.
49736         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49737         __SWORD_TYPE with __fsword_t.
49738         (statfs64): Likewise.
49740 2012-05-17  David S. Miller  <davem@davemloft.net>
49742         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49744 2012-05-17  Andreas Jaeger  <aj@suse.de>
49746         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49747         warning.
49749 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49751         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49753 2012-05-17  Andreas Jaeger  <aj@suse.de>
49755         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49756         when it is used.
49758 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49760         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49762 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49764         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49765         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49767 2012-05-17  Andreas Jaeger  <aj@suse.de>
49768             Carlos O'Donell  <carlos_odonell@mentor.com>
49770         [BZ #14059]
49771         * sysdeps/x86_64/multiarch/init-arch.h
49772         (bit_YMM_Usable): Rename to...
49773         (bit_AVX_Usable): ... this.
49774         (bit_FMA4_Usable): New macro.
49775         (bit_XMM_state): New macro.
49776         (bit_YMM_state): New macro.
49777         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49778         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49779         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49780         (CPUID_OSXSAVE): New macro.
49781         (CPUID_AVX): New macro.
49782         (CPUID_FMA4): New macro.
49783         (index_YMM_Usable): Rename to...
49784         (index_AVX_Usable): ... this.
49785         (HAS_AVX): Use HAS_ARCH_FEATURE.
49786         (HAS_FMA4): Likewise.
49787         (HAS_YMM_USABLE): Remove.
49788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49789         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49790         are present.
49791         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49792         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49793         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49794         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49795         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49797 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49799         * math/libm-test.c: Support platforms without multiple rounding modes.
49800         * math/bug-nextafter.c: Support platforms without FP exceptions.
49801         * math/bug-nexttoward.c: Likewise.
49802         * math/test-fenv.c: Likewise.
49803         * math/test-misc.c: Likewise.
49804         * stdlib/bug-getcontext.c: Likewise.
49806 2012-05-17  Andreas Jaeger  <aj@suse.de>
49808         * manual/examples/search.c (critter_cmp): Change signature to
49809         avoid warnings.
49810         * manual/string.texi (Collation Functions): Likewise.
49812 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49814         * bits/types.h: Fold copyright years.
49815         * bits/typesizes.h: Likewise.
49816         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49817         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49818         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49819         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49820         * time/time.h: Likewise.
49822 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49824         [BZ #208]
49825         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49826         in instead of returning them.  Return void.
49827         (__libc_mallinfo): Accumulate over all arenas.
49828         (__malloc_stats): Adjust for change in int_mallinfo interface.
49830 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49832         [BZ #10375]
49833         * configure.in (NM): Add AC_CHECK_TOOL for it.
49834         (libc_extra_cflags): New substituted variable.
49835         Check for -fstack-protector being used implicitly.
49836         * configure: Regenerated.
49837         * config.make.in (config-extra-cflags): New variable,
49838         gets @libc_extra_cflags@.
49839         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49841         [BZ #10375]
49842         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49843         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49844         * configure: Regenerated.
49845         * config.make.in (CPPUNDEFS): New substituted variable.
49846         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49847         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49848         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49850 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49852         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49853         (mq_attr): Use __syscall_slong_t.
49855 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49857         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49858         Check __x86_64__ instead of __WORDSIZE.
49859         (_STAT_VER_LINUX): Likewise.
49860         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49861         __syscall_ulong_t and __syscall_slong_t.
49862         (stat64): Likewise.
49864 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49866         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49868 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49870         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49872 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49874         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49875         __syscall_ulong_t.
49877         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49878         include <bits/wordsize.h>.  Check __x86_64__ instead of
49879         __WORDSIZE.
49880         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49881         defined.
49882         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49884         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49885         include <bits/wordsize.h>.  Check __x86_64__ instead of
49886         __WORDSIZE.
49887         (user_regs_struct): Use "__extension__ unsigned long long"
49888         instead of "unsigned long" if __x86_64__ is defined.
49889         (user): Likewise.  Pad after pointer field if __ILP32__ is
49890         defined.
49892 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49894         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49895         versions 5 to 9.
49896         * configure: Regenerated.
49897         * manual/install.texi (texinfo): Increase version requirement to
49898         4.5 or later.
49899         * INSTALL: Regenerated.
49901         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49903 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49905         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49907         * sysdeps/x86_64/x32/ffs.c: New file.
49909         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49910         __syscall_ulong_t.
49911         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49912         defined.  Use __syscall_ulong_t.
49913         (shminfo): Use __syscall_ulong_t.
49914         (shm_info): Likewise.
49916         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49917         __syscall_ulong_t.
49919         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49920         <bits/wordsize.h>.
49921         (msgqnum_t): Use __syscall_ulong_t.
49922         (msglen_t): Likewise.
49923         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49924         __syscall_ulong_t.
49926         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49927         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49929         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49931         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49932         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49934         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49935         __syscall_slong_t.
49937         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49938         include <bits/wordsize.h>.  Check __x86_64__ instead of
49939         __WORDSIZE.
49941         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49942         "unsigned long long int" if __x86_64__ is defined.
49943         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49945         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49946         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49947         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49949         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49950         <stdint.h>.
49951         (GET_PC): Cast to uintptr_t first.
49952         (GET_FRAME): Likewise.
49953         (GET_STACK): Likewise.
49955         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49956         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49957         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49958         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49959         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49960         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49961         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49962         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49963         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49964         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49965         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49966         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49967         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49968         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49969         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49970         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49971         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49972         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49973         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49974         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49975         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49976         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49977         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49978         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49979         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49980         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49981         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49982         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49983         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49985 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49987         * Makerules (+depfiles): Also collect depfiles from .oS in
49988         $(extra-objs).
49989         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49990         .oS, $(libnldbl-routines)).
49992         * Makerules (native-compile-mkdep-flags): Define.
49993         * sunrpc/Makefile (extra-objs): Add $(addprefix
49994         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49995         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49996         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49997         calling $(make-target-directory).
49999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50001         * bits/types.h (__snseconds_t): Removed.
50002         * time/time.h (struct timespec): Replace __snseconds_t with
50003         __syscall_slong_t.
50004         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50005         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50006         Likewise.
50007         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50008         (__SNSECONDS_T_TYPE): Likewise.
50009         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50010         (__SNSECONDS_T_TYPE): Likewise.
50011         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50012         (__SNSECONDS_T_TYPE): Likewise.
50014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50016         * sysdeps/mach/hurd/bits/typesizes.h
50017         (__SYSCALL_SLONG_TYPE): New macro.
50018         (__SYSCALL_ULONG_TYPE): Likewise.
50020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50022         * bits/types.h (__syscall_slong_t): New type.
50023         (__syscall_ulong_t): Likewise.
50025         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50026         (__SYSCALL_ULONG_TYPE): Likewise.
50027         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50028         (__SYSCALL_SLONG_TYPE): Likewise.
50029         (__SYSCALL_ULONG_TYPE): Likewise.
50030         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50031         (__SYSCALL_SLONG_TYPE): Likewise.
50032         (__SYSCALL_ULONG_TYPE): Likewise.
50033         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50034         (__SYSCALL_SLONG_TYPE): Likewise.
50035         (__SYSCALL_ULONG_TYPE): Likewise.
50037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50039         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50040         Add sigaltstack-offsets.sym.
50041         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50042         <sigaltstack-offsets.h>.
50043         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50044         longjmp_msg pointer.
50045         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50046         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50047         signal stack.
50048         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50050 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50052         * elf/stackguard-macros.h: Remove file.
50053         * sysdeps/generic/stackguard-macros.h: New file.
50054         * sysdeps/i386/stackguard-macros.h: Likewise.
50055         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50056         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50057         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50058         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50059         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50060         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50061         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50062         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50063         <elf/stackguard-macros.h>.
50065         [BZ #14109]
50066         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50067         __aligned__ in attribute.
50068         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50069         (gregset_t): Likewise.
50071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50073         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50074         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50075         * sysdeps/x86_64/x32/Implies-after: New file.
50077 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50079         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50080         and access return value for _dl_profile_fixup.  Use R10_LP to
50081         load frame size.
50083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50085         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50089         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50090         * sysdeps/x86_64/x32/sysdep.h: New file.
50092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50094         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50095         * sysdeps/x86_64/setjmp.S: Likewise.
50097 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50099         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50100         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50101         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50102         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50103         remove unused global constant.
50105 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50107         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50108         include of <not-cancel.h>.
50110 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50112         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50114 2012-05-15  Jeff Law  <law@redhat.com>
50115             Andreas Jaeger  <aj@suse.de>
50117         [BZ #13594]
50118         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50119         out from...
50120         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50121         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50122         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50123         code changing __hst_map_handle.map.
50125 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50127         * configure.in (sysnames): Look for Implies-before and Implies-after
50128         files.
50129         * configure: Regenerated.
50131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50133         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50134         8-byte data alignment with LP_SIZE alignment.
50136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50138         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50139         into R10_LP.
50141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50143         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50147         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50148         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50149         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50150         Likewise.
50151         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50155         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50156         (stackinfo_sub_sp): Likewise.
50158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50160         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50161         RAX_LP.
50163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50165         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50166         into R*_LP.
50168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50170         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50171         sizes into R*_LP.
50173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50175         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50179         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50180         into R11_LP and load __x86_64_shared_cache_size_half into
50181         R8_LP.
50183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50185         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50186         R8_LP.
50188 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50190         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50191         logb for POWER7.
50192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50193         logbf for POWER7.
50194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50195         logbl for POWER7.
50196         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50197         powerpc32/power7/fpu/s_logb.c via #include.
50198         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50199         powerpc32/power7/fpu/s_logbf.c via #include.
50200         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50201         powerpc32/power7/fpu/s_logbl.c via #include.
50203 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50205         * README.libm: Remove file.
50207 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50209         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50210         count for x32.  Use R*_LP and omit operand-size suffix.
50212 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50214         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50215         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50216         * sysdeps/x86_64/x32/shlib-versions: New file.
50218 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50220         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50221         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50222         Use _dl_fatal_printf instead.
50224 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50226         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50227         set if not set by the user.  Do not allow for being unset.
50228         * sysdeps/unix/sysv/linux/configure: Regenerated.
50230 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50232         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50233         the `q' suffix from lea and replace .quad with ASM_ADDR.
50235 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50238         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50239         instead of $17.
50240         (PTR_DEMANGLE): Likewise.
50242 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50244         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50245         (LP_OP): Likewise.
50246         (ASM_ADDR): Likewise.
50247         (RAX_LP): Likewise.
50248         (RBP_LP): Likewise.
50249         (RBX_LP): Likewise.
50250         (RCX_LP): Likewise.
50251         (RDI_LP): Likewise.
50252         (RSI_LP): Likewise.
50253         (RSP_LP): Likewise.
50254         (R8_LP): Likewise.
50255         (R9_LP): Likewise.
50256         (R10_LP): Likewise.
50257         (R10_LP): Likewise.
50258         (R11_LP): Likewise.
50259         (R12_LP): Likewise.
50260         (R13_LP): Likewise.
50261         (R14_LP): Likewise.
50262         (R15_LP): Likewise.
50264 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50266         * sysdeps/x86_64/x32/dl-machine.h: New file.
50268 2012-05-14  Andreas Jaeger  <aj@suse.de>
50270         * manual/Makefile (subdir): Remove export of subdir.
50271         (all): Remove target.
50272         (.PHONY): Remove all from list.
50273         (mkinstalldirs): Remove.
50274         (.PHONY): Remove installdirs from list.
50275         ($(inst_infodir)/libc.info): Use make-target-directory.
50276         (installdirs): Remove.
50277         (subdir_%): Remove.
50278         (glibc-targets): Remove.
50279         (lib): Remove.
50280         (stubs): Remove.
50281         ($(objpfx)stubs ../po/manual.pot): Remove.
50282         ($(objpfx)stamp%): Remove.
50283         (make-target-directory): Remove.
50284         (subdir_install): Remove.
50285         (routines): Remove.
50286         (aux): Remove.
50287         (sources): Remove.
50288         (objects): Remove.
50289         (headers): Remove.
50291         [BZ #13750]
50292         * manual/.gitignore: Remove, it's not needed anymore.
50293         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50294         all files in it.
50295         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50296         directory.
50297         (texis): Renamed to $(objpfx)texis.
50298         (texis-path): New, contains path to generated files.
50299         (chapters.%): Use texis-path for complete path, add extra argument
50300         libc-texinfo.sh.
50301         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50302         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50303         (summary,texi, stamp-summary): Use complete path of
50304         files. Generate files in build dir.
50305         (dir-add.texi): Build in build dir.
50306         (libm-err.texi,stamp-libm-err): Likewise.
50307         (version.texi, stamp-version): Likewise.
50308         (.%c.texi): Likewise.
50309         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50310         (mostlyclean): Remove target.
50311         (realclean): Remove target.
50312         (generated): Add new variable with contents from mostlyclean and
50313         realclean, remove entries duplicated in common-mostlyclean, add
50314         stamp-libm-err and stamp-version.
50315         (generated-dirs): Add libc directory.
50316         ($(inst_infodir)/libc.info): Install files from build dir.
50318         * manual/install.texi (Configuring and compiling): Adjust since
50319         the info files are not part of the tar ball anymore.
50321 2012-05-14  Andreas Jaeger  <aj@suse.de>
50323         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50324         variable.
50326 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50328         [BZ #13717]
50329         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50330         to 2.2.0 where earlier.
50331         * sysdeps/unix/sysv/linux/configure: Regenerated.
50332         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50333         Remove conditional code.
50334         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50335         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50336         Remove conditional code.
50337         [!__NR_lchown]: Likewise.
50338         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50339         [__NR_lchown]: Likewise.
50340         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50341         comment referencing __ASSUME_LCHOWN_SYSCALL.
50342         * sysdeps/unix/sysv/linux/i386/sigaction.c
50343         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50344         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50345         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50346         Remove conditional code.
50347         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50348         (__protocol_available): Remove #if 0 code.
50349         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50350         conditional code.
50351         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50352         * sysdeps/unix/sysv/linux/kernel-features.h
50353         (__ASSUME_GETCWD_SYSCALL): Don't define.
50354         (__ASSUME_REALTIME_SIGNALS): Likewise.
50355         (__ASSUME_PREAD_SYSCALL): Likewise.
50356         (__ASSUME_PWRITE_SYSCALL): Likewise.
50357         (__ASSUME_POLL_SYSCALL): Likewise.
50358         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50359         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50360         non-SPARC.
50361         (__ASSUME_SIOCGIFNAME): Don't define.
50362         (__ASSUME_MSG_NOSIGNAL): Likewise.
50363         (__ASSUME_SENDFILE): Define unconditionally.
50364         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50365         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50366         conditional code.
50367         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50368         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50369         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50370         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50371         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50372         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50373         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50375         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50376         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50378         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50379         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50381         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50382         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50384         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50385         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50387         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50388         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50390         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50391         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50393         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50394         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50396         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50397         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50398         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50399         Remove conditional code.
50400         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50401         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50402         Remove conditional code.
50403         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50404         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50405         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50406         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50407         Remove conditional code.
50408         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50409         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50410         Remove conditional code.
50411         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50412         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50413         Remove conditional code.
50414         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50415         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50416         Remove conditional code.
50417         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50418         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50419         Remove conditional code.
50420         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50421         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50422         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50423         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50424         * sysdeps/unix/sysv/linux/sigaction.c
50425         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50426         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50427         * sysdeps/unix/sysv/linux/sigpending.c
50428         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50429         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50430         * sysdeps/unix/sysv/linux/sigprocmask.c
50431         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50432         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50433         * sysdeps/unix/sysv/linux/sigsuspend.c
50434         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50435         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50436         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50437         (__libc_missing_rt_sigs): Remove.
50438         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50439         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50440         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50441         Remove conditional code.
50442         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50443         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50444         return 1.
50445         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50446         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50447         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50448         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50450 2012-05-14  Andreas Jaeger  <aj@suse.de>
50452         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50453         it's not used in glibc.
50454         (__coshm1): Likewise.
50455         (__acosh1p): Likewise.
50456         (__sgn): Likewise.
50458         * manual/string.texi (Copying and Concatenation): Add missing
50459         variable in concat example.
50460         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50462 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50464         [BZ #14103]
50465         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50466         __builtin_clzl with __builtin_clzll.
50468 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50470         [BZ #14104]
50471         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50472         libc_freeres_ptr.
50474 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50476         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50477         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50478         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50479         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50481 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50483         * NEWS: Update ia64 info.
50485 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50487         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50488         used as bcopy.
50490 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50492         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50493         * sysdeps/unix/syscalls.list (dup3): Likewise.
50494         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50495         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50497 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50499         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50500         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50502 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50504         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50505         thread pointer.
50506         (TLS_IE): Use mov/add instead of movq/addq to load thread
50507         pointer.
50508         (TLS_GD_PREFIX): New.
50509         (TLS_GD): Use it.
50511 2012-05-11  David S. Miller  <davem@davemloft.net>
50513         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50514         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50515         (_FPU_SETCW): Likewise.
50517 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50519         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50520         is 32-byte aligned.
50522 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50524         [BZ #11837]
50525         * iconvdata/gb18030.c: Update tables.
50526         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50527         characters specially.
50528         (BODY for TO_LOOP): Add encoding of missing ranges.
50530 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50532         [BZ #13673]
50533         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50534         * sysdeps/mach/hurd/dup3.c: Likewise.
50535         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50536         * sysdeps/powerpc/memmove.c:: Likewise.
50538 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50540         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50541         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50543 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50545         * elf/elf.h (R_X86_64_RELATIVE64): New.
50546         (R_X86_64_NUM): Updated.
50547         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50548         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50549         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50550         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50551         tst-quad1pie tst-quad2pie
50552         (modules-names): Add tst-quadmod1 tst-quadmod2.
50553         ($(objpfx)tst-quad1): New dependency.
50554         ($(objpfx)tst-quad2): Likewise.
50555         ($(objpfx)tst-quad1pie): Likewise.
50556         ($(objpfx)tst-quad2pie): Likewise.
50557         * sysdeps/x86_64/tst-quad1.c: New file.
50558         * sysdeps/x86_64/tst-quad1pie.c: New file.
50559         * sysdeps/x86_64/tst-quad2.c: Likewise.
50560         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50561         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50562         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50563         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50564         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50566 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50568         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50569         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50570         * streams/stropts.h (t_scalar_t): Define type.
50572         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50573         (_PATH_PRESERVE): Set to "/var/lib".
50574         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50576         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50577         instead of int.
50579         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50580         if __dir_mkfile succeeded.
50582         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50583         checking for _hurd_dtablesize.  Unlock it right after having
50584         finished _hurd_dtable allocation.
50586 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50588         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50589         * sysdeps/mach/hurd/configure: Regenerated.
50590         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50591         special-casing to...
50592         * sysdeps/gnu/configure.in: ... this new file.
50593         * sysdeps/unix/sysv/linux/configure: Regenerated.
50594         * sysdeps/gnu/configure: New generated file.
50596         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50597         for Linux: use nsec instead of usec, as well as:
50598         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50599         members of type struct timespec.
50600         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50601         New macros.
50602         (struct stat64): Likewise.
50603         (_STATBUF_ST_NSEC): New macro.
50604         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50606         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50607         __strtoul_internal rather than strtoul.
50609 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50611         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50612         and reject them.
50614 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50616         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50617         which preserves existing values.
50618         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50620 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50622         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50623         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50624         greater than FD_SETSIZE.
50626 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50628         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50629         allocated, call __vm_protect to finish enabling the existing space, and
50630         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50631         allocate the remainder.
50633 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50635         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50636         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50638 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50640         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50641         sysdeps/mach/hurd/readlink.c.
50643         * posix/tst-sysconf.c (posix_options): Only use
50644         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50645         _POSIX_SYNCHRONIZED_IO when they are defined
50646         * sysdeps/mach/hurd/bits/posix_opt.h:
50647         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50648         (_XOPEN_REALTIME): Undefine macro.
50649         (_XOPEN_REALTIME_THREADS): Undefine macro.
50650         (_XOPEN_SHM): Undefine macro.
50651         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50652         macro to -1.
50653         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50654         macro to -1.
50655         (_POSIX_ASYNC_IO): Undefine macro.
50656         (_POSIX_PRIORITIZED_IO): Undefine macro.
50657         (_POSIX_SPIN_LOCKS): Define macro to -1.
50659         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50660         SA_NODEFER, SA_RESETHAND.
50661         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50662         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50663         F_DUPFD_CLOEXEC.
50665 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50667         * elf/Makefile (pldd-modules): Define unconditionally.
50669 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50671         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50673 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50675         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50676         Return ENOENT when name is empty.
50677         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50679 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50681         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50683         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50685 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50687         Fix mlock in all cases except non-readable pages.
50688         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50689         instead of VM_PROT_ALL as parameter to __vm_wire function.
50691         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50692         (__mkdir): When path is `/', just fail with EEXIST.
50693         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50695 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50697         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50698         <sys/uio.h> (for writev).
50699         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50700         and <sys/param.h> (for MIN).
50702 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50704         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50705         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50706         if interrupted.
50708 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50710         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50711         Depend on against $(link-rpcuserlibs).
50713 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50715         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50716         (__libc_stack_end): Do not use attribute_relro.
50717         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50718         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50719         to libthread-provided value.
50720         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50721         attribute_relro.
50723 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50725         [BZ #3748]
50726         * bits/libc-lock.h (__libc_once_get): New macro.
50727         * sysdeps/mach/bits/libc-lock.h: Likewise.
50728         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50729         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50730         instead of using implementation details.
50732         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50733         * libio/freopen.c: Likewise.
50734         * libio/freopen64.c: Likewise.
50735         * misc/syslog.c: Likewise.
50736         * nscd/connections.c: Likewise.
50737         * nscd/netgroupcache.c: Likewise.
50738         * sysdeps/posix/getcwd.c: Likewise.
50740 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50742         * math/w_ilogbf.c: Add #include <limits.h>.
50744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50746         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50747         path instead of returning without unlocking.
50749         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50750         immediate-write ioctls.
50751         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50753 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50755         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50756         __builtin_frame_address instead of making assumptions about the
50757         location of the return address relative to DATA.  Force early load of
50758         the return address.
50759         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50760         __builtin_frame_address.
50762         dup3 for GNU Hurd.
50763         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50764         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50765         implement dup3 and do some further code clean-ups.
50766         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50767         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50769 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50771         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50773         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50774         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50775         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50776         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50777         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50778         d->port.lock.
50780         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50781         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50782         when handler == SIG_ERR, not when handler != SIG_ERR.
50784 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50786         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50787         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50788         definitions.
50790         accept4 for GNU Hurd.
50791         * include/sys/socket.h (__libc_accept4): New prototype.
50792         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50793         to implement __libc_accept4.
50794         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50795         __libc_accept4.
50796         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50798         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50799         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50800         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50801         signal-defines.sym.
50803 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50805         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50807 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50809         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50810         assertion on O_CLOEXEC flag.
50811         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50812         * hurd/intern-fd.c: Likewise.
50813         * hurd/port2fd.c: Likewise.
50815 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50817         [BZ #3906]
50818         * bits/in.h (IPV6_PKTINFO): Define new macro.
50819         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50821 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50823         [BZ #13954]
50824         [BZ #13955]
50825         [BZ #13956]
50826         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50827         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50828         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50829         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50830         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50831         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50832         * math/libm-test.inc (logb_test) : Additional logb tests.
50834 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50835             Andreas Jaeger  <aj@suse.de>
50837         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50838         * configure: Regenerated.
50839         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50840         * config.make.in (link-obsolete-rpc): New substituted variable.
50841         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50842         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50843         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50844         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50845         so that libc.a contains the symbols.
50846         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50847         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50848         * sunrpc/auth_none.c: Likewise.
50849         * sunrpc/auth_unix.c: Likewise.
50850         * sunrpc/authdes_prot.c: Likewise.
50851         * sunrpc/authuxprot.c: Likewise.
50852         * sunrpc/clnt_gen.c: Likewise.
50853         * sunrpc/clnt_perr.c: Likewise.
50854         * sunrpc/clnt_raw.c: Likewise.
50855         * sunrpc/clnt_simp.c: Likewise.
50856         * sunrpc/clnt_tcp.c: Likewise.
50857         * sunrpc/clnt_udp.c: Likewise.
50858         * sunrpc/clnt_unix.c: Likewise.
50859         * sunrpc/des_crypt.c: Likewise.
50860         * sunrpc/des_soft.c: Likewise.
50861         * sunrpc/get_myaddr.c: Likewise.
50862         * sunrpc/key_call.c: Likewise.
50863         * sunrpc/key_prot.c: Likewise.
50864         * sunrpc/netname.c: Likewise.
50865         * sunrpc/pm_getmaps.c: Likewise.
50866         * sunrpc/pm_getport.c: Likewise.
50867         * sunrpc/pmap_clnt.c: Likewise.
50868         * sunrpc/pmap_prot.c: Likewise.
50869         * sunrpc/pmap_prot2.c: Likewise.
50870         * sunrpc/pmap_rmt.c: Likewise.
50871         * sunrpc/publickey.c: Likewise.
50872         * sunrpc/rpc_cmsg.c: Likewise.
50873         * sunrpc/rpc_common.c: Likewise.
50874         * sunrpc/rpc_dtable.c: Likewise.
50875         * sunrpc/rpc_prot.c: Likewise.
50876         * sunrpc/rpc_thread.c: Likewise.
50877         * sunrpc/rtime.c: Likewise.
50878         * sunrpc/svc.c: Likewise.
50879         * sunrpc/svc_auth.c: Likewise.
50880         * sunrpc/svc_raw.c: Likewise.
50881         * sunrpc/svc_run.c: Likewise.
50882         * sunrpc/svc_tcp.c: Likewise.
50883         * sunrpc/svc_udp.c: Likewise.
50884         * sunrpc/svc_unix.c: Likewise.
50885         * sunrpc/svcauth_des.c: Likewise.
50886         * sunrpc/xcrypt.c: Likewise.
50887         * sunrpc/xdr.c: Likewise.
50888         * sunrpc/xdr_array.c: Likewise.
50889         * sunrpc/xdr_float.c: Likewise.
50890         * sunrpc/xdr_intXX_t.c: Likewise.
50891         * sunrpc/xdr_mem.c: Likewise.
50892         * sunrpc/xdr_rec.c: Likewise.
50893         * sunrpc/xdr_ref.c: Likewise.
50894         * sunrpc/xdr_sizeof.c: Likewise.
50895         * sunrpc/xdr_stdio.c: Likewise.
50897 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50899         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50900         change.  Update copyright years.
50902 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50904         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50906 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50907             Joseph Myers  <joseph@codesourcery.com>
50908             Paul Pluzhnikov  <ppluzhnikov@google.com>
50910         [BZ #14012]
50911         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50912         requiring rpcgen.
50913         [cross-compiling] (extra-libs): Likewise.
50914         [cross-compiling] (extra-libs-others): Likewise.
50915         [cross-compiling] (librpcsvc-routines): Likewise.
50916         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50917         [cross-compiling] (omit-deps): Likewise.
50918         (sunrpc-CPPFLAGS): New variable.
50919         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50920         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50921         (cross-rpcgen-objs): New variable.
50922         (extra-objs): Append $(cross-rpcgen-objs).
50923         ($(cross-rpcgen-objs)): New rule.
50924         ($(objpfx)cross-rpcgen): Likewise.
50925         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50926         comment.
50927         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50928         ($(objpfx)x%.stmp): Likewise.
50929         * sunrpc/proto.h [IS_IN_build] (_): Define.
50930         [IS_IN_build] (_libc_intl_domainname): Likewise.
50932 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50934         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50935         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50936         and R_X86_64_TPOFF64.
50938 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50940         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50941         sysdeps/unix/sysv/syscalls.list.
50942         (stime): Likewise.
50943         (utime): Likewise.
50944         * sysdeps/unix/sysv/syscalls.list: Remove file.
50946 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50948         [BZ #3440]
50949         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50950         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50951         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50952         (__LC_IDENTIFICATION): Make these macros useful in #if
50953         expressions, as required by C99.
50955 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50957         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50958         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50959         after this.
50961 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50963         * stdlib/longlong.h: Updated from GCC.
50965 2012-05-09  Andreas Jaeger  <aj@suse.de>
50967         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50968         default is first entry.
50969         (run_mode): Set type.
50970         (main): Remove informal message about syslog.
50971         (options): Fix typo.
50973         [BZ #14053]
50974         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50975         to asm.
50976         (lrint): Likewise.
50977         (llrintf): Likewise.
50978         (llrint): Likewise.
50979         (rint): Likewise.
50980         (rintf): Likewise.
50981         (nearbyint): Likewise.
50982         (nearbyintf): Likewise.
50984 2012-05-09  Andreas Jaeger  <aj@suse.de>
50985             Pedro Alves  <palves@redhat.com>
50987         * nscd/nscd.c (run_mode): Use enum.
50988         (main): Cleanup coding style issue.
50990 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50991             Andreas Jaeger  <aj@suse.de>
50993         * nscd/nscd.c (go_background): Replaced with...
50994         (run_mode): ... this.
50995         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50996         (options): Add -F --foreground.
50997         (main): Implement it.
50998         (parse_opt): Parse it.
51000 2012-05-09  Andreas Jaeger  <aj@suse.de>
51002         [BZ #14083]
51003         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51004         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51005         -Wconversion warning.
51006         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51007         Likewise.
51009 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
51011         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
51012         == 0.
51013         (LC_ALL): Use macro-int-constant.
51014         (LC_COLLATE): Likewise.
51015         (LC_CTYPE): Likewise.
51016         (LC_MESSAGES): Likewise.
51017         (LC_MONETARY): Likewise.
51018         (LC_NUMERIC): Likewise.
51019         (LC_TIME): Likewise.
51020         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51021         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51022         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51023         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51024         Specify type.
51025         [C99-based standards] (float_t): Expect type.
51026         [C99-based standards] (double_t): Expect type.
51027         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51028         type.
51029         [C99-based standards] (HUGE_VALL): Likewise.
51030         [C99-based standards] (INFINITY): Likewise.
51031         [C99-based standards] (NAN): Likewise.
51032         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51033         [C99-based standards] (FP_NAN): Likewise.
51034         [C99-based standards] (FP_NORMAL): Likewise.
51035         [C99-based standards] (FP_SUBNORMAL): Likewise.
51036         [C99-based standards] (FP_ZERO): Likewise.
51037         [C99-based standards] (FP_FAST_FMA): Use
51038         optional-macro-int-constant.  Specify type.  Require == 1.
51039         [C99-based standards] (FP_FAST_FMAF): Likewise.
51040         [C99-based standards] (FP_FAST_FMAL): Likewise.
51041         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51042         [C99-based standards] (FP_ILOGBNAN): Likewise.
51043         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51044         Specify type.
51045         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51046         [C99-based standards] (math_errhandling): Specify type.
51047         [ISO99 || ISO11] (signgam): Do not allow.
51048         [non-C99-based standards] (copysignf): Do not allow.
51049         [non-C99-based standards] (exp2f): Likewise.
51050         [non-C99-based standards] (log2f): Likewise.
51051         [non-C99-based standards] (modff): Allow.
51052         [non-C99-based standards] (erff): Do not allow.
51053         [non-C99-based standards] (erfcf): Likewise.
51054         [non-C99-based standards] (gammaf): Likewise.
51055         [non-C99-based standards] (hypotf): Likewise.
51056         [non-C99-based standards] (j0f): Likewise.
51057         [non-C99-based standards] (j1f): Likewise.
51058         [non-C99-based standards] (jnf): Likewise.
51059         [non-C99-based standards] (lgammaf): Likewise.
51060         [non-C99-based standards] (tgammaf): Likewise.
51061         [non-C99-based standards] (y0f): Likewise.
51062         [non-C99-based standards] (y1f): Likewise.
51063         [non-C99-based standards] (ynf): Likewise.
51064         [non-C99-based standards] (isnanf): Likewise.
51065         [non-C99-based standards] (acoshf): Likewise.
51066         [non-C99-based standards] (asinhf): Likewise.
51067         [non-C99-based standards] (atanhf): Likewise.
51068         [non-C99-based standards] (cbrtf): Likewise.
51069         [non-C99-based standards] (expm1f): Likewise.
51070         [non-C99-based standards] (ilogbf): Likewise.
51071         [non-C99-based standards] (log1pf): Likewise.
51072         [non-C99-based standards] (logbf): Likewise.
51073         [non-C99-based standards] (nextafterf): Likewise.
51074         [non-C99-based standards] (remainderf): Likewise.
51075         [non-C99-based standards] (rintf): Likewise.
51076         [non-C99-based standards] (scalbf): Likewise.
51077         [non-C99-based standards] (copysignl): Likewise.
51078         [non-C99-based standards] (exp2l): Likewise.
51079         [non-C99-based standards] (log2l): Likewise.
51080         [non-C99-based standards] (modfl): Allow.
51081         [non-C99-based standards] (erfl): Do not allow.
51082         [non-C99-based standards] (erfcl): Likewise.
51083         [non-C99-based standards] (gammal): Likewise.
51084         [non-C99-based standards] (hypotl): Likewise.
51085         [non-C99-based standards] (j0l): Likewise.
51086         [non-C99-based standards] (j1l): Likewise.
51087         [non-C99-based standards] (jnl): Likewise.
51088         [non-C99-based standards] (lgammal): Likewise.
51089         [non-C99-based standards] (tgammal): Likewise.
51090         [non-C99-based standards] (y0l): Likewise.
51091         [non-C99-based standards] (y1l): Likewise.
51092         [non-C99-based standards] (ynl): Likewise.
51093         [non-C99-based standards] (isnanl): Likewise.
51094         [non-C99-based standards] (acoshl): Likewise.
51095         [non-C99-based standards] (asinhl): Likewise.
51096         [non-C99-based standards] (atanhl): Likewise.
51097         [non-C99-based standards] (cbrtl): Likewise.
51098         [non-C99-based standards] (expm1l): Likewise.
51099         [non-C99-based standards] (ilogbl): Likewise.
51100         [non-C99-based standards] (log1pl): Likewise.
51101         [non-C99-based standards] (logbl): Likewise.
51102         [non-C99-based standards] (nextafterl): Likewise.
51103         [non-C99-based standards] (remainderl): Likewise.
51104         [non-C99-based standards] (rintl): Likewise.
51105         [non-C99-based standards] (scalbl): Likewise.
51106         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51107         [non-C99-based standards] (FP_*): Do not allow.
51108         [C99-based standards] (FP_*): Change to
51109         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51110         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51111         allow.
51112         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51113         (SIG_ERR): Likewise.
51114         [X/Open-based standards] (SIG_HOLD): Likewise.
51115         (SIG_IGN): Likewise.
51116         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51117         positive value.
51118         (SIGFPE): Likewise.
51119         (SIGILL): Likewise.
51120         (SIGINT): Likewise.
51121         (SIGSEGV): Likewise.
51122         (SIGTER): Likewise.
51123         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51124         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51125         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51126         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51127         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51128         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51129         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51130         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51131         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51132         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51133         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51134         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51135         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51136         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51137         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51138         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51139         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51140         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51141         [X/Open-based standards] (SIGTRAP): Likewise.
51142         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51143         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51144         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51145         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51146         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51147         allow.
51149 2012-05-08  Ian Wienand  <ianw@vmware.com>
51151         [BZ #14080]
51152         * time/tzset.c (__tzset_parse_tz): Update default rules for
51153         daylight time changes in the Energy Policy Act of 2005.
51155 2012-05-09  Andreas Jaeger  <aj@suse.de>
51157         [BZ #13983]
51158         * elf/ldconfig.c (parse_conf): Change string to make clear that
51159         ldconfig only issued a warning if ld.so.conf does not exist.
51161 2012-05-08  David S. Miller  <davem@davemloft.net>
51163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51164         movxtod instead of popping the value on the stack.
51166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51168 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51170         * config.h.in: Add HAVE_ARM_PCS_VFP.
51172 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51174         [BZ #13979]
51175         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51176         checking but the checks are disabled for any reason.
51178 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51180         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51181         and ELF64_R_TYPE with ELFW(R_TYPE).
51183 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51185         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51186         (ulimit): Likewise.
51188         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51189         (settimeofday): Likewise.
51191 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51193         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51194         a struct th_u2 inside the union, and move tu_block/tu_code into
51195         a new th_u3 union of tu_block/tu_code inside of that.  Move
51196         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51197         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51198         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51199         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51200         (th_stuff): Change to th_u1.tu_stuff.
51201         (th_data): Define.
51202         (th_msg): Change to th_u1.th_u2.tu_data.
51204 2012-05-07  David S. Miller  <davem@davemloft.net>
51206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51208         [BZ #14074]
51209         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51210         (SETUP_PIC_REG): Use it.
51211         (SETUP_PIC_REG_LEAF): Use it.
51213 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51215         [BZ #13885]
51216         [BZ #13923]
51217         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51218         USE_AS_EXPM1L.
51219         (EXPL_FINITE): Likewise.
51220         (FLDLOG): Likewise.
51221         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51222         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51223         e_expl.S.
51224         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51225         USE_AS_EXPM1L.
51226         (EXPL_FINITE): Likewise.
51227         (FLDLOG): Likewise.
51228         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51229         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51230         e_expl.S.
51231         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51232         test of -max_value argument for long double.
51233         * sysdeps/i386/fpu/libm-test-ulps: Update.
51234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51236 2012-05-06  David S. Miller  <davem@davemloft.net>
51238         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51239         quad soft-float symbols whose references which are compiler
51240         generated.
51241         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51243 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51245         [BZ #13884]
51246         [BZ #13914]
51247         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51248         USE_AS_EXP10L.
51249         (EXPL_FINITE): Likewise.
51250         (FLDLOG): Likewise.
51251         (c0): Likewise.
51252         (c1): Likewise.
51253         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51254         Adjust comments for base varying.
51255         (__expl_finite): Change alias to EXPL_FINITE.
51256         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51257         e_expl.S.
51258         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51259         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51260         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51261         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51262         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51263         USE_AS_EXP10L.
51264         (EXPL_FINITE): Likewise.
51265         (FLDLOG): Likewise.
51266         (c0): Likewise.
51267         (c1): Likewise.
51268         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51269         Adjust comments for base varying.
51270         (__expl_finite): Change alias to EXPL_FINITE.
51271         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51272         tests for bugs.
51273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51275         [BZ #14064]
51276         * math/libm-test.inc (check_float_internal): Correct ulp
51277         calculation for subnormal expected results.
51279 2012-05-06  Andreas Jaeger  <aj@suse.de>
51281         * Makeconfig (+math-flags): New, set to -frounding-math.
51282         (+cflags): Add +math-flags so that all of glibc gets compiled with
51283         it.
51285         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51287 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51289         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51290         Disable one test.
51292         [BZ #13787]
51293         [BZ #13922]
51294         [BZ #14036]
51295         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51296         (__ieee754_expl): Allow for and saturate large arguments.
51297         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51298         (u_threshold): Likewise.
51299         (__exp): Call __ieee754_exp before checking for overflow and
51300         underflow.
51301         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51302         (u_threshold): Likewise.
51303         (__expf): Call __ieee754_expf before checking for overflow and
51304         underflow.
51305         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51306         (u_threshold): Likewise.
51307         (__expl): Call __ieee754_expl before checking for overflow and
51308         underflow.
51309         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51310         (__ieee754_expl): Allow for and saturate large arguments.
51311         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51312         missing overflow exception on overflow.
51313         (expm1_test): Do not allow missing overflow exception on overflow.
51315         * sysdeps/i386/fpu/e_expl.c: Move to ...
51316         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51317         rather than using inline asm.
51318         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51319         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51320         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51322         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51323         (nice): Likewise.
51324         (poll): Likewise.
51325         (signal): Likewise.
51326         (time): Likewise.
51327         (times): Likewise.
51329 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51331         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51332         sysdeps/unix/common/syscalls.list.
51333         (fchmod): Likewise.
51334         (fchown): Likewise.
51335         (ftruncate): Likewise.
51336         (getrusage): Likewise.
51337         (gettimeofday): Likewise.
51338         (setpgid): Likewise.
51339         (setregid): Likewise.
51340         (setreuid): Likewise.
51341         (sigaction): Likewise.
51342         (truncate): Likewise.
51343         (vhangup): Likewise.
51344         * sysdeps/unix/common/syscalls.list: Remove file.
51345         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51346         * sysdeps/unix/sysv/linux/Implies: Likewise.
51348 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51350         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51352         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51353         Moved to ...
51354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51355         Here.
51356         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51357         to ...
51358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51359         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51360         to ...
51361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51362         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51363         to ...
51364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51365         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51366         to ...
51367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51368         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51369         to ...
51370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51371         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51372         to ...
51373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51374         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51375         to ...
51376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51377         Here.
51378         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51379         to ...
51380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51381         Here.
51382         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51383         to ...
51384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51385         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51386         Moved to ...
51387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51388         Here.
51389         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51390         to ...
51391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51393 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51395         * sysdeps/unix/common/bits/dirent.h: Remove file.
51396         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51398         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51399         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51400         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51401         * sysdeps/unix/bsd/isatty.c: Likewise.
51402         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51403         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51404         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51406 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51408         [BZ #13563]
51409         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51410         long double comparison inaccuracies.
51411         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51414 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51416         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51417         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51419 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51421         [BZ #14049]
51422         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51423         nonzero digits before rounding a hex value.
51424         * stdlib/tst-strtod.c (tests): Add another test.
51426 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51428         * sysdeps/s390/fpu/libm-test-ulps: Update.
51430 2012-05-03  Andreas Jaeger  <aj@suse.de>
51432         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51433         does not get optimized out.
51434         (malloc_opt_barrier): New.
51436 2012-05-03  Andreas Jaeger  <aj@suse.de>
51437             Roland McGrath  <roland@hack.frob.com>
51439         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51440         intermediate file deletion.
51441         (generated): Add .symlist files.
51443 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51445         [BZ #13775]
51446         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51447         Redirect under this condition.
51448         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51449         [__USE_GNU] (__dprintf_chk): Not under this condition.
51450         [__USE_GNU] (__vdprintf_chk): Likewise.
51451         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51452         under this condition.
51453         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51454         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51455         [__USE_XOPEN2K8] (vdprintf): Likewise.
51456         [__USE_GNU] (__dprintf_chk): Not under this condition.
51457         [__USE_GNU] (__vdprintf_chk): Likewise.
51458         [__USE_GNU] (dprintf): Likewise.
51459         [__USE_GNU] (vdprintf): Likewise.
51461 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51463         * elf/Makefile (common-generated): Set this instead of generated for
51464         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51465         $(all-built-dso)-derived lists.
51467 2012-05-03  Andreas Jaeger  <aj@suse.de>
51469         * sysdeps/i386/fpu/libm-test-ulps: Update.
51471         * FAQ: Removed.
51472         * FAQ.in: Likewise.
51473         * scripts/gen-FAQ.pl: Likewise.
51474         * manual/install.texi (Installation): Point to online location of
51475         FAQ.
51476         * Makefile (files-for-dist): Remove FAQ.
51477         (FAQ): Remove.
51479 2012-05-02  Allan McRae  <allan@archlinux.org>
51481         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51482         (LDFLAGS-reldepmod5.so): Likewise.
51483         (LDFLAGS-reldep6mod1.so): Likewise.
51484         (LDFLAGS-reldep6mod4.so): Likewise.
51485         (LDFLAGS-reldep8mod3.so): Likewise.
51486         (LDFLAGS-unload4mod1.so): Likewise.
51487         (LDFLAGS-unload4mod2.so): Likewise.
51488         (LDFLAGS-tst-initorder): Likewise.
51489         (LDFLAGS-tst-initordera2.so): Likewise.
51490         (LDFLAGS-tst-initordera3.so): Likewise.
51491         (LDFLAGS-tst-initordera4.so): Likewise.
51492         (LDFLAGS-tst-initorderb2.so): Likewise.
51493         (LDFLAGS-noload): Likewise.
51494         (LDFLAGS-next): Likewise.
51495         (LDFLAGS-order2mod1.so): Likewise.
51496         (LDFLAGS-order2mod2.so): Likewise.
51497         (LDFLAGS-tst-initorder2): Likewise.
51498         (LDFLAGS-tst-initorder2a.so): Likewise.
51499         (LDFLAGS-tst-initorder2b.so): Likewise.
51500         (LDFLAGS-tst-initorder2c.so): Likewise.
51501         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51503 2012-05-02  David S. Miller  <davem@davemloft.net>
51505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51507 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51509         [BZ #14055]
51510         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51512 2012-05-02  Andreas Jaeger  <aj@suse.de>
51514         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51515         since we manipulate rounding mode.
51516         (CPPFLAGS-test-idouble.c): Likewise.
51517         (CPPFLAGS-test-ifloat.c): Likewise.
51518         (CFLAGS-test-ldouble.c): Likewise.
51519         (CFLAGS-test-double.c): Likewise.
51520         (CFLAGS-test-float.c): Likewise.
51521         (CFLAGS-test-misc.c): Likewise.
51522         (CFLAGS-test-test-fenv.c): Likewise.
51524 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51526         [BZ #2550]
51527         [BZ #2570]
51528         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51529         comparisons to determine direction to adjust input.
51531 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51533         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51534         output to the target.
51536         * scripts/localplt.awk: New file.
51537         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51538         (check-localplt-CFLAGS): Variable removed.
51539         ($(all-built-dso:=.jmprel)): New static pattern rule.
51540         (generated): Add those targets.
51541         (localplt-built-dso): New variable.
51542         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51544         * elf/check-localplt.c: File removed.
51546         * scripts/check-execstack.awk: New file.
51547         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51548         (check-execstack-CFLAGS): Variable removed.
51549         ($(objpfx)check-execstack.h): Target removed.
51550         ($(objpfx)execstack-default): New target.
51551         (generated): Add that instead of check-execstack.h.
51552         ($(all-built-dso:=.phdr)): New static pattern rule.
51553         (generated): Add those targets.
51554         * elf/check-execstack.c: File removed.
51556         * scripts/check-textrel.awk: New file.
51557         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51558         (check-textrel-CFLAGS): Variable removed.
51559         (all-built-dso): Use := to define.o
51560         ($(all-built-dso:=.dyn)): New static pattern rule.
51561         (generated): Add those targets.
51562         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51563         * config.make.in (READELF): New substituted variable.
51564         * elf/check-textrel.c: File removed.
51566 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51568         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51569         allow.
51570         * conform/data/ctype.h-data [C99-based standards] (isblank):
51571         Expect function.
51572         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51573         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51574         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51575         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51576         Specify type.  Require positive value.
51577         (EILSEQ): Likewise.
51578         (ERANGE): Likewise.
51579         [ISO || POSIX] (EILSEQ): Do not expect.
51580         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51581         Specify type.  Require positive value.
51582         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51583         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51584         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51585         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51586         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51587         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51588         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51589         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51590         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51591         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51592         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51593         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51594         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51595         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51596         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51597         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51598         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51599         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51600         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51601         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51602         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51603         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51604         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51605         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51606         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51607         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51608         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51609         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51610         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51611         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51612         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51613         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51614         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51615         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51616         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51617         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51618         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51619         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51620         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51621         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51622         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51623         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51624         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51625         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51626         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51627         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51628         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51629         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51630         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51631         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51632         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51633         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51634         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51635         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51636         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51637         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51638         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51639         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51640         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51641         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51642         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51643         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51644         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51645         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51646         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51647         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51648         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51649         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51650         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51651         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51652         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51653         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51654         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51655         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51656         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51657         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51658         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51659         Require >= 2.
51660         (FLT_ROUNDS): Expect as macro, not constant.
51661         (FLT_MANT_DIG): Use macro-int-constant.
51662         (DBL_MANT_DIG): Likewise.
51663         (LDBL_MANT_DIG): Likewise.
51664         (FLT_DIG): Likewise.
51665         (DBL_DIG): Likewise.
51666         (LDBL_DIG): Likewise.
51667         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51668         (DBL_MIN_EXP): Likewise.
51669         (LDBL_MIN_EXP): Likewise.
51670         (FLT_MAX_EXP): Use macro-int-constant.
51671         (DBL_MAX_EXP): Likewise.
51672         (LDBL_MAX_EXP): Likewise.
51673         (FLT_MAX_10_EXP): Likewise.
51674         (DBL_MAX_10_EXP): Likewise.
51675         (LDBL_MAX_10_EXP): Likewise.
51676         (FLT_MAX): Use macro-constant.
51677         (DBL_MAX): Likewise.
51678         (LDBL_MAX): Likewise.
51679         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51680         (DBL_EPSILON): Likewise.
51681         (LDBL_EPSILON): Likewise.
51682         (FLT_MIN): Likewise.
51683         (DBL_MIN): Likewise.
51684         (LDBL_MIN): Likewise.
51685         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51686         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51687         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51688         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51689         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51690         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51691         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51692         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51693         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51694         [ISO11] (FLT_TRUE_MIN): Likewise.
51695         [ISO11] (LDBL_TRUE_MIN): Likewise.
51696         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51697         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51698         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51699         (SCHAR_MAX): Likewise.
51700         (UCHAR_MAX): Likewise.
51701         (CHAR_MIN): Likewise.
51702         (CHAR_MAX): Likewise.
51703         (MB_LEN_MAX): Use macro-int-constant.
51704         (SHRT_MIN): Use macro-int-constant.  Specify type.
51705         (SHRT_MAX): Likewise.
51706         (USHRT_MAX): Likewise.
51707         (INT_MAX): Likewise.
51708         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51709         bound negative.
51710         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51711         bound with "U".
51712         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51713         bound with "L".
51714         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51715         bound negative.  Suffix upper bound with "L".
51716         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51717         bound with "UL".
51718         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51719         Specify type.
51720         [C99-based standards] (LLONG_MAX): Likewise.
51721         [C99-based standards] (ULLONG_MAX): Likewise.
51722         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51723         == 0.
51724         [ISO11] (max_align_t): Require type.
51725         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51727         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51728         from $CFLAGS, without defining away __attribute__ calls.
51729         (checknamespace): Use $CFLAGS_namespace.
51731         * conform/conformtest.pl (@keywords): Only include C99 keywords
51732         for standards based on C99 or C11.
51734         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51735         Disable tests.
51736         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51737         UNIX98]: Likewise.
51739         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51740         usability of symbols in #if.
51742         * conform/conformtest.pl: If macro or constant types start
51743         "promoted:", expect the symbol to be of the following type
51744         promoted by the integer promotions.
51746         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51747         in one place.  Also handle "macro-constant".
51749         * conform/conformtest.pl: Only accept expected macro values with
51750         "==".  Parse all "macro" lines in one place.
51751         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51753         * conform/conformtest.pl: Handle braced types on "constant" lines
51754         instead of handling "typed-constant".
51755         * conform/data/signal.h-data: Use "constant" instead of
51756         "typed-constant".
51758         * conform/conformtest.pl: Handle "optional-" at start of lines in
51759         one place rather than duplicating several cases.  Handle each
51760         format of "macro" line with initial "optional-".
51762         * conform/conformtest.pl: Only accept expected constant or
51763         optional-constant values with "==".  Parse all "constant" lines in
51764         one place.  Parse all "optional-constant" lines in one place.
51765         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51766         * conform/data/fmtmsg.h-data: Likewise.
51767         * conform/data/netinet/in.h-data: Likewise.
51768         * conform/data/tar.h-data: Likewise.
51769         * conform/data/limits.h-data: Use "==" form on "constant" and
51770         "optional-constant" lines.
51772         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51773         Use -std=c99 for XOPEN2K.
51774         (@knownproblems): Remove.
51775         (newtoken): Don't check %isknown.
51777         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51778         Do not expect macro.
51779         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51780         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51781         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51782         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51783         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51784         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51785         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51786         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51787         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51788         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51789         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51790         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51791         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51792         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51793         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51794         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51795         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51796         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51797         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51798         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51799         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51800         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51801         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51802         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51803         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51804         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51805         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51806         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51807         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51808         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51809         [XPG3] (acosh): Likewise.
51810         [XPG3] (asinh): Likewise.
51811         [XPG3] (atanh): Likewise.
51812         [XPG3] (cbrt): Likewise.
51813         [XPG3] (expm1): Likewise.
51814         [XPG3] (ilogb): Likewise.
51815         [XPG3] (log1p): Likewise.
51816         [XPG3] (logb): Likewise.
51817         [XPG3] (nextafter): Likewise.
51818         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51819         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51820         [XPG3] (remainder): Likewise.
51821         [XPG3] (rint): Likewise.
51822         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51823         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51824         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51825         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51826         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51827         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51828         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51829         [UNIX98 || XOPEN2K] (scalb): Expect.
51830         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51831         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51832         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51833         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51834         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51835         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51836         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51837         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51838         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51839         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51840         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51841         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51842         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51843         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51844         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51845         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51846         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51847         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51848         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51849         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51850         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51851         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51852         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51853         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51854         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51855         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51856         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51857         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51858         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51859         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51860         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51861         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51862         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51863         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51864         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51865         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51866         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51867         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51868         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51869         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51870         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51871         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51872         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51873         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51874         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51875         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51876         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51877         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51878         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51879         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51880         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51881         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51882         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51883         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51884         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51885         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51886         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51887         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51888         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51889         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51890         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51891         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51892         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51893         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51894         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51895         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51896         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51897         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51898         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51899         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51900         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51901         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51902         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51903         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51904         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51905         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51906         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51907         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51908         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51909         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51910         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51911         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51912         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51913         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51914         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51915         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51916         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51917         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51918         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51919         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51920         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51921         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51922         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51923         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51924         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51925         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51926         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51927         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51928         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51929         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51930         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51931         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51932         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51933         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51934         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51935         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51936         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51937         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51938         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51939         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51940         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51941         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51942         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51943         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51944         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51945         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51946         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51947         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51948         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51949         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51950         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51951         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51952         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51953         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51954         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51955         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51956         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51957         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51958         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51959         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51960         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51961         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51962         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51963         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51964         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51965         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51966         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51968         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51969         _XOPEN_SOURCE_EXTENDED for XPG4.
51971         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51973         * Makeconfig (localtime): Remove variable.
51974         (inst_localtime-file): Likewise.
51976 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51979         Update.
51980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51981         Update.
51982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51983         Update.
51984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51985         Update.
51986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51987         Update.
51988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51989         Update.
51990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51991         Update.
51992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51993         Update.
51994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51995         Update.
51997 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51999         [BZ #2550]
52000         [BZ #2570]
52001         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52002         comparisons to determine direction to adjust input.
52003         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52004         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52005         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52006         Likewise.
52007         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52008         Likewise.
52009         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52010         Likewise.
52011         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52012         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52013         Likewise.
52014         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52015         Likewise.
52016         * math/libm-test.inc (nexttoward_test): Add more tests.
52018 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52020         [BZ #14040]
52021         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52022         in version GLIBC_2.1, not GLIBC_2.0.
52023         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52024         Likewise.
52026 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52028         [BZ #13942]
52029         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52030         (1 - x) * (1 + x).
52031         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52032         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52033         * math/libm-test.inc (acos_test): Add more tests.
52034         (asin_test): Likewise.
52035         * sysdeps/i386/fpu/libm-test-ulps: Update.
52036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52038         [BZ #14034]
52039         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52040         of square root.
52041         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52042         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52043         * math/libm-test.inc (acos_test_tonearest): New function.
52044         (acos_test_towardzero): Likewise.
52045         (acos_test_downward): Likewise.
52046         (acos_test_upward): Likewise.
52047         (asin_test_tonearest): Likewise.
52048         (asin_test_towardzero): Likewise.
52049         (asin_test_downward): Likewise.
52050         (asin_test_upward): Likewise.
52051         (main): Call the new functions.
52052         * sysdeps/i386/fpu/libm-test-ulps: Update.
52053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52055         [BZ #13884]
52056         [BZ #13924]
52057         * math/e_exp10.c: Include <float.h>.
52058         (__ieee754_exp10): Handle underflow here rather than multiplying
52059         large negative argument by M_LN10.
52060         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52061         of __ieee754_expf.
52062         * math/e_exp10l.c: Include <float.h>.
52063         (__ieee754_exp10l): Handle underflow here rather than multiplying
52064         large negative argument by M_LN10l.
52065         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52066         spurious overflow exception on underflow.
52068 2012-04-29  Marek Polacek  <polacek@redhat.com>
52070         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52071         (__fortify_function): New macro.
52072         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52073         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52074         __extern_always_inline.
52075         * libio/bits/stdio2.h: Likewise.
52076         * libio/bits/stdio.h: Likewise.
52077         * string/string.h: Likewise.
52078         * string/bits/string3.h: Likewise.
52079         * include/stdio.h: Likewise.
52080         * stdlib/bits/stdlib.h: Likewise.
52081         * stdlib/stdlib.h: Likewise.
52082         * rt/bits/mqueue2.h: Likewise.
52083         * rt/mqueue.h: Likewise.
52084         * posix/bits/unistd.h: Likewise.
52085         * posix/unistd.h: Likewise.
52086         * io/bits/poll2.h: Likewise.
52087         * io/bits/fcntl2.h: Likewise.
52088         * io/fcntl.h: Likewise.
52089         * io/sys/poll.h: Likewise.
52090         * misc/bits/syslog.h: Likewise.
52091         * misc/bits/syslog-ldbl.h: Likewise.
52092         * misc/sys/syslog.h: Likewise.
52093         * socket/bits/socket2.h: Likewise.
52094         * socket/sys/socket.h: Likewise.
52095         * debug/tst-chk1.c: Likewise.
52096         * wcsmbs/bits/wchar2.h: Likewise.
52097         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52098         * wcsmbs/wchar.h: Likewise.
52100 2012-04-29  Andreas Jaeger  <aj@suse.de>
52102         * Makerules (tests): Remove enable-check-abi protection.
52103         (check-abi-warn): Remove.
52104         (check-abi-%): Remove check-abi-warn usage.
52106         * configure.in: Remove check-abi configure option.
52107         * configure: Regenerated.
52108         * config.make.in (enable-check-abi): Remove.
52110 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52112         [BZ #14033]
52113         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52114         double functions to double *_finite functions.
52116         [BZ #13941]
52117         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52118         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52119         LDBL_MIN_EXP.
52120         * stdio-common/Makefile (tests): Add tst-sprintf3.
52121         * stdio-common/tst-sprintf3.c: New file.
52123         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52124         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52126 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52128         * conform/conformtest.pl: Remove duplicate typed-constant
52129         handling.
52131 2012-04-28  David S. Miller  <davem@davemloft.net>
52133         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52134         (check-abi-%): Remove AWK script prerequisite and explicit
52135         abilist directory.
52136         (check-abi): Rewrite to just diff the symlist with the abilist.
52137         (config-tls, config-abi-config): Delete, no longer used.
52138         (update-abi-%): Remove AWK script and explicit abilist directory.
52139         (update-abi): Rewrite to simply compare and conditionally copy the
52140         symlist and the sysdep abilist file.  Remove update-abi-config
52141         checks.
52142         * abilist/ld.abilist: Remove.
52143         * abilist/libBrokenLocale.abilist: Remove.
52144         * abilist/libanl.abilist: Remove.
52145         * abilist/libcrypt.abilist: Remove.
52146         * abilist/libdl.abilist: Remove.
52147         * abilist/librt.abilist: Remove.
52148         * abilist/libthread_db.abilist: Remove.
52149         * abilist/libutil.abilist: Remove.
52150         * scripts/extract-abilist.awk: Remove.
52151         * scripts/merge-abilist.awk: Remove.
52152         * sysdeps/generic/libcidn.abilist: New file.
52153         * sysdeps/generic/libnss_compat.abilist: New file.
52154         * sysdeps/generic/libnss_db.abilist: New file.
52155         * sysdeps/generic/libnss_dns.abilist: New file.
52156         * sysdeps/generic/libnss_files.abilist: New file.
52157         * sysdeps/generic/libnss_hesiod.abilist: New file.
52158         * sysdeps/generic/libnss_nis.abilist: New file.
52159         * sysdeps/generic/libnss_nisplus.abilist: New file.
52160         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52161         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52162         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52163         file.
52164         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52165         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52166         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52167         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52168         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52169         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52170         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52171         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52172         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52173         file.
52174         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52175         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52176         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52177         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52178         file.
52179         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52180         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52181         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52182         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52183         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52184         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52185         file.
52186         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52187         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52188         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52189         file.
52190         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52191         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52192         New file.
52193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52194         New file.
52195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52196         New file.
52197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52198         New file.
52199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52200         New file.
52201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52202         New file.
52203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52204         New file.
52205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52206         New file.
52207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52208         New file.
52209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52210         New file.
52211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52212         New file.
52213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52214         New file.
52215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52216         New file.
52217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52218         file.
52219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52220         New file.
52221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52222         New file.
52223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52224         file.
52225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52226         New file.
52227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52228         New file.
52229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52230         file.
52231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52232         New file.
52233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52234         New file.
52235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52236         New file.
52237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52238         New file.
52239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52240         New file.
52241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52242         New file.
52243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52245         file.
52246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52247         New file.
52248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52249         file.
52250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52251         file.
52252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52253         file.
52254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52255         file.
52256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52257         file.
52258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52259         New file.
52260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52261         file.
52262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52263         file.
52264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52265         New file.
52266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52267         file.
52268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52270         file.
52271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52272         New file.
52273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52274         file.
52275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52276         file.
52277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52278         file.
52279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52280         file.
52281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52282         file.
52283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52284         New file.
52285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52286         file.
52287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52288         file.
52289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52290         New file.
52291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52292         file.
52293         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52294         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52295         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52296         file.
52297         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52298         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52299         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52300         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52301         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52302         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52303         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52304         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52305         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52306         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52309         file.
52310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52311         New file.
52312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52313         file.
52314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52315         file.
52316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52317         file.
52318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52319         file.
52320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52321         file.
52322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52323         New file.
52324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52325         New file.
52326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52327         file.
52328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52329         New file.
52330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52331         file.
52332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52334         file.
52335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52336         New file.
52337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52338         file.
52339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52340         file.
52341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52342         file.
52343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52344         file.
52345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52346         file.
52347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52348         New file.
52349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52350         New file.
52351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52352         file.
52353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52354         New file.
52355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52356         file.
52358 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52360         * conform/conformtest.pl: Fix typo in handling typed-constant from
52361         allow-header.
52363 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52365         * README: Cut down references to pre-2.6 Linux kernels and
52366         Linuxthreads.  Update lists of configurations in libc and ports
52367         and sort alphabetically.  Say "or newer" with Linux kernel version
52368         requirements.
52370         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52372 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52374         [BZ #887]
52375         * math/libm-test.inc (logb_test_downward): New test to expose
52376         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52377         rounding mode.
52379 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52381         [BZ #14027]
52382         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52383         to be done.
52384         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52385         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52387 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52389         * sysdeps/unix/i386/brk.S: Remove file.
52390         * sysdeps/unix/i386/dl-brk.S: Likewise.
52391         * sysdeps/unix/i386/pipe.S: Likewise.
52392         * sysdeps/unix/i386/sigreturn.S: Likewise.
52393         * sysdeps/unix/i386/syscall.S: Likewise.
52394         * sysdeps/unix/i386/vfork.S: Likewise.
52395         * sysdeps/unix/i386/wait.S: Likewise.
52397         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52398         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52400         * configure.in (arm*-none*): Do not allow without
52401         --enable-hacker-mode.
52402         (netbsd*): Remove case setting base_os.
52403         (386bsd*): Likewise.
52404         (freebsd*): Likewise.
52405         (bsdi*): Likewise.
52406         (osf*): Likewise.
52407         (sunos*): Likewise.
52408         (ultrix*): Likewise.
52409         (newsos*): Likewise.
52410         (dynix*): Likewise.
52411         (*bsd*): Likewise.
52412         (sysv*): Likewise.
52413         (isc*): Likewise.
52414         (esix*): Likewise.
52415         (sco*): Likewise.
52416         (minix*): Likewise.
52417         (irix4*): Likewise.
52418         (irix6*): Likewise.
52419         (solaris[2-9]*): Likewise.
52420         (none): Likewise.
52421         * configure: Regenerated.
52423 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52425         [BZ #11521]
52426         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52427         overflow or cancellation in calculating denominator.
52428         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52429         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52430         down expression to avoid unexpected rounding in newer GCCs.
52431         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52433 2012-04-26  David S. Miller  <davem@davemloft.net>
52435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52436         long-double compat symbols.
52437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52451 2012-04-25  David S. Miller  <davem@davemloft.net>
52453         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52454         HWCAP_* values only after the memory barriers have been defined.
52455         (atomic_full_barrier): Define.
52456         (atomic_read_barrier): Define.
52457         (atomic_write_barrier): Define.
52459 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52461         * shlib-versions: Add libgcc_s version information.
52462         * sysdeps/generic/libgcc_s.h: Remove.
52463         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52464         libgcc_s.h.
52465         * sysdeps/gnu/unwind-resume.c: Likewise.
52466         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52468 2012-04-25  David S. Miller  <davem@davemloft.net>
52470         * sysdeps/unix/sparc/brk.S: Delete.
52471         * sysdeps/unix/sparc/dl-brk.S: Delete.
52472         * sysdeps/unix/sparc/pipe.S: Delete.
52473         * sysdeps/unix/sparc/sysdep.S: Delete.
52474         * sysdeps/unix/sparc/sysdep.h: Delete.
52475         * sysdeps/unix/sparc/vfork.S: Delete.
52476         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52477         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52478         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52479         (ret_ERRVAL, r0, r1, MOVE): Define.
52480         (JUMPTARGET): Remove.
52481         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52482         sysdeps/unix/sparc/sysdep.h
52483         (ENTRY, END): Remove.
52484         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52486 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52488         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52489         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52490         -DIS_IN_build.
52492         * timezone/README: Update upstream location and email address for
52493         tzcode and tzdata.
52494         * timezone/zdump.c: Update from tzcode 2012b.
52495         * timezone/zic.c: Likewise.
52497         * configure.in (libc_cv_as_needed): Remove test.
52498         * configure: Regenerated.
52499         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52500         conditional definition.
52501         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52502         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52503         * config.make.in (have-as-needed): Remove variable.
52505 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52506             Paul Pluzhnikov  <ppluzhnikov@google.com>
52508         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52509         strings correctly.
52511 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52513         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52514         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52515         * sysdeps/sh/strlen.S: Likewise.
52517 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52519         * sysdeps/unix/fork.S: Remove file.
52520         * sysdeps/unix/i386/fork.S: Likewise.
52521         * sysdeps/unix/sparc/fork.S: Likewise.
52523         * sysdeps/unix/system.c: Remove file.
52524         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52526         * sysdeps/unix/getegid.S: Remove file.
52527         * sysdeps/unix/geteuid.S: Likewise.
52529 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52531         * scripts/check-localplt.awk: New file.
52532         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52533         of diff.
52534         * scripts/data/localplt-generic.data: Add a comment.
52536         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52537         NODE when __dir_mkfile failed.
52538         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52539         Reported by Ludovic Courtès <ludo@gnu.org>.
52541 2012-04-24  Andreas Jaeger  <aj@suse.de>
52543         * Makerules (common-clean): Also remove gen-as-const-headers
52544         files.
52546 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52548         * Makerules (native-compile): Do not change working directory for
52549         build.  Use $(OUTPUT_OPTION) in command.
52550         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52552 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52554         [BZ #13886]
52555         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52556         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52557         * math/libm-test.inc (floor_test): Add more tests.
52558         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52560 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52562         * sysdeps/unix/getdents.c: Remove file.
52563         * sysdeps/unix/sysv/getdents.c: Likewise.
52564         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52566         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52567         sysdeps/unix/mman/syscalls.list.
52568         (mmap): Likewise.
52569         (mprotect): Likewise.
52570         (msync): Likewise.
52571         (munmap): Likewise.
52572         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52573         * sysdeps/unix/mman/syscalls.list: Remove.
52574         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52576         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52577         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52578         * configure: Regenerated.
52579         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52580         $(libgcc_s_suffix).
52581         * config.make.in (libgcc_s_suffix): Remove variable.
52583 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52585         * sysdeps/unix/sysv/gethostname.c: Move to ...
52586         * sysdeps/posix/gethostname.c: ... here.
52588         * sysdeps/unix/execve.S: Remove file.
52590         * sysdeps/unix/_exit.S: Remove file.
52592 2012-04-23  Andreas Jaeger  <aj@suse.de>
52594         [BZ #13739]
52595         * manual/Makefile: Remove make dist support, there's no
52596         need for a stand-alone documentation tar ball.
52597         (TEXI2DVI): Define always, it's not in Makeconfig.
52598         (dist): Removed.
52599         (tar-it): Removed.
52600         (edition): Removed.
52601         (glibc-doc-$(edition).tar): Removed
52602         (%.Z): Removed.
52603         (%.gz): Removed.
52604         (%.uu): Removed.
52605         (ETAGS): Remove, it's in Makeconfig.
52606         (move-if-change): Remove, it's in Makeconfig.
52608 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52610         [BZ #13970]
52611         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52612         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52613         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52614         (strtod_l, strtof_l, strtold_l): Remove __wur.
52615         It is not necessarily an error to ignore strtol's return value.
52616         One can reliably look at the stored endptr to decide whether
52617         the number had valid syntax.
52619 2012-04-21  Andreas Jaeger  <aj@suse.de>
52621         [BZ #13739]
52622         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52624 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52626         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52627         * sysdeps/unix/sysv/Versions: Remove file.
52629 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52631         [BZ #13927]
52632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52634 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52636         [BZ #7064]
52637         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52638         version from __vm86.
52640 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52642         * sysdeps/unix/common/lxstat.c: Remove file.
52643         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52645         * sysdeps/unix/sysv/Makefile: Remove file.
52647         * sysdeps/unix/sysv/direct.h: Remove file.
52649         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52650         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52651         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52652         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52653         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52654         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52655         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52657         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52659         * sysdeps/unix/xmknod.c: Remove file.
52660         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52662         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52664         * sysdeps/unix/sysv/i386/time.S: Remove file.
52666         * sysdeps/unix/fxstat.c: Remove file.
52667         * sysdeps/unix/xstat.c: Likewise.
52668         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52670         * sysdeps/unix/sysv/sigaction.c: Remove file.
52672         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52673         (sysdep_headers): Remove variable.
52674         [termio.h not in sysdep_headers] (generated): Likewise.
52675         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52676         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52677         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52678         * sysdeps/unix/sysv/tcflow.c: Likewise.
52679         * sysdeps/unix/sysv/tcflush.c: Likewise.
52680         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52681         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52682         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52683         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52684         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52686         * sysdeps/unix/siglist.c: Remove file.
52688         * sysdeps/unix/getppid.S: Remove file.
52690         * sysdeps/unix/mkdir.c: Remove file.
52691         * sysdeps/unix/rmdir.c: Likewise.
52693 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52695         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52696         ERR_MAX value.
52697         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52698         errlist-compat value.
52700 2012-04-18  David S. Miller  <davem@davemloft.net>
52702         * sysdeps/generic/memcopy.h (reg_char): Delete.
52703         * debug/strcat_chk.c: Use char, not reg_char.
52704         * debug/strcpy_chk.c: Likewise.
52705         * debug/strncat_chk.c: Likewise.
52706         * debug/strncpy_chk.c: Likewise.
52707         * string/memchr.c: Likewise.
52708         * string/memrchr.c: Likewise.
52709         * string/rawmemchr.c: Likewise.
52710         * string/strcat.c: Likewise.
52711         * string/strchr.c: Likewise.
52712         * string/strchrnul.c: Likewise.
52713         * string/strcmp.c: Likewise.
52714         * string/strcpy.c: Likewise.
52715         * string/strncat.c: Likewise.
52716         * string/strncmp.c: Likewise.
52717         * string/strncpy.c: Likewise.
52719 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52721         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52722         __builtin_memcopy is called when src and dest ranges are known to not
52723         overlap.
52725 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52727         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52728         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52729         fwd_align_merge macro call.
52730         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52731         bwd_align_merge macro call.
52732         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52734 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52736         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52737         bwd_align_merge macros.
52738         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52739         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52740         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52742 2012-04-18  David S. Miller  <davem@davemloft.net>
52744         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52746 2012-04-18  Andreas Jaeger  <aj@suse.de>
52748         [BZ# 6794]
52749         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52750         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52751         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52753         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52754         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52755         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52757         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52758         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52759         Adjust for changed ldbl-128 files.
52761         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52762         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52763         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52765 2012-04-17  David S. Miller  <davem@davemloft.net>
52767         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52769 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52771         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52772         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52773         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52774         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52775         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52776         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52778 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52780         [BZ #6794]
52781         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52782         * math/libm-test.inc: Add ilogb errno and exception tests.
52783         * math/w_ilogb.c: New file: ilogb wrapper.
52784         * math/w_ilogbf.c: New file: ilogbf wrapper.
52785         * math/w_ilogbl.c: New file: ilogbl wrapper.
52786         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52787         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52788         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52789         exception being thrown with 0.0 as argument.
52790         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52791         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52792         exception being thrown with 0.0 as argument.
52793         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52794         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52795         exception being thrown with 0.0 as argument.
52796         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52797         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52798         exception being thrown with 0.0 as argument.
52799         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52800         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52801         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52802         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52803         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52804         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52805         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52806         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52807         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52809 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52811         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52812         with altivec.
52814 2012-04-16  Marek Polacek  <polacek@redhat.com>
52816         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52818 2012-04-16  Marek Polacek  <polacek@redhat.com>
52820         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52821         operands of fdivp instruction.
52823 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52825         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52826         * elf/tst-auditmod3b.c: Likewise.
52827         * elf/tst-auditmod4b.c: Likewise.
52828         * elf/tst-auditmod5b.c: Likewise.
52829         * elf/tst-auditmod6b.c: Likewise.
52830         * elf/tst-auditmod6c.c: Likewise.
52831         * elf/tst-auditmod7b.c: Likewise.
52832         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52833         * sysdeps/x86_64/preconfigure.in: Likewise.
52834         * sysdeps/x86_64/preconfigure: Regenerated.
52836 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52838         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52839         __ILP32__.
52841 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52843         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52844         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52846 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52848         [BZ #13973]
52849         * locale/iso-639.def: Fix gl language name. Spotted by
52850         Yaron Shahrabani.
52852 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52854         [BZ #2074]
52855         * libio/libio.h (__io_write_fn): Update comment.
52857 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52859         [BZ #2074]
52860         * stdio.texi (Hook Functions): The user provided writer function
52861         is not allowed to return -1.
52863 2012-04-11  David S. Miller  <davem@davemloft.net>
52865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52867 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52869         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52870         Add a leading slash to rtkaio.
52872 2012-04-11  Jim Meyering  <meyering@redhat.com>
52874         [BZ #11959]
52875         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52876         It is not necessarily an error to ignore fwrite's return
52877         value.  One can reliably use ferror to test for errors after
52878         the fact.
52880 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52882         * bits/types.h (__snseconds_t): New type.
52883         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52885         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52886         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52887         (__SNSECONDS_T_TYPE): Likewise.
52888         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52889         (__SNSECONDS_T_TYPE): Likewise.
52890         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52891         (__SNSECONDS_T_TYPE): Likewise.
52893 2012-04-10  Andreas Jaeger  <aj@suse.de>
52895         [BZ #2636]
52896         * manual/time.texi (Processor Time): Return type of times is
52897         elapsed real time since an arbitrary point in the past.
52898         (CPU Time): Move CLK_TCK from here...
52899         (Processor Time): ...to here.  Correct description.
52900         * manual/conf.texi (Constants for Sysconf): Correct description of
52901         _SC_CLK_TCK.
52903 2012-04-10  David S. Miller  <davem@davemloft.net>
52905         [BZ #13967]
52906         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52907         where the is a gap between DT_REL(A) and DT_JMPREL.
52909 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52911         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52912         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52913         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52915 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52917         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52918         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52919         (dl_main): Handle --inhibit-cache.
52920         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52921         _dl_inhibit_cache.
52922         * elf/dl-load.c (_dl_map_object): Use it.
52923         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52925 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52927         [BZ #13872]
52928         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52929         (__ieee754_powl): Saturate large exponents rather than testing for
52930         overflow of y*log2(x).
52931         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52932         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52933         exceptions.
52935         [BZ #11521]
52936         * math/s_ctan.c: Include <float.h>.
52937         (__ctan): Avoid internal overflow or cancellation in calculating
52938         denominator.
52939         * math/s_ctanf.c: Likewise.
52940         * math/s_ctanl.c: Likewise.
52941         * math/s_ctanh.c: Likewise.
52942         * math/s_ctanhf.c: Likewise.
52943         * math/s_ctanhl.c: Likewise.
52944         * math/libm-test.inc (ctan_test): Add more tests.
52945         (ctanh_test): Likewise.
52946         * sysdeps/i386/fpu/libm-test-ulps: Update.
52947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52949 2012-04-09  Andreas Jaeger  <aj@suse.de>
52951         [BZ #6894]
52952         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52953         is an optional BSD extension.
52955         [BZ #10254]
52956         * manual/stdio.texi (Opening Streams): Document additional fopen
52957         parameters.
52959 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52961         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52962         %eax without telling the compiler.
52964 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52966         [BZ # 13963]
52967         * manual/install.texi: Use sourceware.org.
52969 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52971         [BZ #13873]
52972         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52973         (__ieee754_pow): Generate overflow and underflow using huge*huge
52974         and tiny*tiny rather than just returning constant infinity or zero
52975         for large exponents.
52976         * math/libm-test.inc (pow_test): Require overflow exceptions for
52977         applicable cases of large exponents.
52979         [BZ #706]
52980         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52981         (__ieee754_pow): Use iterative multiplication algorithm only for
52982         integer exponents with absolute value below 1024.  Check for odd
52983         integer exponents when using algorithm for real exponents.
52984         * math/libm-test.inc (pow_test): Add more tests.
52985         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52987 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52989         [BZ #13705]
52990         * math/libm-test.inc (exp_test): Do not allow overflow exception
52991         on underflow test.
52993 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52995         [BZ #13705]
52996         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52997         instead of __kernel_standard_f.
52999 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
53001         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53002         * sysdeps/x86_64/memset_chk.S: Likewise.
53004 2012-04-08  Andreas Jaeger  <aj@suse.de>
53006         [BZ #10153]
53007         * manual/startup.texi (Environment Access): Describe return value
53008         for putenv and setenv.
53010         [BZ #6895]
53011         * manual/filesys.texi (Directory Entries): Add description for
53012         DT_LNK.
53014         [BZ #6890]
53015         * manual/filesys.texi (Directory Entries): Clarify that it's file
53016         system not operating system in the description of DT_UNKNOWN.
53018         [BZ #6578]
53019         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53021 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53023         [BZ #6649]
53024         * manual/llio.texi (Opening and Closing Files): Add cross
53025         reference to explain mode argument.
53027 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53029         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53030         * sysdeps/x86_64/memset_chk.S: Likewise.
53032 2012-04-07  David S. Miller  <davem@davemloft.net>
53034         * elf/elf.h (R_SPARC_WDISP10): Define.
53035         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53036         R_SPARC_SIZE32.
53037         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53038         R_SPARC_SIZE64 and R_SPARC_H34.
53040 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53042         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53043         conditions and remove no longer applicable assertion.
53045 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53047         * bits/byteswap.h: Include <features.h>.
53048         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53049         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53051 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53053         * bits/byteswap.h (__bswap_16): Removed.
53054         Include <bits/byteswap-16.h> to get __bswap_16.
53055         * sysdeps/i386/bits/byteswap.h: Likewise.
53056         * sysdeps/s390/bits/byteswap.h: Likewise.
53057         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53058         * bits/byteswap-16.h: New file.
53059         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53060         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53061         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53062         * string/Makefile (headers): Add bits/byteswap-16.h.
53064 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53066         [BZ #13895]
53067         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53068         extra indirection.
53069         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53070         * nss/tst-nss-static.c: New.
53072 2012-04-06  Robert Millan  <rmh@gnu.org>
53074         [BZ #6486]
53075         * manual/llio.texi (File Position Primitive): lseek
53076         refers to WHENCE when it really means OFFSET.
53078 2012-04-06  Andreas Jaeger  <aj@suse.de>
53080         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53081         strncmp declarations.
53083         * abilist/libc.abilist: Add __poll and __ppoll.
53085 2012-04-05  David S. Miller  <davem@davemloft.net>
53087         * scripts/check-local-headers.sh: Accept a host triplet in the
53088         path matched by the exclude regexp.
53090         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53091         definition.
53092         * sysdeps/powerpc/powerpc32/dl-machine.h
53093         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53094         * sysdeps/s390/s390-32/dl-machine.h
53095         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53096         * sysdeps/sparc/sparc32/dl-machine.h
53097         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53098         * sysdeps/sparc/sparc64/dl-machine.h
53099         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53101         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53102         lazy binding.
53103         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53104         undefined symbol errors.
53106         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53107         DT_NEEDED entries.
53109 2012-04-05  Michael Matz  <matz@suse.de>
53111         [BZ #13592]
53112         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53114 2012-04-05  Andreas Jaeger  <aj@suse.de>
53116         [BZ #13908]
53117         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53118         comment.
53120 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53122         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53123         which ROUND is no valid rounding mode.
53125 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53127         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53128         read again.
53129         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53131 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53133         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53134         an exception using FPU order intentionally.
53136 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53138         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53139         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53140         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53141         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53143 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53145         [BZ #12340]
53146         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53147         EINVAL when BUFLEN is too smal.
53149 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53151         [BZ #13553]
53152         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53153         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53155 2012-04-03  Andreas Jaeger  <aj@suse.de>
53157         [BZ #13938]
53158         * manual/setjmp.texi (System V contexts): Fix sentence.
53160         [BZ #13926]
53161         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53162         New macro for this case.
53163         [!__GNUC__] (__bswap_64): New inline function for this case.
53164         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53165         * bits/byteswap.h: Likewise.
53166         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53167         ull, guard with __GLIBC_HAVE_LONG_LONG.
53169         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53170         __GLIBC_HAVE_LONG_LONG.
53172         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53173         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53175 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53177         [BZ #13691]
53178         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53179         inptr and inend, rather than using last_ch.
53181 2012-04-02  David S. Miller  <davem@davemloft.net>
53183         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53184         * stdio-common/printf-parse.h (read_int): Change return type to
53185         'int', return -1 on INT_MAX overflow.
53186         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53187         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53188         overflows INT_MAX.  Check for overflow of in-format-string precision
53189         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53190         SIZE_MAX not INT_MAX for integer overflow test.
53191         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53192         skip the construct in the format string but do not record anything.
53193         * stdio-common/bug22.c: Adjust to test both width/prevision
53194         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53195         explicitly for proper errno values.
53197 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53199         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53200         CHAR_MAX.
53201         * string/test-strcmp.c [! WIDE]: Likewise.
53202         * time/tst-mktime2.c: Likewise for INT_MAX.
53203         * string/test-string.h: #include <sys/param.h> for MIN.
53205         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53206         * sysdeps/i386/init-first.c (init): Likewise.
53207         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53208         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53209         * sysdeps/sh/init-first.c (init): Likewise.
53211 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53213         * po/ru.po: Update from translation team.
53214         * po/vi.po: Likewise.
53216 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53218         * resolv/nss_dns/dns-host.c: Merge copyright years.
53220 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53222         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53223         Optimize memcpy with prefetch if
53224         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53225         src, dst pointers have unequal 16 byte alignments.
53227 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53229         [BZ #13928]
53230         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53231         from a CNAME entry and return the minimum ttl for the query.
53232         (gaih_getanswer_slice): Likewise.
53234 2012-03-30  Jeff Law  <law@redhat.com>
53236         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53237         due to long keys.
53238         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53239         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53241         * resolv/nss_dns/dns-host.c: Update copyright year.
53243 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53245         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53246         requests to save a system call.  Fix check that all bytes are sent.
53248         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53249         comments for sendmmsg.
53251 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53253         [BZ #13691]
53254         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53255         with only 1 character between 0x0041 and 0x01b0.
53256         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53257         * wcsmbs/tst-mbsnrtowcs.c: New file.
53259 2012-03-29  David S. Miller  <davem@davemloft.net>
53261         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53262         small copies by hand.
53264 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53266         [BZ #13761]
53267         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53268         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53269         group memberships.
53271 2012-03-28  David S. Miller  <davem@davemloft.net>
53273         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53274         that branches into memcpy.
53275         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53276         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53277         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53278         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53279         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53280         bits.
53281         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53282         implementation too.
53283         * sysdeps/sparc/mempcpy.S: New file.
53285         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53286         the IFUNC routine in the libc case.
53287         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53289         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53290         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53291         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53292         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53293         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53294         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53295         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53296         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53298         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53299         loop to 256 bytes instead of 64 bytes and fix test signedness.
53301         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53302         * sysdeps/sparc/sparc32/Makefile: rather than here...
53303         * sysdeps/sparc/sparc64/Makefile: and here.
53305 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53307         * malloc/mallocbug.c: Avoid warnings about unused variables.
53309 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53311         [BZ #13760]
53312         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53313         in the right place. Discard and retry query if response is
53314         larger than input buffer size.
53316 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53318         [BZ #369]
53319         [BZ #2678]
53320         [BZ #3866]
53321         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53322         x for large integer exponent.
53323         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53324         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53325         sign of result as needed afterwards.
53326         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53327         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53328         result for underflowing pow the same as for overflow.
53329         (__kernel_standard_l): Handle powl overflow and underflow here
53330         rather than calling __kernel_standard.
53331         * math/libm-test.inc (pow_test): Add more tests.
53333         [BZ #3868]
53334         [BZ #13879]
53335         [BZ #13910]
53336         [BZ #13911]
53337         [BZ #13912]
53338         [BZ #13913]
53339         [BZ #13915]
53340         [BZ #13916]
53341         [BZ #13917]
53342         [BZ #13918]
53343         [BZ #13919]
53344         [BZ #13920]
53345         [BZ #13921]
53346         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53347         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53348         (__kernel_standard_l): New function.
53349         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53350         __kernel_standard.
53351         * math/w_acosl.c (__acosl): Likewise.
53352         * math/w_asinl.c (__asinl): Likewise.
53353         * math/w_atan2l.c (__atan2l): Likewise.
53354         * math/w_atanhl.c (__atanhl): Likewise.
53355         * math/w_coshl.c (__coshl): Likewise.
53356         * math/w_exp10l.c (__exp10l): Likewise.
53357         * math/w_exp2l.c (__exp2l): Likewise.
53358         * math/w_fmodl.c (__fmodl): Likewise.
53359         * math/w_hypotl.c (__hypotl): Likewise.
53360         * math/w_j0l.c (__j0l, __y0l): Likewise.
53361         * math/w_j1l.c (__j1l, __y1l): Likewise.
53362         * math/w_jnl.c (__jnl, __ynl): Likewise.
53363         * math/w_lgammal.c (__lgammal): Likewise.
53364         * math/w_log10l.c (__log10l): Likewise.
53365         * math/w_log2l.c (__log2l): Likewise.
53366         * math/w_logl.c (__logl): Likewise.
53367         * math/w_powl.c (__powl): Likewise.
53368         * math/w_remainderl.c (__remainderl): Likewise.
53369         * math/w_scalbl.c (sysv_scalbl): Likewise.
53370         * math/w_sinhl.c (__sinhl): Likewise.
53371         * math/w_sqrtl.c (__sqrtl): Likewise.
53372         * math/w_tgammal.c (__tgammal): Likewise.
53373         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53374         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53375         * math/libm-test.inc (acos_test): Add more tests.
53376         (acosh_test): Likewise.
53377         (asin_test): Likewise.
53378         (atanh_test): Likewise.
53379         (exp_test): Likewise.
53380         (exp10_test): Likewise.
53381         (exp2_test): Likewise.
53382         (expm1_test): Likewise.
53383         (lgamma_test): Likewise.
53384         (log_test): Likewise.
53385         (log10_test): Likewise.
53386         (log1p_test): Likewise.
53387         (log2_test): Likewise.
53388         (pow_test): Do not allow some spurious overflow exceptions.
53389         (sqrt_test): Add more tests.
53390         (tgamma_test): Likewise.
53391         (y0_test): Likewise.
53392         (y1_test): Likewise.
53393         (yn_test): Likewise.
53395 2012-03-27  Anton Blanchard  <anton@samba.org>
53397         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53398         MAP_HUGETLB.
53399         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53400         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53401         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53403 2012-03-27  David S. Miller  <davem@davemloft.net>
53405         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53407         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53408         have-as-vis3 check.
53410 2012-03-27  Andreas Jaeger  <aj@suse.de>
53412         * sysdeps/x86_64/elf/configure.in: Moved to ...
53413         * sysdeps/x86_64/configure.in: ... here.
53414         * sysdeps/x86_64/elf/start.S: Moved to ...
53415         * sysdeps/x86_64/start.S: ... here.
53416         * sysdeps/x86_64/elf/configure: Delete.
53418         * sysdeps/x86_64/configure.in: Merge contents from
53419         sysdeps/i386/configure.in (without i686 check).
53421         * sysdeps/i386/elf/Versions: Merge into ...
53422         * sysdeps/i386/Versions: ... this.
53423         * sysdeps/i386/elf/Versions: Delete file.
53424         * sysdeps/i386/elf/start.S: Moved to ...
53425         * sysdeps/i386/start.S: ...here.
53426         * sysdeps/i386/elf/configure.in: Merge into...
53427         * sysdeps/i386/configure.in: ...here.
53428         * sysdeps/i386/elf/configure.in: Delete file.
53429         * sysdeps/i386/elf/configure: Delete file.
53431         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53432         * debug/backtracesyms.c: ... here.
53433         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53434         * debug/backtracesymsfd.c: ... here.
53435         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53436         * sysdeps/generic/ifunc-sel.h: ... here.
53438         * sysdeps/unix/i386/start.c: Delete file.
53439         * sysdeps/unix/sparc/start.c: Delete file.
53440         * sysdeps/unix/start.c: Delete file.
53442         * sysdeps/sh/elf/configure.in: Moved to ...
53443         * sysdeps/sh/configure.in: ... here.
53444         * sysdeps/sh/elf/start.S: Moved to ...
53445         * sysdeps/sh/start.S: ... here.
53446         * sysdeps/sh/elf/configure: Delete file.
53448         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53449         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53450         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53451         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53452         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53453         * sysdeps/powerpc/powerpc64/start.S: here.
53454         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53455         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53456         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53457         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53458         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53460         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53461         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53462         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53463         * sysdeps/powerpc/powerpc32/start.S: ... here.
53464         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53465         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53466         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53468         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53469         * sysdeps/powerpc/ifunc-sel.h: ... here.
53470         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53471         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53473         * sysdeps/sparc/elf/configure.in: Moved to ...
53474         * sysdeps/sparc/configure.in: ... here.
53475         * sysdeps/sparc/elf/configure: Delete file.
53476         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53477         * sysdeps/sparc/sparc32/start.S: ... here.
53478         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53479         * sysdeps/sparc/sparc64/start.S: ... here.
53480         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53481         * sysdeps/sparc/sparc32/Makefile: ... this.
53482         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53483         * sysdeps/sparc/sparc64/Makefile: ... this.
53485         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53486         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53487         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53488         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53489         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53490         * sysdeps/s390/s390-32/setjmp.S: ... here.
53491         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53492         * sysdeps/s390/s390-32/configure.in: ... here.
53493         * sysdeps/s390/s390-32/elf/configure: Delete file.
53494         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53495         * sysdeps/s390/s390-32/start.S: ... here.
53497         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53498         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53499         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53500         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53501         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53502         * sysdeps/s390/s390-64/setjmp.S: ... here.
53503         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53504         * sysdeps/s390/s390-64/configure.in: ... here
53505         * sysdeps/s390/s390-64/elf/configure: Delete file.
53506         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53507         * sysdeps/s390/s390-64/start.S: ... here.
53508         * sysdeps/s390/s390-64/elf/configure: Delete.
53510         * configure.in: Remove support for elf directories in sysdeps.
53512         * configure: Regenerated.
53513         * sysdeps/i386/configure: Regenerated.
53514         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53515         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53516         * sysdeps/s390/s390-32/configure: Regenerated.
53517         * sysdeps/s390/s390-64/configure: Regenerated.
53518         * sysdeps/sh/configure: Regenerated.
53519         * sysdeps/sparc/configure: Regenerated.
53520         * sysdeps/x86_64/configure: Regenerated.
53522 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53526         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53527         denormal result into account.
53529 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53531         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53532         Reported by Allan McRae <allan@archlinux.org>.
53534 2012-03-23  Jeff Law  <law@redhat.com>
53536         * nss/getnssent.c (__nss_getent): Fix typo.
53538 2012-03-23  David S. Miller  <davem@davemloft.net>
53540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53542 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53544         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53545         to pad to uint64_t for each field.
53546         (dl_tls_index): Replace unsigned long with uint64_t.
53548 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53549         Paul Pluzhnikov  <ppluzhnikov@google.com>
53551         [BZ #6528]
53552         * grp/Makefile (otherlibs): Don't set it.
53553         * inet/Makefile (otherlibs): Likewise.
53554         * login/Makefile (otherlibs): Likewise.
53555         * nscd/Makefile (otherlibs): Likewise.
53556         * posix/Makefile (otherlibs): Likewise.
53557         * pwd/Makefile (otherlibs): Likewise.
53558         * rt/Makefile (otherlibs): Likewise.
53559         * sunrpc/Makefile (otherlibs): Likewise.
53560         * nss/Makefile (otherlibs): Likewise.
53561         Add libnss_files to routines and static-only-routines.
53562         ($(objpfx)getent): Remove rule.
53563         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53564         static-only-routines.
53566 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53568         [BZ #13892]
53569         * math/s_cexp.c: Include <float.h>.
53570         (__cexp): Handle exp result overflowing not necessarily
53571         overflowing both real and imaginary parts of result.
53572         * math/s_cexpf.c: Likewise.
53573         * math/s_cexpl.c: Likewise.
53574         * math/libm-test.inc (cexp_test): Add more tests.
53575         * sysdeps/i386/fpu/libm-test-ulps: Update.
53576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53578 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53580         * include/link.h (ELFW): New macro.
53581         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53582         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53584 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53586         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53587         with uint64_t.
53589 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53591         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53592         declaration.
53593         (struct La_x32_retval): Likewise.
53595 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53597         * sysdeps/x86_64/preconfigure.in: New file.
53598         * sysdeps/x86_64/preconfigure: New generated file.
53600 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53602         [BZ #13824]
53603         * math/e_exp2l.c: Include <float.h>.
53604         (__ieee754_exp2l): Handle overflow and underflow cases
53605         separately.  Only pass fractional part of argument to
53606         __ieee754_expl.
53607         * math/libm-test.inc (exp2_test): Add more tests.
53609         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53610         negating x to take absolute value.
53611         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53612         Likewise.
53613         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53614         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53615         Likewise.
53616         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53617         computing low part if x was negated.
53618         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53620 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53622         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53623         la_x32_gnu_pltexit.
53624         (pltexit): Cast int_retval to ptrdiff_t.
53625         * elf/tst-auditmod3b.c: Likewise.
53626         * elf/tst-auditmod4b.c: Likewise.
53627         * elf/tst-auditmod5b.c: Likewise.
53628         * elf/tst-auditmod6b.c: Likewise.
53629         * elf/tst-auditmod6c.c: Likewise.
53630         * elf/tst-auditmod7b.c: Likewise.
53632         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53633         and x32_gnu_pltexit.
53635         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53636         __ELF_NATIVE_CLASS.
53637         (La_x32_regs): New macro.
53638         (La_x32_retval): Likewise.
53639         (la_x32_gnu_pltenter): New function prototype.
53640         (la_x32_gnu_pltexit): Likewise.
53642 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53644         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53645         exponent.
53647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53649         * configure.in (libc_cv_cc_nofma): Check for option to disable
53650         generation of FMA instructions.
53651         * configure: Regenerate.
53652         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53653         * sysdeps/ieee754/dbl-64/Makefile: New file.
53654         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53655         Remove brandred-fma4.
53656         (CFLAGS-brandred-fma4.c): Remove.
53657         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53658         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53659         define.
53660         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53661         define.
53663 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53665         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53666         LLONG_MAX != LONG_MAX.
53667         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53668         (_fitoa_word): Likewise.
53669         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53670         LLONG_MAX != LONG_MAX.
53671         * stdio-common/_itowa.h: Include <_itoa.h>.
53672         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53673         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53674         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53675         only if not defined.
53676         (_ITOA_WORD_TYPE): Likewise.
53677         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53678         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53680 2012-03-21  David S. Miller  <davem@davemloft.net>
53682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53684 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53686         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53687         of x86_64 when setting libc_cv_slibdir, libdir and
53688         libc_cv_localedir.
53689         * sysdeps/unix/sysv/linux/configure: Regenerated.
53691 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53693         * manual/lang.texi (Old Varargs): Remove section.
53694         (How Variadic): Update menu.
53695         (va_start): Do not mention varargs.h.
53697 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53698             Joseph Myers  <joseph@codesourcery.com>
53700         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53701         link test.
53702         * configure: Regenerated.
53704 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53706         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53707         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53708         conformtest.pl
53710 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53712         * NOTES: Remove.
53713         * Makefile (files-for-dist): Remove NOTES.
53714         (NOTES): Remove rule.
53715         * README: Don't refer to NOTES.
53716         * manual/creature.texi: Don't include macros.texi.
53717         * manual/intro.texi (creature.texi): Remove comment referring to
53718         NOTES.
53720         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53721         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53722         * configure: Regenerated.
53723         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53724         LIBC_TRY_CC_OPTION.
53725         (libc_cv_as_i686): Likewise.
53726         (libc_cv_cc_avx): Likewise.
53727         (libc_cv_cc_sse2avx): Likewise.
53728         (libc_cv_cc_fma4): Likewise.
53729         (libc_cv_cc_novzeroupper): Likewise.
53730         * sysdeps/i386/configure: Regenerated.
53732         [BZ #13883]
53733         * sysdeps/i386/fpu/s_cexp.S: Remove.
53734         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53735         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53736         * math/libm-test.inc (cexp_test): Add more tests.
53737         * sysdeps/i386/fpu/libm-test-ulps: Update.
53738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53740 2012-03-21  Allan McRae  <allan@archlinux.org>
53742         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53744 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53746         [BZ #13871]
53747         * math/w_exp2.c: Do not include <float.h>.
53748         (o_threshold, u_threshold): Remove.
53749         (__exp2): Calculate result before checking finiteness and calling
53750         __kernel_standard.
53751         * math/w_exp2f.c: Likewise.
53752         * math/w_exp2l.c: Likewise.
53753         * math/libm-test.inc (exp2_test): Require overflow exception for
53754         1e6 input.
53756         [BZ #3866]
53757         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53758         range of signed 64-bit integers before using fistpll.  Remove
53759         checks for whether integers fit in mantissa bits.
53760         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53761         the range of signed 32-bit integers before using fistpl.  Remove
53762         checks for whether integers fit in mantissa bits.
53763         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53764         (__ieee754_powl): Test for y outside the range of signed 64-bit
53765         integers before using fistpll.  Reduce 64-bit values to 63-bit
53766         ones as needed.
53767         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53768         divide-by-zero is raised for zero to large negative powers.
53769         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53770         (__ieee754_powl): Test for y outside the range of signed 64-bit
53771         integers before using fistpll.  Reduce 64-bit values to 63-bit
53772         ones as needed.
53773         * math/libm-test.inc (pow_test): Add more tests.
53775 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53777         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53778         <stdio-common/_itoa.h>.
53779         * debug/segfault.c: Likewise.
53780         * elf/dl-cache.c: Likewise.
53781         * elf/dl-minimal.c: Likewise.
53782         * elf/dl-misc.c: Likewise.
53783         * elf/dl-sysdep.c: Likewise.
53784         * elf/dl-version.c: Likewise.
53785         * elf/rtld.c: Likewise.
53786         * hurd/hurdsock.c: Likewise.
53787         * hurd/lookup-retry.c: Likewise.
53788         * malloc/malloc.c: Likewise.
53789         * malloc/mtrace.c: Likewise.
53790         * nscd/nscd_getgr_r.c: Likewise.
53791         * nscd/nscd_getpw_r.c: Likewise.
53792         * nscd/nscd_getserv_r.c: Likewise.
53793         * posix/getopt_init.c: Likewise.
53794         * posix/wordexp.c: Likewise.
53795         * stdio-common/_itoa.c: Likewise.
53796         * stdio-common/printf_fphex.c: Likewise.
53797         * stdio-common/vfprintf.c: Likewise.
53798         * string/_strerror.c: Likewise.
53799         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53800         * sysdeps/i386/i686/hp-timing.h: Likewise.
53801         * sysdeps/mach/_strerror.c: Likewise.
53802         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53803         * sysdeps/mach/hurd/sethostid.c: Likewise.
53804         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53805         * sysdeps/mach/xpg-strerror.c: Likewise.
53806         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53807         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53808         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53809         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53810         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53811         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53812         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53813         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53814         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53815         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53816         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53817         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53818         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53819         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53820         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53821         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53822         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53823         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53824         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53825         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53826         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53828         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53830         * stdio-common/_itoa.h: Moved to ...
53831         * sysdeps/generic/_itoa.h: Here.
53833         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53835         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53836         instead of "_itoa.h" and "_itowa.h".
53837         * stdio-common/vfprintf.: Likewise.
53839 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53841         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53842         <bits/wordsize.h>.
53843         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53844         (__signbit): Likwise.
53845         (llrintf): Likwise.
53846         (llrint): Likwise.
53848 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53850         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53851         __WORDSIZE != 64.
53853 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53855         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53856         OVERFLOW_EXCEPTION_OK.
53857         * math/libm-test.inc ("Philosophy"): Update comment about
53858         exception testing.
53859         (OVERFLOW_EXCEPTION): Define.
53860         (OVERFLOW_EXCEPTION_OK): Likewise.
53861         (INVALID_EXCEPTION_OK): Renumber.
53862         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53863         (IGNORE_ZERO_INF_SIGN): Likewise.
53864         (test_exceptions): Handle FE_OVERFLOW.
53865         (exp10_test): Expect overflow exceptions.
53866         (exp2_test): Likewise.
53867         (expm1_test): Likewise.
53868         (nextafter_test): Likewise.
53869         (pow_test): Likewise.
53870         (scalbn_test): Likewise.
53871         (scalbln_test): Likewise.
53873 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53875         * sysdeps/x86_64/bits/atomic.h
53876         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53877         64bit integer.
53878         (atomic_exchange_acq): Likewise.
53879         (__arch_exchange_and_add_body): Likewise.
53880         (__arch_add_body): Likewise.
53881         (atomic_add_negative): Likewise.
53882         (atomic_add_zero): Likewise.
53884 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53886         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53887         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53889 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53891         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53892         Check __x86_64__ instead of __WORDSIZE.
53894 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53896         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53898 2012-03-19  David S. Miller  <davem@davemloft.net>
53900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53902         * sysdeps/sparc/fpu/fenv_private.h: New file.
53903         * sysdeps/sparc/fpu/math_private.h: Use it.
53904         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53905         Remove.
53906         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53907         (libc_feholdexcept_setroundl): Remove.
53908         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53909         Remove.
53910         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53911         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53913 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53915         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53916         int64_t instead of long int.
53917         (INSERT_WORDS64): Likwise.
53919 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53921         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53922         _Unwind_GetCFA return to _Unwind_Ptr first.
53924 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53926         [BZ #13629]
53927         * math/s_clog.c: Include <float.h>.
53928         (__clog): Scale large or subnormal inputs.
53929         * math/s_clogf.c: Likewise.
53930         * math/s_clogl.c: Likewise.
53931         * math/s_clog10.c: Include <float.h>.
53932         (M_LOG10_2): Define.
53933         (__clog10): Scale large or subnormal inputs.
53934         * math/s_clog10f.c: Likewise.
53935         * math/s_clog10l.c: Likewise.
53936         * math/libm-test.inc (clog_test): Add more tests.
53937         (clog10_test): Likewise.
53938         * sysdeps/i386/fpu/libm-test-ulps: Update.
53939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53941         [BZ #11451]
53942         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53943         x and y.
53944         * math/libm-test.inc (atan2_test): Add another test.
53946         * Makerules (common-objdir-compile): Remove.
53947         * sysdeps/unix/Makefile (config-generated): Do not add
53948         $(unix-generated) to variable.
53949         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53950         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53951         Remove rule.
53952         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53953         Likewise.
53954         [generic bits/local_lim.h] (before-compile): Do not append to
53955         variable.
53956         [generic bits/local_lim.h] (common-generated): Likewise.
53957         [generic sys/param.h] (before-compile): Do not append to variable.
53958         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53959         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53960         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53961         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53962         include.
53963         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53964         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53965         [generic sys/param.h] ($(addprefix
53966         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53967         [generic sys/param.h] (common-generated): Do not append to
53968         variable.
53969         [generic sys/param.h] (sysdep_headers): Likewise.
53970         [generic bits/errno.h] (before-compile): Do not append to
53971         variable.
53972         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53973         rule.
53974         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53975         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53976         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53977         [generic bits/errno.h] (common-generated): Do not append to
53978         variable.
53979         [generic bits/ioctls.h] (before-compile): Do not append to
53980         variable.
53981         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53982         rule.
53983         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53984         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53985         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53986         rule.
53987         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53988         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53989         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53990         [generic bits/ioctls.h] (common-generated): Do not append to
53991         variable.
53992         [generic sys/syscall.h] (syscall.h): Remove variable.
53993         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53994         rule.
53995         [generic sys/syscall.h] (before-compile): Do not append to
53996         variable.
53997         [generic sys/syscall.h] (common-generated): Likewise.
53998         * sysdeps/unix/errnos-tmpl.c: Remove file.
53999         * sysdeps/unix/errnos.awk: Likewise.
54000         * sysdeps/unix/ioctls-tmpl.c: Likewise.
54001         * sysdeps/unix/ioctls.awk: Likewise.
54002         * sysdeps/unix/mk-local_lim.c: Likewise.
54003         * sysdeps/unix/snarf-ioctls: Likewise.
54005 2012-03-19  Richard Henderson  <rth@twiddle.net>
54007         * sysdeps/i386/fpu/fenv_private.h: New file.
54008         * sysdeps/i386/fpu/math_private.h: Use it.
54009         (math_opt_barrier, math_force_eval): Remove.
54010         (libc_feholdexcept_setround_53bit): Remove.
54011         (libc_feupdateenv_53bit): Remove.
54012         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54013         (math_opt_barrier, math_force_eval): Remove.
54014         (libc_feholdexcept): Remove.
54015         (libc_feholdexcept_setround): Remove.
54016         (libc_fetestexcept, libc_fesetenv): Remove.
54017         (libc_feupdateenv_test): Remove.
54018         (libc_feupdateenv, libc_feholdsetround): Remove.
54019         (libc_feresetround): Remove.
54021         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54022         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54024         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54025         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54026         (libc_feupdateenv_testl): New.
54027         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54028         (libc_feupdateenv_testf): New.
54029         (libc_feupdateenv): Use libc_feupdateenv_test.
54030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54031         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54033         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54034         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54035         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54036         (libc_feresetround_noex): New.
54037         (libc_feresetround_noexf): New.
54038         (libc_feresetround_noexl): New.
54039         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54040         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54041         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54042         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54043         SET_RESTORE_ROUND.
54044         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54045         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54046         (__cos): Likewise.
54047         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54048         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54049         SET_RESTORE_ROUND_NOEX.
54050         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54051         SET_RESTORE_ROUND_NOEXF.
54052         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54053         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54054         (libc_feholdsetroundf): New.
54055         (libc_feresetround, libc_feresetroundf): New.
54057         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54058         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54059         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54061         * sysdeps/generic/math_private.h: Include <fenv.h>.
54062         (default_libc_feholdexcept): New.
54063         (default_libc_feholdexcept_setround): New.
54064         (default_libc_fesetenv, default_libc_feupdateenv): New.
54065         (libc_feholdexcept): Only define if undefined.
54066         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54067         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54068         (libc_feholdexcept_setroundl): Likewise.
54069         (libc_feholdexcept_setround_53bit): Likewise.
54070         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54071         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54072         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54073         (libc_feupdateenv_53bit): Likewise.
54074         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54075         (libc_feholdexcept): Convert from macro to inline function.
54076         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54077         (libc_fesetenv, libc_feupdateenv): Likewise.
54079         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54080         not previously defined.
54081         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54082         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54083         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54084         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54085         * sysdeps/ieee754/flt-32/math_private.h: New file.
54086         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54087         math_private.h below SET_FLOAT_WORD.
54088         (__isnan, __isinf_ns, __finite): Remove.
54089         (__isnanf, __isinf_nsf, __finitef): Remove.
54091 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54095 2012-03-17  David S. Miller  <davem@davemloft.net>
54097         [BZ #6471]
54098         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54099         for 2.16.
54101 2012-03-16  David S. Miller  <davem@davemloft.net>
54103         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54104         warnings.
54106         [BZ #6471]
54107         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54108         properly.
54109         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54110         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54111         sysdep_routines when subdir is sysvipc.
54112         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54113         __getshmlba helper.
54115         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54117 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54119         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54120         [__LP64__].
54122 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54124         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54125         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54126         (__lround): Renamed to ...
54127         (__llround): This.  Replace long int with long long int.
54128         Define lround functions as aliases of llround functions.
54129         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54131 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54133         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54134         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54135         adresses to uintptr_t.  Replace "long int" and "unsigned long
54136         int" with "greg_t" on va_arg.
54138 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54140         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54141         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54143         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54144         Move e_machine check before EI_CLASS check.  Handle x32
54145         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54146         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54147         SKIP_EM_IA_64 and include
54148         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54150         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54151         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54152         (add_system_dir): New macro.
54154         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54155         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54157 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54159         [BZ #2551]
54160         [BZ #2552]
54161         [BZ #2553]
54162         [BZ #2554]
54163         [BZ #2562]
54164         [BZ #2563]
54165         [BZ #2565]
54166         [BZ #2566]
54167         [BZ #2576]
54168         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54169         (y0): Likewise.
54170         * math/w_j0f.c (j0f): Likewise.
54171         (y0f): Likewise.
54172         * math/w_j0l.c (__j0l): Likewise.
54173         (__y0l): Likewise.
54174         * math/w_j1.c (j1): Likewise.
54175         (y1): Likewise.
54176         * math/w_j1f.c (j1f): Likewise.
54177         (y1f): Likewise.
54178         * math/w_j1l.c (__j1l): Likewise.
54179         (__y1l): Likewise.
54180         * math/w_jn.c (jn): Likewise.
54181         (yn): Likewise.
54182         * math/w_jnf.c (jnf): Likewise.
54183         (ynf): Likewise.
54184         * math/w_jnl.c (__jnl): Likewise.
54185         (__ynl): Likewise.
54186         * math/libm-test.inc (j0_test): Add more tests.
54187         (j1_test): Likewise.
54188         (jn_test): Likewise.  Add trailing semicolon to existing test.
54189         (y0_test): Likewise.
54190         (y1_test): Likewise.
54191         * sysdeps/i386/fpu/libm-test-ulps: Update.
54192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54194         [BZ #13851]
54195         [BZ #13854]
54196         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54197         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54198         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54199         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54200         (__tanl): Set errno for infinite argument.
54201         * sysdeps/i386/fpu/mptan.c: Remove.
54202         * sysdeps/i386/fpu/s_tan.S: Likewise.
54203         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54204         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54205         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54206         * math/libm-test.inc (tan_test): Add more tests and enable more
54207         tests for double and long double.
54208         * sysdeps/i386/fpu/libm-test-ulps: Update.
54209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54211 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54213         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54214         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54216 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54218         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54219         * configure.in: Use it for both main tree and add-ons.
54220         * configure: Regenerated.
54222 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54224         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54226 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54228         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54229         in comment.
54231         [BZ #13851]
54232         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54233         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54234         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54235         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54236         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54237         infinite argument.
54238         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54239         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54240         != 0 for prec == 2.
54241         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54242         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54243         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54244         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54245         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54246         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54247         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54248         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54249         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54250         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54251         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54252         * math/libm-test.inc (cos_test): Add more tests and enable more
54253         tests for long double.
54254         (sin_test): Likewise.
54255         (sincos_test): Likewise.
54256         * sysdeps/i386/fpu/libm-test-ulps: Update.
54257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54259 2012-03-16  David S. Miller  <davem@davemloft.net>
54261         * sysdeps/sparc/fpu/math_private.h: New file.
54263 2012-03-15  David S. Miller  <davem@davemloft.net>
54265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54266         file.
54267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54269         file.
54270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54275         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54276         sysdep routines.
54277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54279         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54280         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54282         * sysdeps/sparc/sparc-ifunc.h: New file.
54283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54284         sparc-ifunc.h
54285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54287         Likewise.
54288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54289         Likewise.
54290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54294         Likewise.
54295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54300         Likewise.
54301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54302         Likewise.
54303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54309         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54310         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54311         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54312         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54313         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54314         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54317         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54318         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54321         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54322         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54323         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54324         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54325         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54326         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54328 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54330         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54331         scaling.
54332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54334 2012-03-15  Andreas Jaeger  <aj@suse.de>
54336         [BZ #13852]
54337         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54338         ieee754/flt-32 implementation for sin, cos and sincos.
54339         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54340         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54341         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54342         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54343         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54344         ieee754/flt-32 implementation for tan.
54346         * math/libm-test.inc (cos_test): Enable some large input tests for
54347         float as well
54348         (sin_test): Likewise.
54349         (sincos_test): Likewise.
54350         (tan_test): Add tests for large input.
54352         * sysdeps/i386/fpu/libm-test-ulps: Update.
54354 2012-03-15  Andreas Jaeger  <aj@suse.de>
54356         [BZ #13658]
54357         * math/libm-test.inc (cos_test): Add more test cases.
54358         (sin_test): Likewise.
54359         (sincos_test): Likewise.
54361 2012-03-15  Andreas Jaeger  <aj@suse.de>
54363         [BZ #13837]
54364         * math/libm-test.inc (cos_test): Add a test case for large input
54365         value.
54366         (sin_test): Likewise.
54367         (sincos_test): Likewise.
54369 2012-03-15  Andreas Jaeger  <aj@suse.de>
54370             Joseph Myers  <joseph@codesourcery.com>
54372         [BZ #13658]
54373         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54374         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54375         * sysdeps/i386/fpu/branred.c: Likewise.
54376         * sysdeps/i386/fpu/dosincos.c: Likewise.
54377         * sysdeps/i386/fpu/mpa.c: Likewise.
54378         * sysdeps/i386/fpu/s_cos.S: Likewise.
54379         * sysdeps/i386/fpu/s_sin.S: Likewise.
54380         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54381         * sysdeps/i386/fpu/sincos32.c: Likewise.
54383         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54384         Define.
54385         (libc_feupdateenv_53bit): Define.
54386         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54387         Define.
54388         (libc_feupdateenv_53bit): Define.
54390         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54391         53 bit (without extend i386 double precision).
54393         * math/libm-test.inc (sincos_test): Add tests for large input.
54394         (sin): Likewise.
54395         (cos): Likewise.
54397         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54399 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54403 2012-03-15  David S. Miller  <davem@davemloft.net>
54405         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54406         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54407         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54408         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54413         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54414         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54421         file.
54422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54424         file.
54425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54427         file.
54428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54430         file.
54431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54432         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54433         fmin/fmax sysdep routines.
54434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54436 2012-03-14  David S. Miller  <davem@davemloft.net>
54438         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54442         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54443         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54444         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54445         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54446         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54447         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54450         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54451         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54458         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54459         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54460         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54461         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54462         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54463         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54464         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54465         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54466         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54467         routines.
54468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54469         file.
54470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54472         file.
54473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54475         file.
54476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54478         file.
54479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54481         file.
54482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54484         file.
54485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54486         file.
54487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54488         file.
54489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54490         file.
54491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54492         New file.
54493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54494         file.
54495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54496         file.
54497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54499         file.
54500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54502         file.
54503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54505         file.
54506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54508         VIS3 routines.
54510         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54511         New file.
54513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54515         * sysdeps/sparc/configure.in: New file.
54516         * sysdeps/sparc/configure: Generate.
54517         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54518         * configure: Regenerate.
54519         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54520         * config.make.in (have-as-vis3): New.
54521         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54522         available use -Av9d instead of -Av9a.
54523         * sysdeps/sparc/sparc64/Makefile: Likewise.
54524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54526         New file.
54527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54528         file.
54529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54530         New file.
54531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54532         file.
54533         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54534         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54535         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54536         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54537         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54539         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54540         fzeros/fnegs to load 0x80000000 into a float register instead of
54541         using the stack.
54542         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54544 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54546         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54547         bits/syscall.h.
54548         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54549         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54550         ($(inst_includedir)/bits/syscall.h): Remove rule.
54551         ($(objpfx)bits/syscall.d): Include instead of
54552         $(objpfx)syscall-list.d.
54553         (generated): Change syscall-list.h and syscall-list.d to
54554         bits/syscall.h and bits/syscall.d.
54556 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54558         [BZ #13846]
54559         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54561 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54563         [BZ #13841]
54564         * math/s_csqrt.c: Include <float.h>.
54565         (__csqrt): Scale large or subnormal inputs.
54566         * math/s_csqrtf.c: Likewise.
54567         * math/s_csqrtl.c: Likewise.
54568         * math/libm-test.inc (csqrt_test): Add more tests.
54569         * sysdeps/i386/fpu/libm-test-ulps: Update.
54570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54572         [BZ #13840]
54573         * math/libm-test.inc (hypot_test): Add more tests.
54575 2012-03-13  David S. Miller  <davem@davemloft.net>
54577         [BZ #13840]
54578         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54579         double-precision for the calculation instead of scaling.
54581 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54583         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54584         manipulate bits before adding and subtracting TWO52[sx].
54585         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54586         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54587         Likewise.
54588         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54590 2012-03-13  David S. Miller  <davem@davemloft.net>
54592         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54593         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54594         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54595         rtld-global-offsets.h
54596         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54598         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54599         large parameters.
54601         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54603         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54604         'err' in the ifdef scope in which it is actually used.
54606         * nss/nss_db/db-init.c: Include string.h
54608 2012-03-12  David S. Miller  <davem@davemloft.net>
54610         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54611         masking out of the most significant byte of random value used.
54612         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54613         Fix coding style in previous change.
54615         * sysdeps/unix/sysv/linux/kernel-features.h
54616         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54617         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54618         expression.
54619         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54620         later.
54622 2012-03-11  David S. Miller  <davem@davemloft.net>
54624         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54625         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54626         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54627         for 'resultvar' otherwise things get truncated on 64-bit.
54629         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54630         Fix masking out of the most significant byte of random value used.
54632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54634 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54638 2012-03-09  David S. Miller  <davem@davemloft.net>
54640         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54641         variables with appropriate CPP guards.
54642         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54643         from the frame pointer, not the stack pointer.  Correct layout
54644         comments.  Fix test on resulting framesize and the management of
54645         the outregs buffer for pltexit.  Preserve floating point return
54646         values across _dl_call_pltexit call.
54647         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54648         framesize and the management of the outregs buffer for pltexit.
54649         Preserve floating point return values across _dl_call_pltexit
54650         call.
54651         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54652         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54653         (la_sparc64_gnu_pltexit): New functions.
54654         (print_exit): Fix format string for return register value.
54656 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54658         * sunrpc/Makefile (others): Add rpcgen.
54659         ($(objpfx)rpcgen): Remove special build rule and dependency on
54660         libc.
54661         * sunrpc/rpcgen.c: New file.
54663 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54665         [BZ #13673]
54666         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54667         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54668         * sysdeps/i386/crti.S: Likewise.
54669         * sysdeps/i386/crtn.S: Likewise.
54670         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54671         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54672         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54673         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54674         * sysdeps/sh/crti.S: Likewise.
54675         * sysdeps/sh/crtn.S: Likewise.
54676         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54678         [BZ #13673]
54679         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54680         with URL.
54681         * locale/programs/locfile-kw.gperf: Likewise.
54682         * locale/programs/charmap-kw.h: Regenerated.
54683         * locale/programs/locfile-kw.h: Likewise.
54685         [BZ #13673]
54686         * intl/plural.y: Replace FSF snail mail address with URL.
54687         * intl/plural.c: Regenerated.
54689 2012-03-09  Richard Henderson  <rth@twiddle.net>
54691         * include/math_private.h: Remove file.
54692         * math/math_private.h: Move file ...
54693         * sysdeps/generic/math_private.h: ... here.
54695         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54696         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54697         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54699         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54700         and <math_private.h>.
54701         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54702         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54703         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54704         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54705         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54706         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54707         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54708         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54709         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54710         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54712         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54713         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54714         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54715         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54716         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54717         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54718         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54719         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54720         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54721         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54722         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54723         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54724         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54725         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54726         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54727         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54728         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54729         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54730         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54731         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54732         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54733         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54734         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54735         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54736         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54737         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54738         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54739         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54740         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54741         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54742         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54743         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54744         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54745         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54746         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54747         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54748         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54749         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54750         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54751         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54752         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54753         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54754         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54755         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54756         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54757         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54758         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54759         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54760         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54761         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54762         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54763         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54764         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54765         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54766         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54767         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54768         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54769         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54770         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54771         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54772         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54773         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54774         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54775         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54776         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54777         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54779         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54780         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54781         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54782         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54783         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54784         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54785         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54787         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54788         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54789         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54790         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54791         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54792         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54793         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54794         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54795         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54796         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54797         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54798         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54799         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54800         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54801         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54802         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54803         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54804         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54805         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54806         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54807         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54808         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54809         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54810         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54811         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54812         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54813         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54814         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54815         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54816         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54817         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54818         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54819         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54820         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54821         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54822         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54823         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54824         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54825         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54826         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54827         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54828         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54829         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54830         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54831         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54832         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54833         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54834         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54835         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54836         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54837         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54838         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54839         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54840         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54841         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54842         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54843         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54844         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54845         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54846         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54847         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54848         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54849         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54850         * sysdeps/ieee754/k_standard.c: Likewise.
54851         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54852         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54853         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54854         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54855         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54856         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54857         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54858         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54859         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54860         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54861         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54862         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54863         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54864         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54865         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54866         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54867         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54868         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54869         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54870         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54871         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54872         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54873         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54874         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54875         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54876         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54877         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54878         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54879         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54880         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54881         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54882         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54883         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54884         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54885         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54886         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54887         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54888         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54889         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54890         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54891         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54892         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54893         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54894         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54895         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54896         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54897         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54898         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54899         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54900         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54901         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54902         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54903         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54904         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54905         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54906         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54907         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54908         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54909         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54910         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54911         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54912         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54913         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54914         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54915         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54916         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54917         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54918         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54919         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54920         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54921         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54922         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54923         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54924         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54925         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54926         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54927         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54928         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54929         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54930         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54931         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54932         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54933         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54934         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54935         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54936         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54937         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54938         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54939         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54940         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54941         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54942         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54943         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54944         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54945         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54946         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54947         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54948         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54949         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54950         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54951         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54952         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54953         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54954         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54955         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54956         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54957         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54958         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54959         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54960         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54961         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54962         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54963         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54964         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54965         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54966         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54967         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54968         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54969         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54970         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54971         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54972         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54973         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54974         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54975         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54976         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54977         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54978         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54979         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54980         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54981         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54982         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54983         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54984         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54985         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54986         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54987         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54988         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54989         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54990         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54991         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54992         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54993         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54994         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54995         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54996         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54997         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54998         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54999         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55000         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55001         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55002         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55003         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55004         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55005         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55006         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55007         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55008         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55009         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55010         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55011         * sysdeps/ieee754/s_lib_version.c: Likewise.
55012         * sysdeps/ieee754/s_matherr.c: Likewise.
55013         * sysdeps/ieee754/s_signgam.c: Likewise.
55014         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55015         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55016         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55017         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55018         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55019         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55020         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55021         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55022         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55023         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55024         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55025         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55026         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55027         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55028         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55029         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55030         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55031         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55032         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55033         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55034         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55036 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55038         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55039         * sunrpc/rpc_main.c: Likewise.
55040         * sunrpc/rpc_svcout.c: Likewise.
55042 2012-03-09  David S. Miller  <davem@davemloft.net>
55044         * include/math_private.h: New file.
55046 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55048         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55049         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55050         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55051         from <bits/socket_type.h>.
55052         (enum __socket_type): Don't define here.
55053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55055         bits/socket_type.h.
55057         [BZ #13566]
55058         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55059         checking __USE_GNU.
55061         * Makerules ($(inst_includedir)/%.h): New rule.
55062         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55063         (install-others): Remove variable setting.
55064         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55066 2012-03-08  Richard Henderson  <rth@twiddle.net>
55068         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55069         from macro to inline function; merge with the
55070         !__LIBC_INTERNAL_MATH_INLINES version.
55071         (__ieee754_sqrtf): Likewise.
55073         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55074         to inline function.
55075         (__rintf, __floor, __floorf): Likewise.
55077         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55078         macro to inline function.
55079         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55081         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55082         not <math/math_private.h>.
55084 2012-03-08  David S. Miller  <davem@davemloft.net>
55086         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55087         copyright year.
55088         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55090 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55092         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55093         normalization.
55094         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55095         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55097 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55099         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55100         be defined individually, they must be defined as a block.  Define
55101         S for printing a string instead of hidint the different by using a
55102         macro for adding the 'l'.
55103         * stdio-common/tst-fphex-wide.c: Adjust.
55105 2012-03-07  Marek Polacek  <polacek@redhat.com>
55107         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55109 2012-03-08  Marek Polacek  <polacek@redhat.com>
55111         [BZ #13806]
55112         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55113         * stdio-common/tst-fphex.c: Define a few macros to make the
55114         test reusable.  Use them.
55115         * stdio-common/tst-fphex-wide.c: New file.
55117 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55119         [BZ #6911]
55120         * manual/macros.texi (gnusystems): New macro.
55121         (nongnusystems): Likewise.
55122         (gnulinuxhurdsystems): Likewise.
55123         (gnuhurdsystems): Likewise..
55124         (gnulinuxsystems): Likewise.
55125         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55126         variants of the GNU system, not "GNU system".
55127         * manual/conf.texi: Likewise.
55128         * manual/errno.texi: Likewise.  Update example of errno macro
55129         expansion.
55130         * manual/filesys.texi: Likewise.
55131         (getumask): Document as specific to GNU/Hurd.
55132         * manual/install.texi: Likewise.  Reword some references to
55133         GNU/Linux.
55134         * manual/intro.texi: Likewise.
55135         * manual/io.texi: Likewise.
55136         (File Name Portability): Detail which constraints are inapplicable
55137         to all GNU systems and which are only inapplicable to GNU/Hurd.
55138         * manual/job.texi: Likewise.
55139         * manual/llio.texi: Likewise.
55140         (O_NOCTTY): Document as present on GNU/Linux.
55141         * manual/maint.texi: Likewise.
55142         * manual/memory.texi: Likewise.
55143         * manual/pattern.texi: Likewise.
55144         * manual/pipe.texi: Likewise.
55145         * manual/process.texi: Likewise.
55146         * manual/resource.texi: Likewise.
55147         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55148         child on GNU/Hurd.
55149         * manual/setjmp.texi: Likewise.
55150         * manual/signal.texi: Likewise.
55151         * manual/startup.texi: Likewise.
55152         * manual/stdio.texi: Likewise.
55153         * manual/terminal.texi: Likewise.
55154         (ONLCR): Document as POSIX.
55155         (OXTABS): Document availability on GNU/Linux as XTABS.
55156         (ONOEOT): Document availability separately from other bits.
55157         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55158         * manual/time.texi: Likewise.
55159         * manual/users.texi: Likewise.
55160         * INSTALL: Regenerated.
55161         * sysdeps/gnu/errlist.c: Regenerated.
55163         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55164         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55165         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55166         puts.
55167         * configure: Regenerated.
55169 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55171         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55172         default includes instead of AC_HEADER_CHECK.
55173         * sysdeps/i386/configure: Regenerated.
55175         [BZ #10716]
55176         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55177         * math/s_cacoshf.c (__cacoshf): Likewise.
55178         * math/s_cacoshl.c (__cacoshl): Likewise.
55179         * math/s_casinh.c (__casinh): Set signs of result from argument.
55180         * math/s_casinhf.c (__casinhf): Likewise.
55181         * math/s_casinhl.c (__casinhl): Likewise.
55182         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55183         (casinh_test): Add more tests.
55184         * sysdeps/i386/fpu/libm-test-ulps: Update.
55185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55187 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55189         * po/zh_TW.po: Update from translation team.
55191         * login/Makefile (distribute): Remove variable.
55192         * catgets/Makefile: Likewise.
55193         * mach/Makefile: Likewise.
55194         * malloc/Makefile: Likewise.
55195         * misc/Makefile: Likewise.
55196         * iconv/Makefile: Likewise.
55197         * nscd/Makefile: Likewise.
55198         * hurd/Makefile: Likewise.
55199         * manual/Makefile: Likewise.
55200         * locale/Makefile: Likewise.
55201         * intl/Makefile: Likewise.
55202         * conform/Makefile: Likewise.
55203         * nss/Makefile: Likewise.
55204         * time/Makefile: Likewise.
55205         * soft-fp/Makefile: Likewise.
55206         * dirent/Makefile: Likewise.
55207         * gmon/Makefile: Likewise.
55208         * po/Makefile: Likewise.
55209         * rt/Makefile: Likewise.
55210         * socket/Makefile: Likewise.
55211         * math/Makefile: Likewise.
55212         * signal/Makefile: Likewise.
55213         * debug/Makefile: Likewise.
55214         * elf/Makefile: Likewise.
55215         * timezone/Makefile: Likewise.
55216         * stdlib/Makefile: Likewise.
55217         * iconvdata/Makefile: Likewise.
55218         * sunrpc/Makefile: Likewise.
55219         * io/Makefile: Likewise.
55220         * argp/Makefile: Likewise.
55221         * inet/Makefile: Likewise.
55222         * hesiod/Makefile: Likewise.
55223         * grp/Makefile: Likewise.
55224         * csu/Makefile: Likewise.
55225         * wctype/Makefile: Likewise.
55226         * crypt/Makefile: Likewise.
55227         * libio/Makefile: Likewise.
55228         * string/Makefile: Likewise.
55229         * nis/Makefile: Likewise.
55230         * resolv/Makefile: Likewise.
55231         * stdio-common/Makefile: Likewise.
55232         * wcsmbs/Makefile: Likewise.
55233         * dlfcn/Makefile: Likewise.
55234         * posix/Makefile: Likewise.
55236         [BZ #6959]
55237         * timezone/Makefile: Don't install timezone files, just the programs
55238         and scripts.
55240 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55242         * nss/databases.def: Add missing gshadow entry.
55244         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55246 2012-03-06  Marek Polacek  <polacek@redhat.com>
55248         [BZ #13726]
55249         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55250         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55251         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55252         * stdio-common/tst-long-dbl-fphex.c: New file.
55254 2012-03-06  David S. Miller  <davem@davemloft.net>
55256         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55257         (set_obp_int): New function.
55258         (get_obp_int): New function.
55259         (__get_clockfreq_via_dev_openprom): Likewise.
55260         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55261         Avoid unused variable warnings on 'val' and use builtin_expect.
55262         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55263         __builtin_expect.
55264         (INLINE_CLONE_SYSCALL): Likewise.
55266 2012-03-05  David S. Miller  <davem@davemloft.net>
55268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55270 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55274         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55275         only for |x| >= 40.
55276         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55278 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55280         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55281         Replace gettimeofday with __vdso_gettimeofday.
55283         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55284         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55285         __vdso_clock_gettime and __vdso_getcpu.
55287         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55288         time with __vdso_time.
55290 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55292         * manual/lang.texi (size_t): Note types to which size_t may be
55293         equivalent with the GNU C Library, but do not describe when
55294         differences between them are significant.
55296 2012-03-05  Andreas Jaeger  <aj@suse.de>
55298         * sysdeps/i386/fpu/libm-test-ulps: Update.
55300 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55302         [BZ #3976]
55303         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55304         (__ieee754_pow): Save and restore rounding mode and use
55305         round-to-nearest for main computations.
55306         * math/libm-test.inc (pow_test_tonearest): New function.
55307         (pow_test_towardzero): Likewise.
55308         (pow_test_downward): Likewise.
55309         (pow_test_upward): Likewise.
55310         (main): Call the new functions.
55311         * sysdeps/i386/fpu/libm-test-ulps: Update.
55312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55314         [BZ #3976]
55315         * math/libm-test.inc (cosh_test_tonearest): New function.
55316         (cosh_test_towardzero): Likewise.
55317         (cosh_test_downward): Likewise.
55318         (cosh_test_upward): Likewise.
55319         (sinh_test_tonearest): Likewise.
55320         (sinh_test_towardzero): Likewise.
55321         (sinh_test_downward): Likewise.
55322         (sinh_test_upward): Likewise.
55323         (main): Call the new functions.
55324         * sysdeps/i386/fpu/libm-test-ulps: Update.
55325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55327 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55329         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55330         default stack guard is set in last bytes.
55331         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55333 2012-03-05  Kees Cook  <keescook@chromium.org>
55335         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55337         [BZ #13656]
55338         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55339         possibly allocate from heap instead of stack.
55340         * stdio-common/bug-vfprintf-nargs.c: New file.
55341         * stdio-common/Makefile (tests): Add nargs overflow test.
55343 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55347 2012-03-03  Marek Polacek  <polacek@redhat.com>
55349         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55350         * math/math_private.h: Likewise.
55351         * stdlib/tst-strtod.c: Likewise.
55352         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55353         * sysdeps/x86_64/bits/atomic.h: Likewise.
55355 2012-03-02  David S. Miller  <davem@davemloft.net>
55357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55361         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55362         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55363         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55364         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55366 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55368         [BZ #13792]
55369         * manual/examples/README: New file, says the example source files
55370         can be used under GPL>=2.
55371         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55372         line containing just "*/".
55373         * manual/examples/add.c: Add copyright header (GPL>=2).
55374         * manual/examples/argp-ex1.c: Likewise.
55375         * manual/examples/argp-ex2.c: Likewise.
55376         * manual/examples/argp-ex3.c: Likewise.
55377         * manual/examples/argp-ex4.c: Likewise.
55378         * manual/examples/atexit.c: Likewise.
55379         * manual/examples/db.c: Likewise.
55380         * manual/examples/dir.c: Likewise.
55381         * manual/examples/dir2.c: Likewise.
55382         * manual/examples/execinfo.c: Likewise.
55383         * manual/examples/filecli.c: Likewise.
55384         * manual/examples/filesrv.c: Likewise.
55385         * manual/examples/fmtmsgexpl.c: Likewise.
55386         * manual/examples/genpass.c: Likewise.
55387         * manual/examples/inetcli.c: Likewise.
55388         * manual/examples/inetsrv.c: Likewise.
55389         * manual/examples/isockad.c: Likewise.
55390         * manual/examples/longopt.c: Likewise.
55391         * manual/examples/memopen.c: Likewise.
55392         * manual/examples/memstrm.c: Likewise.
55393         * manual/examples/mkfsock.c: Likewise.
55394         * manual/examples/mkisock.c: Likewise.
55395         * manual/examples/mygetpass.c: Likewise.
55396         * manual/examples/pipe.c: Likewise.
55397         * manual/examples/popen.c: Likewise.
55398         * manual/examples/rprintf.c: Likewise.
55399         * manual/examples/search.c: Likewise.
55400         * manual/examples/select.c: Likewise.
55401         * manual/examples/setjmp.c: Likewise.
55402         * manual/examples/sigh1.c: Likewise.
55403         * manual/examples/sigusr.c: Likewise.
55404         * manual/examples/stpcpy.c: Likewise.
55405         * manual/examples/strdupa.c: Likewise.
55406         * manual/examples/strftim.c: Likewise.
55407         * manual/examples/strncat.c: Likewise.
55408         * manual/examples/subopt.c: Likewise.
55409         * manual/examples/swapcontext.c: Likewise.
55410         * manual/examples/termios.c: Likewise.
55411         * manual/examples/testopt.c: Likewise.
55412         * manual/examples/testpass.c: Likewise.
55413         * manual/examples/timeval_subtract.c: Likewise.
55415         [BZ #13792]
55416         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55417         function to ...
55418         * manual/timeval_subtract.c.texi: ... here, new file.
55420 2012-03-02  David S. Miller  <davem@davemloft.net>
55422         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55424 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55426         [BZ #3976]
55427         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55428         (__sin): Save and restore rounding mode and use round-to-nearest
55429         for all computations.
55430         (__cos): Save and restore rounding mode and use round-to-nearest
55431         for all computations.
55432         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55433         <fenv.h>.
55434         (tan): Save and restore rounding mode and use round-to-nearest for
55435         all computations.
55436         * math/libm-test.inc (cos_test_tonearest): New function.
55437         (cos_test_towardzero): Likewise.
55438         (cos_test_downward): Likewise.
55439         (cos_test_upward): Likewise.
55440         (sin_test_tonearest): Likewise.
55441         (sin_test_towardzero): Likewise.
55442         (sin_test_downward): Likewise.
55443         (sin_test_upward): Likewise.
55444         (tan_test_tonearest): Likewise.
55445         (tan_test_towardzero): Likewise.
55446         (tan_test_downward): Likewise.
55447         (tan_test_upward): Likewise.
55448         (main): Call the new functions.
55449         * sysdeps/i386/fpu/libm-test-ulps: Update.
55450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55452         [BZ #10135]
55453         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55454         small n, then large n, before computing and testing k+n.
55455         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55456         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55457         Likewise.
55458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55459         Likewise.
55460         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55461         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55462         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55463         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55464         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55465         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55466         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55467         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55468         * math/libm-test.inc (scalbn_test): Add more tests.
55469         (scalbln_test): Likewise.
55471         * manual/filesys.texi (mode_t): Describe constraints on size and
55472         signedness, not exact equivalence to a particular type.
55473         (ino_t): Likewise.
55474         (ino64_t): Likewise.
55475         (dev_t): Likewise.
55476         (nlink_t): Likewise.
55477         (blkcnt_t): Likewise.
55478         (blkcnt64_t): Likewise.
55479         * manual/llio.texi (off_t): Likewise.
55481         [BZ #3976]
55482         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55483         (__ieee754_exp): Save and restore rounding mode and use
55484         round-to-nearest for all computations.
55485         * math/libm-test.inc (exp_test_tonearest): New function.
55486         (exp_test_towardzero): Likewise.
55487         (exp_test_downward): Likewise.
55488         (exp_test_upward): Likewise.
55489         (main): Call the new functions.
55490         * sysdeps/i386/fpu/libm-test-ulps: Update.
55491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55493 2012-03-01  Chris Demetriou  <cgd@google.com>
55495         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55496         have predictable order.
55498 2012-03-01  David S. Miller  <davem@davemloft.net>
55500         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55502         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55503         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55504         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55505         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55507         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55508         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55509         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55511         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55512         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55513         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55514         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55515         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55519         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55520         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55521         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55523         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55524         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55525         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55526         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55527         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55528         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55529         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55530         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55531         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55532         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55533         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55534         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55535         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55536         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55537         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55538         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55539         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55540         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55541         * sysdeps/sparc/elf/configure: Regenerated.
55543 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55545         * configure.in (AS, LD): Require binutils 2.20 or later.
55546         * configure: Regenerated.
55547         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55548         as required minimum version.
55549         * INSTALL: Regenerated.
55551         [BZ #2541]
55552         [BZ #4108]
55553         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55554         before squaring exponent.
55555         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55556         bottom long double and 27 bits of top long double before squaring
55557         exponent.
55558         * math/libm-test.inc (erfc_test): Add more tests.
55559         * sysdeps/i386/fpu/libm-test-ulps: Update.
55560         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55563 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55565         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55566         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55567         containing bit-fields.
55568         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55569         * soft-fp/single.h (_FP_UNION_S): Likewise.
55570         * soft-fp/double.h (_FP_UNION_D): Likewise.
55572 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55574         [BZ #13786]
55575         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55576         not include ../strcmp.S.
55577         [USE_AS_STRNCASECMP_L]: Likewise.
55578         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55579         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55580         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55581         (__strncasecmp_l_ia32): Define as alias to
55582         __strncasecmp_l_nonascii.
55584         [BZ #5794]
55585         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55586         * sysdeps/i386/fpu/libm-test-ulps: Update.
55587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55589         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55592 2012-02-29  Jeff Law  <law@redhat.com>
55594         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55595         out of bounds read.
55597 2012-02-29  Marek Polacek  <polacek@redhat.com>
55599         [BZ #13706]
55600         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55601         * elf/Makefile: Add rules to run tst-unused-dep.out.
55603 2012-02-28  David S. Miller  <davem@davemloft.net>
55605         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55606         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55607         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55608         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55609         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55610         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55612 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55614         * math/libm-test.inc (llround_test): Move one test from
55615         lround_test.  Use TEST_f_L in moved test.
55616         (lround_test): Move misplaced test to llround_test.  Add testcase
55617         from bug 2561.
55619 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55621         * sysdeps/x86_64/fpu/e_expf.S: New file.
55622         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55624 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55626         [BZ #13637]
55627         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55628         of remain_len that may cause incomplete multi-byte character and
55629         false match.
55630         * posix/bug-regex33.c: New file.
55631         * posix/Makefile (tests): Add bug-regex33.
55633 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55635         * manual/macros.texi: New file.
55636         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55637         * manual/libc.texinfo: Include macros.texi.
55638         * manual/creatute.texi: Likewise.
55639         * manual/install.texi: Likewise.
55640         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55641         @glibcadj{} in references to the GNU C Library.
55642         * manual/charset.texi: Likewise.
55643         * manual/conf.texi: Likewise.
55644         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55645         when not using those macros.
55646         * manual/creature.texi: Likewise.
55647         * manual/crypt.texi: Likewise.
55648         * manual/errno.texi: Likewise.
55649         * manual/filesys.texi: Likewise.
55650         * manual/header.texi: Likewise.
55651         * manual/install.texi: Likewise.
55652         * manual/intro.texi: Likewise.
55653         * manual/io.texi: Likewise.
55654         * manual/job.texi: Likewise.
55655         * manual/lang.texi: Likewise.
55656         * manual/libc.texiinfo: Likewise.
55657         * manual/llio.texi: Likewise.
55658         * manual/locale.texi: Likewise.
55659         * manual/maint.texi: Likewise.
55660         * manual/math.texi: Likewise.
55661         * manual/memory.texi: Likewise.
55662         * manual/message.texi: Likewise.
55663         * manual/nss.texi: Likewise.
55664         * manual/pattern.texi: Likewise.
55665         * manual/process.texi: Likewise.
55666         * manual/resource.texi: Likewise.
55667         * manual/search.texi: Likewise.
55668         * manual/setjmp.texi: Likewise.
55669         * manual/signal.texi: Likewise.
55670         * manual/socket.texi: Likewise.
55671         * manual/startup.texi: Likewise.
55672         * manual/stdio.texi: Likewise.
55673         * manual/string.texi: Likewise.
55674         * manual/sysinfo.texi: Likewise.
55675         * manual/syslog.texi: Likewise.
55676         * manual/terminal.texi: Likewise.
55677         * manual/time.texi: Likewise.
55678         * manual/users.texi: Likewise.
55679         * INSTALL: Regenerated.
55680         * NOTES: Regenerated.
55681         * sysdeps/gnu/errlist.c: Regenerated.
55683 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55685         * include/dirent.h: Include <dirstream.h> before
55686         <dirent/dirent.h>.
55688 2012-02-28  David S. Miller  <davem@davemloft.net>
55690         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55691         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55692         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55693         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55695 2012-02-27  David S. Miller  <davem@davemloft.net>
55697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55699         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55700         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55703         frame pointer instead of stack pointer relative arg slot.
55704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55705         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55706         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55708 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55710         [BZ #3992]
55711         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55713 2012-02-27  David S. Miller  <davem@davemloft.net>
55715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55719         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55720         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55721         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55722         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55724 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55726         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55727         later.  Allow versions 5-9.
55728         * configure: Regenerated.
55729         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55730         required minimum version and 4.6 as recommended version.  Do not
55731         mention bugs in GCC 2.7 and 2.8.
55732         * INSTALL: Regenerated.
55734 2012-02-27  David S. Miller  <davem@davemloft.net>
55736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55740         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55741         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55742         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55743         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55745         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55746         manipulate bits before adding and subtracting TWO112[sx].
55747         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55749 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55751         [BZ #13775]
55752         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55753         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55754         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55755         being in POSIX, because they are in 1003.1-2008.
55757         * rt/tst-aio.c: Include <fcntl.h>.
55758         * rt/tst-aio7.c: Likewise.
55759         * rt/tst-aio64.c: Likewise.
55761         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55763 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55765         * manual/install.texi (--with-headers): Describe headers as
55766         interface headers, not private headers.
55767         (Specific advice for GNU/Linux systems): Describe use of headers
55768         from "make headers_install", not private headers from older
55769         kernels.
55770         * INSTALL: Regenerated.
55771         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55772         Change to 2.6.19.
55773         * sysdeps/unix/sysv/linux/configure: Regenerated.
55775         * manual/llio.texi (fclean): Remove documentation.
55777         * manual/Makefile (libc-texi-generated): New variable.  Include
55778         version.texi.
55779         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55780         $(libc-texi-generated), not duplicated list of files.
55781         (version.texi, stamp-version): New rules.
55782         (realclean): Remove $(libc-texi-generated), not individual files
55783         from that list.  Do not remove dir-add.texinfo.
55784         * manual/libc.texinfo: Comment out uses of edition numbers and
55785         references to printed manual.  Remove last-updated dates.
55786         (EDITION): Comment out.
55787         (ISBN): Likewise.
55788         (VERSION, UPDATED): Remove.
55789         (version.texi): Include.
55791 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55793         * sysdeps/posix/spawni.c: Include <signal.h>.
55794         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55795         * sysdeps/pthread/aio_fsync.c: Likewise.
55797 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55799         * conform/Makefile (tests): Run only when not cross-compiling and
55800         when fast-check is not defined.
55802         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55803         * conform/data/limits.h-data: Fixes for POSIX2008.
55804         * conform/run-conformtest.sh: Run all tests.
55805         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55806         headers.
55807         * include/bits/dlfcn.h: Likewise.
55808         * include/langinfo.h: Likewise.
55809         * include/monetary.h: Likewise.
55810         * include/sys/poll.h: Likewise.
55812         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55813         for __USE_GNU.
55814         * posix/spawn.h: Define __need_sigset_t.
55815         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55816         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55817         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55818         to get sigevent_t only.
55819         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55820         only for __USE_GNU.
55821         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55822         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55823         process_vm_writev only for __USE_GNU.
55824         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55826         * conform/Makefile: For now ignore errors from run-conformtest.
55827         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55828         POSIX to avoid namespace pollution.  Don't prepend headers.
55829         * conform/data/aio.h-data: Fixes for POSIX testing.
55830         * conform/data/fcntl.h-data: Likewise.
55831         * conform/data/glob.h-data: Likewise.
55832         * conform/data/grp.h-data: Likewise.
55833         * conform/data/pthread.h-data: Likewise.
55834         * conform/data/pwd.h-data: Likewise.
55835         * conform/data/signal.h-data: Likewise.
55836         * conform/data/spawn.h-data: Likewise.
55837         * conform/data/stdio.h-data: Likewise.
55838         * conform/data/stdlib.h-data: Likewise.
55839         * conform/data/stropts.h-data: Likewise.
55840         * conform/data/sys/mman.h-data: Likewise.
55841         * conform/data/sys/stat.h-data: Likewise.
55842         * conform/data/sys/types.h-data: Likewise.
55843         * conform/data/sys/wait.h-data: Likewise.
55844         * conform/data/time.h-data: Likewise.
55845         * conform/data/unistd.h-data: Likewise.
55846         * conform/data/utime.h-data: Likewise.
55848         * io/sys/stat.h: fchmod was always in POSIX.
55849         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55850         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55851         * rt/aio.h: Define __need_timespec before including <time.h>.
55852         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55853         struct.  Add forward declaration of pthread_attr_t and use it in
55854         sigevent.
55855         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55856         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55857         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55858         always remove CLK_TCK definition.
55860 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55862         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55864 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55866         * conform/run-conformtest.sh: New file.
55867         * conform/Makefile: Run run-conformtest for tests.
55868         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55869         support.
55871         * conform/data/uchar.h-data: New file.
55872         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55873         * conform/data/arpa/inet.h-data: Likewise.
55874         * conform/data/assert.h-data: Likewise.
55875         * conform/data/complex.h-data: Likewise.
55876         * conform/data/cpio.h-data: Likewise.
55877         * conform/data/ctype.h-data: Likewise.
55878         * conform/data/dirent.h-data: Likewise.
55879         * conform/data/dlfcn.h-data: Likewise.
55880         * conform/data/errno.h-data: Likewise.
55881         * conform/data/fcntl.h-data: Likewise.
55882         * conform/data/float.h-data: Likewise.
55883         * conform/data/fmtmsg.h-data: Likewise.
55884         * conform/data/fnmatch.h-data: Likewise.
55885         * conform/data/ftw.h-data: Likewise.
55886         * conform/data/glob.h-data: Likewise.
55887         * conform/data/grp.h-data: Likewise.
55888         * conform/data/iconv.h-data: Likewise.
55889         * conform/data/inttypes.h-data: Likewise.
55890         * conform/data/langinfo.h-data: Likewise.
55891         * conform/data/libgen.h-data: Likewise.
55892         * conform/data/limits.h-data: Likewise.
55893         * conform/data/locale.h-data: Likewise.
55894         * conform/data/math.h-data: Likewise.
55895         * conform/data/monetary.h-data: Likewise.
55896         * conform/data/mqueue.h-data: Likewise.
55897         * conform/data/ndbm.h-data: Likewise.
55898         * conform/data/net/if.h-data: Likewise.
55899         * conform/data/netdb.h-data: Likewise.
55900         * conform/data/netinet/in.h-data: Likewise.
55901         * conform/data/nl_types.h-data: Likewise.
55902         * conform/data/poll.h-data: Likewise.
55903         * conform/data/pthread.h-data: Likewise.
55904         * conform/data/pwd.h-data: Likewise.
55905         * conform/data/regex.h-data: Likewise.
55906         * conform/data/sched.h-data: Likewise.
55907         * conform/data/search.h-data: Likewise.
55908         * conform/data/semaphore.h-data: Likewise.
55909         * conform/data/setjmp.h-data: Likewise.
55910         * conform/data/signal.h-data: Likewise.
55911         * conform/data/spawn.h-data: Likewise.
55912         * conform/data/stdarg.h-data: Likewise.
55913         * conform/data/stdio.h-data: Likewise.
55914         * conform/data/stdlib.h-data: Likewise.
55915         * conform/data/string.h-data: Likewise.
55916         * conform/data/strings.h-data: Likewise.
55917         * conform/data/stropts.h-data: Likewise.
55918         * conform/data/sys/ipc.h-data: Likewise.
55919         * conform/data/sys/mman.h-data: Likewise.
55920         * conform/data/sys/msg.h-data: Likewise.
55921         * conform/data/sys/resource.h-data: Likewise.
55922         * conform/data/sys/select.h-data: Likewise.
55923         * conform/data/sys/sem.h-data: Likewise.
55924         * conform/data/sys/shm.h-data: Likewise.
55925         * conform/data/sys/socket.h-data: Likewise.
55926         * conform/data/sys/stat.h-data: Likewise.
55927         * conform/data/sys/statvfs.h-data: Likewise.
55928         * conform/data/sys/time.h-data: Likewise.
55929         * conform/data/sys/timeb.h-data: Likewise.
55930         * conform/data/sys/times.h-data: Likewise.
55931         * conform/data/sys/types.h-data: Likewise.
55932         * conform/data/sys/uio.h-data: Likewise.
55933         * conform/data/sys/un.h-data: Likewise.
55934         * conform/data/sys/utsname.h-data: Likewise.
55935         * conform/data/sys/wait.h-data: Likewise.
55936         * conform/data/syslog.h-data: Likewise.
55937         * conform/data/tar.h-data: Likewise.
55938         * conform/data/termios.h-data: Likewise.
55939         * conform/data/utime.h-data: Likewise.
55940         * conform/data/utmpx.h-data: Likewise.
55941         * conform/data/varargs.h-data: Likewise.
55942         * conform/data/wchar.h-data: Likewise.
55943         * conform/data/wctype.h-data: Likewise.
55944         * conform/data/wordexp.h-data: Likewise.
55946         * include/stropts.h: New file.
55947         * include/uchar.h: New file.
55948         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55949         * include/assert.h: Likewise.
55950         * include/ctype.h: Likewise.
55951         * include/dirent.h: Likewise.
55952         * include/dlfcn.h: Likewise.
55953         * include/fcntl.h: Likewise.
55954         * include/fnmatch.h: Likewise.
55955         * include/glob.h: Likewise.
55956         * include/grp.h: Likewise.
55957         * include/libio.h: Likewise.
55958         * include/locale.h: Likewise.
55959         * include/math.h: Likewise.
55960         * include/net/if.h: Likewise.
55961         * include/netdb.h: Likewise.
55962         * include/netinet/in.h: Likewise.
55963         * include/pthread.h: Likewise.
55964         * include/pwd.h: Likewise.
55965         * include/regex.h: Likewise.
55966         * include/sched.h: Likewise.
55967         * include/search.h: Likewise.
55968         * include/setjmp.h: Likewise.
55969         * include/signal.h: Likewise.
55970         * include/stdio.h: Likewise.
55971         * include/stdlib.h: Likewise.
55972         * include/string.h: Likewise.
55973         * include/sys/cdefs.h: Likewise.
55974         * include/sys/mman.h: Likewise.
55975         * include/sys/msg.h: Likewise.
55976         * include/sys/resource.h: Likewise.
55977         * include/sys/select.h: Likewise.
55978         * include/sys/socket.h: Likewise.
55979         * include/sys/stat.h: Likewise.
55980         * include/sys/statvfs.h: Likewise.
55981         * include/sys/time.h: Likewise.
55982         * include/sys/times.h: Likewise.
55983         * include/sys/uio.h: Likewise.
55984         * include/sys/utsname.h: Likewise.
55985         * include/sys/wait.h: Likewise.
55986         * include/termios.h: Likewise.
55987         * include/time.h: Likewise.
55988         * include/ulimit.h: Likewise.
55989         * include/unistd.h: Likewise.
55990         * include/utime.h: Likewise.
55991         * include/wchar.h: Likewise.
55992         * include/wctype.h: Likewise.
55993         * include/wordexp.h: Likewise.
55995         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55997         * time/time.h: TIME_UTC must be a macro.
55998         Make timespec_get available for ISO C11 only as well.
56000 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
56002         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56003         Reported by Peng Haitao <penght@cn.fujitsu.com>.
56005 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56007         * configure.in: Use -o not -a in test for unsupported multi-arch.
56009 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56011         * manual/texinfo.tex: Update to version 2012-01-19.16.
56013 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56015         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56017 2012-02-24  Roland McGrath  <roland@hack.frob.com>
56019         [BZ #13738]
56020         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56021         * manual/fdl-1.3.texi: New file.
56022         * manual/fdl-1.1.texi: File removed.
56024         [BZ #13738]
56025         * manual/libc.texinfo (FDL_VERSION): New @set.
56026         Use it for mention of FDL in cover text.
56027         (Documentation License): Use it in @include file name.
56029 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56030             Roland McGrath  <roland@hack.frob.com>
56032         [BZ #5461]
56033         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56034         (not LONG_LONG_MAX and LONG_LONG_MIN.
56035         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56036         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56037         name.
56038         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56040 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56042         [BZ #2547]
56043         [BZ #11365]
56044         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56045         manipulate bits before adding and subtracting TWO23[sx].
56046         * math/libm-test.inc (nearbyint_test): Add more tests.
56048 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56050         [BZ #2548]
56051         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56052         bits before adding and subtracting TWO23[sx].
56053         * math/libm-test.inc (rint_test): Add more tests.
56054         (rint_test_tonearest): Likewise.
56055         (rint_test_towardzero): Likewise.
56056         (rint_test_downward): Likewise.
56057         (rint_test_upward: Likewise.
56059 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56061         [BZ #10110]
56062         * include/stdc-predef.h: New file.  Extracted from features.h.
56063         * include/features.h: Include stdc-predef.h.
56064         * Makefile (headers): Add stdc-predef.h.
56065         * CONFORMANCE (Compiler limitations): Update.
56067 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56069         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56071 2012-02-21  David S. Miller  <davem@davemloft.net>
56073         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56074         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56076 2012-02-20  David S. Miller  <davem@davemloft.net>
56078         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56079         using a normal save/restore sequence, rather than allocating a
56080         dummy stack frame just to store a frame pointer and restore.
56081         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56083 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56085         * manual/install.texi: Fix stray word in line-wrapped comment.
56087 2012-02-20  David S. Miller  <davem@davemloft.net>
56089         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56090         both binutils and gcc support GOTDATA.
56092         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56093         "rd %pc" in the PIC register setup sequences.
56095         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56096         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56097         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56098         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56099         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56100         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56101         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56102         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56103         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56104         (SYSCALL_ERROR_HANDLER): Likewise.
56105         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56106         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56107         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56108         (SYSCALL_ERROR_HANDLER): Likewise.
56110         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56111         (HAVE_GCC_GOTDATA): New.
56112         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56113         relocation support in both binutils and gcc.
56114         * sysdeps/sparc/elf/configure: Regenerate.
56116         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56117         * sysdeps/sparc/sparc32/elf/configure: Delete.
56118         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56119         * sysdeps/sparc/sparc64/elf/configure: Delete.
56120         * sysdeps/sparc/elf/configure.in: New file.
56121         * sysdeps/sparc/elf/configure: Generate.
56123         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56124         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56125         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56126         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56127         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56129 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56131         * manual/install.texi: Do not mention specific glibc version
56132         numbers.
56133         * manual/libc.texinfo (VERSION, UPDATED): Update.
56134         (@copying): Use @copyright{} and range of years.
56136 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56138         [BZ #13695]
56139         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56140         [crti.S not in sysdirs] (generated): Do not append.
56141         [crti.S not in sysdirs] (omit-deps): Likewise.
56142         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56143         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56144         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56145         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56146         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56147         Likewise.
56148         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56149         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56150         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56151         * csu/defs.awk: Remove file.
56152         * sysdeps/generic/initfini.c: Likewise.
56153         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56154         variable.
56155         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56156         Likewise.
56158 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56160         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56161         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56162         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56163         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56164         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56165         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56166         <bits/epoll.h>.
56167         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56168         (__EPOLL_PACKED): Define to empty if not defined by
56169         <bits/epoll.h>.
56170         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56171         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56172         bits/epoll.h.
56174 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56176         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56177         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56178         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56179         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56180         <bits/timerfd.h>.
56181         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56182         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56183         bits/timerfd.h.
56185 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56187         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56188         in C locale.
56189         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56190         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56191         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56194 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56196         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56197         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56199 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56201         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56202         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56203         defined.
56204         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56205         Likewise.
56206         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56207         entry for 2.16.
56209 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56211         * math/w_acos.c: Use non-signaling floating-point comparisons.
56212         * math/w_acosf.c: Likewise.
56213         * math/w_acosh.c: Likewise.
56214         * math/w_acoshf.c: Likewise.
56215         * math/w_acoshl.c: Likewise.
56216         * math/w_acosl.c: Likewise.
56217         * math/w_asin.c: Likewise.
56218         * math/w_asinf.c: Likewise.
56219         * math/w_asinl.c: Likewise.
56220         * math/w_atanh.c: Likewise.
56221         * math/w_atanhf.c: Likewise.
56222         * math/w_atanhl.c: Likewise.
56223         * math/w_exp2.c: Likewise.
56224         * math/w_exp2f.c: Likewise.
56225         * math/w_exp2l.c: Likewise.
56226         * math/w_j0.c: Likewise.
56227         * math/w_j0f.c: Likewise.
56228         * math/w_j0l.c: Likewise.
56229         * math/w_j1.c: Likewise.
56230         * math/w_j1f.c: Likewise.
56231         * math/w_j1l.c: Likewise.
56232         * math/w_jn.c: Likewise.
56233         * math/w_jnf.c: Likewise.
56234         * math/w_log.c: Likewise.
56235         * math/w_log10.c: Likewise.
56236         * math/w_log10f.c: Likewise.
56237         * math/w_log10l.c: Likewise.
56238         * math/w_log2.c: Likewise.
56239         * math/w_log2f.c: Likewise.
56240         * math/w_log2l.c: Likewise.
56241         * math/w_logf.c: Likewise.
56242         * math/w_logl.c: Likewise.
56243         * math/w_sqrt.c: Likewise.
56244         * math/w_sqrtf.c: Likewise.
56245         * math/w_sqrtl.c: Likewise.
56246         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56247         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56248         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56249         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56250         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56252 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56254         [BZ #9739]
56255         * manual/string.texi (strnlen): Use correct parameter name in
56256         equivalent expression.
56258 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56260         [BZ #11174]
56261         * manual/users.texi (seteuid): Consistently use neweuid for
56262         argument name.
56264 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56266         [BZ #13704]
56267         * manual/nss.texi (Services in the NSS configuration): Correct
56268         list of services in example configuration file.
56270 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56272         [BZ #11322]
56273         * manual/arith.texi: Remove statements about negative zero
56274         behaving identically to zero.
56276 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56278         [BZ #5993]
56279         * manual/install.texi: Do not document upgrading from libc5.
56281 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56283         [BZ #4596]
56284         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56286 2012-02-18  David S. Miller  <davem@davemloft.net>
56288         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56289         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56290         %o7 across the call.
56291         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56292         instead.
56293         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56294         SETUP_PIC_REG_LEAF.
56295         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56296         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56297         * sysdeps/sparc/crtn.S: Likewise.
56299 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56301         * aout/Makefile: Remove.
56303 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56305         [BZ #13058]
56306         * manual/examples/argp-ex1.c (main): Format definition in GNU
56307         style.
56308         * manual/examples/argp-ex2.c (main): Likewise.
56309         * manual/examples/argp-ex3.c (main): Likewise.
56310         * manual/examples/argp-ex4.c (main): Likewise.
56311         * manual/examples/longopt.c (main): Use new-style prototype
56312         definition.
56313         * manual/examples/strncat.c (main): Specify return type and use
56314         (void) for arguments.
56315         * manual/examples/subopt.c (main): Use char **argv argument.
56317 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56319         [BZ #5077]
56320         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56321         rounding modes.
56323 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56325         [BZ #6907]
56326         * manual/string.texi (strchr): Change when strchrnul is
56327         recommended.
56329 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56331         [BZ #174]
56332         * manual/locale.texi (setlocale): Document LOCPATH.
56334 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56336         [BZ #10210]
56337         * manual/process.texi (execle): Move @dots{} before last argument.
56339 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56341         [BZ #12047]
56342         * manual/charset.texi (Generic Charset Conversion): Fix typo
56343         (LC_TYPE -> LC_CTYPE).
56345 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56347         [BZ #5805]
56348         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56349         (scalbnf): Likewise.
56350         (scalbnl): Likewise.
56351         (scalbln): Likewise.
56352         (scalblnf): Likewise.
56353         (scalblnl): Likewise.
56354         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56355         (vwarnx): Likewise.
56356         (verr): Likewise.
56357         (verrx): Likewise.
56358         * manual/filesys.texi (telldir): Use braces around return type.
56359         * manual/llio.texi (mmap): Add space after comma.
56360         (mmap64): Likewise.
56361         * manual/math.texi (jn): Use @var{} on parameter names.
56362         (jnf): Likewise.
56363         (jnl): Likewise.
56364         (yn): Likewise.
56365         (ynf): Likewise.
56366         (ynl): Likewise.
56367         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56368         line.
56369         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56370         "...".
56371         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56372         (sched_get_priority_max): Likewise.
56373         * manual/signal.texi (sigvec): Add space after comma.
56374         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56375         names.
56376         (if_indextoname): Likewise.
56377         (if_freenameindex): Likewise.
56378         (sendto): Use ',' instead of '.' in prototype.
56379         * manual/startup.texi (syscall): Use @dots{} instead of literal
56380         "...".
56381         * manual/stdio.texi (__fpending): Separate initial words of
56382         paragraph from @deftypefun line.
56383         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56384         "...".
56385         (vsyslog): Use @var{} on parameter names.
56386         * manual/terminal.texi (stty): Use @var{} on parameter names.
56387         * manual/users.texi (getutmp): Use @var{} on parameter names.
56388         (getutmpx): Likewise.
56390 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56392         [BZ #6884]
56393         * manual/stdio.texi (fopen): Fix typos in description of
56394         ",ccs=STRING".
56396 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56398         [BZ #4026]
56399         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56400         get clock_id definition.
56402 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56404         [BZ #4822]
56405         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56406         (madvise): Cast every argument to void on its own.
56408 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56410         [BZ #9902]
56411         * manual/startup.texi (Exit Status): Fix typo.
56413 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56415         [BZ #10140]
56416         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56417         * manual/examples/argp-ex2.c: Likewise.
56418         * manual/examples/argp-ex3.c: Likewise.
56420 2012-02-16  Richard Henderson  <rth@redhat.com>
56422         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56423         * sysdeps/s390/s390-32/initfini.c: Remove.
56424         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56425         * sysdeps/s390/s390-64/initfini.c: Remove.
56427 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56429         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56430         compiler output for sysdeps/generic/initfini.c.
56431         * sysdeps/sh/elf/initfini.c: Remove file.
56433 2012-02-16  David S. Miller  <davem@davemloft.net>
56435         [BZ #11494]
56436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56438         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56439         * sysdeps/sparc/crti.S: New file.
56440         * sysdeps/sparc/crtn.S: New file.
56441         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56442         * sysdeps/sparc/sparc64/Makefile: Likewise.
56444 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56446         [BZ #3335]
56447         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56449 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56451         [BZ #4822]
56452         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56454         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56455         (write, read, close): Likewise.
56456         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56458 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56460         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56461         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56462         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56463         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56464         <bits/signalfd.h>.
56465         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56467         bits/signalfd.h.
56469 2012-02-14  Marek Polacek  <polacek@redhat.com>
56471         * sysdeps/x86_64/crti.S: New file.
56472         * sysdeps/x86_64/crtn.S: New file.
56473         * sysdeps/x86_64/elf/initfini.c: Remove file.
56475 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56477         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56478         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56479         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56480         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56481         <bits/inotify.h>.
56482         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56483         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56484         bits/inotify.h.
56486 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56488         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56489         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56490         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56491         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56492         <bits/eventfd.h>.
56493         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56494         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56495         bits/eventfd.h.
56497 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56499         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56500         __feraiseexcept instead of feraiseexcept.
56502         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56503         nanosleep invocations.
56504         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56505         strings, and add error checking for a nanosleep invocations.
56507 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56509         Replace FSF snail mail address with URLs, as per GNU coding standards.
56510         Most of the snail mail addresses were wrong anyway, and omitting
56511         them makes the source code easier to maintain.  Almost all of the
56512         changes are to license notices and to locale LC_IDENTIFICATION
56513         addresses, except for this one:
56514         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56515         not its snail mail address.
56517 2012-02-09  Richard Henderson  <rth@twiddle.net>
56519         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56520         of kernel-features.h.
56522         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56524 2012-02-08  Marek Polacek  <polacek@redhat.com>
56526         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56527         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56528         * sysdeps/gnu/_G_config.h: Likewise.
56529         * sysdeps/generic/_G_config.h: Likewise.
56531 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56533         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56534         tests.
56535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56537         * sysdeps/powerpc/powerpc32/crti.S: New file.
56538         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56539         * sysdeps/powerpc/powerpc64/crti.S: New file.
56540         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56542         * Makeconfig (have-initfini): Don't set.
56543         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56544         * configure.in (nopic_initfini): Don't substitute.
56545         * config.h.in (HAVE_INITFINI): Don't #undef.
56546         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56547         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56549 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56551         Support crti.S and crtn.S provided directly by architectures.
56552         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56553         [crti.S in sysdirs] (omit-deps): Likewise.
56554         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56555         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56556         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56557         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56558         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56559         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56560         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56561         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56562         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56563         compiler output for sysdeps/generic/initfini.c.
56564         * sysdeps/i386/elf/Makefile: Remove file.
56565         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56567 2012-02-07  Marek Polacek  <polacek@redhat.com>
56569         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56570         * sysdeps/gnu/_G_config.h: Likewise.
56571         * sysdeps/mach/hurd/_G_config.h: Likewise.
56573 2012-02-07  Marek Polacek  <polacek@redhat.com>
56575         * math/Makefile (tests): Add tst-CMPLX2.
56576         * math/tst-CMPLX2.c: New file.
56578 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56580         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56582         * math/libm-test.inc (jn_test): Add missing L suffix.
56584 2012-02-06  Marek Polacek  <polacek@redhat.com>
56586         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56587         * sysdeps/i386/fpu/e_powf.S: Likewise.
56588         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56589         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56590         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56591         * sysdeps/i386/fpu/e_pow.S: Likewise.
56592         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56593         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56594         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56595         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56596         * sysdeps/i386/fpu/e_log2.S: Likewise.
56597         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56598         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56599         * sysdeps/i386/fpu/e_powl.S: Likewise.
56600         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56601         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56602         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56603         * sysdeps/i386/fpu/e_logl.S: Likewise.
56604         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56605         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56606         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56607         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56608         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56609         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56610         * sysdeps/i386/fpu/e_log.S: Likewise.
56611         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56612         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56613         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56614         * sysdeps/i386/fpu/e_logf.S: Likewise.
56615         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56616         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56617         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56618         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56619         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56620         * sysdeps/i386/fpu/e_log10.S: Likewise.
56621         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56622         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56623         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56624         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56625         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56626         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56627         * sysdeps/i386/asm-syntax.h: Likewise.
56628         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56629         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56630         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56631         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56632         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56633         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56634         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56635         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56636         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56637         * sysdeps/powerpc/sysdep.h: Likewise.
56638         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56639         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56641 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56643         [BZ #411]
56644         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56646 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56648         * sysdeps/i386/sysdep.h: Include <features.h>.
56649         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56650         version.
56652 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56654         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56655         Define.
56656         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56657         LOAD_PIC_REG_STR.
56659 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56661         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56662         (SETUP_PIC_REG): Use GET_PC_THUNK.
56663         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56664         macro.
56666 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56668         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56669         for non-PIC compilation.
56670         (SETUP_PIC_REG): Add .p2align directive.
56671         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56672         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56673         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56674         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56675         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56676         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56677         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56678         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56679         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56680         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56681         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56682         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56683         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56684         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56685         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56686         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56687         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56688         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56689         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56690         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56691         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56692         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56693         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56694         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56695         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56697         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56698         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56699         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56700         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56701         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56702         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56703         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56704         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56705         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56706         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56707         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56708         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56709         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56710         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56711         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56713 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56715         * math/tst-CMPLX.c: Include <stdio.h>.
56717 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56719         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56720         float.
56721         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56722         * sysdeps/sparc/bits/mathdef.h: Likewise.
56724 2012-01-31  Marek Polacek  <polacek@redhat.com>
56726         * libio/libio.h: Don't define _PARAMS.
56727         * locale/programs/config.h: Don't define PARAMS.
56728         * stdlib/strtol_l.c: Likewise.
56729         (__strtol_l): Remove PARAMS from the prototype.
56731 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56733         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56734         names.  Just use the correct names.  Remove unnecessary wrapper
56735         functions.
56736         * malloc/arena.c: Likewise.
56737         * malloc/hooks.c: Likewise.
56739         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56740         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56741         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56743 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56745         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56746         into tail calls.
56747         (update_get_addr): New function.
56748         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56749         GET_ADDR_MODULE parameter.
56751 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56753         * crypt/cert.c: Remove __STDC__ conditionals.
56754         * crypt/crypt-entry.c: Likewise.
56755         * crypt/crypt_util.c: Likewise.
56756         * libio/filedoalloc.c: Likewise.
56757         * libio/fileops.c: Likewise.
56758         * libio/genops.c: Likewise.
56759         * libio/iofclose.c: Likewise.
56760         * libio/iofdopen.c: Likewise.
56761         * libio/iofopen.c: Likewise.
56762         * libio/iofopen64.c: Likewise.
56763         * libio/iogetdelim.c: Likewise.
56764         * libio/iopopen.c: Likewise.
56765         * libio/obprintf.c: Likewise.
56766         * libio/oldfileops.c: Likewise.
56767         * libio/oldiofclose.c: Likewise.
56768         * libio/oldiofdopen.c: Likewise.
56769         * libio/oldiofopen.c: Likewise.
56770         * libio/oldiopopen.c: Likewise.
56771         * libio/wfiledoalloc.c: Likewise.
56772         * libio/wgenops.c: Likewise.
56773         * locale/programs/xmalloc.c: Likewise.
56774         * misc/syslog.c: Likewise.
56775         * stdio-common/xbug.c: Likewise.
56776         * string/memchr.c: Likewise.
56777         * string/memcmp.c: Likewise.
56778         * string/memrchr.c: Likewise.
56779         * string/rawmemchr.c: Likewise.
56780         * sysdeps/posix/getcwd.c: Likewise.
56781         * time/strftime_l.c: Likewise.
56783 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56785         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56786         * config.make.in (config-cflags-sse2avx): Define.
56787         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56788         Fix typo.
56790 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56792         * scripts/config.guess: Update from upstream config git repository.
56793         * scripts/config.sub: Likewise.
56795 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56797         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56798         (EM_NUM): Update.
56799         (R_TILEPRO_*, R_TILEGX_*): New macros.
56801         * scripts/firstversions.awk: Fix bug in version range handling.
56803         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56805         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56807         * include/sys/epoll.h: New file.
56808         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56809         libc_hidden_def.
56811 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56813         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56814         Avoid unnecessary __WORDSIZE == 64 test.
56815         (fmaxf): Use VEX format if possible.
56816         (fmax): Likewise.
56817         (fminf): Likewise.
56818         (fmin): Likewise.
56820         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56821         * math/math_private.h: Remove libc_fegetround* and
56822         libc_fesetround*.
56823         * sysdeps/i386/configure.in: Check for -msse2avx.
56824         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56825         also if SSE2AVX is defined.
56826         Remove libc_fegetround* and libc_fesetround*.
56827         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56828         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56829         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56830         of HAS_YMM_USABLE.
56831         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56832         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56833         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56834         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56835         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56837         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56839 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56841         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56842         size is not set.
56843         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56845 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56847         [BZ #13618]
56848         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56849         relocation.
56850         * Makeconfig (libm): Define.
56851         * elf/Makefile: Add rules to build and run tst-relsort1.
56852         * elf/tst-relsort1.c: New file.
56853         * elf/tst-relsort1mod1.c: New file.
56854         * elf/tst-relsort1mod2.c: New file.
56856 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56858         * math/s_ldexp.c: Remove __STDC__ conditionals.
56859         * math/s_ldexpf.c: Likewise.
56860         * math/s_ldexpl.c: Likewise.
56861         * math/s_nextafter.c: Likewise.
56862         * math/s_nexttowardf.c: Likewise.
56863         * math/s_significand.c: Likewise.
56864         * math/s_significandf.c: Likewise.
56865         * math/s_significandl.c: Likewise.
56866         * math/w_jnl.c: Likewise.
56867         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56868         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56869         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56870         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56871         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56872         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56873         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56874         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56875         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56876         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56877         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56878         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56879         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56880         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56881         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56882         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56883         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56884         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56885         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56886         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56887         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56888         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56889         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56890         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56891         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56892         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56893         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56894         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56895         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56896         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56897         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56898         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56899         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56900         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56901         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56902         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56903         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56904         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56905         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56906         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56907         * sysdeps/ieee754/k_standard.c: Likewise.
56908         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56909         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56910         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56911         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56912         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56913         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56914         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56915         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56916         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56917         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56918         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56919         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56920         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56921         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56922         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56923         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56924         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56925         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56926         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56927         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56928         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56929         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56930         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56931         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56932         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56933         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56936         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56937         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56938         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56939         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56940         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56941         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56942         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56943         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56944         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56945         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56946         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56947         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56948         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56949         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56950         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56951         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56952         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56953         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56954         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56955         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56956         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56957         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56958         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56959         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56960         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56961         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56962         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56963         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56964         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56965         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56966         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56967         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56968         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56969         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56970         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56971         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56972         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56973         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56974         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56975         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56976         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56977         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56978         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56979         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56980         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56981         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56982         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56983         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56984         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56985         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56986         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56987         * sysdeps/ieee754/s_matherr.c: Likewise.
56988         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56989         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56991         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56993 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56995         * crypt/md5.h: Remove __STDC__ conditionals.
56996         * libio/libioP.h: Likewise.
56997         * locale/programs/config.h: Likewise.
56998         * sysdeps/generic/sysdep.h: Likewise.
56999         * sysdeps/i386/asm-syntax.h: Likewise.
57000         * sysdeps/s390/asm-syntax.h: Likewise.
57001         * sysdeps/unix/sysdep.h: Likewise.
57002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57005 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57007         * libio/libio.h: Remove __STDC__ conditionals.
57008         * malloc/obstack.h: Likewise.
57009         * math/complex.h: Likewise.
57010         * math/math.h: Likewise.
57011         * sysdeps/generic/_G_config.h: Likewise.
57012         * sysdeps/gnu/_G_config.h: Likewise.
57013         * sysdeps/mach/hurd/_G_config.h: Likewise.
57014         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57015         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57016         * sysdeps/sparc/bits/mathdef.h: Likewise.
57018 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57020         [BZ #13583]
57021         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57022         Clean up HAS_* macros.
57023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57024         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57025         possible.
57026         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57027         HAS_AVX.
57028         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57029         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57030         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57031         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57032         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57034 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57036         * elf/tst-unique3.cc (gets): Remove declaration.
57037         * elf/tst-unique3lib.cc (gets): Likewise.
57038         * elf/tst-unique3lib2.cc (gets): Likewise.
57039         * elf/tst-unique4.cc (gets): Likewise.
57041 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57043         * include/stdio.h: Add C++ protection.  Add gets declarations and
57044         definitions.
57045         * debug/tst-chk1.c: Don't declare gets here.
57046         * stdio-common/tst-gets.c: Likewise.
57048 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57050         * posix/glob: Remove directory.
57052 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57054         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57056 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57058         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57059         of the non-standard EPFNOSUPPORT.
57061 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57063         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57064         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57065         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57067 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57069         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57071 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57073         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57074         transient errors.
57075         * nscd/grpcache.c (cache_addgr): Likewise.
57076         * nscd/hstcache.c (cache_addhst): Likewise.
57077         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57078         * nscd/pwdcache.c (cache_addpw): Likewise.
57079         * nscd/servicescache.c (cache_addserv): Likewise.
57081 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57083         * malloc/malloc.c: Various cleanups.
57084         * malloc/hooks.c: Likewise.
57086         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57087         * stdlib/bug-fmtmsg1.c: New file.
57089         * stdlib/fmtmsg.c (init): Add missing unlock.
57090         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57092 2012-01-12  Marek Polacek  <polacek@redhat.com>
57094         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57095         and _GNU_SOURCE.
57097 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57099         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57100         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57101         macro to ensure uniqueness of label name.
57102         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57103         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57105 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57107         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57109         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57110         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57111         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57112         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57114 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57116         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57118         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57119         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57120         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57122         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57124         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57125         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57126         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57127         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57129         * math/bits/math-finite.h: Add ldexp support.
57131 2012-01-10  Marek Polacek  <polacek@redhat.com>
57133         * locale/programs/localedef.h (show_archive_content): Add noreturn
57134         attribute.
57136 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57138         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57140 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57142         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57144         * io/Makefile (headers): Add bits/poll2.h.
57146 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57149         typo #include statement.
57151 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57153         * include/sys/cdefs.h: Define __attribute_alloc_size.
57154         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57155         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57156         * elf/pldd.c: Likewise.
57157         * iconv/iconv_charmap.c: Likewise.
57158         * iconv/iconvconfig.c: Likewise.
57159         * iconv/strtab.c: Likewise.
57160         * locale/programs/locale.c: Likewise.
57161         * locale/programs/localedef.h: Likewise.
57162         * locale/programs/simple-hash.c: Likewise.
57163         * nscd/nscd.h: Likewise.
57164         * nss/makedb.c: Likewise.
57165         * sysdeps/generic/ldconfig.h: Likewise.
57166         * locale/programs/localedef.c: Remove xmalloc prototype.
57167         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57169 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57171         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57172         appropriate.
57174 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57176         * math/Makefile (tests): Add tst-CMPLX.
57177         * math/tst-CMPLX.c: New file.
57179         * math/complex.h (CMPLXL): Fix typo.
57181         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57182         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57183         GLIBC_2.16.
57184         * debug/tst-chk1.c: Add poll and ppoll tests.
57185         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57186         * include/sys/poll.h: Add hidden proto for ppoll.
57187         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57188         * sysdeps/mach/hurd/ppoll.c: Likewise.
57189         * io/ppoll.c: Likewise.
57190         * debug/poll_chk.c: New file.
57191         * debug/ppoll_chk.c: New file.
57192         * include/bits/poll2.h: New file.
57193         * io/bits/poll2.h: New file.
57195         [BZ #1350]
57196         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57198         * configure.in: static is always set to yes.  Remove.
57199         * config.make.in: Don't set build-static.
57200         * Makeconfig: Remove use of build-static.
57201         * dlfcn/Makefile: Likewise.
57202         * elf/Makefile: Likewise.
57203         * math/Makefile: Likewise.
57204         * misc/Makefile: Likewise.
57205         * nptl/Makefile: Likewise.
57206         * sysdeps/mach/hurd/Makefile: Likewise.
57208         * configure.in: PWD_P is not used anymore.
57209         * config.make.in: Remove PWD_P entry.
57211         * configure.in: Remove last remnants of RANLIB.
57212         No need to check for signed size_t anymore.
57213         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57214         and IA-64.
57215         Remove __builtin_expect test because we require at least gcc 3.4.
57216         * aclocal.m4: Likewise.
57218         * wcsmbs/mbrtoc16.c: Implement using towc function.
57219         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57220         * wcsmbs/wcsmbsload.c: Likewise.
57221         * iconv/gconv_simple.c: Likewise.
57222         * iconv/gconv_int.h: Likewise.
57223         * iconv/gconv_builtin.h: Likewise.
57224         * iconv/iconv_prog.c: Remove CHAR16 handling.
57226         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57228         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57230         * configure.in: Remove --with-elf and --enable-bounded options.
57231         Dont set base_machine for ia64.  More non-ELF conditions removed.
57232         Remove testing and setting of leading underscore information.
57233         * config.make.in (build-bounded): Set to no.
57234         * config.h.in: Remove NO_UNDERSCORES entry.
57235         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57236         them.
57237         * csu/start.c: Remove !NO_UNDERSCORE code.
57238         * locale/localeinfo.h: Likewise.
57239         * sysdeps/generic/machine-gmon.h: Likewise.
57240         * sysdeps/generic/sysdep.h: Likewise.
57241         * sysdeps/i386/sysdep.h: Likewise.
57242         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57243         * sysdeps/mach/sysdep.h: Likewise.
57244         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57245         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57246         * sysdeps/sh/sysdep.h: Likewise.
57247         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57248         * sysdeps/unix/i386/sysdep.S: Likewise.
57249         * sysdeps/unix/sparc/start.c: Likewise.
57250         * sysdeps/unix/sparc/sysdep.S: Likewise.
57251         * sysdeps/unix/sparc/sysdep.h: Likewise.
57252         * sysdeps/unix/start.c: Likewise.
57253         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57254         * sysdeps/x86_64/sysdep.h: Likewise.
57256 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57258         [BZ #13553]
57259         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57260         for non-gcc.
57261         * argp/argp-fmtstream.h: Use const instead __const.
57262         * argp/argp.h: Likewise.
57263         * assert/assert.h: Likewise.
57264         * bits/fenv.h: Likewise.
57265         * bits/sched.h: Likewise.
57266         * bits/sigset.h: Likewise.
57267         * bits/sigthread.h: Likewise.
57268         * catgets/nl_types.h: Likewise.
57269         * conform/data/pthread.h-data: Likewise.
57270         * crypt/crypt-private.h: Likewise.
57271         * crypt/crypt.h: Likewise.
57272         * crypt/crypt_util.c: Likewise.
57273         * ctype/ctype.h: Likewise.
57274         * debug/execinfo.h: Likewise.
57275         * debug/mbsnrtowcs_chk.c: Likewise.
57276         * debug/mbsrtowcs_chk.c: Likewise.
57277         * debug/wcsnrtombs_chk.c: Likewise.
57278         * debug/wcsrtombs_chk.c: Likewise.
57279         * debug/wcstombs_chk.c: Likewise.
57280         * dirent/dirent.h: Likewise.
57281         * dlfcn/dlfcn.h: Likewise.
57282         * elf/neededtest4.c: Likewise.
57283         * grp/grp.h: Likewise.
57284         * gshadow/gshadow.h: Likewise.
57285         * iconv/gconv.h: Likewise.
57286         * iconv/gconv_int.h: Likewise.
57287         * iconv/gconv_simple.c: Likewise.
57288         * iconv/iconv.h: Likewise.
57289         * iconv/loop.c: Likewise.
57290         * iconv/skeleton.c: Likewise.
57291         * include/aio.h: Likewise.
57292         * include/aliases.h: Likewise.
57293         * include/argz.h: Likewise.
57294         * include/arpa/inet.h: Likewise.
57295         * include/assert.h: Likewise.
57296         * include/dirent.h: Likewise.
57297         * include/dlfcn.h: Likewise.
57298         * include/execinfo.h: Likewise.
57299         * include/fcntl.h: Likewise.
57300         * include/fenv.h: Likewise.
57301         * include/glob.h: Likewise.
57302         * include/grp.h: Likewise.
57303         * include/libintl.h: Likewise.
57304         * include/mntent.h: Likewise.
57305         * include/netdb.h: Likewise.
57306         * include/pwd.h: Likewise.
57307         * include/rpc/netdb.h: Likewise.
57308         * include/sched.h: Likewise.
57309         * include/search.h: Likewise.
57310         * include/shadow.h: Likewise.
57311         * include/signal.h: Likewise.
57312         * include/stdio.h: Likewise.
57313         * include/stdlib.h: Likewise.
57314         * include/string.h: Likewise.
57315         * include/sys/socket.h: Likewise.
57316         * include/sys/stat.h: Likewise.
57317         * include/sys/statfs.h: Likewise.
57318         * include/sys/statvfs.h: Likewise.
57319         * include/sys/syslog.h: Likewise.
57320         * include/sys/time.h: Likewise.
57321         * include/sys/uio.h: Likewise.
57322         * include/time.h: Likewise.
57323         * include/unistd.h: Likewise.
57324         * include/utmp.h: Likewise.
57325         * include/wchar.h: Likewise.
57326         * include/wctype.h: Likewise.
57327         * inet/aliases.h: Likewise.
57328         * inet/arpa/inet.h: Likewise.
57329         * inet/netinet/ether.h: Likewise.
57330         * inet/netinet/in.h: Likewise.
57331         * intl/libintl.h: Likewise.
57332         * io/bits/fcntl2.h: Likewise.
57333         * io/fcntl.h: Likewise.
57334         * io/ftw.h: Likewise.
57335         * io/sys/poll.h: Likewise.
57336         * io/sys/stat.h: Likewise.
57337         * io/sys/statfs.h: Likewise.
57338         * io/sys/statvfs.h: Likewise.
57339         * io/utime.h: Likewise.
57340         * libio/bits/stdio.h: Likewise.
57341         * libio/bits/stdio2.h: Likewise.
57342         * libio/libio.h: Likewise.
57343         * libio/libioP.h: Likewise.
57344         * libio/stdio.h: Likewise.
57345         * locale/lc-ctype.c: Likewise.
57346         * locale/locale.h: Likewise.
57347         * login/utmp.h: Likewise.
57348         * malloc/arena.c: Likewise.
57349         * malloc/malloc.c: Likewise.
57350         * malloc/malloc.h: Likewise.
57351         * malloc/mcheck.c: Likewise.
57352         * malloc/mtrace.c: Likewise.
57353         * math/bits/mathcalls.h: Likewise.
57354         * math/fenv.h: Likewise.
57355         * math/math_private.h: Likewise.
57356         * misc/bits/error.h: Likewise.
57357         * misc/bits/syslog.h: Likewise.
57358         * misc/err.h: Likewise.
57359         * misc/error.h: Likewise.
57360         * misc/fstab.h: Likewise.
57361         * misc/mntent.h: Likewise.
57362         * misc/regexp.h: Likewise.
57363         * misc/search.h: Likewise.
57364         * misc/sgtty.h: Likewise.
57365         * misc/sys/mman.h: Likewise.
57366         * misc/sys/syslog.h: Likewise.
57367         * misc/sys/uio.h: Likewise.
57368         * misc/sys/xattr.h: Likewise.
57369         * misc/ttyent.h: Likewise.
57370         * nis/rpcsvc/ypclnt.h: Likewise.
57371         * nss/nss.h: Likewise.
57372         * posix/bits/unistd.h: Likewise.
57373         * posix/fnmatch.h: Likewise.
57374         * posix/glob.h: Likewise.
57375         * posix/sched.h: Likewise.
57376         * posix/spawn.h: Likewise.
57377         * posix/sys/wait.h: Likewise.
57378         * posix/unistd.h: Likewise.
57379         * posix/wordexp.h: Likewise.
57380         * pwd/pwd.h: Likewise.
57381         * resolv/netdb.h: Likewise.
57382         * resource/sys/resource.h: Likewise.
57383         * rt/aio.h: Likewise.
57384         * rt/bits/mqueue2.h: Likewise.
57385         * rt/mqueue.h: Likewise.
57386         * shadow/shadow.h: Likewise.
57387         * signal/signal.h: Likewise.
57388         * socket/send.c: Likewise.
57389         * socket/sendto.c: Likewise.
57390         * socket/sys/socket.h: Likewise.
57391         * stdio-common/printf.h: Likewise.
57392         * stdlib/bits/stdlib.h: Likewise.
57393         * stdlib/fmtmsg.h: Likewise.
57394         * stdlib/monetary.h: Likewise.
57395         * stdlib/stdlib.h: Likewise.
57396         * stdlib/ucontext.h: Likewise.
57397         * streams/stropts.h: Likewise.
57398         * string/argz.h: Likewise.
57399         * string/bits/string2.h: Likewise.
57400         * string/string.h: Likewise.
57401         * string/strings.h: Likewise.
57402         * sunrpc/rpc/auth.h: Likewise.
57403         * sunrpc/rpc/auth_des.h: Likewise.
57404         * sunrpc/rpc/clnt.h: Likewise.
57405         * sunrpc/rpc/netdb.h: Likewise.
57406         * sunrpc/rpc/pmap_clnt.h: Likewise.
57407         * sunrpc/rpc/xdr.h: Likewise.
57408         * sysdeps/generic/inttypes.h: Likewise.
57409         * sysdeps/generic/net/if.h: Likewise.
57410         * sysdeps/generic/sys/swap.h: Likewise.
57411         * sysdeps/gnu/net/if.h: Likewise.
57412         * sysdeps/gnu/utmpx.h: Likewise.
57413         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57414         * sysdeps/i386/i486/bits/string.h: Likewise.
57415         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57416         * sysdeps/s390/bits/string.h: Likewise.
57417         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57418         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57419         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57420         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57421         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57422         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57423         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57424         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57425         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57426         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57427         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57428         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57429         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57430         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57431         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57432         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57433         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57434         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57435         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57436         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57437         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57438         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57439         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57440         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57441         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57442         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57443         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57444         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57445         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57446         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57447         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57448         * sysvipc/sys/ipc.h: Likewise.
57449         * sysvipc/sys/msg.h: Likewise.
57450         * sysvipc/sys/sem.h: Likewise.
57451         * sysvipc/sys/shm.h: Likewise.
57452         * termios/termios.h: Likewise.
57453         * time/sys/time.h: Likewise.
57454         * time/time.h: Likewise.
57455         * wcsmbs/bits/wchar2.h: Likewise.
57456         * wcsmbs/uchar.h: Likewise.
57457         * wcsmbs/wchar.h: Likewise.
57458         * wctype/wctype.h: Likewise.
57460         [BZ #13551]
57461         * Makeconfig: Remove all but ELF support including AIX support.
57462         * Makerules: Likewise.
57463         * config.h.in: Likewise.
57464         * config.make.in: Likewise.
57465         * configure: Likewise.
57466         * configure.in: Likewise.
57467         * csu/Makefile: Likewise.
57468         * csu/version.c: Likewise.
57469         * debug/Makefile: Likewise.
57470         * dlfcn/Makefile: Likewise.
57471         * elf/Makefile: Likewise.
57472         * extra-lib.mk: Likewise.
57473         * iconv/Makefile: Likewise.
57474         * include/libc-symbols.h: Likewise.
57475         * include/shlib-compat.h: Likewise.
57476         * resolv/Makefile: Likewise.
57477         * resolv/res_libc.c: Likewise.
57478         * rt/Makefile: Likewise.
57479         * sysdeps/i386/asm-syntax.h: Likewise.
57480         * sysdeps/i386/sysdep.h: Likewise.
57481         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57482         * sysdeps/mach/sysdep.h: Likewise.
57483         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57484         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57485         * sysdeps/s390/asm-syntax.h: Likewise.
57486         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57487         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57488         * sysdeps/sh/sysdep.h: Likewise.
57489         * sysdeps/unix/sparc/sysdep.h: Likewise.
57490         * sysdeps/wordsize-32/divdi3.c: Likewise.
57491         * sysdeps/x86_64/sysdep.h: Likewise.
57493         * argp/Versions: Remove _argp_unlock_xxx.
57495         [BZ #13559]
57496         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57497         * abilist/libBrokenLocale.abilist: Likewise.
57498         * abilist/libanl.abilist: Likewise.
57499         * abilist/libc.abilist: Likewise.
57500         * abilist/libcrypt.abilist: Likewise.
57501         * abilist/libdl.abilist: Likewise.
57502         * abilist/libm.abilist: Likewise.
57503         * abilist/libnsl.abilist: Likewise.
57504         * abilist/libpthread.abilist: Likewise.
57505         * abilist/libresolv.abilist: Likewise.
57506         * abilist/librt.abilist: Likewise.
57507         * abilist/libthread_db.abilist: Likewise.
57508         * abilist/libutil.abilist: Likewise.
57509         * abilist/libnss_db.abilist: New file.
57511         * scripts/abilist.awk: Add support for indirect functions.
57513         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57515         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57517         * shlib-versions: Remove entries for ports architectures.
57519         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57520         files in ports.
57521         * elf/stackguard-macros.h: Remove support for IA-64.
57522         * elf/tst-auditmod1.c: Likewise.
57523         * sysdeps/generic/ldsodefs.h: Likewise.
57525         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57526         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57527         configure files.
57529         [BZ #13552]
57530         * configure.in: Remove --enable-omitfp support.
57531         * FAQ.in: Adjust.
57532         * config.make.in: Likewise.
57533         * Makeconfig: Likewise.
57534         * manual/install.texi: Likewise.
57536         In case anyone cares, the IA-64 architecture could move to ports.
57537         * sysdeps/ia64/*: Removed.
57538         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57539         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57541         [BZ #13555]
57542         * configure.in: Remove entries for unsupported architectures.
57544         [BZ #13533]
57545         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57546         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57547         routines.
57548         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57549         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57550         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57551         fall back to using wcrtomb.
57552         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57553         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57554         renaming.
57555         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57556         * wcsmbs/tst-c16c32-1.c: New file.
57558         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57559         local variable.
57561         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57563         * elf/tst-unique3.cc: Add explicit declaration of gets.
57564         * elf/tst-unique3lib.cc: Likewise.
57565         * elf/tst-unique3lib2.cc: Likewise.
57566         * elf/tst-unique4.cc: Likewise.
57568         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57570 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57572         [BZ #13566]
57573         * assert/assert.h (static_assert): Don't define for C++.
57574         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57575         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57577 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57579         * iconv/loop.c (single loop): Fix assertion in storing of
57580         remaining bytes.
57582         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57584 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57586         * posix/getconf.c: Update copyright year.
57587         * nss/getent.c: Likewise.
57588         * nss/makedb.c: Likewise.
57589         * iconv/iconvconfig.c: Likewise.
57590         * iconv/iconv_prog.c: Likewise.
57591         * elf/ldconfig.c: Likewise.
57592         * elf/pldd.c: Likewise.
57593         * elf/sotruss.ksh: Likewise.
57594         * catgets/gencat.c: Likewise.
57595         * csu/version.c: Likewise.
57596         * elf/ldd.bash.in: Likewise.
57597         * elf/sprof.c (print_version): Likewise.
57598         * locale/programs/locale.c: Likewise.
57599         * locale/programs/localedef.c: Likewise.
57600         * login/programs/pt_chown.c: Likewise.
57601         * nscd/nscd.c (print_version): Likewise.
57602         * debug/xtrace.sh: Likewise.
57603         * malloc/memusage.sh: Likewise.
57604         * malloc/mtrace.pl: Likewise.
57605         * debug/catchsegv.sh: Likewise.
57607 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57609         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57610         pure attribute.
57612 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57614         [BZ #13533]
57615         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57616         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57617         transformations.
57618         * iconv/gconv_int.h: Likewise.
57619         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57620         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57621         from libc for GLIBC_2.16.
57622         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57623         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57624         * wcsmbs/uchar.h: Really define mbstate_t.
57625         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57626         * wcsmbs/c16rtomb.c: New file.
57627         * wcsmbs/mbrtoc16.c: New file.
57628         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57629         for C/POSIX locale.
57630         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57631         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57633         * wcsmbs/wchar.h: Add missing __restrict.
57635 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57637         [BZ #13532]
57638         * time/Makefile (routines): Add timespec_get.
57639         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57640         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57641         timespec for ISO C11.
57642         * time/timespec_get.c: New file.
57643         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57644         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57646         [BZ #13531]
57647         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57648         * stdlib/stdlib.h: Declare aligned_alloc.
57649         * Versions.def: Add GLIBC_2.16 for libc.
57650         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57652         [BZ 13527]
57653         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57654         ISO C11.
57656         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57657         code.
57659         [BZ #13528]
57660         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57662         [BZ #13529]
57663         * assert/assert.h (static_assert): Define.
57665         * version.h: Update for 2.16 development version.
57667         [BZ #13526]
57668         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57669         _ISOC11_SOURCE.
57671         * version.h (RELEASE): Bump for 2.15 release.
57672         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57674         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57675         Patch by Marek Polacek <mpolacek@redhat.com>.
57677         * bits/byteswap.h: Protect long long constants with __extension__.
57678         * sysdeps/i386/bits/byteswap.h: Likewise.
57679         * sysdeps/ia64/bits/byteswap.h: Likewise.
57680         * sysdeps/s390/bits/byteswap.h: Likewise.
57681         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57683 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57685         [BZ #13540]
57686         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57687         destination buffer.
57688         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57690 2011-12-23  Marek Polacek  <polacek@redhat.com>
57692         * elf/dl-addr.c (determine_info): Add inline keyword.
57693         * elf/tst-auditmod4b.c (check_avx): Likewise.
57694         * elf/tst-auditmod6b.c (check_avx): Likewise.
57695         * elf/tst-auditmod6c.c (check_avx): Likewise.
57696         * elf/tst-auditmod7b.c (check_avx): Likewise.
57698 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57700         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57701         !__SSE_MATH__.
57703 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57705         [BZ #13540]
57706         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57707         processing for last bytes.
57709 2011-08-06  Bruno Haible  <bruno@clisp.org>
57711         [BZ #13061]
57712         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57713         U+0385, not to U+1FEE.
57715         [BZ #13062]
57716         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57717         entry for U+00A5 U+0301.
57719 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57721         [BZ #13166]
57722         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57723         buffer for the output is too small.
57725         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57726         optimization.
57728         [BZ #13185]
57729         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57730         SSE flags if possible.
57732 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57734         [BZ #13540]
57735         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57736         processing for last bytes.
57738 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57740         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57741         (syscall-list-default-options, syscall-list-default-condition)
57742         (syscall-list-includes): Define.
57743         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57744         list of ABIs and options and #if conditions for each ABI.  Do not
57745         handle common syscalls between ABIs specially.
57746         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57747         Remove.
57748         (syscall-list-variants, syscall-list-32bit-options)
57749         (syscall-list-32bit-condition, syscall-list-64bit-options)
57750         (syscall-list-64bit-condition): Define.
57751         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57752         (syscall-list-variants, syscall-list-32bit-options)
57753         (syscall-list-32bit-condition, syscall-list-64bit-options)
57754         (syscall-list-64bit-condition): Define.
57755         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57756         Remove.
57757         (syscall-list-variants, syscall-list-32bit-options)
57758         (syscall-list-32bit-condition, syscall-list-64bit-options)
57759         (syscall-list-64bit-condition): Define.
57760         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57761         Remove.
57762         (syscall-list-variants, syscall-list-32bit-options)
57763         (syscall-list-32bit-condition, syscall-list-64bit-options)
57764         (syscall-list-64bit-condition): Define.
57766 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57768         * locale/iso-639.def: Add brx entry.
57770         [BZ #13328]
57771         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57772         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57774         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57775         __feraiseexcept_renamed.
57777 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57779         [BZ #13538]
57780         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57781         EPOLLET with unsigned values.
57782         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57783         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57785         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57786         to large cancellation.
57787         * math/s_cacoshf.c: Likewise.
57788         * math/s_cacoshl.c: Likewise.
57790 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57792         [BZ #13305]
57793         [BZ #12786]
57794         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57795         * math/s_cacoshf.c: Likewise.
57796         * math/s_cacoshl.c: Likewise.
57798 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57800         [BZ #13439]
57801         * iconv/gconv.h: Define __GCONV_SWAP.
57802         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57803         * iconvdata/utf-16.c: Likewise.
57804         * iconvdata/utf-32.c: Likewise.
57806 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57808         [BZ #13524]
57809         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57810         numerator after shifting it by one limb.
57812 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57814         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57815         under [__USE_EXTERN_INLINES].
57817 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57819         [BZ #13446]
57820         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57822 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57824         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57825         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57826         optimized code.
57827         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57828         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57829         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57830         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57831         for strncasecmp/strncasecmp_l compilation.
57832         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57833         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57835 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57837         [BZ #13484]
57838         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57839         of __asm__.
57841 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57843         [BZ #13506]
57844         * time/tzfile.c (__tzfile_read): Check values from file header.
57846 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57848         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57849         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57850         * powerpc/powerpc32/dl-start.S: Likewise.
57851         * powerpc/powerpc32/elf/start.S: Likewise.
57852         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57853         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57854         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57855         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57856         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57857         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57858         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57859         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57860         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57861         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57862         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57863         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57864         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57865         * powerpc/powerpc32/memset.S: Likewise.
57866         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57867         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57868         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57869         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57870         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57871         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57872         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57873         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57874         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57875         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57876         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57877         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57878         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57880 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57882         * math/libm-test.inc: Added more nearbyint tests.
57883         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57884         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57885         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57886         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57888 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57890         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57891         FD_CLOEXEC.
57893 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57895         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57896         Add wcscpy-ssse3 wcscpy-c.
57897         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57898         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57899         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57900         * sysdeps/x86_64/wcschr.S: New file.
57901         * sysdeps/x86_64/wcsrchr.S: New file.
57902         * string/test-strcmp.c: Remove checking of wcscmp function for
57903         wrong alignments.
57904         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57905         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57906         wcsrchr-sse2 wcsrchr-c.
57907         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57908         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57909         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57910         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57911         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57912         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57913         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57914         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57915         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57916         * wcsmbc/wcschr.c (WCSCHR): New macro.
57918 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57920         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57921         * wcsmbs/test-wcsrchr.c: New file.
57922         * string/test-strrchr.c: Add wcsrchr support.
57923         (WIDE): New macro.
57924         * wcsmbs/test-wcscpy.c: New file.
57925         * string/test-strcpy.c: Add wcscpy support.
57926         (WIDE): New macro.
57928 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57930         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57931         the inner loop.
57933 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57935         [BZ #13472]
57936         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57938 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57940         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57941         Minor optimizations.
57943         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57944         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57945         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57947 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57949         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57950         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57951         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57952         for gcc to avoid warnings.
57953         * inet/Makefile (tests): Add tst-checks.
57954         * inet/tst-checks.c: New file.
57956         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57957         warning.
57959         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57960         __wmemcmp_sse2.
57962         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57963         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57965         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57967 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57969         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57970         problem.
57972         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57974 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57976         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57977         conditional on GCC version.
57978         (__arch_compare_and_exchange_val_8_acq)
57979         (__arch_compare_and_exchange_val_16_acq)
57980         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57981         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57982         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57984 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57986         * sysdeps/sh/backtrace.c: New file.
57988 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57990         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57991         parenthesis.
57993 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57995         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57996         falling back to utime.
57998 2011-11-30  Andreas Schwab  <schwab@redhat.com>
58000         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58001         expectations for float.
58003 2011-11-29  Andreas Schwab  <schwab@redhat.com>
58005         * locale/weight.h (findidx): Add parameter len.
58006         * locale/weightwc.h (findidx): Likewise.
58007         * posix/fnmatch_loop.c (FCT): Adjust caller.
58008         * posix/regcomp.c (build_equiv_class): Likewise.
58009         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58010         * posix/regexec.c (check_node_accept_bytes): Likewise.
58011         * string/strcoll_l.c (STRCOLL): Likewise.
58012         * string/strxfrm_l.c (STRXFRM): Likewise.
58014 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
58016         * Makefile.in: Remove CVSOPT handling.
58017         * configure.in: Remove use of AC_REVISION.
58018         * iconvdata/Makefile (distribute): No need to filter out CVS.
58019         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58020         handling.
58022 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58024         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58025         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58026         [USE_AS_STRNCASECMP_L]: Likewise.
58027         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58028         NO_TLS_DIRECT_SEG_REFS.
58029         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58030         Fix argument offsets for non-PIC.
58031         [USE_AS_STRNCASECMP_L]: Likewise.
58032         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58033         NO_TLS_DIRECT_SEG_REFS.
58035 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58037         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58038         O_CLOEXEC.
58039         * locale/loadlocale.c (_nl_load_locale): Likewise.
58041 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58043         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58044         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58045         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58046         (SYSCALL_GETTIME): Set errno on error.
58048         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58049         count references to noai6ai_cached.
58051 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58053         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58055         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58056         FD_CLOEXEC for /proc/self/maps.
58058         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58059         FD_CLOEXEC for /proc/meminfo.
58061         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58062         gai.conf.
58064         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58065         FD_CLOEXEC for given file.
58067         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58069         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58070         FD_CLOEXEC for /etc/hosts.
58071         (_gethtent): Likewise.
58073         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58075         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58076         cancellation and set FD_CLOEXEC for /etc/netgroup.
58078         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58079         reading /etc/publickey.
58081         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58082         allow cancellation when reading /etc/group.
58084         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58085         cancellation.
58086         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58088         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58089         when using data file.
58091         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58093         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58094         (write_nis_obj): Use "c" and "e" in fopen.
58096         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58098         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58100         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58102         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58104         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58105         locale.alias.
58107         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58109         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58111         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58113         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58114         file parsing and set FD_CLOEXEC.
58116 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58118         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58120 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58122         * malloc/arena.c (arena_get2): Don't call reused_arena when
58123         _int_new_arena failed.
58125 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58127         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58128         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58129         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58130         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58131         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58132         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58133         to compile strcasecmp and strncasecmp.
58134         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58135         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58137         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58139 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58141         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58142         locale-defines.sym to gen-as-const-headers.
58143         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58144         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58145         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58146         to compile strcasecmp and strncasecmp.
58147         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58148         strcasecmp_l and strncasecmp_l.
58149         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58150         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58151         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58152         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58153         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58154         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58155         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58156         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58157         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58158         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58159         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58161 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58163         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58164         result of SYSDEP_GETTIME_CPU to retval.
58165         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58166         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58168         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58169         variable.
58171         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58172         mantissa words.
58173         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58175         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58176         from unused variable.
58178         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58179         DWARF definitions.
58180         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58181         for assembling.
58183         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58184         over namespaces.
58186         * sunrpc/rpc_prot.c (rejected): Fix case value.
58188         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58189         unsigned long long int to avoid warnings in shift.
58191         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58192         of use of trans.
58193         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58194         variable tmp.
58196         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58197         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58198         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58200         * nis/nis_table.c (nis_list): Use variable of correct type for
58201         result of __follow_path call.
58203 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58205         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58206         of math functions ceil, trunc, floor, round, and sqrt, when
58207         avaliable on the platform.
58208         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58209         name clash.
58210         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58211         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58212         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58214 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58216         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58217         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58219 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58221         * include/unistd.h: Fix __readlink return type.
58222         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58224 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58226         * stdlib/ucontext.h: Undo last change for makecontext.
58228 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58230         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58232         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58233         * setjmp/setjmp.h: Mark functions as non-leaf.
58234         * setjmp/bits/setjmp2.h: Likewise.
58235         * stdlib/ucontext.h: Likewise.
58237 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58239         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58240         (reused_arena): Don't check arena limit.
58241         (arena_get2): Atomically check arena limit.
58243 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58245         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58246         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58249         instructions.
58251 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58253         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58254         handler when locking.
58256         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58257         Fix size of allocated buffer.
58259 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58261         [BZ #10103]
58262         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58263         declarations for long double functions.
58264         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58266         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58268 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58270         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58271         installed.
58273         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58274         is disabled.
58276 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58278         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58280 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58282         * include/alloca.h (stackinfo_alloca_round): Define.
58283         (extend_alloca): Use it.
58284         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58285         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58286         here.
58288         * scripts/check-local-headers.sh: Ignore libaudit.h.
58290         * nscd/Makefile (extra-objs): Make recursively expanded.
58292 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58294         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58295         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58297         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58298         * posix/tst-rfc3484-2.c: Likewise.
58299         * posix/tst-rfc3484-3.c: Likewise.
58301         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58302         process_vm_writev.
58303         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58304         process_vm_writev.
58305         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58306         process_vm_writev from libc using GLIBC_2.15 version.
58308         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58310 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58312         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58313         stack usage.
58315 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58317         [BZ #13367]
58318         * nss/getent.c (initgroups_keys): Show error message in case no group
58319         names are given.
58321         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58322         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58323         __bump_nl_timestamp.
58324         * nscd/connections (nscd_init): When host database is served open
58325         netlink socket and request notification about configuration changes.
58326         (main_loop_poll): Track netlink file descriptor and bump timestamp
58327         in case data becomes available.
58328         (main_loop_epoll): Likewise.
58329         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58330         (database_pers_head): Add extra_data fileds.
58331         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58332         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58333         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58334         Adjust caller.
58335         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58336         in6ai data, call __free_in6ai.
58337         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58338         Add -DHAVE_NETLINK.
58339         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58340         interface information.  Reuse previous data if netlink timestamp
58341         is not changed.
58342         (__bump_nl_timestamp): New function.
58343         (__free_in6ai): New function.
58345 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58347         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58348         close_not_cancel_no_status here.
58349         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58351 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58353         [BZ #13276]
58354         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58355         return value.
58357         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58358         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58359         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58361 2011-07-03  Andreas Jaeger  <aj@suse.de>
58363         [BZ #10709]
58364         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58365         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58366         * math/libm-test.inc (sin_test): Add test case.
58368 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58370         [BZ #13337]
58371         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58372         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58374         * elf/chroot_canon.c (chroot_canon): Cleanups.
58376         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58378         [BZ #13335]
58379         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58380         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58382         * string/test-strchr.c: Make usable for strchrnul testing.
58383         * string/test-strchrnul.c: New file.
58384         * string/Makefile (strop-tests): Add strchrnul.
58386         * po/it.po: Update from translation team.
58387         * po/es.po: Likewise.
58389 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58391         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58392         the three constants needed as parameters.  Drop the others.
58393         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58394         __m128i_strloadu_tolower.
58395         Create and initialize variable zero and use it in all the places
58396         where _mm_setzero_si128 was used.
58398         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58399         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58400         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58401         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58402         anymore.
58403         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58404         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58405         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58406         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58407         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58408         __mpranred, __mptan.
58409         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58410         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58411         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58412         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58413         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58414         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58415         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58416         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58417         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58419 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58421         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58422         redefine if SHARED.
58423         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58425         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58426         wide char related routines to wcsmbs subdir.
58428 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58430         [BZ #13344]
58431         * misc/sys/cdefs.h (__THROWNL): Define.
58432         * posix/unistd.h: Use __THREADNL instead of __THREAD
58433         for memory synchronization functions.
58435 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58437         [BZ #13349]
58438         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58439         doesn't exist.
58440         * manual/stdio.texi (Obstack Streams): Node removed.
58442 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58444         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58445         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58446         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58448         * math/math_private.h (math_force_eval): Allow non-addressable
58449         arguments.
58450         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58452 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58454         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58455         file is not needed.
58457         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58458         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58459         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58460         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58461         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58462         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58463         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58464         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58465         Add AVX variants.
58466         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58467         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58468         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58469         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58470         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58471         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58472         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58473         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58474         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58475         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58476         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58477         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58478         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58479         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58480         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58481         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58482         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58483         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58484         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58486         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58487         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58489         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58490         place.  Use VEX encoding when compiling for AVX.
58492 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58494         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58495         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58497         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58499 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58501         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58502         useless if() expression.
58503         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58504         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58505         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58506         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58507         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58508         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58509         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58510         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58511         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58512         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58513         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58514         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58515         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58516         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58517         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58518         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58519         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58520         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58521         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58523         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58525 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58527         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58528         condition.
58529         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58531 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58533         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58534         .text section.  Avoid duplicate constants.
58535         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58536         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58537         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58538         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58539         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58540         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58541         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58542         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58543         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58544         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58545         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58546         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58547         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58548         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58549         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58550         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58551         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58552         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58553         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58554         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58555         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58556         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58557         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58558         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58559         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58560         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58561         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58562         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58563         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58564         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58565         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58566         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58567         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58568         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58569         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58570         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58571         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58572         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58573         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58574         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58575         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58576         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58577         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58578         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58579         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58581 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58583         * sysdeps/x86_64/dla.h: Move to ...
58584         * sysdeps/x86_64/fpu/dla.h: ...here.
58585         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58586         situations.  Use __builtin_fma only for gcc 4.6 and up.
58588         * config.make.in: Add have-mfma4 entry.
58589         * configure.in: Substitute libc_cv_cc_fma4.
58590         * math/Makefile (dbl-only-routines): Add sincostab.
58591         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58592         Use __sincostab not sincos.
58593         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58594         name is a macro.
58595         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58596         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58597         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58598         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58599         using __copysign.
58600         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58601         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58602         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58603         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58604         and __inv.
58605         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58606         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58607         __copysign.
58608         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58609         define aliases when function name is a macro.
58610         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58611         sysdeps/ieee754/dbl-64/sincos.tbl.
58612         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58613         fma4-enabled routines.
58614         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58615         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58616         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58617         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58618         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58619         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58620         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58621         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58622         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58623         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58624         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58625         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58626         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58627         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58628         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58629         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58630         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58631         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58632         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58633         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58634         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58635         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58636         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58637         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58638         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58639         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58640         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58641         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58642         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58643         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58645         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58646         rename.
58647         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58648         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58649         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58650         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58651         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58652         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58653         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58654         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58656 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58658         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58660 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58662         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58664         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58665         prediction.
58666         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58668         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58669         Remove unused variable magic_bits.
58670         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58672         * string/strnlen.c: Define and use STRNLEN macro.
58673         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58674         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58675         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58676         * wcsmbs/wcslen.c: Define and use WCSLEN.
58677         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58678         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58679         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58680         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58681         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58682         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58683         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58685 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58688         strnlen-sse2-no-bsf.
58689         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58690         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58691         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58692         Add strnlen support.
58693         (USE_AS_STRNLEN): New macro.
58694         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58695         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58696         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58697         * sysdeps/x86_64/wcslen.S: New file.
58699 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58701         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58702         XMM-moves are used for copying on small sizes.
58704 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58706         * wcsmbs/Makefile (strop-tests): Add wcschr.
58707         * wcsmbs/test-wcschr.c: New file.
58708         * string/test-strchr.c: Update.
58709         Add wcschr support.
58710         (WIDE): New macro.
58712 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58714         * wcsmbs/Makefile (strop-tests): Add wcslen.
58715         * wcsmbs/test-wcslen.c: New file.
58716         * string/test-strlen.c: Update.
58717         Add wcslen support.
58718         (WIDE): New macro.
58720 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58722         * po/it.po: Update from translation team.
58724 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58726         * sysdeps/x86_64/wcscmp.S: Update.
58727         Fix wrong comparison semantics.
58728         wcscmp shall use signed comparison not unsigned.
58729         Don't use substraction to avoid overflow bug.
58730         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58731         * wcsmbc/wcscmp.c: Likewise.
58732         * string/test-strcmp.c: Likewise.
58733         Add new tests to check cases with negative values.
58735 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58737         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58738         * sysdeps/x86_64/dla.h: ...here.  New file.
58739         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58740         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58742         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58743         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58744         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58745         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58746         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58749 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58752         __ynl_finite aliases.
58754 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58758         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58759         define DLA_FMA.
58760         [DLA_FMA] (EMULV): Use DLA_FMA.
58761         [DLA_FMA] (MUL12): Use EMULV.
58762         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58763         that are not needed.
58764         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58765         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58766         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58767         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58768         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58769         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58770         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58772 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58774         * math/s_nan.c: Undef __nan.
58775         * math/s_nanf.c: Undef __nanf.
58776         * math/s_nanl.c: Undef __nanl.
58777         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58778         "math_private.h".
58780 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58782         * math/s_catan.c: Add branch predictions.
58783         * math/s_catanf.c: Likewise.
58784         * math/s_catanh.c: Likewise.
58785         * math/s_catanhf.c: Likewise.
58786         * math/s_catanhl.c: Likewise.
58787         * math/s_catanl.c: Likewise.
58788         * math/s_cexp.c: Likewise.
58789         * math/s_cexpf.c: Likewise.
58790         * math/s_cexpl.c: Likewise.
58791         * math/s_clog.c: Likewise.
58792         * math/s_clog10.c: Likewise.
58793         * math/s_clog10f.c: Likewise.
58794         * math/s_clog10l.c: Likewise.
58795         * math/s_clogf.c: Likewise.
58796         * math/s_clogl.c: Likewise.
58797         * math/s_csqrt.c: Likewise.
58798         * math/s_csqrtf.c: Likewise.
58799         * math/s_csqrtl.c: Likewise.
58800         * math/s_ctanf.c: Likewise.
58801         * math/s_ctanh.c: Likewise.
58802         * math/s_ctanhf.c: Likewise.
58803         * math/s_ctanhl.c: Likewise.
58804         * math/s_ctanl.c: Likewise.
58806         * math/math_private.h: Define __nan, __nanf, __nanl.
58807         * math/s_cacosh.c: Include <math_private.h>.
58808         * math/s_cacoshl.c: Likewise.
58809         * math/s_casinh.c: Likewise.
58810         * math/s_casinhf.c: Likewise.
58811         * math/s_casinhl.c: Likewise.
58812         * math/s_ccos.c: Rely entire on ccosh.
58813         * math/s_ccosf.c: Rely entire on ccoshf.
58814         * math/s_ccosl.c: Rely entirely on ccoshl.
58815         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58816         Remove tests for FE_INVALID.
58817         * math/s_ccoshf.c: Likewise.
58818         * math/s_ccoshl.c: Likewise.
58819         * math/s_csin.c: Likewise.
58820         * math/s_csinf.c: Likewise.
58821         * math/s_csinh.c Likewise.
58822         * math/s_csinhf.c: Likewise.
58823         * math/s_csinhl.c: Likewise.
58824         * math/s_csinl.c: Likewise.
58825         * math/s_ctan.c: Likewise.
58826         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58827         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58828         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58830 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58833         compilation problems.
58835         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58836         __builtin_expect.
58838 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58840         * sysdeps/i386/configure.in: Test for -mfma4 option.
58841         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58842         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58843         COMMON_CPUID_INDEX_80000001.
58844         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58845         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58846         use it if FMA3 is not supported.
58847         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58849         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58850         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58852 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58854         [BZ #12892]
58855         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58856         it would create a cycle with a link time dependency.
58858 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58860         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58861         instruction.
58862         * string/Makefile (strop-tests): Add rawmemchr.
58863         * string/test-rawmemchr.c: New file.
58865         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58866         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58867         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58868         when compiling str{,n}casecmp and when AVX is available.  Hook up
58869         new optimized code in initializers.
58871 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58873         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58874         __feraiseexcept instead of feraiseexcept.
58876 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58878         * math/math_private.h: Define defaults for libc_fetestexcept and
58879         libc_feupdateenv.
58880         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58881         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58882         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58883         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58884         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58885         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58886         libc_fetestexcept and libc_feupdateenv.
58888         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58889         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58890         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58891         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58892         libc_feholdexcept_setround.
58894         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58895         Add s_nearbyint-c and s_nearbyintf-c.
58896         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58897         nearbyintf inlines.
58898         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58899         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58900         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58901         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58903         * math/math_private.h: Define defaults for libc_fegetround,
58904         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58905         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58906         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58907         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58908         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58909         standard functions.
58910         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58911         Remove comments and hacks for old compiler versions.
58912         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58913         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58914         libc_feholdexceptl.
58916 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58918         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58919         (__feraiseexcept_renamed): Add __NTH.
58920         (feraiseexcept): Add __NTH.  Rename local variables to fix
58921         namespace violations.
58923 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58925         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58927         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58929         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58930         recently added interfaces.
58931         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58933         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58934         about macro parameter expansion.
58936         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58937         __NO_MATH_INLINES is defined.  Cleanups.
58939         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58940         and __floorf is target has SSE4.1.
58941         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58942         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58943         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58944         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58946         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58947         name.
58948         (floorf): Likewise.
58950         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58952 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58954         * misc/sys/cdefs.h: Fix last change.
58956         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58957         database lookup.
58959 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58961         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58963         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58964         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58965         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58966         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58967         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58968         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58969         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58970         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58971         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58972         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58973         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58974         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58975         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58976         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58977         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58978         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58979         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58980         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58981         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58982         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58983         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58984         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58986         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58987         ceil, ceilf, floor, floorf.
58989         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58990         Perform IRELATIVE relocations last.
58992         * elf/do-rel.h: Add another parameter nrelative, replacing the
58993         local variable with the same name.  Change name of the function
58994         to end in Rel or Rela (uppercase).
58995         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58996         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58997         elf_dynamic_do_##reloc function.
58999 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59001         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59002         is sufficient, at least on modern CPUs.
59004         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59006         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59007         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59009         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59010         __expl_finite.
59011         * math/bits/math-finite.h: Add entries for exp.
59012         * math/e_expl.c: Add __*_finite alias.
59013         * sysdeps/i386/fpu/e_exp.S: Likewise.
59014         * sysdeps/i386/fpu/e_expf.S: Likewise.
59015         * sysdeps/i386/fpu/e_expl.c: Likewise.
59016         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59017         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59018         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59019         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59020         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59021         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59022         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59024         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59025         is sufficient, at least on modern CPUs.
59027         * ctype/ctype-info.c (__ctype_init): Define.
59028         * include/ctype.h (__ctype_init): Declare.
59029         (__ctype_b_loc): The variable is always initialized.
59030         (__ctype_toupper_loc): Likewise.
59031         (__ctype_tolower_loc): Likewise.
59032         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59033         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59035 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59037         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59039         * configure.in: Also look in $cxxmachine/include for C++ system
59040         headers.
59042 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59044         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59045         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59046         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59047         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59048         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59049         (USE_AS_WMEMCMP): New macro.
59050         Fixing indents.
59051         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59052         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59053         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59054         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59055         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59056         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59057         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59058         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59059         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59060         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59061         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59062         (USE_AS_WMEMCMP): New macro.
59063         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59064         * sysdeps/string/test-memcmp.c: Update.
59065         Fix simple_wmemcmp.
59066         Add new tests.
59067         * wcsmbs/wmemcmp.c: Update.
59068         (WMEMCMP): New macro.
59069         Fix overflow bug.
59071 2011-10-12  Andreas Jaeger  <aj@suse.de>
59073         [BZ #13268]
59074         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59076 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59078         * libio/iofwide.c (do_length): Avoid warning.
59080         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59082 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59084         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59086         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59087         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59088         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59089         * sysdeps/i386/i686/fpu/e_log.S: New file.
59090         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59091         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59093         * ctype/ctype.h: Add support for inlined isXXX functions when
59094         compiling C++ code.
59096 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59098         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59100         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59102 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59104         [BZ #13291]
59105         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59107 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59109         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59110         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59111         feraiseexcept.
59113         * sysdeps/x86_64/memrchr.S: Check for zero size.
59115         * string/stratcliff.c: Add memrchr tests.
59117 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59119         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59120         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59121         rawmemchr-sse2 rawmemchr-sse2-bsf.
59122         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59123         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59124         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59125         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59126         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59127         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59128         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59129         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59130         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59131         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59132         * string/memrchr.c (MEMRCHR): New macro.
59134 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59136         Add integration with gcc's -ffinite-math-only and optimize wrapper
59137         functions in libm.
59138         * Versions.def: Define GLIBC_2.15 version for libm.
59139         * math/Makefile (headers): Add bits/math-finite.h.
59140         * math/bits/math-finite.h: New file.
59141         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59142         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59143         * math/e_acoshl.c: Add __*_finite alias.
59144         * math/e_acosl.c: Likewise.
59145         * math/e_asinl.c: Likewise.
59146         * math/e_atan2l.c: Likewise.
59147         * math/e_atanhl.c: Likewise.
59148         * math/e_coshl.c: Likewise.
59149         * math/e_exp10.c: Likewise.
59150         * math/e_exp10f.c: Likewise.
59151         * math/e_exp10l.c: Likewise.
59152         * math/e_exp2l.c: Likewise.
59153         * math/e_fmodl.c: Likewise.
59154         * math/e_gammal_r.c: Likewise.
59155         * math/e_hypotl.c: Likewise.
59156         * math/e_j0l.c: Likewise.
59157         * math/e_j1l.c: Likewise.
59158         * math/e_jnl.c: Likewise.
59159         * math/e_lgammal_r.c: Likewise.
59160         * math/e_log10l.c: Likewise.
59161         * math/e_log2l.c: Likewise.
59162         * math/e_logl.c: Likewise.
59163         * math/e_powl.c: Likewise.
59164         * math/e_sinhl.c: Likewise.
59165         * math/e_sqrtl.c: Likewise.
59166         * math/e_scalb.c: Completely rewritten and optimized.
59167         * math/e_scalbf.c: Likewise.
59168         * math/e_scalbl.c: Likewise.
59169         * math/w_acos.c: Likewise.
59170         * math/w_acosf.c: Likewise.
59171         * math/w_acosl.c: Likewise.
59172         * math/w_acosh.c: Likewise.
59173         * math/w_acoshf.c: Likewise.
59174         * math/w_acoshl.c: Likewise.
59175         * math/w_asin.c: Likewise.
59176         * math/w_asinf.c: Likewise.
59177         * math/w_asinl.c: Likewise.
59178         * math/w_atan2.c: Likewise.
59179         * math/w_atan2f.c: Likewise.
59180         * math/w_atan2l.c: Likewise.
59181         * math/w_atanh.c: Likewise.
59182         * math/w_atanhf.c: Likewise.
59183         * math/w_atanhl.c: Likewise.
59184         * math/w_exp10.c: Likewise.
59185         * math/w_exp10f.c: Likewise.
59186         * math/w_exp10l.c: Likewise.
59187         * math/w_fmod.c: Likewise.
59188         * math/w_fmodf.c: Likewise.
59189         * math/w_fmodl.c: Likewise.
59190         * math/w_j0.c: Likewise.
59191         * math/w_j0f.c: Likewise.
59192         * math/w_j0l.c: Likewise.
59193         * math/w_j1.c: Likewise.
59194         * math/w_j1f.c: Likewise.
59195         * math/w_j1l.c: Likewise.
59196         * math/w_jn.c: Likewise.
59197         * math/w_jnf.c: Likewise.
59198         * math/w_log.c: Likewise.
59199         * math/w_logf.c: Likewise.
59200         * math/w_logl.c: Likewise.
59201         * math/w_log10.c: Likewise.
59202         * math/w_log10f.c: Likewise.
59203         * math/w_log10l.c: Likewise.
59204         * math/w_log2.c: Likewise.
59205         * math/w_log2f.c: Likewise.
59206         * math/w_log2l.c: Likewise.
59207         * math/w_pow.c: Likewise.
59208         * math/w_powf.c: Likewise.
59209         * math/w_powl.c: Likewise.
59210         * math/w_remainder.c: Likewise.
59211         * math/w_remainderf.c: Likewise.
59212         * math/w_remainderl.c: Likewise.
59213         * math/w_scalb.c: Likewise.
59214         * math/w_scalbf.c: Likewise.
59215         * math/w_scalbl.c: Likewise.
59216         * math/w_sqrt.c: Likewise.
59217         * math/w_sqrtf.c: Likewise.
59218         * math/w_sqrtl.c: Likewise.
59219         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59220         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59221         used.
59222         * math/math_private.h: Declare __kernel_standard_f.
59223         * math/w_cosh.c: Remove cruft and optimize a bit.
59224         * math/w_coshf.c: Likewise.
59225         * math/w_coshl.c: Likewise.
59226         * math/w_exp2.c: Likewise.
59227         * math/w_exp2f.c: Likewise.
59228         * math/w_exp2l.c: Likewise.
59229         * math/w_hypot.c: Likewise.
59230         * math/w_hypotf.c: Likewise.
59231         * math/w_hypotl.c: Likewise.
59232         * math/w_lgamma.c: Likewise.
59233         * math/w_lgamma_r.c: Likewise.
59234         * math/w_lgammaf.c: Likewise.
59235         * math/w_lgammaf_r.c: Likewise.
59236         * math/w_lgammal.c: Likewise.
59237         * math/w_lgammal_r.c: Likewise.
59238         * math/w_sinh.c: Likewise.
59239         * math/w_sinhf.c: Likewise.
59240         * math/w_sinhl.c: Likewise.
59241         * math/w_tgamma.c: Likewise.
59242         * math/w_tgammaf.c: Likewise.
59243         * math/w_tgammal.c: Likewise.
59244         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59245         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59246         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59247         Minor optimizations.  Pretty printing.  Remove cruft.
59248         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59249         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59250         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59251         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59252         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59253         * sysdeps/i386/fpu/e_asin.S: Likewise.
59254         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59255         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59256         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59257         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59258         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59259         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59260         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59261         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59262         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59263         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59264         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59265         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59266         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59267         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59268         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59269         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59270         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59271         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59272         * sysdeps/i386/fpu/e_log.S: Likewise.
59273         * sysdeps/i386/fpu/e_log10.S: Likewise.
59274         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59275         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59276         * sysdeps/i386/fpu/e_log2.S: Likewise.
59277         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59278         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59279         * sysdeps/i386/fpu/e_logf.S: Likewise.
59280         * sysdeps/i386/fpu/e_logl.S: Likewise.
59281         * sysdeps/i386/fpu/e_pow.S: Likewise.
59282         * sysdeps/i386/fpu/e_powf.S: Likewise.
59283         * sysdeps/i386/fpu/e_powl.S: Likewise.
59284         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59285         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59286         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59287         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59288         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59289         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59290         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59291         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59292         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59293         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59294         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59295         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59296         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59297         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59298         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59299         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59300         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59301         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59302         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59303         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59304         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59305         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59306         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59307         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59308         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59309         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59310         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59311         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59312         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59313         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59314         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59315         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59316         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59317         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59318         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59319         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59320         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59321         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59322         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59323         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59324         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59325         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59326         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59327         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59328         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59329         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59330         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59331         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59332         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59333         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59334         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59335         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59336         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59337         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59338         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59339         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59340         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59341         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59342         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59343         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59344         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59345         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59346         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59347         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59348         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59349         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59350         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59351         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59352         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59353         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59354         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59355         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59356         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59357         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59358         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59359         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59360         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59361         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59362         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59363         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59364         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59365         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59366         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59367         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59368         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59369         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59370         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59371         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59372         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59373         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59374         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59375         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59376         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59377         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59378         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59379         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59380         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59381         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59382         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59383         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59384         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59385         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59386         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59387         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59388         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59389         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59390         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59391         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59392         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59393         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59394         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59395         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59396         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59397         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59398         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59399         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59400         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59401         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59402         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59403         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59404         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59405         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59406         (__isnanf): Likewise.
59407         (__isinf_ns): Likewise.
59408         (__isinf_nsf): Likewise.
59409         (__finite): Likewise.
59410         (__finitef): Likewise.
59411         (__ieee754_sqrt): Define as macro.
59412         (__ieee754_sqrtf): Define as macro.
59413         (__ieee754_sqrtl): Define as macro.
59414         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59415         inlined copy.
59416         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59417         __FINITE_MATH_ONLY__ consistent.
59418         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59420 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59422         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59423         of rawmemchr.
59425         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59427 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59429         * po/ja.po: Update from translation team.
59431 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59433         * locale/programs/locarchive.c (prepare_address_space): New function.
59434         (create_archive, enlarge_archive, open_archive): Use it.
59436         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59437         inside [SHARED], where it is used.
59439         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59441         * nss/getent.c (netgroup_keys): Remove unused variable.
59442         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59444 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59446         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59447         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59448         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59449         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59450         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59451         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59452         * math/Makefile (libm-calls): Add s_isinf_ns.
59453         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59454         * math/multc3.c: Likewise.
59455         * math/s_casin.c: Likewise.
59456         * math/s_casinf.c: Likewise.
59457         * math/s_casinl.c: Likewise.
59458         * math/s_ccos.c: Likewise.
59459         * math/s_ccosf.c: Likewise.
59460         * math/s_ccosl.c: Likewise.
59461         * math/s_ctan.c: Likewise.
59462         * math/s_ctanf.c: Likewise.
59463         * math/s_ctanh.c: Likewise.
59464         * math/s_ctanhf.c: Likewise.
59465         * math/s_ctanhl.c: Likewise.
59466         * math/s_ctanl.c: Likewise.
59467         * math/w_fmod.c: Likewise.
59468         * math/w_fmodf.c: Likewise.
59469         * math/w_fmodl.c: Likewise.
59470         * math/w_remainder.c: Likewise.
59471         * math/w_remainderf.c: Likewise.
59472         * math/w_remainderl.c: Likewise.
59473         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59474         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59475         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59476         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59477         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59478         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59479         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59480         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59482         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59483         of the number.
59484         * stdio-common/printf_fphex.c: Likewise.
59485         * stdio-common/printf_size.c: Likewise.
59487         * math/e_exp10.c: Include math_private.h using <...> not "...".
59488         * math/e_exp10f.c: Likewise.
59489         * math/e_exp10l.c: Likewise.
59490         * math/e_exp2l.c: Likewise.
59491         * math/e_j0l.c: Likewise.
59492         * math/e_j1l.c: Likewise.
59493         * math/e_jnl.c: Likewise.
59494         * math/e_lgammal_r.c: Likewise.
59495         * math/e_rem_pio2l.c: Likewise.
59496         * math/e_scalb.c: Likewise.
59497         * math/e_scalbf.c: Likewise.
59498         * math/e_scalbl.c: Likewise.
59499         * math/k_cosl.c: Likewise.
59500         * math/k_sinl.c: Likewise.
59501         * math/k_tanl.c: Likewise.
59502         * math/s_cacoshf.c: Likewise.
59503         * math/s_catan.c: Likewise.
59504         * math/s_catanf.c: Likewise.
59505         * math/s_catanh.c: Likewise.
59506         * math/s_catanhf.c: Likewise.
59507         * math/s_catanhl.c: Likewise.
59508         * math/s_catanl.c: Likewise.
59509         * math/s_ccosh.c: Likewise.
59510         * math/s_ccoshf.c: Likewise.
59511         * math/s_ccoshl.c: Likewise.
59512         * math/s_cexp.c: Likewise.
59513         * math/s_cexpf.c: Likewise.
59514         * math/s_cexpl.c: Likewise.
59515         * math/s_clog.c: Likewise.
59516         * math/s_clog10.c: Likewise.
59517         * math/s_clog10f.c: Likewise.
59518         * math/s_clog10l.c: Likewise.
59519         * math/s_clogf.c: Likewise.
59520         * math/s_clogl.c: Likewise.
59521         * math/s_csin.c: Likewise.
59522         * math/s_csinf.c: Likewise.
59523         * math/s_csinh.c: Likewise.
59524         * math/s_csinhf.c: Likewise.
59525         * math/s_csinhl.c: Likewise.
59526         * math/s_csinl.c: Likewise.
59527         * math/s_csqrt.c: Likewise.
59528         * math/s_csqrtf.c: Likewise.
59529         * math/s_csqrtl.c: Likewise.
59530         * math/s_ctan.c: Likewise.
59531         * math/s_ctanf.c: Likewise.
59532         * math/s_ctanh.c: Likewise.
59533         * math/s_ctanhf.c: Likewise.
59534         * math/s_ctanhl.c: Likewise.
59535         * math/s_ctanl.c: Likewise.
59536         * math/s_ldexp.c: Likewise.
59537         * math/s_ldexpf.c: Likewise.
59538         * math/s_ldexpl.c: Likewise.
59539         * math/s_significand.c: Likewise.
59540         * math/s_significandf.c: Likewise.
59541         * math/s_significandl.c: Likewise.
59542         * math/w_acos.c: Likewise.
59543         * math/w_acosf.c: Likewise.
59544         * math/w_acosh.c: Likewise.
59545         * math/w_acoshf.c: Likewise.
59546         * math/w_acoshl.c: Likewise.
59547         * math/w_acosl.c: Likewise.
59548         * math/w_asin.c: Likewise.
59549         * math/w_asinf.c: Likewise.
59550         * math/w_asinl.c: Likewise.
59551         * math/w_atan2.c: Likewise.
59552         * math/w_atan2f.c: Likewise.
59553         * math/w_atan2l.c: Likewise.
59554         * math/w_atanh.c: Likewise.
59555         * math/w_atanhf.c: Likewise.
59556         * math/w_atanhl.c: Likewise.
59557         * math/w_cosh.c: Likewise.
59558         * math/w_coshf.c: Likewise.
59559         * math/w_coshl.c: Likewise.
59560         * math/w_dremf.c: Likewise.
59561         * math/w_exp10.c: Likewise.
59562         * math/w_exp10f.c: Likewise.
59563         * math/w_exp10l.c: Likewise.
59564         * math/w_exp2.c: Likewise.
59565         * math/w_exp2f.c: Likewise.
59566         * math/w_fmod.c: Likewise.
59567         * math/w_fmodf.c: Likewise.
59568         * math/w_fmodl.c: Likewise.
59569         * math/w_hypot.c: Likewise.
59570         * math/w_hypotf.c: Likewise.
59571         * math/w_hypotl.c: Likewise.
59572         * math/w_j0.c: Likewise.
59573         * math/w_j0f.c: Likewise.
59574         * math/w_j0l.c: Likewise.
59575         * math/w_j1.c: Likewise.
59576         * math/w_j1f.c: Likewise.
59577         * math/w_j1l.c: Likewise.
59578         * math/w_jn.c: Likewise.
59579         * math/w_jnf.c: Likewise.
59580         * math/w_jnl.c: Likewise.
59581         * math/w_lgamma.c: Likewise.
59582         * math/w_lgamma_r.c: Likewise.
59583         * math/w_lgammaf.c: Likewise.
59584         * math/w_lgammaf_r.c: Likewise.
59585         * math/w_lgammal.c: Likewise.
59586         * math/w_lgammal_r.c: Likewise.
59587         * math/w_log.c: Likewise.
59588         * math/w_log10.c: Likewise.
59589         * math/w_log10f.c: Likewise.
59590         * math/w_log10l.c: Likewise.
59591         * math/w_log2.c: Likewise.
59592         * math/w_log2f.c: Likewise.
59593         * math/w_log2l.c: Likewise.
59594         * math/w_logf.c: Likewise.
59595         * math/w_logl.c: Likewise.
59596         * math/w_pow.c: Likewise.
59597         * math/w_powf.c: Likewise.
59598         * math/w_powl.c: Likewise.
59599         * math/w_remainder.c: Likewise.
59600         * math/w_remainderf.c: Likewise.
59601         * math/w_remainderl.c: Likewise.
59602         * math/w_scalb.c: Likewise.
59603         * math/w_scalbf.c: Likewise.
59604         * math/w_scalbl.c: Likewise.
59605         * math/w_sinh.c: Likewise.
59606         * math/w_sinhf.c: Likewise.
59607         * math/w_sinhl.c: Likewise.
59608         * math/w_sqrt.c: Likewise.
59609         * math/w_sqrtf.c: Likewise.
59610         * math/w_sqrtl.c: Likewise.
59611         * math/w_tgamma.c: Likewise.
59612         * math/w_tgammaf.c: Likewise.
59613         * math/w_tgammal.c: Likewise.
59615         * po/ja.po: Update from translation team.
59617 2011-09-29  Andreas Jaeger  <aj@suse.de>
59619         [BZ #13179]
59620         * sunrpc/netname.c (netname2host): Fix logic.
59622         [BZ #6779]
59623         [BZ #6783]
59624         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59625         correctly.
59626         * math/w_remainder.c (__remainder): Likewise.
59627         * math/w_remainderf.c (__remainderf): Likewise.
59628         * math/libm-test.inc (remainder_test): Add test cases.
59630 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59632         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59633         sdiv_qrnnd.
59635 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59637         * string/test-memcmp.c: Avoid unncessary #defines.
59638         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59640 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59642         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59643         Use new sse2 version for core i3 - i7 as it's faster
59644         than sse42 version.
59645         (bit_Prefer_PMINUB_for_stringop): New.
59646         * sysdeps/x86_64/rawmemchr.S: Update.
59647         Replace with faster SSE2 version.
59648         * sysdeps/x86_64/memrchr.S: New file.
59649         * sysdeps/x86_64/memchr.S: Update.
59650         Replace with faster SSE2 version.
59652 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59654         * elf/dl-load.c (lose): Add cast to avoid warning.
59656 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59658         * po/ca.po: Update from translation team.
59660         * inet/getnetgrent_r.c: Hook up nscd.
59661         * nscd/Makefile (routines): Add nscd_netgroup.
59662         (nscd-modules): Add netgroupcache.
59663         (CFLAGS-netgroupcache.c): Define.
59664         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59665         (cache_search): Add const to second parameter.
59666         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59667         INNETGR.
59668         (dbs): Add netgrdb entry.
59669         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59670         (verify_persistent_db): Handle netgrdb.
59671         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59672         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59673         GETFDNETGR.
59674         (netgroup_response_header): Define.
59675         (innetgroup_response_header): Define.
59676         (datahead): Add netgroup_response_header and innetgroup_response_header
59677         elements.
59678         * nscd/nscd.conf: Add entries for netgroup cache.
59679         * nscd/nscd.h (dbtype): Add netgrdb.
59680         (_PATH_NSCD_NETGROUP_DB): Define.
59681         (netgroup_iov_disabled): Declare.
59682         (xmalloc, xcalloc, xrealloc): Move declarations here.
59683         (cache_search): Adjust prototype.
59684         Add netgroup-related prototypes.
59685         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59686         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59687         (__nscd_innetgr): Declare.
59688         * nscd/selinux.c (perms): Use access_vector_t as element type and
59689         add netgroup-related initializers.
59690         * nscd/netgroupcache.c: New file.
59691         * nscd/nscd_netgroup.c: New file.
59692         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59693         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59694         For four parameters use innetgr.
59695         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59696         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59697         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59698         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59700         * nscd/connections.c (register_traced_file): Don't register file
59701         for disabled databases.
59703 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59705         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59707         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59708         from tree and freeing node.
59710 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59712         * nss/nsswitch.c (__nss_database_lookup): Handle
59713         nss_parse_service_list out of memory case.
59715 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59717         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59718         out of memory case.
59720 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59722         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59723         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59724         pass it down.
59725         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59726         elf_machine_rela, elf_machine_lazy_rel.
59727         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59728         (ELF_DYNAMIC_DO_REL): Likewise.
59729         (ELF_DYNAMIC_DO_RELA): Likewise.
59730         (ELF_DYNAMIC_RELOCATE): Likewise.
59731         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59732         to ELF_DYNAMIC_DO_REL.
59733         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59734         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59735         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59736         elf_machine_rela.
59737         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59738         skip_ifunc, don't call ifunc function if non-zero.
59739         (elf_machine_rela): Likewise.
59740         (elf_machine_lazy_rel): Likewise.
59741         (elf_machine_lazy_rela): Likewise.
59742         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59743         (elf_machine_lazy_rel): Likewise.
59744         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59745         Likewise.
59746         (elf_machine_lazy_rel): Likewise.
59747         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59748         Likewise.
59749         (elf_machine_lazy_rel): Likewise.
59750         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59751         (elf_machine_lazy_rel): Likewise.
59752         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59753         (elf_machine_lazy_rel): Likewise.
59754         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59755         (elf_machine_lazy_rel): Likewise.
59756         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59757         (elf_machine_lazy_rel): Likewise.
59758         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59759         (elf_machine_lazy_rel): Likewise.
59760         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59761         (elf_machine_lazy_rel): Likewise.
59763 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59765         * nss/nss_files/files-init.c (_nss_files_init): Use static
59766         initialization for all the *_traced_file variables.
59768 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59770         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59772 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59774         [BZ #13226]
59775         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59777 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59779         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59780         Reread the line before reparsing it.
59782 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59784         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59786 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59787             Maxim Kuvyrkov  <maxim@codesourcery.com>
59788             Joseph Myers  <joseph@codesourcery.com>
59790         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59791         if needed for __stack_chk_guard.
59793 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59795         * sysdeps/posix/spawni.c (script_execute): Always define it.
59796         It will be optimized away if unused.
59797         (maybe_script_execute): New function.
59798         (__spawni): Call it.
59800         * Makerules: Don't include tls.make.
59801         (config-tls): Always set to thread.
59802         * tls.make.c: File removed.
59804 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59806         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59807         * config.make.in (CPPFLAGS-config): New substituted variable.
59809 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59811         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59813         [BZ #13192]
59814         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59815         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59817 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59819         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59820         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59821         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59822         (CALL_FAIL): Likewise.
59823         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59824         (CALL_FAIL): Macro removed.
59825         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59827 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59829         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59830         for __FINITE_MATH_ONLY__ == 1.
59832 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59834         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59835         __ieee754_sqrt instead of sqrt.
59836         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59837         __ieee754_sqrtf instead of sqrtf.
59838         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59839         __floorf instead of floorf.
59840         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59841         __floorf, __truncf instead of floorf, truncf.
59843 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59845         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59847         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59848         __extern_always_inline.
59849         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59850         32-bit.
59852 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59854         * elf/rtld.c (dl_main): Also relocate in dependency order when
59855         doing symbol dependency testing.
59857 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59859         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59860         Always define `refsym'.
59862 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59864         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59865         (__FD_ELT): Renamed from __FDELT.
59866         * misc/bits/select2.h (__FD_ELT): Likewise.
59867         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59868         __FD_MASK instead of __FDELT, __FDMASK.
59869         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59870         Likewise.
59871         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59872         Likewise.
59874         * elf/Makefile (gen-ldd): Fix pattern.
59876         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59877         (init_tls): Likewise.
59879 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59881         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59883 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59885         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59886         `struct cmsghdr *' instead of `void *'.
59887         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59888         Likewise.
59890 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59892         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59893         if non-absolute.
59894         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59895         ldd_rewrite_script.
59897 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59899         * configure.in: Remove --with-tls option.
59900         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59901         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59902         out in case it is missing.
59903         * sysdeps/ia64/elf/configure.in: Likewise.
59904         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59905         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59906         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59907         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59908         * sysdeps/sh/elf/configure.in: Likewise.
59909         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59910         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59911         * sysdeps/x86_64/elf/configure.in: Likewise.
59912         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59913         * sysdeps/mach/hurd/tls.h: Likewise.
59915         [BZ #13067]
59916         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59918         [BZ #13090]
59919         * configure.in: Fix use of AC_INIT.
59921         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59923 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59925         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59926         __set_errno.
59927         * malloc/hooks.c: Likewise.
59929         [BZ #11929]
59930         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59931         variables statically.
59932         (narenas): Initialize.
59933         (list_lock): Initialize.
59934         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59935         initializtion of main_arena and list_lock.  Small cleanups.
59936         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59937         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59938         Add initializers to main_arena and mp_.
59939         (malloc_state): Remove pagesize member.  Change all users to use
59940         GLRO(dl_pagesize).
59942         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59943         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59944         is always initialized.
59946         * malloc/malloc.c: Removed unused configurations and dead code.
59947         * malloc/arena.c: Likewise.
59948         * malloc/hooks.c: Likewise.
59949         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59951         * include/tls.h: Removed.  USE___THREAD must always be defined.
59952         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59953         * elf/dl-libc.c: Likewise.
59954         * elf/dl-tsd.c: Likewise.
59955         * include/errno.h: Likewise.
59956         * include/netdb.h: Likewise.
59957         * include/resolv.h: Likewise.
59958         * inet/herrno-loc.c: Likewise.
59959         * inet/herrno.c: Likewise.
59960         * malloc/arena.c: Likewise.
59961         * malloc/hooks.c: Likewise.
59962         * malloc/malloc.c: Likewise.
59963         * resolv/res-state.c: Likewise.
59964         * resolv/res_libc.c: Likewise.
59965         * sysdeps/i386/dl-machine.h: Likewise.
59966         * sysdeps/ia64/dl-machine.h: Likewise.
59967         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59968         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59969         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59970         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59971         * sysdeps/sh/dl-machine.h: Likewise.
59972         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59973         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59974         * sysdeps/unix/i386/sysdep.S: Likewise.
59975         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59976         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59978         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59979         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59980         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59981         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59982         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59983         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59985         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59986         * sysdeps/x86_64/dl-machine.h: Likewise.
59987         * tls.make.c: Likewise.
59989         * configure.in: Remove --with-__thread option.  Make tests for
59990         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59991         tls_model attribute fail if no support is available.  Remove
59992         USE_IN_LIBIO.
59993         * Makeconfig: Adjust for dropped configure option.  All features are
59994         now mandatory.
59995         * Makerules: Likewise.
59996         * Versions.def: Likewise.
59997         * argp/argp-fmtstream.c: Likewise.
59998         * argp/argp-fmtstream.h: Likewise.
59999         * argp/argp-help.c: Likewise.
60000         * assert/assert.c: Likewise.
60001         * config.h.in: Likewise.
60002         * config.make.in: Likewise.
60003         * configure: Likewise.
60004         * configure.in: Likewise.
60005         * csu/Versions: Likewise.
60006         * csu/init.c: Likewise.
60007         * elf/tst-audit2.c: Likewise.
60008         * elf/tst-tls10.c: Likewise.
60009         * elf/tst-tls10.h: Likewise.
60010         * elf/tst-tls11.c: Likewise.
60011         * elf/tst-tls12.c: Likewise.
60012         * elf/tst-tls14.c: Likewise.
60013         * elf/tst-tlsmod11.c: Likewise.
60014         * elf/tst-tlsmod12.c: Likewise.
60015         * elf/tst-tlsmod13.c: Likewise.
60016         * elf/tst-tlsmod13a.c: Likewise.
60017         * elf/tst-tlsmod14a.c: Likewise.
60018         * elf/tst-tlsmod15b.c: Likewise.
60019         * elf/tst-tlsmod16a.c: Likewise.
60020         * elf/tst-tlsmod16b.c: Likewise.
60021         * elf/tst-tlsmod7.c: Likewise.
60022         * elf/tst-tlsmod8.c: Likewise.
60023         * elf/tst-tlsmod9.c: Likewise.
60024         * gmon/gmon.c: Likewise.
60025         * grp/fgetgrent_r.c: Likewise.
60026         * grp/putgrent.c: Likewise.
60027         * hurd/fopenport.c: Likewise.
60028         * include/libc-symbols.h: Likewise.
60029         * include/tls.h: Likewise.
60030         * intl/gettextP.h: Likewise.
60031         * intl/loadinfo.h: Likewise.
60032         * locale/global-locale.c: Likewise.
60033         * locale/localeinfo.h: Likewise.
60034         * mach/devstream.c: Likewise.
60035         * malloc/arena.c: Likewise.
60036         * malloc/set-freeres.c: Likewise.
60037         * misc/err.c: Likewise.
60038         * misc/getttyent.c: Likewise.
60039         * misc/mntent_r.c: Likewise.
60040         * posix/getopt.c: Likewise.
60041         * posix/wordexp.c: Likewise.
60042         * pwd/fgetpwent_r.c: Likewise.
60043         * resolv/Versions: Likewise.
60044         * resolv/res_hconf.c: Likewise.
60045         * shadow/fgetspent_r.c: Likewise.
60046         * shadow/putspent.c: Likewise.
60047         * stdio-common/printf_fphex.c: Likewise.
60048         * stdio-common/tmpfile.c: Likewise.
60049         * stdlib/abort.c: Likewise.
60050         * stdlib/fmtmsg.c: Likewise.
60051         * sunrpc/auth_unix.c: Likewise.
60052         * sunrpc/clnt_perr.c: Likewise.
60053         * sunrpc/clnt_tcp.c: Likewise.
60054         * sunrpc/clnt_udp.c: Likewise.
60055         * sunrpc/clnt_unix.c: Likewise.
60056         * sunrpc/openchild.c: Likewise.
60057         * sunrpc/svc_simple.c: Likewise.
60058         * sunrpc/svc_tcp.c: Likewise.
60059         * sunrpc/svc_udp.c: Likewise.
60060         * sunrpc/svc_unix.c: Likewise.
60061         * sunrpc/xdr.c: Likewise.
60062         * sunrpc/xdr_array.c: Likewise.
60063         * sunrpc/xdr_rec.c: Likewise.
60064         * sunrpc/xdr_ref.c: Likewise.
60065         * sunrpc/xdr_stdio.c: Likewise.
60067 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60069         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60071 2011-07-03  Andreas Jaeger  <aj@suse.de>
60073         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60074         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60075         regenerate with gen-libm-tests.pl.
60077 2010-05-12  Petr Baudis  <pasky@suse.cz>
60079         [BZ #11589]
60080         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60081         around j0() zero points by switching to j1().
60082         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60083         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60084         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60085         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60087 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60089         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60090         instead of 0.
60091         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60092         instead of 0.
60093         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60094         Patch in part by Pavel Roskin <proski@gnu.org>.
60096         [BZ #13138]
60097         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60098         realloc.
60099         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60100         Free memory block if necessary.
60102         [BZ #12847]
60103         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60104         be NULL.  Don't lock in this case.
60106 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60108         * elf/elf.h (ELFOSABI_GNU): New macro.
60109         (ELFOSABI_LINUX): Define to that.
60111 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60113         * string/strncat.c (strncat): Undef the symbol in case it has been
60114         defined in bits/string.h.
60116 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60118         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60120         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60121         link map.
60123 2011-08-17  Andreas Jaeger  <aj@suse.de>
60125         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60127 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60128             Ian Lance Taylor  <iant@google.com>
60130         * math/libm-test.inc (lround_test): New testcase.
60131         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60133 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60135         * Makefile: Remove support for automatic cvs check-ins.
60136         * Makerules: Likewise.
60137         * config.make.in: Likewise.
60138         * configure.in: Likewise.
60139         * intl/Makefile: Likewise.
60140         * locale/Makefile: Likewise.
60141         * po/Makefile: Likewise.
60142         * posix/Makefile: Likewise.
60143         * sysdeps/gnu/Makefile: Likewise.
60144         * sysdeps/mach/hurd/Makefile: Likewise.
60145         * sysdeps/sparc/sparc32/Makefile: Likewise.
60147         [BZ #13118]
60148         * posix/Makefile (bug-regex32-ENV): Define.
60149         Patch by John Stanley <jpsinthemix@verizon.net>.
60151         * misc/Makefile (headers): Add bits/select2.h.
60152         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60153         * misc/bits/select2.h: New file.
60154         * include/bits/select2.h: New file.
60155         * debug/Makefile (routines): Add fdelt_chk.
60156         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60157         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60158         FD_ISSET.
60159         * debug/fdelt_chk.c: New file.
60161         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60162         * wcsmbs/test-wmemcmp.c: Likewise.
60163         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60164         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60166 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60168         * string/Makefile (strop-tests): Add memcmp.
60169         * string/test-wmemcmp.c: New file.
60170         * string/test-memcmp.c: Add wmemcmp support.
60172 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60174         [BZ #13153]
60175         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60176         2011-07-19 change.
60178         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60179         garbage value in a __mach_port_mod_refs call in the cases of the
60180         task-self and thread-self ports.
60182 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60184         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60186 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60188         * elf/dl-load.c (lose): Check for non-null L.
60190 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60192         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60194         * elf/dl-libc.c (dlerror_run): Pass back error code from
60195         dl_catch_error.
60197         [BZ #13123]
60198         * elf/dl-load.c (lose): Free l_origin if it is valid.
60200         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60201         names.
60202         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60203         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60204         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60205         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60206         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60207         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60209 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60211         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60212         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60213         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60214         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60215         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60216         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60217         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60218         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60219         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60220         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60222 2011-08-15  Alan Modra  <amodra@gmail.com>
60224         [BZ #13092]
60225         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60226         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60227         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60228         ppc_mcount to static-only-routines.
60229         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60230         __mcount_internal.
60231         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60232         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60234 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60236         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60237         for finite and infinity parameters.
60239 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60241         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60242         and add nop instructions for throughput optimization.
60243         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60245 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60247         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60248         aligned copy for power7 with vector-scalar instructions.
60249         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60251 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60254         AVX check.
60256 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60258         [BZ #13144]
60259         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60260         last change.
60262 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60264         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60265         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60266         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60267         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60268         clock_gettime.
60270 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60272         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60273         Forgot to demangle the pointer.
60275         * sysdeps/i386/sysdep.h: Define atom_text_section.
60276         * sysdeps/x86_64/sysdep.h: Likewise.
60277         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60278         section with atom_text_section.
60279         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60280         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60281         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60282         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60283         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60285         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60286         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60287         already be defined.  Change to take two parameters and don't assign
60288         result to variable.  Adjust all users.
60289         Define INTERNAL_GETTIME if not already defined.
60290         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60291         call.
60292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60293         HAVE_CLOCK_GETTIME_VSYSCALL.
60294         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60296         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60297         gettimeofday vsyscall, just use time.
60299 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60301         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60302         <errno.h>.
60304 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60306         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60307         syscall on x86-64.
60308         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60309         syscall.
60310         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60311         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60312         syscall if possible.
60314 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60316         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60317         e_ident.  Don't pass to find_mapsXX.
60318         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60320 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60323         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60324         * sysdeps/x86_64/multiarch/strchr.S: Update.
60325         Check bit_slow_BSF bit.
60326         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60327         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60328         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60330 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60332         [BZ #13134]
60333         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60334         before glibc 2.15.
60335         (tryshell): Define.
60336         (__spawni): Change last parameter to be flag.  Test
60337         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60338         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60339         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60340         * posix/spawni.c: Likewise.
60341         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60342         * posix/spawnp.c: Likewise.  Change normal version to use
60343         SPAWN_XFLAGS_USE_PATH.
60344         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60345         SPAWN_XFLAGS_TRY_SHELL.
60347         [BZ #13150]
60348         * posix/glob.h: Remove gcc 1.x support.
60350         [BZ #13068]
60351         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60353 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60355         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60356         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60357         strrchr-sse2-bsf
60358         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60359         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60360         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60361         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60362         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60363         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60365 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60367         * sysdeps/x86_64/wcscmp.S: New file.
60369         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60370         wcscmp-c wcscmp-sse2
60371         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60372         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60373         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60374         * wcsmbs/wcscmp.c: Allow renaming.
60376 2011-09-05  David S. Miller  <davem@davemloft.net>
60378         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60379         stack slot, rather than the struct return pointer slot.
60380         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60381         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60383         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60385 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60387         * po/ja.po: Update from translation team.
60389         [BZ #13144]
60390         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60391         kernel in 64-bit binaries.
60393 2011-09-01  David S. Miller  <davem@davemloft.net>
60395         * elf/elf.h (HWCAP_SPARC_*): Move to..
60396         * sysdeps/sparc/sysdep.h: this new file and add new values.
60397         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60398         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60399         _DL_HWCAP_COUNT to 24.
60400         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60401         entries.
60402         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60403         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60404         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60405         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60406         instead of magic constants.
60407         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60409 2011-08-31  David S. Miller  <davem@davemloft.net>
60411         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60412         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60413         Reimplement to do errno handling inline.
60414         (SYSCALL_ERROR_HANDLER): New macro.
60415         (__SYSCALL_STRING): Do not do errno handling in asm.
60416         (__CLONE_SYSCALL_STRING): Delete.
60417         (__INTERNAL_SYSCALL_STRING): Delete.
60418         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60419         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60420         (PSEUDO): Reimplement to do errno handling inline.
60421         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60422         (SYSCALL_ERROR_HANDLER): New macro.
60423         (__SYSCALL_STRING): Do not do errno handling in asm.
60424         (__CLONE_SYSCALL_STRING): Delete.
60425         (__INTERNAL_SYSCALL_STRING): Delete.
60426         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60427         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60428         i386.
60429         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60430         (inline_syscall*): Add 'err' argument.
60431         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60432         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60433         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60434         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60436         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60437         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60439 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60441         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60443 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60445         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60446         directive.
60448 2011-08-24  David S. Miller  <davem@davemloft.net>
60450         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60452 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60454         * elf/Makefile: Add rules to build and run unload8 test.
60455         * elf/unload8.c: New file.
60456         * elf/unload8mod1.c: New file.
60457         * elf/unload8mod1x.c: New file.
60458         * elf/unload8mod2.c: New file.
60459         * elf/unload8mod3.c: New file.
60461         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60462         it wasn't used.
60464 2011-08-23  David S. Miller  <davem@davemloft.net>
60466         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60467         subtract stack bias.
60468         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60469         %sp not %fp in calculations.
60470         (_JMPBUF_UNWINDS_ADJ): Likewise.
60472         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60473         (aio_suspend): Call it to force an exception region around the
60474         AIO_MISC_WAIT() invocation.
60476 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60478         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60479         backslash.
60481 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60483         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60484         protection macro.
60485         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60486         and <dl-machine.h>.
60487         (Elf64_FuncDesc): Remove.
60489 2011-08-22  David S. Miller  <davem@davemloft.net>
60491         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60492         sigaltstack check, add missing cfi directives.
60493         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60494         missing cfi directives, and sigaltstack handling.
60496 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60498         [BZ #11724]
60499         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60500         object is seen twice.
60501         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60503         * elf/Makefile (distribute): Add tst-initorder2.c.
60504         (tests): Add tst-initorder2.
60505         (modules-names): Add tst-initorder2a tst-initorder2b
60506         tst-initorder2c tst-initorder2d.  Add rules to build them.
60507         ($(objpfx)tst-initorder2.out): New rule.
60508         * elf/tst-initorder2.c: New file.
60509         * elf/tst-initorder2.exp: New file.
60511 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60513         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60515         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60516         dependencies back to end of function.
60518         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60519         $(elfobjdir)/ld.so.
60521 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60523         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60524         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60526         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60527         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60528         of __vdso_gettimeofday.
60529         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60530         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60531         attribute_hidden.
60532         (_libc_vdso_platform_setup): Remove initialization of
60533         __vdso_gettimeofday and __vdso_time.
60535 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60537         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60538         and fgetc_unlocked.
60539         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60540         getc_unlocked.
60542         * elf/dl-open.c (add_to_global): Report additions to the global scope
60543         for LD_DEBUG=scopes.
60544         (dl_open_worker): Also print scope of newly loaded dependencies.
60545         (_dl_show_scope): Indicate if there is no scope.
60547         [BZ #13114]
60548         * stdio-common/Makefile (tests): Add bug24.
60549         * stdio-common/bug24.c: New file.
60551 2011-08-19  Andreas Jaeger  <aj@suse.de>
60553         [BZ #13114]
60554         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60555         non-existant file when using close-on-exec mode.
60557 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60559         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60560         the very first instruction.
60562         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60563         the CFI state in the end.
60564         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60565         inclusion of dl-trampoline.h.
60566         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60568 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60570         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60571         expectations for long double.
60573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60574         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60576 2011-08-14  David S. Miller  <davem@davemloft.net>
60578         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60579         artificual limit depends upon the system page size.
60581 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60583         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60584         * resolv/Makefile: Define CFLAGS-libresolv.
60586 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60588         * nss/makedb.c (compute_tables): Make variables used in nested
60589         function static.
60591 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60593         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60594         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60595         if buffer was too small.
60597         * elf/pldd.c (main): Attach to all threads in the process.
60598         Rewrite /proc handling to use *at functions.
60600 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60602         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60603         specifies first scope to show.
60604         (dl_open_worker): Update callers.  Move printing scope of new
60605         object to before the relocation.
60606         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60607         * sysdeps/generic/ldsodefs.h: Update declaration.
60609         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60610         string for the scope number.
60612 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60614         * nscd/servicescache.c (cache_addserv): Make sure written is always
60615         initialized.
60617 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60619         * sysdeps/i386/i486/bits/atomic.h
60620         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60621         statement expression, so as to suppress "set but not used" warning.
60622         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60624         * string/strncat.c (STRNCAT): Use prototype definition.
60626         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60627         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60628         -Iprograms here.
60629         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60630         (localedef-modules): Add localedef.
60631         (locale-modules): Add locale.
60633         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60634         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60635         to avoid a warning.
60637 2011-08-14  David S. Miller  <davem@davemloft.net>
60639         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60640         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60642 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60644         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60645         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60646         * elf/rtld.c (dl_main): Set l_name of vDSO.
60647         Call _dl_show_scope when DL_DEBUG_SCOPES.
60648         (process_dl_debug): Recognize scopes flag and also set it for all.
60649         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60650         Declare _dl_show_scope.
60652         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60653         (do_dlopen): Pass caller_dlopen to dl_open.
60654         (__libc_dlopen_mode): Initialize caller_dlopen.
60656         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60657         of libc.  Make tolower call locale-independent.  Optimize a bit by
60658         using isdigit instead of isalnum.
60659         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60661 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60663         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60664         was a dependency or dynamically loaded.
60666 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60668         * intl/l10nflist.c: Allow architecture-specific pop function.
60669         * sysdeps/x86_64/l10nflist.c: New file.
60671         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60672         classification.
60674 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60676         * include/dirent.h: Add libc_hidden_proto for scandirat and
60677         scandirat64.  Don't declare __scandirat64.
60678         * dirent/scandirat.c: Add libc_hidden_def.
60679         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60680         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60682 2011-08-10  David S. Miller  <davem@davemloft.net>
60684         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60685         enum.
60686         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60687         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60688         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60690 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60692         * Versions.def [libc]: Add GLIBC_2.15.
60693         * dirent/Makefile (routines): Add scandirat and scandirat64.
60694         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60695         GLIBC_2.15.
60696         * dirent/dirent.h: Declare scandirat and scandirat64.
60697         * dirent/scandirat.c: New file.
60698         * dirent/scandirat64.c: New file.
60699         * sysdeps/wordsize-64/scandirat.c: New file.
60700         * sysdeps/wordsize-64/scandirat64.c: New file.
60701         * dirent/opendir.c: Define opendirat.
60702         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60703         using scandirat.
60704         * dirent/scandir64.c: Adjust for scandir.c change.
60705         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60706         __scandirat64, and __scandir_cancel_handler.
60707         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60708         additional parameter and use openat instead of open (outside of ld.so).
60709         Add new __opendir as wrapper around __opendirat.
60710         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60711         here without requiring old scandirat implementation.
60713 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60715         * dirent/scandir.c (cancel_handler): Renamed to
60716         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60717         defined.  Adjust users.
60718         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60719         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60721 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60723         * string/test-string.h (IMPL): Use __STRING to expand name and then
60724         stringify it.
60726         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60727         of cleanups.
60729 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60731         * string/Makefile: Update.
60732         (strop-tests): Append strncat.
60733         * string/test-wcscmp.c: New file.
60734         New comprehensive test for wcscmp.
60735         * string/test-strcmp.c: Update.
60736         (WIDE): New define.
60738 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60740         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60741         line.
60743 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60746         encoding to ACE if AI_IDN.
60748 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60750         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60751         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60753 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60755         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60756         Fix overflow bug in strncat.
60757         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60759         * string/test-strncat.c: Update.
60760         Add new tests for checking overflow bugs.
60762 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60764         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60765         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60766         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60767         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60768         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60769         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60770         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60771         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60772         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60774         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60775         (USE_AS_STRCAT): Define.
60776         Add strcat and strncat support.
60777         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60779 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60781         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60782         __n bigger than INT_MAX+1.
60783         (__strncmp_g): Likewise.
60785 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60787         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60788         * libio/stido.h: Likewise.
60790         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60791         (AF_NFC): Define.
60792         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60793         (AF_NFC): Define.
60795         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60796         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60797         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60798         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60799         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60801         [BZ #13021]
60802         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60803         installed.
60805         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60806         typo.
60807         (_dl_x86_64_save_sse): Likewise.
60809 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60811         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60812         OSXSAVE.
60813         (_dl_x86_64_save_sse): Likewise.
60815         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60817         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60819 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60821         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60822         change.
60823         (_dl_x86_64_save_sse): Use correct AVX check.
60825 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60827         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60828         bug in strncpy/strncat.
60829         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60831 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60833         * string/tester.c (test_strcat): Add tests for different alignments
60834         of source and destination.
60835         (test_strncat): Likewise.
60837 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60839         [BZ #12852]
60840         * posix/glob.c (glob): Check passed in values before using them in
60841         expressions to avoid some overflows.
60842         (glob_in_dir): Likewise.
60844         [BZ #13007]
60845         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60846         check for AVX enablement so that we don't crash with old kernels and
60847         new hardware.
60848         * elf/tst-audit4.c: Add same checks here.
60849         * elf/tst-audit6.c: Likewise.
60851         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60853 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60855         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60857 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60859         * po/cs.po: Update from translation team.
60860         * po/bg.po: Likewise.
60862 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60864         * misc/sys/cdefs.h: Add support for const attribute.
60865         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60866         to gnu_dev_{major,minor,makedev} functions.
60868 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60870         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60872 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60874         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60875         strlen results.
60877 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60879         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60880         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60881         register in order to avoid conflicts with the soft frame pointer
60882         being held in r11 when necessary.
60883         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60884         (INTERNAL_VSYSCALL_NCS): Likewise.
60886 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60888         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60889         * elf/dl-fini.c (_dl_fini): Adjust caller.
60890         * elf/dl-close.c (_dl_close_worker): Likewise.
60891         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60893 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60895         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60896         "aux_cache->nlibs < 0".
60898         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60899         in the reload-count case.
60901 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60904         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60905         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60906         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60907         * sysdeps/x86_64/multiarch/strcat.S: New file.
60908         * sysdeps/x86_64/multiarch/strncat.S: New file.
60909         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60910         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60911         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60912         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60913         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60914         (USE_AS_STRCAT): Define.
60915         Add strcat and strncat support.
60916         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60917         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60918         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60919         * string/strncat.c: Update.
60920         (USE_AS_STRNCAT): Define.
60921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60922         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60923         and i7.
60924         * sysdeps/x86_64/multiarch/init-arch.h
60925         (bit_Prefer_PMINUB_for_stringop): New.
60926         (index_Prefer_PMINUB_for_stringop): Likewise.
60927         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60928         bit_Prefer_PMINUB_for_stringop.
60930 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60932         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60933         buffer64.
60934         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60935         of casting of buffer.
60936         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60937         buffer32 and buffer64.
60938         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60939         writes instead of casting of buffer.
60940         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60941         buffer32.
60942         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60943         casting of buffer.
60945 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60947         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60949 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60951         * nscd/nscd.c (termination_handler): Don't do anything for a database
60952         if it has not yet been initialized.
60954 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60956         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60958 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60960         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60962 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60964         * po/nl.po: Update from translation team.
60965         * po/sv.po: Likewise.
60967 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60969         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60970         now disallowed by GCC.
60972         * configure.in (use-default-link): Default to yes if a test -shared
60973         link meets our qualifications.
60974         * configure: Regenerated.
60976         * config.make.in (output-format): New variable.
60977         * configure.in: Check for ld --print-output-format support.
60978         * configure: Regenerated.
60979         * Makerules ($(common-objpfx)format.lds)
60980         [$(output-format) != unknown]: Just use $(output-format),
60981         instead of the linker-script munging.
60983 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60985         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60986         of $(common-objpfx)shlib.lds.
60987         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60989         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60990         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60992         * configure.in (-z relro check): Adjust test code to add a large
60993         writable data section after it.
60994         * configure: Regenerated.
60996 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60998         * configure.in (-z relro check): Fix test code to make the variable
60999         truly const.
61000         * configure: Regenerated.
61002 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
61004         * nscd/nscd.h (struct traced_file): Define.
61005         (struct database_dyn): Remove inotify_descr, reset_res, and filename
61006         elements.  Add traced_files.
61007         (inotify_fd): Declare.
61008         (register_traced_file): Declare.
61009         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61010         (inotify_fd): Export.
61011         (resolv_conf_descr): Remove.
61012         (nscd_init): Move inotify descriptor creation to main.
61013         Don't register files for notification here.
61014         (register_traced_file): New function.
61015         (invalidate_cache): Don't use reset_res to determine whether to call
61016         res_init, go through the list of registered files.
61017         (main_loop_poll): The inotify descriptors are now stored in the
61018         structures for the traced files.
61019         (main_loop_epoll): Likewise
61020         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61021         to __nss_disable_nscd.
61022         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61023         for a database anymore.  Check the records for all the registered
61024         files instead.
61025         * nss/Makefile (libnss_files-routines): Add files-init.
61026         (libnss_db-routines): Add db-init.
61027         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61028         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61029         * nss/nss_db/db-init.c: New file.
61030         * nss/nss_files/files-init.c: New file.
61031         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61032         __nss_lookup_function.
61033         (__nss_lookup_function): Call nss_load_library.
61034         (nss_load_all_libraries): New function.
61035         (__nss_disable_nscd): Take parameter with callback function for files
61036         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61037         used for the cached services.
61038         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61039         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61040         options for features to all the files in nscd.
61042         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61044 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61046         * csu/elf-init.c (__libc_csu_init): Comment typo.
61048 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61050         * po/pl.po: Update from translation team.
61051         * po/ja.po: Likewise.
61052         * po/ru.po: Likewise.
61053         * po/ko.po: Likewise.
61054         * po/fr.po: Likewise.
61056 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61058         * configure.in (.ctors/.dtors header and trailer check):
61059         Use an empirical test on a built program.
61060         * configure: Regenerated.
61062         * configure.in (-z relro check): Use an empirical test on a built DSO.
61063         Detect, but do not require, on ia64.
61064         * configure: Regenerated.
61066         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61067         Update tests that use readelf to use $READELF instead.
61068         * configure: Regenerated.
61070 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61072         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61073         if the result is not used.
61075 2011-07-05  Andreas Jaeger  <aj@suse.de>
61077         [BZ#9696]
61078         * stdlib/tst-strtod.c: Add testcase.
61080 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61082         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61083         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61084         The latter has a higher limit.  Take additional parameter to pass to
61085         the new function.
61086         (__pathconf): Pass file to __statfs_link_max.
61087         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61088         __statfs_link_max.
61089         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61090         __statfs_link_max.
61092         [BZ #12868]
61093         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61094         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61095         Handle Lustre.
61096         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61097         (__statfs_filesize_max): Likewise.
61098         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61100 2011-07-05  Andreas Jaeger  <aj@suse.de>
61102         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61104 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61106         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61107         `status' variable.
61108         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61109         Likewise.
61111 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61113         * Makefile (strop-tests): Add strncat.
61114         * string/test-strncat.c: New file.
61116 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61118         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61120 2011-06-21  Andreas Jaeger  <aj@suse.de>
61122         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61123         Copy rule from iconvdata/Makefile.
61125 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61127         [BZ #12922]
61128         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61129         but no long options are defined, just return 'W'.
61131 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61133         [BZ #9696]
61134         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61136 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61138         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61139         netgroups to read.
61140         (innetgr): Likewise.
61142 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61144         * config.make.in (install_root): Default to $(DESTDIR).
61146 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61148         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61150 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61152         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61154         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61155         containing directory rather than embedding absolute directory names.
61157         * scripts/check-local-headers.sh: Rewritten using awk.
61158         Match by word, not by line.  Print error messages for matches.
61159         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61161         * Makerules [shlib-lds-flags empty]:
61162         ($(common-objpfx)libc_pic.opts): New target.
61163         ($(common-objpfx)libc_pic.os.clean): New target.
61164         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61166         * config.make.in (OBJCOPY): New variable.
61167         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61168         * configure: Regenerated.
61170         * config.make.in (use-default-link): New variable.
61171         * configure.in (use_default_link): Grok --with-default-link to set it.
61172         * configure: Regenerated.
61173         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61174         (shlib-lds, shlib-lds-flags): Define to empty.
61176         * Makerules (shlib-lds): New variable.
61177         (shlib-lds-flags): New variable.
61178         (build-shlib, build-moduile, build-module-asneeded): Use it.
61179         ($(common-objpfx)libc.so): Use $(shlib-lds).
61180         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61181         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61183         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61184         DT_FLAGS/DT_FLAGS_1 with zero flags.
61186         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61187         linker script munging.
61189 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61191         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61192         as 128-bit value.
61193         * crypt/sha512.c (sha512_process_block): Perform total addition using
61194         128-bit if possible.
61195         (__sha512_finish_ctx): Likewise.
61196         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61197         as 64-bit value.
61198         * crypt/sha256.c (SWAP64): Define.
61199         (sha256_process_block): Perform total addition using 64-bit if
61200         possible.
61201         (__sha256_finish_ctx): Likewise.
61203 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61205         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61206         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61207         * nscd/hstcache.c (cache_addhst): Likewise.
61208         * nscd/grpcache.c (cache_addgr): Likewise.
61209         * nscd/aicache.c (addhstaiX): Likewise
61210         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61212 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61214         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61215         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61216         * nscd/hstcache.c (cache_addhst): Likewise.
61217         * nscd/grpcache.c (cache_addgr): Likewise.
61218         * nscd/aicache.c (addhstaiX): Likewise
61220 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61222         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61223         domain only when needed.
61225 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61228         is always restored.
61230 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61232         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61233         are re-adding the entry.
61234         * nscd/servicescache.c (cache_addserv): Likewise.
61236 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61238         * sysdeps/generic/dl-irel.h: fix protection against multiple
61239         inclusions.
61240         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61242 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61244         [BZ #12935]
61245         * malloc/memusage.sh: Fix quoting in message.
61246         * debug/xtrace.sh: Likewise.
61248         * configure.in: Remove support for --experimental-malloc option, make
61249         it the default.
61250         * config.make.in: Likewise.
61251         * malloc/Makefile: Likewise.
61253 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61255         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61256         two-byte characters.
61258 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61260         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61261         AC_CACHE_CHECK invocation.
61262         * configure: Regenerated.
61264         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61266 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61268         [BZ #12350]
61269         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61270         bit from old_res_options.
61272         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61274         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61275         value type for setfct.
61277 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61279         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61280         __gettimeofday instead of gettimeofday.
61282 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61284         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61286 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61288         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61290         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61291         info.
61293 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61296         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61297         strcpy-sse2-unaligned strncpy-sse2-unaligned
61298         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61299         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61300         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61301         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61302         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61303         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61304         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61305         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61306         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61307         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61308         (STRCPY): Support SSE2 and SSSE3 versions.
61310 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61312         [BZ #12874]
61313         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61314         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61315         kernels which artificially limit size of requests.
61317 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61319         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61320         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61321         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61322         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61323         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61324         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61325         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61326         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61327         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61328         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61329         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61330         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61331         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61332         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61333         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61335         Enable unaligned load optimization for Intel Core i3, i5 and i7
61336         processors.
61337         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61338         Define.
61339         (index_Fast_Unaligned_Load): Define.
61340         (HAS_FAST_UNALIGNED_LOAD): Define.
61342 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61344         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61346 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61348         [BZ #12907]
61349         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61350         until it is clear that the information is realy needed.
61351         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61353 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61357 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61359         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61360         /sys/devices/system/cpu/online if it is usable.
61362         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61363         reading the information from the /proc filesystem to once a second.
61365 2011-06-21  Andreas Jaeger  <aj@suse.de>
61367         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61368         NULL after inclusion of kernel headers.
61370 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61372         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61373         calls to internal_setent.
61375         [BZ #12885]
61376         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61377         addresses using gethostbyname4_r ignore IPv4 addresses.
61379         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61380         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61382         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61384 2011-06-20  David S. Miller  <davem@davemloft.net>
61386         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61387         inclusions.
61388         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61390         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61391         (elf_irel): Use it.
61392         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61393         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61394         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61395         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61396         * sysdeps/x86_64/dl-irel.h: Likewise.
61398         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61399         * elf/dl-sym.c: Likewise.
61401 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61403         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61404         need to dereference resplen2.
61406 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61408         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61410 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61412         * Makeconfig: Define vardbdir and inst_vardbdir.
61413         * nss/Makefile: Add rules to install db-Makefile.
61415         * nss/nss_db/db-XXX.c: Cleanup.
61417         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61418         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61419         GLIBC_PRIVATE.
61420         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61421         * nss/makedb.c: Implement -g option to specify that value strings
61422         are generated and should not be added to table iterated over for
61423         get*ent calls.
61424         * nss/nss_db/db-initgroups.c: New file.
61426         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61427         interface.
61429         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61430         (internal_getgrouplist): Adjust to name change.
61431         Update use_initgroups_entry if this is not the first call.
61432         * nss/databases.def: Add initgroups entry.
61434         * nss/makedb.c (compute_tables): Check result of multiple hash table
61435         sizes to minimize maximum chain length.
61437 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61439         * Versions.def: Add entry for libnss_db.
61440         * shlib-versions: Likewise.
61441         * nss/Makefile: Add rules to build libnss_db.
61442         * nss/Versions: Add libnss_db information.  Organize libnss_files
61443         entries better.
61444         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61445         makedb progra.  Some minor improvements to generate smaller files.
61446         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61447         here from...
61448         * nss/makedb.c: ...here.
61449         Improve database format to be smaller and require less memory at
61450         runtime.
61451         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61452         db anymore.
61453         * nss/nss_db/db-netgrp.c: Likewise.
61454         * nss/nss_db/db-open.c: Likewise.
61455         * nss/nss_files/flies-XXX.x: Adjust comments.
61456         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61457         * nss/nss_files/files-grp.c: Likewise.
61458         * nss/nss_files/files-hosts.c: Likewise.
61459         * nss/nss_files/files-network.c: Likewise.
61460         * nss/nss_files/files-proto.c: Likewise.
61461         * nss/nss_files/files-pwd.c: Likewise.
61462         * nss/nss_files/files-rpc.c: Likewise.
61463         * nss/nss_files/files-service.c: Likewise.
61464         * nss/nss_files/files-sgrp.c: Likewise.
61465         * nss/nss_files/files-spwd.c: Likewise.
61466         * nss/nss_db/db-alias.c: Removed.
61467         * nss/nss_db/dummy-db.h: Removed.
61469 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61471         * nss/makedb.c: Rewritten to not use database library.
61472         * nss/Makefile: Update to build new makedb program.
61474 2011-06-14  Andreas Jaeger  <aj@suse.de>
61476         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61477         memset declaration.
61479 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61482         tmpbuf.
61484 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61486         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61487         * elf/Makefile ($(objpfx)ld.so): Likewise.
61489         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61490         Don't list ld.so twice in dependencies.
61492         * posix/bug-regex31.c: Include <stdlib.h>.
61494         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61496         * nis/nss_compat/compat-spwd.c
61497         (getspent_next_nss_netgr): Remove unused variable.
61498         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61500         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61501         nonmembers" output to use the right array.
61503         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61505         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61507         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61508         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61509         * catgets/gencat.c (read_input_file): Likewise.
61510         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61512         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61513         variable definition inside #if's controlling its use.
61515         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61517         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61519         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61521         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61522         unreachable code.
61524         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61526         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61527         * configure: Regenerated.
61529         * Makerules: Revert last change.
61530         * elf/Makefile: Likewise.
61532 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61534         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61535         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61536         (reloc-link): Likewise.
61538 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61540         * elf/Makefile: Add rules to build pldd.
61541         * elf/pldd.c: New file.
61542         * elf/pldd-xx.c: New file.
61544 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61546         * version.h: Update for 2.15 development version.
61548 2011-06-07  David S. Miller  <davem@davemloft.net>
61550         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61551         ifuncs.
61552         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61553         elf_machine_lazy_rel): Likewise.
61554         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61555         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61556         elf_machine_lazy_rel): Likewise.
61557         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61558         dl_hwcap via passed in argument.
61559         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61560         Likewise.
61562 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61564         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61566 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61568         [BZ #12849]
61569         * manual/fdl-1.1.texi: New file, verbatim from:
61570         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61571         * manual/lgpl-2.1.texi: New file, verbatim from:
61572         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61573         * manual/Makefile (licenses): New variable, list those new file names.
61574         (texis): Use it.
61575         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61577         * manual/fdl.texi: File removed.
61578         * manual/lesser.texi: File removed.
61579         * manual/libc.texinfo (Copying, Documentation License):
61580         Use new @include file names, put @appendix directive before @include.
61582 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61584         [BZ #12841]
61585         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61586         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61587         (mq_open): Add __NTH.
61589 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61592         Assume Intel Core i3/i5/i7 processor if AVX is available.
61594 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61596         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61597         typo.
61599 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61601         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61602         memory.  Use alloca_account.  Fix memory leak when retrying.
61604 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61606         * version.h (RELEASE): Bump for 2.14 release.
61607         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61609         * config.make.in (RANLIB): Remove entry.
61611 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61613         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61614         (libc.pot): Work around missing support for .ksh extension in xgettext.
61616         [BZ #12684]
61617         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61618         if both request failed.
61619         (send_dg): In case of server errors clear resplen or *resplen2.
61621         [BZ #12454]
61622         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61623         when there are multiple maps.
61624         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61625         (_dl_fini): Remove test here.
61627         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61629 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61631         [BZ #12350]
61632         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61633         bit from old_res_options.
61634         (gaih_inet): Likewise.
61636         [BZ #11099]
61637         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61638         as signed.
61640         * resolv/res_init.c (res_setoptions): Make the code more compact.
61642         [BZ #11558]
61643         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61644         set RES_USEVC.
61646         [BZ #11634]
61647         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61649         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61651         [BZ #11781]
61652         * malloc/malloc.h: Declare malloc hook variables as volatile.
61654         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61655         in last patch.
61657         [BZ #11799]
61658         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61659         raise in the comment.
61660         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61661         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61662         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61664 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61666         [BZ #12811]
61667         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61668         grow the buffers more if it already has to be sufficient.
61669         (build_wcs_upper_buffer): Likewise.
61670         * posix/regexec.c (check_matching): Likewise.
61671         (clean_state_log_if_needed): Likewise.
61672         (extend_buffers): Don't enlarge buffers beyond size of the input
61673         buffer.
61674         Patches mostly by Emil Wojak <emil@wojak.eu>.
61675         * posix/bug-regex32.c: New file.
61676         * posix/Makefile (tests): Add bug-regex32.
61678         * locale/findlocale.c (_nl_find_locale): Return right away if
61679         _nl_explode_name failed.
61680         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61682         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61684         * debug/xtrace.sh: Unify messages.
61685         * malloc/memusage.sh: Likewise.
61687         [BZ #12813]
61688         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61689         time symbol from vDSO.  Substitute with vsyscall if not available.
61690         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61691         __vdso_time.
61693         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61694         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61695         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61696         Add sendmmsg and internal_sendmmsg.
61697         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61698         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61699         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61701         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61702         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61703         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61705 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61707         [BZ #12813]
61708         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61709         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61710         available.
61711         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61712         __vdso_getcpu.
61714         [BZ #12814]
61715         * iconvdata/Makefile (tests): Add bug-iconv9.
61716         * iconvdata/bug-iconv9.c: New file.
61718 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61720         [BZ #12814]
61721         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61723 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61725         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61726         (struct user_regs_struct): Change intcs field back to cs.
61728 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61730         * po/ja.po: Update from translation team.
61732 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61734         [BZ #12795]
61735         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61736         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61738 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61740         * stdlib/longlong.h: Update from GCC.
61742 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61744         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61745         parameter name.
61746         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61747         Add parameter name.
61748         (__sysconf): Pass it down.
61750 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61752         [BZ #12671]
61753         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61754         some situations.
61755         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61756         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61757         add in in __libc_use_alloca calls.  Adjust callers.
61758         (glob): Use malloc in some situations.
61760         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61761         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61762         pltexit.
61764 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61766         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61767         and CLOCK_BOOTTIME_ALARM.
61769         [BZ #12782]
61770         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61771         is returned.
61773         * string/_strerror.c (__strerror_r): Print negative errors as signed
61774         numbers.
61776         [BZ #12777]
61777         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61778         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61779         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61781         * configure.in: Fix typo in redirection and correct removal of test
61782         files in two cases.
61784         [BZ #12788]
61785         * locale/setlocale.c (new_composite_name): Fix test to check for
61786         identical name of all categories.
61788         [BZ #12792]
61789         * libio/filedoalloc.c (local_isatty): New function.
61790         (_IO_file_doallocate): Use local_isatty.
61791         * stdio-common/perror.c (perror): In case a new stream is used
61792         forward the stream error.
61793         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61794         error flag.
61796 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61798         [BZ #11869]
61799         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61800         alloca.
61801         * include/alloca.h (extend_alloca_account): Define.
61803         [BZ #11857]
61804         * posix/regex.h: Fix comments with documentation of user-accessible
61805         fields after compilation and describe correct free'ing of pattern
61806         after re_compile_pattern.
61807         Patch by Reuben Thomas <rrt@sc3d.org>.
61809 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61811         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61812         and -mno-altivec to prevent the compiler from using Altivec and/or
61813         VSX instructions when the corresponding registers are not available.
61815 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61817         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61819 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61821         * libio/freopen.c (freopen): Use __dup2, not dup2.
61822         * libio/freopen64.c (freopen64): Likewise.
61824 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61826         [BZ #12775]
61827         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61828         * math/Makefile (tests): Add test-powl.
61829         (CFLAGS-test-powl.c): Define.
61830         * math/test-powl.c: New file.
61832 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61834         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61836 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61838         [BZ #11837]
61839         * iconvdata/gb18030.c: Update to GB18020-2005.
61841 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61843         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61844         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61845         Patch by Aharon Robbins <arnold@skeeve.com>.
61847         [BZ #11892]
61848         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61849         on the stack.
61851         [BZ #11895]
61852         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61853         through underflows.
61855         [BZ #12766]
61856         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61857         point to strings before performing equality test for error_one_per_line
61858         mode.
61860         [BZ #11697]
61861         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61863         [BZ #11820]
61864         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61865         (struct user_fpregs_struct): Avoid __uint*_t types.
61867         [BZ #6420]
61868         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61869         symbol info.  Use it instead of calling _dl_addr locally.
61870         (lock_and_info): New function.
61871         (tr_freehook): Call lock_and_info and pass symbol info as additional
61872         parameter to tr_where.
61873         (tr_mallochook): Likewise.
61874         (tr_reallochook): Likewise.
61875         (tr_memalignhook): Likewise.
61877         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61878         used and couldn't be at all thread-safe.
61880 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61882         * libio/freopen.c (freopen): Don't close old file descriptor
61883         before the new one is opened.  Instead dup the new file descriptor
61884         to the old one after the new stream is created.
61885         * libio/freopen64.c (freopen64): Likewise.
61886         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61887         * libio/fileops.c (_IO_new_file_close_it): Handle new
61888         _IO_FLAGS2_NOCLOSE flag.
61889         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61890         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61891         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61892         _IO_FLAGS2_NOCLOSE flag.
61893         * include/unistd.h: Add hidden_proto for dup3.
61894         Define __have_dup3.
61895         * io/dup3.c: Define hidden symbol.
61896         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61898         [BZ #7101]
61899         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61900         when an incomplete long option is used.
61901         * posix/tst-getopt_long1.c: New file.
61902         * posix/Makefile (tests): Add tst-getopt_long1.
61904         [BZ #10138]
61905         * scripts/config.guess: Update from autoconf-2.68.
61906         * scripts/config.sub: Likewise.
61908         [BZ #10157]
61909         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61910         tests into ...
61911         (has_cpuclock): ...this.  New function.
61912         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61913         macro here based on has_cpuclock code.
61915         [BZ #10149]
61916         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61917         First byte (not low byte) is now always NUL.
61918         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61920         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61921         Use non-cancelable interfaces.
61923         [BZ #9809]
61924         * locale/iso-639.def: Add entry for Sorani.
61926         [BZ #11901]
61927         * include/stdlib.h: Move include protection to the right place.
61928         Define abort_msg_s.  Declare __abort_msg with it.
61929         * stdlib/abort.c (__abort_msg): Adjust type.
61930         * assert/assert.c (__assert_fail_base): New function.  Majority
61931         of code from __assert_fail.  Allocate memory for __abort_msg with
61932         mmap.
61933         (__assert_fail): Now call __assert_fail_base.
61934         * assert/assert-perr.c: Remove bulk of implementation.  Use
61935         __assert_fail_base.
61936         * include/assert.hL Declare __assert_fail_base.
61937         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61938         mmap.
61939         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61941 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61943         [BZ #11952]
61944         [BZ #12453]
61945         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61946         until all modules are registered in the DTV.
61947         * elf/Makefile: Add rules to build and run tst-tls19.
61948         * elf/tst-tls19.c: New file.
61949         * elf/tst-tls19mod1.c: New file.
61950         * elf/tst-tls19mod2.c: New file.
61951         * elf/tst-tls19mod3.c: New file.
61952         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61954         [BZ #12083]
61955         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61956         correctly.
61958         [BZ #12601]
61959         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61960         two-byte sequence errors.
61961         * iconvdata/Makefile (tests): Add bug-iconv8.
61962         * iconvdata/bug-iconv8.c: New file.
61964         [BZ #12626]
61965         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61966         buf2 definition.
61968         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61970         [BZ #12432]
61971         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61972         (dummy_getcfa): New function.
61973         (init): Get _Unwind_GetCFA address, use dummy if not found.
61974         (backtrace_helper): In recursion check, also check whether CFA changes.
61975         (__backtrace): Completely initialize arg.
61977         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61978         storing incomplete byte sequence in state object.  Avoid testing for
61979         guaranteed too small input if we know there is enough data available.
61981 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61983         * Makeconfig (+link-pie): Indent.
61984         * Rules (binaries-pie): Define if $(have-fpie) and
61985         $(build-shared).
61986         (binaries-shared): Also filter out $(binaries-pie).
61987         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61988         * nscd/Makefile (others-pie): Add nscd.
61989         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61990         ($(objpfx)nscd): Remove command override.
61991         * login/Makefile (others-pie): Add pt_chown.
61992         ($(objpfx)pt_chown): Remove command override.
61993         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61994         remove command overrides.
61996 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61998         * libio/tst_putwc.c: Fix error messages.
62000         [BZ #12724]
62001         * libio/fileops.c (_IO_new_file_close_it): Always flush when
62002         currently writing and seek to current position when not.
62003         * libio/Makefile (tests): Add bug-fclose1.
62004         * libio/bug-fclose1.c: New file.
62006 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
62008         [BZ #12511]
62009         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62010         don't set DF_1_NODELETE here.
62011         (do_lookup_x): When entering new entry test for copy relocation
62012         and if necessary set DF_1_NODELETE flag.
62013         * elf/tst-unique4.cc: New file.
62014         * elf/tst-unique4.h: New file.
62015         * elf/tst-unique4lib.cc: New file.
62016         * elf/Makefile: Add rules to build and run tst-unique4.
62017         Patch by Piotr Bury <pbury@goahead.com>.
62019 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62021         [BZ #12052]
62022         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62024         [BZ #12625]
62025         * misc/mntent_r.c (addmntent): Flush the stream after the output
62027         [BZ #12393]
62028         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62029         (is_trusted_path_normalize): Skip initial colon.  Append slash
62030         to empty buffer.  Duplicate is_trusted_path code but allow
62031         constructed patch to be prefix.
62032         (is_dst): Allow $ORIGIN followed by /.
62033         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62034         Correct testing of result of is_trusted_path_normalize
62035         (decompose_rpath): Fix warning.
62037 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62039         [BZ #11257]
62040         * grp/initgroups.c (internal_getgrouplist): When we found the service
62041         list through the initgroups entry in nsswitch.conf do not always
62042         continue on a successful lookup.  Don't always use the
62043         __nss_group_database value if it is set.
62044         * nss/nsswitch.conf (initgroups): Change action for successful db
62045         lookup to continue for compatibility.
62047 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62049         [BZ #11532]
62050         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62051         and CP774 modules.
62052         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62053         and CP774 modules.
62054         * iconvdata/tst-tables.sh: Likewise.
62055         * iconvdata/cp770.c: New file.
62056         * iconvdata/cp771.c: New file.
62057         * iconvdata/cp772.c: New file.
62058         * iconvdata/cp773.c: New file.
62059         * iconvdata/cp774.c: New file.
62060         * iconvdata/testdata/CP770: New file.
62061         * iconvdata/testdata/CP770..UTF8: New file.
62062         * iconvdata/testdata/CP771: New file.
62063         * iconvdata/testdata/CP771..UTF8: New file.
62064         * iconvdata/testdata/CP772: New file.
62065         * iconvdata/testdata/CP772..UTF8: New file.
62066         * iconvdata/testdata/CP773: New file.
62067         * iconvdata/testdata/CP773..UTF8: New file.
62068         * iconvdata/testdata/CP774: New file.
62069         * iconvdata/testdata/CP774..UTF8: New file.
62071         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62072         END CHARMAP line.
62073         * iconvdata/gen-8bit-gap.sh: Likewise.
62074         * iconvdata/gen-8bit.sh: Likewise.
62076         * locale/iso-639.def: Add ary entry.
62078         [BZ #11258]
62079         * locale/C-translit.h.in: Add U20A1 transliteration.
62081         [BZ #12178]
62082         * locale/iso-639.def: Add wae entry.
62083         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62085         [BZ #12545]
62086         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62087         for n.
62089         [BZ #12711]
62090         * locale/C-translit.h.in: Add entry for U20B9.
62091         Patch by pravin.d.s@gmail.com.
62093 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62095         [BZ #12713]
62096         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62097         ENAMETOOLONG use generic getcwd.
62098         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62099         in rtld.  Use *stat64.
62100         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62101         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62102         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62103         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62104         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62105         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62106         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62107         __fstatat64 macros.
62108         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62109         * dirent/rewinddir.c: Add libc_hidden_def.
62110         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62111         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62113         * include/dirent.h (__alloc_dir): Add flags parameter.
62114         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62115         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62116         __alloc_dir.
62117         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62118         from fdopendir if O_CLOEXEC is already set.
62120 2011-03-15  Alan Modra  <amodra@gmail.com>
62122         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62123         l_tls_firstbyte_offset non-zero.  Save padding offset in
62124         l_tls_firstbyte_offset for later use.
62125         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62126         freeing static tls block.
62128 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62130         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62131         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62132         being defined by the kernel headers.
62134 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62136         [BZ #12734]
62137         * resolv/resolv.h: Define RES_NOTLDQUERY.
62138         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62139         no-tld-query and set RES_NOTLDQUERY.
62140         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62141         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62142         modern BIND to search name as TLD unless forbidden.
62144 2011-05-07  Petr Baudis  <pasky@suse.cz>
62145             Ulrich Drepper  <drepper@gmail.com>
62147         [BZ #12393]
62148         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62149         (is_trusted_path): ...to here.
62150         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62151         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62152         using is_trusted_path_normalize() in setuid scripts.
62154 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62156         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62157         __BEGIN/__END_DECLS.
62159 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62161         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62162         NSS_STATUS_NOTFOUND if no record was found.
62164 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62166         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62167         (headers-not-in-tirpc): Remove rpc/netdb.h
62168         * resolv/netdb.h: Revert last change.
62170 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62172         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62173         circular dependency between libgcc.a and libc.a.
62175 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62177         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62178         * nis/Makefile: Don't install rpcsvc/*.
62179         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62180         instead of <rpc/types.h>.
62181         (MAXHOSTNAMELEN): Define.
62183 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62185         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62187 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62189         [BZ #12714]
62190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62191         gethostbyname4_r when IPv6 results are possible.
62193 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62195         [BZ #12723]
62196         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62197         _PC_PIPE_BUF handling.
62199 2011-04-30  Bruno Haible  <bruno@clisp.org>
62201         [BZ #12717]
62202         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62203         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62204         to 'int'.
62205         * inet/getnameinfo.c (getnameinfo): Likewise.
62207 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62209         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62210         to groups setting in database lookup.
62211         * nss/nsswitch.conf: Add initgroups entry.
62213 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62215         [BZ #12685]
62216         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62217         mode string.
62218         Patch by Eric Blake <eblake@redhat.com>.
62220 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62222         * sunrpc/Makefile (need-export-routines): Add svc_run.
62223         (routines): Remove svc_run.
62224         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62225         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62226         * sunrpc/svc_run.c (svc_run): Likewise.
62227         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62229 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62231         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62232         problem in reallocation in last patch.
62234 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62236         * sunrpc/Makefile: Move inclusion of Rules.
62238 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62240         * nss/nss_files/files-initgroups.c: New file.
62241         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62242         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62243         _nss_files_initgroups_dyn.
62245 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62247         * elf/elf.h (R_ARM_IRELATIVE): Define.
62249 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62251         * po/ru.po: Update from translation team.
62253 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62255         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62256         dependencies.
62258 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62260         [BZ #12653]
62261         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62262         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62263         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62264         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62265         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62267 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62269         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62270         differing bytes.
62271         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62272         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62273         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62275 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62277         [BZ #12420]
62278         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62279         storing it.
62280         * stdlib/bug-getcontext.c: New file.
62281         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62283 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62285         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62286         instructions into .machine "z9-109".
62287         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62288         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62290 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62292         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62293         between environment variables and auxiliary vector.
62295 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62297         * Makefile: Add rules to build linkobj/libc.so.
62298         * include/libc-symbols.h: Define libc_hidden_nolink.
62299         * include/rpc/auth.h: Mark functions which are to be hidden.
62300         * include/rpc/auth_des.h: Likewise.
62301         * include/rpc/auth_unix.h: Likewise.
62302         * include/rpc/clnt.h: Likewise.
62303         * include/rpc/des_crypt.h: Likewise.
62304         * include/rpc/key_prot.h: Likewise.
62305         * include/rpc/pmap_clnt.h: Likewise.
62306         * include/rpc/pmap_prot.h: Likewise.
62307         * include/rpc/pmap_rmt.h: Likewise.
62308         * include/rpc/rpc_msg.h: Likewise.
62309         * include/rpc/svc.h: Likewise.
62310         * include/rpc/svc_auth.h: Likewise.
62311         * include/rpc/xdr.h: Likewise.
62312         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62313         * nss/Makefile: Likewise.
62314         * sunrpc/Makefile: Don't install headers.  Build library with normal
62315         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62316         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62317         for the compat linking library.  Remove use of INTDEF/INTUSE.
62318         * sunrpc/auth_none.c: Likewise.
62319         * sunrpc/auth_unix.c: Likewise.
62320         * sunrpc/authdes_prot.c: Likewise.
62321         * sunrpc/authuxprot.c: Likewise.
62322         * sunrpc/clnt_gen.c: Likewise.
62323         * sunrpc/clnt_perr.c: Likewise.
62324         * sunrpc/clnt_raw.c: Likewise.
62325         * sunrpc/clnt_simp.c: Likewise.
62326         * sunrpc/clnt_tcp.c: Likewise.
62327         * sunrpc/clnt_udp.c: Likewise.
62328         * sunrpc/clnt_unix.c: Likewise.
62329         * sunrpc/des_crypt.c: Likewise.
62330         * sunrpc/des_soft.c: Likewise.
62331         * sunrpc/get_myaddr.c: Likewise.
62332         * sunrpc/key_call.c: Likewise.
62333         * sunrpc/key_prot.c: Likewise.
62334         * sunrpc/netname.c: Likewise.
62335         * sunrpc/pm_getmaps.c: Likewise.
62336         * sunrpc/pm_getport.c: Likewise.
62337         * sunrpc/pmap_clnt.c: Likewise.
62338         * sunrpc/pmap_prot.c: Likewise.
62339         * sunrpc/pmap_prot2.c: Likewise.
62340         * sunrpc/pmap_rmt.c: Likewise.
62341         * sunrpc/publickey.c: Likewise.
62342         * sunrpc/rpc_cmsg.c: Likewise.
62343         * sunrpc/rpc_common.c: Likewise.
62344         * sunrpc/rpc_dtable.c: Likewise.
62345         * sunrpc/rpc_prot.c: Likewise.
62346         * sunrpc/rpc_thread.c: Likewise.
62347         * sunrpc/rtime.c: Likewise.
62348         * sunrpc/svc.c: Likewise.
62349         * sunrpc/svc_auth.c: Likewise.
62350         * sunrpc/svc_authux.c: Likewise.
62351         * sunrpc/svc_raw.c: Likewise.
62352         * sunrpc/svc_run.c: Likewise.
62353         * sunrpc/svc_simple.c: Likewise.
62354         * sunrpc/svc_tcp.c: Likewise.
62355         * sunrpc/svc_udp.c: Likewise.
62356         * sunrpc/svc_unix.c: Likewise.
62357         * sunrpc/svcauth_des.c: Likewise.
62358         * sunrpc/xcrypt.c: Likewise.
62359         * sunrpc/xdr.c: Likewise.
62360         * sunrpc/xdr_array.c: Likewise.
62361         * sunrpc/xdr_float.c: Likewise.
62362         * sunrpc/xdr_intXX_t.c: Likewise.
62363         * sunrpc/xdr_mem.c: Likewise.
62364         * sunrpc/xdr_rec.c: Likewise.
62365         * sunrpc/xdr_ref.c: Likewise.
62366         * sunrpc/xdr_sizeof.c: Likewise.
62367         * sunrpc/xdr_stdio.c: Likewise.
62369 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62371         [BZ #12650]
62372         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62373         * sysdeps/ia64/dl-tls.h: Likewise.
62374         * sysdeps/powerpc/dl-tls.h: Likewise.
62375         * sysdeps/s390/dl-tls.h: Likewise.
62376         * sysdeps/sh/dl-tls.h: Likewise.
62377         * sysdeps/sparc/dl-tls.h: Likewise.
62378         * sysdeps/x86_64/dl-tls.h: Likewise.
62379         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62381 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62383         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62384         rpath element also skip the following colon.
62385         (expand_dynamic_string_token): Add is_path parameter and pass
62386         down to DL_DST_REQUIRED and _dl_dst_substitute.
62387         (decompose_rpath): Call expand_dynamic_string_token with
62388         non-zero is_path.  Ignore empty rpaths.
62389         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62390         with zero is_path.
62392 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62395         Make cancelable.
62397 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62399         [BZ #12655]
62400         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62401         Patch by Filipe David Manana <fdmanana@apache.org>.
62403 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62405         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62406         Maintain aligned stack.
62407         (CHECK_RSP): Remove unused macro.
62409 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62411         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62412         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62414 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62416         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62418         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62420 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62422         [BZ #12518]
62423         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62424         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62425         * sysdeps/x86_64/memmove.c: New file.
62426         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62427         (memcpy): Renamed to ...
62428         (__new_memcpy): This.
62429         (memcpy): Provide GLIBC_2_14 memcpy.
62430         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62431         (memcpy): Provide GLIBC_2_2_5 memcpy.
62433 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62435         [BZ #12631]
62436         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62438 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62440         * misc/syncfs.c: New file.
62441         * misc/Makefile (routines): Add syncfs.
62442         * posix/unistd.h: Declare syncfs.
62443         * sysdeps/unix/syscalls.list: Add syncfs.
62445 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62447         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62448         open_by_handle_at.
62449         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62450         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62451         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62452         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62453         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62454         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62455         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62457 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62459         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62460         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62461         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62462         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62463         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62464         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62465         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62467         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62468         sync_file_range.c with -fexceptions.
62469         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62470         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62471         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62472         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62473         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62474         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62475         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62476         sync_file_range as cancellation point
62477         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62478         now a wrapper around __call_sync_file_range with cancellation handling.
62479         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62480         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62481         function name to __call_sync_file_range.
62482         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62483         Add call_sync_file_range.
62485 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62487         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62488         bits/timex.h.
62490 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62492         * iconv/iconv.h: Fix typo in comment.
62493         * io/fcntl.h: Likewise.
62494         * libio/stdio.h: Likewise.
62495         * posix/spawn.h: Likewise.
62496         * posix/unistd.h: Likewise.
62497         * stdlib/stdlib.h: Likewise.
62498         * time/time.h: Likewise.
62499         * wcsmbs/wchar.h: Likewise.
62501         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62502         open_by_handle): Add.
62503         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62504         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62505         Augment a few comments.
62506         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62508         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62509         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62510         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62511         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62512         open_by_handle.
62514         * io/fcntl.h (AT_EMPTY_PATH): Define.
62516 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62518         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62519         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62520         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62521         to...
62522         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62523         * Versions.def: Add GLIBC_2.14.
62524         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62525         Export.
62527 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62529         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62530         round counter.
62531         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62533 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62535         [BZ #12597]
62536         * string/test-strncmp.c (do_page_test): New function.
62537         (check2): Likewise.
62538         (test_main): Call check2.
62539         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62541 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62543         [BZ #12587]
62544         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62545         Handle cache information in CPU leaf 4.
62546         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62548 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62550         [BZ #12583]
62551         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62552         character representation.
62553         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62555 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62557         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62558         END(__isnan) to END(__isnanf) to match function entry point/label
62559         EALIGN(__isnanf,...).
62561 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62563         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62565 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62567         [BZ #12510]
62568         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62569         copy from the symbol referenced in the relocation to initialize the
62570         used variable.
62571         Patch by Piotr Bury <pbury@goahead.com>.
62572         * elf/Makefile: Add rules to build and tst-unique3.
62573         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62574         * elf/tst-unique3.cc: New file.
62575         * elf/tst-unique3.h: New file.
62576         * elf/tst-unique3lib.cc: New file.
62577         * elf/tst-unique3lib2.cc: New file.
62579         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62581 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62583         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62584         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62585         to _start.
62587 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62589         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62590         to-be-loaded object along a path to loader is ld.so.
62592 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62593             Ulrich Drepper  <drepper@gmail.com>
62595         * sysdeps/x86_64/memset.S: After aligning destination, code
62596         branches to different locations depending on the value of
62597         misalignment, when multiarch is enabled. Fix this.
62599 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62601         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62602         Set _x86_64_preferred_memory_instruction for AMD processsors.
62603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62604         Set bit_Prefer_SSE_for_memop for AMD processors.
62606 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62608         * libio/fmemopen.c (fmemopen): Optimize a bit.
62610 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62612         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62614 2011-03-03  Roland McGrath  <roland@redhat.com>
62616         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62618 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62620         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62621         __bzero_ultra1 instead of __memset_ultra1.
62623 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62624             Ulrich Drepper  <drepper@gmail.com>
62626         [BZ #12509]
62627         * include/link.h (struct link_map): Add l_orig_initfini.
62628         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62629         returning unsuccessfully.
62630         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62631         close of a file loaded at startup, restore the original l_initfini
62632         list.
62633         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62634         list, store the pointer.
62635         * elf/Makefile ($(objpfx)noload-mem): New rule.
62636         (noload-ENV): Define.
62637         (tests): Add $(objpfx)noload-mem.
62638         * elf/noload.c: Include <memcheck.h>.
62639         (main): Call mtrace.  Close all opened handles.
62641 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62643         [BZ #12454]
62644         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62645         dependencies are missing.
62647 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62649         Fix __if_freereq crash: Unlike the generic version which uses free,
62650         Hurd needs munmap.
62651         * sysdeps/mach/hurd/ifreq.h: New file.
62653 2011-01-27  Petr Baudis  <pasky@suse.cz>
62654             Ulrich Drepper  <drepper@gmail.com>
62656         [BZ 12445]#
62657         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62658         to extend_alloca().
62659         * stdio-common/bug23.c: New file.
62660         * stdio-common/Makefile (tests): Add bug23.
62662 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62663             Ulrich Drepper  <drepper@gmail.com>
62665         [BZ #12489]
62666         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62667         before performing relro protection.  At old place add assertion
62668         to make sure nothing changed.
62670 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62671             Glauber de Oliveira Costa  <glommer@gmail.com>
62673         * elf/elf.h: Add new ARM TLS relocs.
62675 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62678         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62679         cast from r3.
62680         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62681         'tests' variable.
62682         * sysdeps/wordsize-64/tst-writev.c: New file.
62684 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62686         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62687         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62688         insns in _dl_start to prevent a TOC reference before relocs are
62689         resolved.
62691 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62693         [BZ #12469]
62694         * Makeconfig: Remove RANLIB definition.
62695         * Makerules: Don't use RANLIB.
62696         * aclocal.m4: Remove ranlib test.
62697         * configure.in: No need to check for ranlib.
62698         * elf/rtld-Rules: Don't use RANLIB.
62700 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62702         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62703         protection macro.
62704         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62705         inclusion protection macro.
62707         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62708         SIGRTMIN and SIGRTMAX and print information in that case only when
62709         SIGRTMIN is defined.
62711 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62713         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62714         arginfo fn returning -1.
62716         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62717         and thousands string is zero terminated.
62719 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62721         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62722         sysdeps/unix/sysv/linux/bits/socket.h.
62724 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62726         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62727         (__CPU_COUNT): Remove old macros.
62728         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62729         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62730         (__CPU_ALLOC, __CPU_FREE): Add macros.
62731         (__sched_cpualloc, __sched_cpufree): Add declarations.
62733 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62735         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62736         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62737         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62738         (readdhstai): Return value of addhstaiX call.
62739         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62740         (addgrbyX): Return value returned by cache_addgr.
62741         (readdgrbyname): Return value returned by addgrbyX.
62742         (readdgrbygid): Likewise.
62743         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62744         (addpwbyX): Return value returned by cache_addpw.
62745         (readdpwbyname): Return value returned by addhstbyX.
62746         (readdpwbyuid): Likewise.
62747         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62748         (addservbyX): Return value returned by cache_addserv.
62749         (readdservbyname): Return value returned by addservbyX:
62750         (readdservbyport): Likewise.
62751         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62752         (addhstbyX): Return value returned by cache_addhst.
62753         (readdhstbyname): Return value returned by addhstbyX.
62754         (readdhstbyaddr): Likewise.
62755         (readdhstbynamev6): Likewise.
62756         (readdhstbyaddrv6): Likewise.
62757         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62758         (readdinitgroups): Return value returned by addinitgroupsX.
62759         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62760         (prune_cache): Keep track of timeout value of re-added entries.
62761         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62762         * nscd/nscd.h: Adjust prototypes of readd* functions.
62764 2011-02-04  Roland McGrath  <roland@redhat.com>
62766         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62767         (nis_stats): Likewise.
62768         * nis/nis_modify.c (nis_modify): Likewise.
62769         * nis/nis_remove.c (nis_remove): Likewise.
62770         * nis/nis_add.c (nis_add): Likewise.
62772         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62774         * posix/fnmatch_loop.c: Add some consts.
62776         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62778 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62780         [BZ #12460]
62781         * config.make.in (config-cflags-novzeroupper): Define.
62782         * configure.in: Substitute libc_cv_cc_novzeroupper.
62783         * elf/Makefile (AVX-CFLAGS): Define.
62784         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62785         (CFLAGS-tst-auditmod4a.c): Likewise.
62786         (CFLAGS-tst-auditmod4b.c): Likewise.
62787         (CFLAGS-tst-auditmod6b.c): Likewise.
62788         (CFLAGS-tst-auditmod6c.c): Likewise.
62789         (CFLAGS-tst-auditmod7b.c): Likewise.
62790         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62792 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62794         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62795         function to the callback.
62796         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62798 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62800         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62801         of errno.
62803 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62805         [BZ #11724]
62806         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62807         of constructors.
62808         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62809         of destructors.
62810         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62812         [BZ #11724]
62813         * elf/Makefile: Add rules to build and run new test.
62814         * elf/tst-initorder.c: New file.
62815         * elf/tst-initorder.exp: New file.
62816         * elf/tst-initordera1.c: New file.
62817         * elf/tst-initordera2.c: New file.
62818         * elf/tst-initordera3.c: New file.
62819         * elf/tst-initordera4.c: New file.
62820         * elf/tst-initorderb1.c: New file.
62821         * elf/tst-initorderb2.c: New file.
62822         * elf/tst-order-a1.c: New file.
62823         * elf/tst-order-a2.c: New file.
62824         * elf/tst-order-a3.c: New file.
62825         * elf/tst-order-a4.c: New file.
62826         * elf/tst-order-b1.c: New file.
62827         * elf/tst-order-b2.c: New file.
62828         * elf/tst-order-main.c: New file.
62829         New test case by George Gensure <werkt0@gmail.com>.
62831 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62834         decoding ACE if AI_CANONIDN.
62836 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62838         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62840 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62842         * version.h (RELEASE): Bump for 2.13 release.
62843         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62845         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62847         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62848         MADV_NOHUGEPAGE.
62849         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62850         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62851         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62852         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62853         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62854         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62856         * posix/getconf.c: Update copyright year.
62857         * catgets/gencat.c: Likewise.
62858         * csu/version.c: Likewise.
62859         * debug/catchsegv.sh: Likewise.
62860         * debug/xtrace.sh: Likewise.
62861         * elf/ldconfig.c: Likewise.
62862         * elf/ldd.bash.in: Likewise.
62863         * elf/sprof.c (print_version): Likewise.
62864         * iconv/iconv_prog.c: Likewise.
62865         * iconv/iconvconfig.c: Likewise.
62866         * locale/programs/locale.c: Likewise.
62867         * locale/programs/localedef.c: Likewise.
62868         * malloc/memusage.sh: Likewise.
62869         * malloc/mtrace.pl: Likewise.
62870         * nscd/nscd.c (print_version): Likewise.
62871         * nss/getent.c: Likewise.
62873         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62874         PF_CAIF, and PF_ALG.
62875         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62877 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62879         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62880         (modules-names): Use them.
62881         (ifunc-test-modules, ifunc-pie-tests): Define.
62882         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62883         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62884         (test-extras): Likewise.
62885         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62886         $(compile-command.c).
62887         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62888         (all-built-dso): Define.
62889         (check-textrel.out, check-execstack.out): Depend on it.
62891         * configure.in: Don't override --enable-multi-arch.
62893 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62895         [BZ #6812]
62896         * nscd/hstcache.c (tryagain): Define.
62897         (cache_addhst): Return tryagain not notfound for temporary errors.
62898         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62899         failed.
62901 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62903         [BZ #10563]
62904         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62905         to make the syscall.
62906         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62908         [BZ #12378]
62909         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62910         and fall back to matching as normal character if the string ends before
62911         the matching ']' is found.  This is what POSIX requires.
62912         * posix/testfnm.c: Adjust test result.
62913         * posix/globtest.sh: Adjust test result.  Add new test.
62914         * posix/tst-fnmatch.input: Likewise.
62915         * posix/tst-fnmatch2.c: Add new test.
62917 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62919         * elf/Makefile (check-execstack): Revert last change.  Depend on
62920         check-execstack.h.
62921         (check-execstack.h): New target.
62922         (generated): Add check-execstack.h.
62923         * elf/check-execstack.c: Include "check-execstack.h".
62924         (main): Revert last change.
62925         (handle_file): Return zero if GNU_STACK is absent and
62926         DEFAULT_STACK_PERMS doesn't include PF_X.
62928 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62930         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62931         in child fails because the descriptor is already closed.
62932         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62933         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62934         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62936         [BZ #12397]
62937         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62938         syscall.
62940         [BZ #10484]
62941         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62942         temporary buffer used to handle multi lookups locally.
62943         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62945 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62947         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62948         loader is ld.so.
62950 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62952         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62953         alignment for SSE2.
62955 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62957         [BZ #12394]
62958         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62959         characters.  When rounding increased number of integer digits recompute
62960         number of groups.
62961         * stdio-common/tst-grouping.c: New file.
62962         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62964 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62966         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62967         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62969         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62970         void.
62971         * bits/select.h: Likewise.
62973 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62975         * po/ja.po: Update from translation team.
62977 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62979         [BZ #11155]
62980         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62981         implementation just like for lxstat, fxstatat, et al.
62983 2010-12-27  Jim Meyering  <meyering@redhat.com>
62985         [BZ #12348]
62986         * posix/regexec.c (build_trtable): Return failure indication upon
62987         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62989 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62991         [BZ #12201]
62992         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62993         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62994         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62995         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62997         [BZ #12207]
62998         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63000         [BZ #12204]
63001         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63002         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63004 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
63006         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63007         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63008         script has SORT_BY_INIT_PRIORITY.
63009         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63010         NO_CTORS_DTORS_SECTIONS is defined.
63011         * elf/soinit.c: Likewise.
63012         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63013         NO_CTORS_DTORS_SECTIONS is defined.
63014         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63015         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63016         * sysdeps/sh/init-first.c: Likewise.
63017         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63019 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63021         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63022         always use the slow path.
63024 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63026         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63027         similar rule which adds the sysdep directories to the header search in
63028         order to pick up the correct platform stackinfo.h.
63029         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63030         perform test if it is, otherwise return successfully without testing.
63031         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63032         DEFAULT_STACK_PERMS define in stackinfo.h.
63033         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63034         defined in stackinfo.h.
63035         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63036         DEFAULT_STACK_PERMS defined in stackinfo.h.
63037         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63038         * sysdeps/ia64/stackinfo.h: Likewise.
63039         * sysdeps/s390/stackinfo.h: Likewise.
63040         * sysdeps/sh/stackinfo.h: Likewise.
63041         * sysdeps/sparc/stackinfo.h: Likewise.
63042         * sysdeps/x86_64/stackinfo.h: Likewise.
63043         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63044         PF_X for powerpc64.  Retain PF_X for powerpc32.
63046 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63048         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63049         accurately.
63050         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63051         GETDENTS_64BIT_ALIGNED.
63053 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63055         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63057 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63059         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63060         _GNU_SOURCE.
63062         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63063         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63064         Remove __restrict.
63065         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63066         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63068 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63070         [BZ #11655]
63071         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63072         are initialized.
63074 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63076         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63078 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63080         * po/it.po: Update from translation team.
63082 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63085         unused codes.
63087 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63089         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63091 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63093         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63094         specially.
63095         (gaih_getanswer_slice): Likewise.
63097 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63099         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63101 2010-05-31  Petr Baudis  <pasky@suse.cz>
63103         [BZ #11149]
63104         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63105         silently even in the chroot mode.
63107 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63109         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63110         last patch a bit.  Pretty printing
63112 2010-05-31  Petr Baudis <pasky@suse.cz>
63114         [BZ #10085]
63115         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63116         initialization of skip_initgroups_dyn.
63118 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63120         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63121         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63123 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63125         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63127 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63129         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63130         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63131         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63132         ($(objpfx)tst-fnmatch-mem): New rule.
63133         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63134         * posix/tst-fnmatch.c (main): Call mtrace.
63136 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63139         Support Intel processor model 6 and model 0x2c.
63141 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63143         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63144           signed comparison.
63146 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63148         [BZ #12205]
63149         * string/test-strncasecmp.c (check_result): New function.
63150         (do_one_test): Use it.
63151         (check1): New function.
63152         (test_main): Use it.
63153         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63154         Support strcasecmp and strncasecmp.
63156 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63158         [BZ #12194]
63159         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63160         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63162 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63164         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63165         IFUNC support.
63166         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63167         memset-x86-64.
63168         * sysdeps/x86_64/multiarch/bzero.S: New file.
63169         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63170         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63171         * sysdeps/x86_64/multiarch/memset.S: New file.
63172         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63173         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63174         Set bit_Prefer_SSE_for_memop for Intel processors.
63175         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63176         Define.
63177         (index_Prefer_SSE_for_memop): Define.
63178         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63180 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63182         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63183         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63185 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63187         [BZ #12191]
63188         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63189         (__x86_64_raw_data_cache_size_half): Likewise.
63190         (__x86_64_raw_shared_cache_size): Likewise.
63191         (__x86_64_raw_shared_cache_size_half): Likewise.
63193         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63194         (__x86_64_raw_data_cache_size_half): Likewise.
63195         (__x86_64_raw_shared_cache_size): Likewise.
63196         (__x86_64_raw_shared_cache_size_half): Likewise.
63197         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63198         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63199         and __x86_64_raw_shared_cache_size_half.  Round
63200         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63201         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63202         to multiple of 256 bytes.
63204 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63206         [BZ #12167]
63207         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63208         of inacessible symlinks.  Verify result of symlink before returning it.
63209         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63210         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63212 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63214         * math/math.h (isinf): Fix typo in comment.
63216 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63218         * po/da.po: Update from translation team.
63220 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63222         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63223         is added to the list.
63225 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63226             Ulrich Drepper  <drepper@gmail.com>
63228         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63229         the global list here.  Move code to...
63230         (_dl_add_to_namespace_list): ...here.  New function.
63231         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63232         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63233         * elf/dl-load.c (lose): Don't remove the element from the list.
63234         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63235         (_dl_map_object): Likewise.
63237 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63239         [BZ #12159]
63240         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63241         into all bytes of SSE register.
63242         Patch by Richard Li <richardpku@gmail.com>.
63244 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63246         [BZ #12140]
63247         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63248         perturbing.
63250 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63252         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63253         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63254         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63255         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63257         submachine.
63258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63260 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63262         * include/dlfcn.h (__RTLD_SECURE): Define.
63263         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63264         mode & __RTLD_SECURE instead.
63265         (open_path): Rename preloaded parameter to secure.
63266         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63267         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63268         * elf/dl-deps.c (openaux): Likewise.
63269         * elf/rtld.c (struct map_args): Remove is_preloaded.
63270         (map_doit): Don't use it.
63271         (dl_main): Likewise.
63272         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63273         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63275 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63277         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63278         (sysd-rules-targets): Remove duplicates.
63279         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63280         rtld-%.$o dependency.
63282 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63284         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63285         _dl_map_object do it.
63287 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63289         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63290         fast fma builtins, define the macros in the C99 standard.
63291         (FP_FAST_FMAF): Likewise.
63292         (FP_FAST_FMAL): Likewise.
63293         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63295         * bits/mathdef.h: Update copyright year.
63296         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63298 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63300         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63301         builtins, define the macros in the C99 standard.
63302         (FP_FAST_FMAF): Likewise.
63303         (FP_FAST_FMAL): Likewise.
63304         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63305         multiply/add.
63306         (FP_FAST_FMAF): Likewise.
63308 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63310         [BZ #3268]
63311         * math/libm-test.inc (fma_test): Some new testcases.
63312         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63313         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63314         y and infinite z.  Do multiplication by C already in long double.
63315         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63317         y and infinite z.  Do bitwise or of inexact bit into u.d.
63318         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63319         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63320         * sysdeps/i386/fpu/s_fma.S: Removed.
63321         * sysdeps/i386/fpu/s_fmal.S: Removed.
63323 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63325         [BZ #3268]
63326         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63327         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63328         computation is not scheduled after fetestexcept.  Fix value
63329         of minimum denormal long double.
63331 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63333         [BZ #3268]
63334         * math/libm-test.inc (fma_test): Add some more tests.
63335         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63336         correctly.
63338 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63340         * scripts/data/localplt-s390-linux-gnu.data: New file.
63341         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63343 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63345         [BZ #3268]
63346         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63347         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63348         instead of dbl-64.
63349         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63350         inlines.
63351         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63353         if one of x and y is very large and the other is subnormal.
63354         * sysdeps/s390/fpu/s_fmaf.c: New file.
63355         * sysdeps/s390/fpu/s_fma.c: New file.
63356         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63357         * sysdeps/powerpc/fpu/s_fma.S: New file.
63358         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63359         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63360         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63362 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63364         [BZ #3268]
63365         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63366         fma tests.
63367         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63368         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63369         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63370         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63371         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63372         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63373         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63375 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63377         [BZ #12078]
63378         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63379         * posix/bug-regex31.input: Add test case.
63381 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63383         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63384         * posix/bug-regex31.input: New file.
63386         [BZ #12078]
63387         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63388         (parse_sub_exp): Fix last change, use postorder.
63390         * posix/bug-regex31.c: New file.
63391         * posix/Makefile: Add rules to build and run bug-regex31.
63393         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63395         [BZ #12078]
63396         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63398         [BZ #12108]
63399         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63400         to have entries in sys_siglist.
63402         [BZ #12093]
63403         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63404         be NULL.
63406 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63408         [BZ #3268]
63409         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63410         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63411         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63412         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63413         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63414         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63415         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63416         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63417         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63418         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63419         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63420         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63421         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63422         * math/ftestexcept.c (fetestexcept): Likewise.
63423         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63424         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63425         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63426         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63427         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63428         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63429         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63431 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63433         [BZ #12107]
63434         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63435         newline.
63437 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63439         * string/bug-strstr1.c: New file.
63440         * string/Makefile: Add rules to build and run bug-strstr1.
63442 2010-10-05  Eric Blake  <eblake@redhat.com>
63444         [BZ #12092]
63445         * string/str-two-way.h (two_way_long_needle): Always clear memory
63446         when skipping input due to the shift table.
63448 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63450         [BZ #12005]
63451         * malloc/mcheck.c: Handle large requests.
63453         [BZ #12077]
63454         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63455         for strncmp and strncasecmp.
63456         * string/stratcliff.c: Add tests for strcmp and strncmp.
63457         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63459 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63461         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63462         __set_fpscr.
63464 2010-09-30  Andreas Jaeger  <aj@suse.de>
63466         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63467         (CGROUP_SUPER_MAGIC): Define.
63468         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63469         Handle btrfs and cgroup file systems.
63470         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63471         Likewise.
63473 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63475         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63476         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63478 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63480         [BZ #12067]
63481         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63482         trying to locate the ELF header.
63484 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63486         [BZ #11611]
63487         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63488         Mask out sign-bit copies when constructing f_fsid.
63490 2010-09-24  Petr Baudis <pasky@suse.cz>
63492         * debug/stack_chk_fail_local.c: Add missing licence exception.
63493         * debug/warning-nop.c: Likewise.
63495 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63497         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63498         implementing getdents64 using getdents syscall, set d_type if
63499         __ASSUME_GETDENTS32_D_TYPE.
63501 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63503         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63504         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63506 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63508         [BZ #12037]
63509         * posix/unistd.h: Undo change of feature selection for ftruncate from
63510         2010-01-11.
63512 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63514         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63515         detection.
63517 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63519         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63520         fanotify_mark.
63521         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63523 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63525         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63526         variables after CHECK_SP call.
63527         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63529 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63530             Ulrich Drepper  <drepper@redhat.com>
63532         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63533         re-relocationg ld.so.
63534         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63535         _dl_init_paths call.
63536         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63537         here anymore.
63539 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63541         * resolv/res_init.c (__res_vinit): Count the default server we added.
63543 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63544             Ulrich Drepper  <drepper@redhat.com>
63546         [BZ #11968]
63547         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63548         (____longjmp_chk): Use %ebx for saving value across system call.
63549         Add unwind info.
63551 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63553         * manual/Makefile: Don't mix pattern rules with normal rules.
63555 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63557         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63558         operation.
63559         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63560         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63561         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63562         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63563         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63564         Likewise.
63566 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63568         [BZ #11979]
63569         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63570         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63572 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63574         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63575         * sysdeps/x86_64/addmul_1.S: Likewise.
63576         * sysdeps/x86_64/lshift.S: Likewise.
63577         * sysdeps/x86_64/mul_1.S: Likewise.
63578         * sysdeps/x86_64/rshift.S: Likewise.
63579         * sysdeps/x86_64/sub_n.S: Likewise.
63580         * sysdeps/x86_64/submul_1.S: Likewise.
63582 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63584         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63585         Define __sched_param instead of SCHED_* and sched_param when
63586         <bits/sched.h> is included with __need_schedparam defined.
63587         * bits/sched.h [__need_schedparam]
63588         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63589         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63590         (__defined_schedparam): Define to 1.
63591         (__sched_param): New structure, identical to sched_param.
63592         (__need_schedparam): Undefine.
63594 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63596         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63597         (epoll_create1): Declare.
63599         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63601 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63603         [BZ #7066]
63604         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63605         shifting retval into place.
63607 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63609         * nis/rpcsvc/nis.h: Update copyright notice.
63610         * nis/rpcsvc/nis.x: Likewise.
63611         * nis/rpcsvc/nis_callback.h: Likewise.
63612         * nis/rpcsvc/nis_callback.x: Likewise.
63613         * nis/rpcsvc/nis_object.x: Likewise.
63614         * nis/rpcsvc/nis_tags.h: Likewise.
63615         * nis/rpcsvc/yp.h: Likewise.
63616         * nis/rpcsvc/yp.x: Likewise.
63617         * nis/rpcsvc/ypupd.h: Likewise.
63618         * nis/yp_xdr.c: Likewise.
63619         * nis/ypupdate_xdr.c: Likewise.
63621         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63622         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63623         (pmap_getport): Use __libc_rpc_getport.
63624         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63625         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63626         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63628 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63631         fanotify_mark.
63633 2010-08-27  Roland McGrath  <roland@redhat.com>
63635         * sysdeps/i386/i686/multiarch/Makefile
63636         (CFLAGS-varshift.c): New variable.
63638 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63640         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63641         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63643         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63645         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63647 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63649         * sysdeps/x86_64/strlen.S: Unroll the loop.
63650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63651         strlen-sse2 strlen-sse2-bsf.
63652         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63653         __strlen_no_bsf if bit_Slow_BSF is set.
63654         (__strlen_sse42): Removed.
63655         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63656         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63658 2010-08-25  Roland McGrath  <roland@redhat.com>
63660         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63661         * sysdeps/x86_64/multiarch/varshift.c: New file.
63662         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63663         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63664         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63665         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63667 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63669         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63670         strlen-sse2 strlen-sse2-bsf.
63671         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63672         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63673         (__strlen_sse2): Removed.
63674         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63675         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63677         bit_Slow_BSF for Atom.
63678         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63679         (index_Slow_BSF): Define.
63680         (HAS_SLOW_BSF): Define.
63682 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63684         [BZ #10851]
63685         * resolv/res_init.c (__res_vinit): When no server address at all
63686         is given default to loopback.
63688 2010-08-24  Roland McGrath  <roland@redhat.com>
63690         * configure.in: Remove config-name.h generation.
63691         * configure: Regenerated.
63692         * config-name.in: File removed.
63693         * scripts/config-uname.sh: New file.
63694         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63695         ($(objdir)config-name.h): New target.
63697         * sunrpc/rpc_parse.h: Avoid nested comment.
63699 2010-08-24  Richard Henderson  <rth@redhat.com>
63700             Ulrich Drepper  <drepper@redhat.com>
63701             H.J. Lu  <hongjiu.lu@intel.com>
63703         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63705         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63706         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63707         _mm_alignr_epi8 with _mm_loadu_si128.
63708         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63709         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63710         (__m128i_shift_right): Removed.
63711         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63712         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63713         * sysdeps/x86_64/multiarch/varshift.h: New file.
63714         * sysdeps/x86_64/multiarch/varshift.S: New file.
63716 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63718         * configure.in: Move assembler checks to before sysdep dir checking.
63720 2010-08-20  Petr Baudis  <pasky@suse.cz>
63722         * LICENSES: Sync the sunrpc license.
63724 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63726         * sunrpc/auth_des.c: Update copyright notice once again.
63727         * sunrpc/auth_none.c: Likewise.
63728         * sunrpc/auth_unix.c: Likewise.
63729         * sunrpc/authdes_prot.c: Likewise.
63730         * sunrpc/authuxprot.c: Likewise.
63731         * sunrpc/bindrsvprt.c: Likewise.
63732         * sunrpc/clnt_gen.c: Likewise.
63733         * sunrpc/clnt_perr.c: Likewise.
63734         * sunrpc/clnt_raw.c: Likewise.
63735         * sunrpc/clnt_simp.c: Likewise.
63736         * sunrpc/clnt_tcp.c: Likewise.
63737         * sunrpc/clnt_udp.c: Likewise.
63738         * sunrpc/clnt_unix.c: Likewise.
63739         * sunrpc/des_crypt.c: Likewise.
63740         * sunrpc/des_soft.c: Likewise.
63741         * sunrpc/get_myaddr.c: Likewise.
63742         * sunrpc/getrpcport.c: Likewise.
63743         * sunrpc/key_call.c: Likewise.
63744         * sunrpc/key_prot.c: Likewise.
63745         * sunrpc/openchild.c: Likewise.
63746         * sunrpc/pm_getmaps.c: Likewise.
63747         * sunrpc/pm_getport.c: Likewise.
63748         * sunrpc/pmap_clnt.c: Likewise.
63749         * sunrpc/pmap_prot.c: Likewise.
63750         * sunrpc/pmap_prot2.c: Likewise.
63751         * sunrpc/pmap_rmt.c: Likewise.
63752         * sunrpc/rpc/auth.h: Likewise.
63753         * sunrpc/rpc/auth_unix.h: Likewise.
63754         * sunrpc/rpc/clnt.h: Likewise.
63755         * sunrpc/rpc/des_crypt.h: Likewise.
63756         * sunrpc/rpc/key_prot.h: Likewise.
63757         * sunrpc/rpc/netdb.h: Likewise.
63758         * sunrpc/rpc/pmap_clnt.h: Likewise.
63759         * sunrpc/rpc/pmap_prot.h: Likewise.
63760         * sunrpc/rpc/pmap_rmt.h: Likewise.
63761         * sunrpc/rpc/rpc.h: Likewise.
63762         * sunrpc/rpc/rpc_des.h: Likewise.
63763         * sunrpc/rpc/rpc_msg.h: Likewise.
63764         * sunrpc/rpc/svc.h: Likewise.
63765         * sunrpc/rpc/svc_auth.h: Likewise.
63766         * sunrpc/rpc/types.h: Likewise.
63767         * sunrpc/rpc/xdr.h: Likewise.
63768         * sunrpc/rpc_clntout.c: Likewise.
63769         * sunrpc/rpc_cmsg.c: Likewise.
63770         * sunrpc/rpc_common.c: Likewise.
63771         * sunrpc/rpc_cout.c: Likewise.
63772         * sunrpc/rpc_dtable.c: Likewise.
63773         * sunrpc/rpc_hout.c: Likewise.
63774         * sunrpc/rpc_main.c: Likewise.
63775         * sunrpc/rpc_parse.c: Likewise.
63776         * sunrpc/rpc_parse.h: Likewise.
63777         * sunrpc/rpc_prot.c: Likewise.
63778         * sunrpc/rpc_sample.c: Likewise.
63779         * sunrpc/rpc_scan.c: Likewise.
63780         * sunrpc/rpc_scan.h: Likewise.
63781         * sunrpc/rpc_svcout.c: Likewise.
63782         * sunrpc/rpc_tblout.c: Likewise.
63783         * sunrpc/rpc_util.c: Likewise.
63784         * sunrpc/rpc_util.h: Likewise.
63785         * sunrpc/rpcinfo.c: Likewise.
63786         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63787         * sunrpc/rpcsvc/key_prot.x: Likewise.
63788         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63789         * sunrpc/rpcsvc/mount.x: Likewise.
63790         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63791         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63792         * sunrpc/rpcsvc/rex.x: Likewise.
63793         * sunrpc/rpcsvc/rstat.x: Likewise.
63794         * sunrpc/rpcsvc/rusers.x: Likewise.
63795         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63796         * sunrpc/rpcsvc/spray.x: Likewise.
63797         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63798         * sunrpc/rtime.c: Likewise.
63799         * sunrpc/svc.c: Likewise.
63800         * sunrpc/svc_auth.c: Likewise.
63801         * sunrpc/svc_authux.c: Likewise.
63802         * sunrpc/svc_raw.c: Likewise.
63803         * sunrpc/svc_run.c: Likewise.
63804         * sunrpc/svc_simple.c: Likewise.
63805         * sunrpc/svc_tcp.c: Likewise.
63806         * sunrpc/svc_udp.c: Likewise.
63807         * sunrpc/svc_unix.c: Likewise.
63808         * sunrpc/svcauth_des.c: Likewise.
63809         * sunrpc/xcrypt.c: Likewise.
63810         * sunrpc/xdr.c: Likewise.
63811         * sunrpc/xdr_array.c: Likewise.
63812         * sunrpc/xdr_float.c: Likewise.
63813         * sunrpc/xdr_mem.c: Likewise.
63814         * sunrpc/xdr_rec.c: Likewise.
63815         * sunrpc/xdr_ref.c: Likewise.
63816         * sunrpc/xdr_sizeof.c: Likewise.
63817         * sunrpc/xdr_stdio.c: Likewise.
63819         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63820         handling.
63822 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63824         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63826 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63828         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63829         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63830         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63831         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63832         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63833         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63834         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63835         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63836         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63837         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63838         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63839         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63840         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63841         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63843 2010-07-26  Anton Blanchard  <anton@samba.org>
63845         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63846         * malloc/arena.c (heap_trim): Likewise.
63848 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63850         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63851         here.  Not...
63852         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63853         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63855 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63857         * sysdeps/i386/elf/Makefile: New file.
63859 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63861         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63862         from fanotify_init.
63863         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63864         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63866 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63868         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63869         of strncasecmp_l.
63870         * sysdeps/multiarch/strcmp.S: Likewise.
63872 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63874         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63875         strncase_l-nonascii.
63876         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63877         Add strncase_l-ssse3.
63878         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63879         * sysdeps/x86_64/strcmp.S: Likewise.
63880         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63881         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63882         * sysdeps/x86_64/strncase.S: New file.
63883         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63884         * sysdeps/x86_64/strncase_l.S: New file.
63885         * string/Makefile (strop-tests): Add strncasecmp.
63886         * string/test-strncasecmp.c: New file.
63888         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63889         warning.
63891         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63892         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63894 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63896         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63898 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63900         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63901         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63902         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63904 2010-05-01  Alan Modra  <amodra@gmail.com>
63906         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63907         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63908         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63909         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63910         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63911         tidying.  Don't tail-call __sigjmp_save for static lib.
63912         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63913         save location.
63914         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63915         (CALL_MCOUNT): Add eh info, and nop after bl.
63916         (TAIL_CALL_SYSCALL_ERROR): New macro.
63917         (PSEUDO_RET): Use it.
63918         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63919         Correct save location of integer regs and cr.
63920         (_dl_profile_resolve): Correct cr save location.  Delete nops
63921         after bl when SHARED.  Reduce cfi size a little by better
63922         placement of cfi directives.
63923         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63924         make a stack frame.  Instead use parm save area as a temp.
63925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63926         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63928         Don't make a stack frame for parent, use parm save area.
63929         Increase child stack frame to 112 bytes.  Don't save unused reg,
63930         and adjust reg usage.  Set up cfi on error recovery and
63931         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63933         (__makecontext): Add dummy nop after jump to exit.
63934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63935         Use correct parm save area and cr save, reduce stack frame.
63936         Correct cfi for possible PSEUDO_RET frame setup.
63937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63938         Branch to local label emitted by PSEUDO_RET rather than
63939         __syscall_error.
63941 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63943         [BZ #11904]
63944         * locale/programs/locale.c (print_assignment): New function.
63945         (show_locale_vars): Use it.
63947 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63949         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63950         field.
63951         (struct statfs64): Likewise.
63952         (_STATFS_F_FLAGS): Define.
63953         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63954         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63955         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63956         (ST_VALID): Define locally.
63957         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63958         __statvfs_getflags, use the provided value.
63959         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63960         __ASSUME_STATFS_F_FLAGS.
63962         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63964         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63965         Add sys/fanotify.h.
63966         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63967         fanotify_mask for GLIBC_2.13.
63968         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63969         fanotify_init and fanotify_mark.
63970         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63971         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63973         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63974         Add prlimit.
63975         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63976         prlimit64 for GLIBC_2.13.
63977         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63978         prlimit64.
63979         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63980         syscall.
63981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63982         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63983         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63984         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63985         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63986         add prlimit alias.
63987         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63989         [BZ #11903]
63990         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63991         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63993         * nss/Makefile: Add rules to build and run tst-nss-test1.
63994         * shlib-versions: Add entry for libnss_test1.
63995         * nss/nss_test1.c: New file.
63996         * nss/tst-nss-test1.c: New file.
63998         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63999         (__nss_configure_lookup): Set appropriate entry in
64000         __nss_configure_lookup to true.
64001         * nss/nsswitch.h: Define enum with indeces of databases in
64002         databases and __nss_database_custom arrays.  Declare
64003         __nss_database_custom.
64004         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64005         to avoid using nscd when custom rules are installed.
64006         * nss/getXXbyYY_r.c: Likewise.
64007         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64009         * nss/nss_files/files-parse.c: Whitespace fixes.
64011 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
64013         [BZ #11883]
64014         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64015         * posix/fnmatch_loop.c: Likewise.
64017 2010-07-17  Andi Kleen  <ak@linux.intel.com>
64019         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64020         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64021         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64022         * Versions.def [GLIBC_2.13]: Add.
64024 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64026         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64027         Also fail if tpwd after pwuid call is NULL.
64029 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64031         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64032         when converting to ms.
64034 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64036         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64037         EOPNOTSUPP errors with ENOTTY.
64038         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64039         EOPNOTSUPP errors with ENOTTY.
64041 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64043         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64044         Add strcasecmp_l-ssse3.
64045         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64046         strcasecmp.
64047         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64048         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64049         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64051 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64053         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64055         * string/Makefile (strop-tests): Add strcasecmp.
64056         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64057         strcasecmp_l-nonascii.
64058         (gen-as-const-headers): Add locale-defines.sym.
64059         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64060         * sysdeps/x86_64/strcasecmp.S: New file.
64061         * sysdeps/x86_64/strcasecmp_l.S: New file.
64062         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64063         * sysdeps/x86_64/locale-defines.sym: New file.
64064         * string/test-strcasecmp.c: New file.
64066         * string/test-strcasestr.c: Test both ends of the range of characters.
64067         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64069 2010-07-29  Roland McGrath  <roland@redhat.com>
64071         [BZ #11856]
64072         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64074 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64076         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64077         for ld.so.
64079 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64081         * manual/memory.texi (Malloc Tunable Parameters): Document
64082         M_PERTURB.
64084 2010-07-26  Roland McGrath  <roland@redhat.com>
64086         [BZ #11840]
64087         * configure.in (-fgnu89-inline check): Set and substitute
64088         gnu89_inline, not libc_cv_gnu89_inline.
64089         * configure: Regenerated.
64090         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64092 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64094         * string/test-strnlen.c: New file.
64095         * string/Makefile (strop-tests): Add strnlen.
64096         * string/tester.c (test_strnlen): Add a few more test cases.
64097         * string/tst-strlen.c: Better error reporting.
64099         * sysdeps/x86_64/strnlen.S: New file.
64101 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64103         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64104         lower-latency instructions.
64106 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64108         * string/test-strcasestr.c: New file.
64109         * string/test-strstr.c: New file.
64110         * string/Makefile (strop-tests): Add strstr and strcasestr.
64111         * string/str-two-way.h: Don't undefine MAX.
64112         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64114 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64116         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64117         strcasestr-nonascii.
64118         (CFLAGS-strcasestr-nonascii.c): Define.
64119         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64120         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64121         Remove unused attribute.
64123 2010-07-20  Roland McGrath  <roland@redhat.com>
64125         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64126         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64127         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64128         like LD_HWCAP_MASK can disable hwcaps.
64130 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64132         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64134 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64136         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64137         call in strcasestr.
64138         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64139         __strcasestr_sse42_nonascii.
64140         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64141         strcasestr-nonascii.c.
64142         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64144 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64146         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64147         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64148         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64149         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64151 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64153         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64154         fcntl.
64156 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64158         [BZ #11577]
64159         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64160         dl_signal_cerror.
64162 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64164         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64165         _PC_PIPE_BUF using F_GETPIPE_SZ.
64167 2010-07-05  Roland McGrath  <roland@redhat.com>
64169         * manual/arith.texi (Rounding Functions): Fix rint description
64170         implicit in round description.
64172 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64174         * elf/Makefile: Fix linking for a few tests to make recent linker
64175         happy.
64177 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64179         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64180         $(common-objpfx)libc_nonshared.a.
64182 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64184         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64185         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64186         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64187         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64188         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64189         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64190         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64191         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64206         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64207         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64208         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64209         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64210         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64211         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64212         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64213         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64214         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64215         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64216         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64217         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64233 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64235         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64236         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64237         * string/memmove.c (memmove): Renamed to ...
64238         (MEMMOVE): ...this.  Default to memmove.
64239         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64240         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64241         (END_CHK): Define.
64242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64243         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64244         mempcpy-ssse3-back memmove-ssse3-back.
64245         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64246         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64247         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64248         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64249         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64250         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64251         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64252         * sysdeps/x86_64/multiarch/memmove.c: New file.
64253         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64254         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64255         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64256         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64257         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64258         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64259         Define.
64260         (index_Fast_Copy_Backward): Define.
64261         (HAS_ARCH_FEATURE): Define.
64262         (HAS_FAST_REP_STRING): Define.
64263         (HAS_FAST_COPY_BACKWARD): Define.
64265 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64267         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64268         Restore proper fallback handling.
64270 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64272         [BZ #11701]
64273         * posix/group_member.c (__group_member): Correct checking loop.
64275         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64276         OOM in getpwuid_r correctly.  Return error number when the caller
64277         should return, otherwise -1.
64278         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64279         call returning > 0 value.
64280         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64282 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64284         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64285         libc_nonshared.a from targets in modules-names.
64287 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64289         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64290         requires it.
64292 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64294         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64295         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64296         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64297         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64299 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64301         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64303 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64305         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64306         and F_GETPIPE_SZ.
64307         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64308         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64309         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64310         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64311         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64312         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64314 2010-06-14  Roland McGrath  <roland@redhat.com>
64316         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64318 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64320         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64321         __REDIRECT followed by __THROW.
64322         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64323         * posix/getopt.h (getopt): Likewise.
64325 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64327         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64328         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64329         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64330         in AT_FLAGS.
64331         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64332         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64334 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64336         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64338 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64340         [BZ #11640]
64341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64342         Properly check family and model.
64344 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64346         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64348 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64350         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64352 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64354         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64355         symbol reference.
64357 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64359         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64360         symbol reference.
64362 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64364         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64365         and internal_recvmmsg.
64366         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64367         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64368         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64369         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64371         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64372         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64373         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64375 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64377         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64379 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64381         POWER7 optimizations.
64382         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64383         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64385 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64387         * version.h: Update for 2.13 development version.
64389 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64391         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64392         exceptions.  Return 0.
64394 2010-05-07  Roland McGrath  <roland@redhat.com>
64396         * elf/ldconfig.c (main): Add a const.
64398 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64400         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64401         (args_options): Add no-idn option.
64402         (ahosts_keys_int): Add idn_flags to ai_flags.
64403         (parse_option): Handle 'i' option to clear idn_flags.
64405         * malloc/malloc.c (_int_free): Possible race in the most recently
64406         added check.  Only act on the data if no current modification
64407         happened.
64409 See ChangeLog.17 for earlier changes.